trash-cli crashes

DoneSubmitted by Simon Streit.
Details
3 participants
  • Brice Waegeneire
  • Lars-Dominik Braun
  • Simon Streit
Owner
unassigned
Severity
normal
S
S
Simon Streit wrote on 1 Feb 13:33 +0100
(address . bug-guix@gnu.org)
ygu35l2bwc0.fsf@netpanic.org
With trash-cli's last update, it doesn't work any more and exits with
the following error:

Toggle snippet (6 lines)
Traceback (most recent call last):
File "/home/ss2/.guix-profile/bin/trash-list", line 4, in <module>
from trashcli.list import main as main
ModuleNotFoundError: No module named 'trashcli'

I've tried to come up with a solution, but none work so far.


Kind regards
Simon
B
B
Brice Waegeneire wrote on 12 Feb 11:03 +0100
(name . Simon Streit)(address . simon@netpanic.org)(address . 53695@debbugs.gnu.org)
87o83cwgf1.fsf@waegenei.re
Hello Simon,

Simon Streit <simon@netpanic.org> writes:

Toggle quote (8 lines)
> 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 <module>
> 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:

Toggle snippet (6 lines)
$ /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
[...]

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 ?


Cheers,
- Brice
S
S
Simon Streit wrote on 12 Feb 15:56 +0100
(name . Brice Waegeneire)(address . brice@waegenei.re)(address . 53695@debbugs.gnu.org)
ygufsoow2tv.fsf@netpanic.org
Brice Waegeneire <brice@waegenei.re> writes:

Toggle quote (3 lines)
> 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.

Toggle quote (4 lines)
> 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
L
L
Lars-Dominik Braun wrote on 15 Feb 10:41 +0100
(name . Simon Streit)(address . simon@netpanic.org)
Ygt1Qy2UiqAU1aqG@noor.fritz.box
Hi,

Toggle quote (3 lines)
> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 53695@debbugs.gnu.org