bug#53695: trash-cli crashes
With trash-cli's last update, it doesn't work any more and exits with the following error: --8<---cut here---start->8--- Traceback (most recent call last): File "/home/ss2/.guix-profile/bin/trash-list", line 4, in from trashcli.list import main as main ModuleNotFoundError: No module named 'trashcli' --8<---cut here---end--->8--- I've tried to come up with a solution, but none work so far. Kind regards Simon
bug#53695: trash-cli crashes
Hello Simon, Simon Streit writes: > With trash-cli's last update, it doesn't work any more and exits with > the following error: > > Traceback (most recent call last): > File "/home/ss2/.guix-profile/bin/trash-list", line 4, in > from trashcli.list import main as main > ModuleNotFoundError: No module named 'trashcli' I'm the one who updated trash-cli¹; sorry to have broken it for you. Unfortunalty, I can't manage to reproduce it on my side: --8<---cut here---start->8--- $ /gnu/store/kbsw86qqip1p9yzrnm36d71xhk278m1l-profile/bin/trash-list 2021-12-11 09:12:37 /home/bricewge/project/guix/bricewge/channel 2021-12-21 08:23:06 /home/bricewge/project/guix/bricewge/symlink [...] --8<---cut here---end--->8--- Alos I'm using trash-cli daily without any issue since updating it. The commit updating the package also activate tests which pass fine on the CI². Is it still broken on your side? Are you on a foreign distro? Can you share other relevant information to find in which condition the package break ? ¹ https://issues.guix.gnu.org/50235 ² http://ci.guix.gnu.org/build/405413/log/raw Cheers, - Brice
bug#53695: trash-cli crashes
Brice Waegeneire writes: > I'm the one who updated trash-cli¹; sorry to have broken it for you. > Unfortunalty, I can't manage to reproduce it on my side: Thank you for upgrading it. My current solution is to keep an old version around. So it is not much of a problem really. > Is it still broken on your side? Are you on a foreign distro? Can you share > other relevant information to find in which condition the package > break ? It still is. My system is at 47eb897bd377f87854335a6d0cc711b94cb8589e. I just put it into my system declaration again to see if it works, and that it is not my user profiles breaking them. It still exits with the same error, and unfortunately I can't provide more as in to why it is failing. I can also rebuild the package without a problem. I also have a vanilla Guix running in a VM with only a minimum of packages and no extra config. I just pulled it into either the system, or my user profile. None work. Kind regards Simon
bug#53695: trash-cli crashes
Hi, > It still is. My system is at 47eb897bd377f87854335a6d0cc711b94cb8589e. > I just put it into my system declaration again to see if it works, and > that it is not my user profiles breaking them. I looked into this issue and fixed it in commit b5853e08979bcbecbf43f320bb99564a4a656160. The problem seemed to be the unorthodox way of installing scripts. Cheers, Lars