#6730 ("from appy.utils import bn" fails in pull_demos.sh on LF)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
Children
Kommentaarid
- 6 kuud ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : The new system is still failing on gitlab. I sent an email to Gaetan, asking for help.
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : It seems that after setting include-system-site-packages to true, I had to uninstall and install again the pip packages pytest and py. The problem was: /bin/bash: line 1: pytest: command not found Traceback (most recent call last):
File "/home/luc/venvs/dev/lib/python3.12/site-packages/py/_apipkg.py", line 117, in __makeattr
modpath, attrname = self.__map__[name]
~~~~~~~~~~~~^^^^^^
KeyError: '__spec__' - 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : I added test whether "import uno" works, and otherwise raise an exception with a more adapted error message. Because we will get this on production sites.
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : I manually edited the /usr/local/lino/shared/env/master/pyvenv.cfg on LF and then launched /usr/local/bin/pull_demos.sh (rather than waiting for the daily cron job to launch it).
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : Gaetan told me that we should stop forking a new process when converting an odt to pdf using appy, i.e. not pass the pythonWithUno keyword. This requires the Python UNO bridge to be installed in the Lino environment. And the easiest way to do this is to set include-system-site-packages to true in th...
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : I sent an email to Gaëtan
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : The original problem seems to be an issue in the new app version. After saying "pip install -U appy" in my environment, I also have it. I'll report this to appy.
- 6 kuud, 1 nädal ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : Maybe you never check for new mails on blurry@lino-framework.org? Maybe you should create a ~/.forward file in your home directory of every server. The same counts for me BTW.
- 6 kuud, 2 nädalat ago by Sharif Mehedi in reply to Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : I couldn't find any email.
- 6 kuud, 2 nädalat ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) (1 reply) : @8lurry I think this is for you. Did you also get the email from cron on LF?
- 6 kuud, 2 nädalat ago by Luc Saffre about #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF) : Created new Ticket #6730 ("from appy.utils import bn" fails in pull_demos.sh on LF).