Broken dependency
Traceback (most recent call last): File "/app/run.py", line 1, in <module> from app.cli.cli import lxdui File "/app/app/cli/cli.py", line 4, in <module> from app.cli.init import Init File "/app/app/cli/init.py", line 1, in <module> from app.lib import conf, auth, cert File "/app/app/lib/cert.py", line 2, in <module> from OpenSSL import crypto File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import crypto, SSL File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/crypto.py", line 1550, in <module> class X509StoreFlags(object): File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/crypto.py", line 1570, in X509StoreFlags CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
tested on debian 10, debian 10 with virtualenv and docker (from the docker file of the repo)
Try it outside of docker. I recommend you do the install on a virtualenv on your host with a recent version of python and try replacing the versions in requirements.txt with more recent releases. Let us know how you make out.
On Fri, Oct 14, 2022 at 1:12 PM RedCommand @.***> wrote:
Traceback (most recent call last): File "/app/run.py", line 1, in
from app.cli.cli import lxdui File "/app/app/cli/cli.py", line 4, in from app.cli.init import Init File "/app/app/cli/init.py", line 1, in from app.lib import conf, auth, cert File "/app/app/lib/cert.py", line 2, in from OpenSSL import crypto File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/init.py", line 8, in from OpenSSL import crypto, SSL File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/crypto.py", line 1550, in class X509StoreFlags(object): File "/usr/local/lib/python3.10/dist-packages/pyOpenSSL-17.5.0-py3.10.egg/OpenSSL/crypto.py", line 1570, in X509StoreFlags CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' tested on debian 10, debian 10 with virtualenv and docker (from the docker file of the repo)
— Reply to this email directly, view it on GitHub https://github.com/AdaptiveScale/lxdui/issues/373, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXOWQ7FWJ36GUTYPRIMXVTWDGPCRANCNFSM6AAAAAARFO2HMM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Regards,
Tony Hajdari
I have the same issue, but I'm not using Docker. Brand new install following the instructions, direct on the LXD host machine. Command run in VirtualEnv as recommended.
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Ubuntu 22.10.
I see the same thing on Debian 12
This fixes it:
https://github.com/gr8linux/lxdui/commit/95c008cfa93943222bd61e2966a8ae45065691c2
Tagging #379 as it is the same issue.