Closed fheslouin closed 6 years ago
pip install --upgrade setuptools
does not fix the issue.
Setuptools :
easy_install --version setuptools 36.6.0 from /usr/local/lib/python2.7/dist-packages (Python 2.7)
Pip :
pip --version pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
Installation does work until cryptography 2.03
, with newer version installation break.
Does any body reproduce this issue ?
@fheslouin I'd say cryptography does not compile on arm...
It did work until crypto 2.03 and I used Modoboa by the past on ARM device...
@tonioo where can I set cryptography version in modoboa before launching ./run.py ?
https://github.com/modoboa/modoboa/blob/master/requirements.txt#L25
The version is not forced so the latest one is installed with a new setup.
I'm installing modoboa with modoboa-installer
and I can't find the modoboa requirements.txt file neither the source folder...
Is there a way to change this value temporary ?
I think setuptools
should be upgraded within the modoboa virtualenv to match the last cryptography requirement.
The installer installs modoboa using pip so you can't modify the requirements. You can try do to downgrade the installed cryptography version using a command like this:
> pip install cryptography==X.X.X
Don't forget to load your virtualenv before.
Why do you think setuptools is the cause?
@tonioo this answer is pointing me at the cryptography doc saying to upgrade setuptools.
I think either I have to downgrade cryptography or upgrade setuptools. But none of this can be done without a first crash then a re-launch of the process. I'm using ansible to deploy a modoboa instance so it is not really convenient.
Am I the only one with this issue ? Can't you reproduce it ?
After some tests, here is what I got :
ARM | AMD64 | |
---|---|---|
Kernel | 4.4.96-mainline-rev1 | 4.4.96-mainline-rev1 |
Distrib | Debian GNU/Linux 8.9 (jessie) | Debian GNU/Linux 8.9 (jessie) |
Arch | armv7l | x86_64 |
Proc | marvell_armadaxp-mv78460 32 bits | Intel(R) Atom(TM) CPU C2750 @ 2.40GHz 64 bits |
Pip | pip 9.0.1 | pip 9.0.1 |
Setuptools | 5.5.1 | 5.5.1 |
Modoboa installer result | Crash with setuptools 5.5.1. Success after setuptools upgraded to 36.7.2 in the venv | Success with setuptools 5.5.1 |
I don't understand why it is crashing on ARM and not on AMD64, any tips ?
@fheslouin Maybe an issue with setuptools on ARM?
Closed because of inactivity.
Impacted versions
Steps to reproduce
yes | ./run.py --debug koombook.lan > /tmp/modoboa.log 2>&1
Full trace using --debug option or current behaviour