Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installlation doesn't work #34

Open
e-jim opened this issue Sep 16, 2022 · 2 comments
Open

Installlation doesn't work #34

e-jim opened this issue Sep 16, 2022 · 2 comments

Comments

@e-jim
Copy link

e-jim commented Sep 16, 2022

Hey there,

When I try to install the package on a YunoHost 4.4.2.14 server, I get this error:

WARNING - ./install: ligne 152: email : variable sans liaison (translation: variable unbound)

This is the same error as mentioned in the logs of @CodeFreezr in issue #24 but as it doesn't seem to be unrelated to #24 I took the liberty to open a new issue.

One of the errors raised is that the variable e-mail is never set in the install script.
I "fixed" it by adding an e-mail requirement in the manifest and using it in the install script.
See my quick and dirty fix

Yet, this didn't solve the second error:

WARNING - Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

So it also modified line 152 to use python3 explicitly (because default is still 2 in buster in thus in Yunohost 4.x).

Note: everytime I tried again to install, I had to run those commands to allow installation to run again.:

 apt purge mailman3*
rm -rf /var/lib/mailman3

Now, it installed but I haven't tested the app yet.

Hope this helps...

@TomRicci
Copy link

Hi Jérémie,
I successfully installed your version of the app, could you please make a merge request to the testing branch here, so the bug with the missing email variable (and python3 for YNH buster) could be fixed for everyone.
Take care,
Tom.

@e-jim
Copy link
Author

e-jim commented Nov 5, 2022

@TomRicci PR done. I hope it's not too dirty... 😬

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants