+5
Plamen Kostov 6 months ago • updated by Michael Reed Davison 2 months ago 3

Hello Ajenti !

I currently installed fresh Ajenti/ Ajenti V on fresh DigitalOcean's CentOS droplet.

First when i install Ajenti, it was working, but when I install Ajenti V:


[root@hostname~]# service ajenti restart
Restarting ajenti (via systemctl): [ OK ]
[root@hostname~]# ajenti-panel -v
29.03.2017 08:53 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json
29.03.2017 08:53 ajenti-panel:130 INFO Ajenti starting in foreground
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 137, in <module>
from ajenti import core
File "/usr/lib/python2.7/site-packages/ajenti/core.py", line 21, in <module>
from ajenti.middleware import SessionMiddleware, AuthenticationMiddleware
File "/usr/lib/python2.7/site-packages/ajenti/middleware.py", line 11, in <module>
from ajenti.users import UserManager
File "/usr/lib/python2.7/site-packages/ajenti/users.py", line 3, in <module>
from passlib.hash import sha512_crypt
File "/usr/lib/python2.7/site-packages/passlib/hash.py", line 22, in <module>
from passlib.registry import _proxy
File "/usr/lib/python2.7/site-packages/passlib/registry.py", line 11, in <module>
from passlib.utils import is_crypt_handler
File "/usr/lib/python2.7/site-packages/passlib/utils/__init__.py", line 32, in <module>
from passlib.utils.compat import add_doc, b, bytes, join_bytes, join_byte_values, \
ImportError: cannot import name b


What can I do?

Thanks

I have the same problem, was a fix found?

Same here! I've posted a bug report. It'd probably be helpful if you all post there, too. I'm using CentOS 7. The OP mentioned CentOS. Are you all using CentOS 7? Or do we have some variety here? https://github.com/ajenti/ajenti/issues/1065