trash-cli crashes

  • Done
  • quality assurance status badge
Details
3 participants
  • Brice Waegeneire
  • Lars-Dominik Braun
  • Simon Streit
Owner
unassigned
Submitted by
Simon Streit
Severity
normal
S
S
Simon Streit wrote on 1 Feb 2022 13:33
(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 2022 11:03
(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 2022 15:56
(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 2022 10:41
(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 an email to 53695@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53695
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch