Bug#759775: ImportError: No module named cmds
Hello Javi On 2014-08-31 00:27, Javi Merino wrote: Control: tags 759775 unreproducible On Sat, Aug 30, 2014 at 09:34:58AM +0200, Joerg wrote: Package: trash-cli Version: 0.12.9.14-1 Severity: important Dear Maintainer, With the new version I can't put any file to trash bin anymore. /usr/bin/trash-put tobedeleted Traceback (most recent call last): File "/usr/bin/trash-put", line 4, in from trashcli.cmds import put as main ImportError: No module named cmds There seems to be something wrong in your system. I've tried this several times in my system and in a clean chroot and it works. After installing the package, does /usr/lib/python2.7/dist-packages/trashcli/cmds.py exist? It should, it's part of the package. Does the output of "python -c 'import sys; print(sys.path)'"? Does it include /usr/lib/python2.7/dist-packages ? You are right, there was an ancient trash-cli lib within /usr/local/lib/python2.7/dist-packages. Thanks for pointing that out. Do you have any other trashcli in the other paths in sys.path? Best regards Joerg -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#759775: ImportError: No module named cmds
Control: tags 759775 unreproducible On Sat, Aug 30, 2014 at 09:34:58AM +0200, Joerg wrote: > Package: trash-cli > Version: 0.12.9.14-1 > Severity: important > > Dear Maintainer, > > With the new version I can't put any file to trash bin anymore. > > /usr/bin/trash-put tobedeleted > Traceback (most recent call last): > File "/usr/bin/trash-put", line 4, in > from trashcli.cmds import put as main > ImportError: No module named cmds There seems to be something wrong in your system. I've tried this several times in my system and in a clean chroot and it works. After installing the package, does /usr/lib/python2.7/dist-packages/trashcli/cmds.py exist? It should, it's part of the package. Does the output of "python -c 'import sys; print(sys.path)'"? Does it include /usr/lib/python2.7/dist-packages ? Do you have any other trashcli in the other paths in sys.path? Cheers, Javi signature.asc Description: Digital signature
Bug#759775: ImportError: No module named cmds
Package: trash-cli Version: 0.12.9.14-1 Severity: important Dear Maintainer, With the new version I can't put any file to trash bin anymore. /usr/bin/trash-put tobedeleted Traceback (most recent call last): File "/usr/bin/trash-put", line 4, in from trashcli.cmds import put as main ImportError: No module named cmds Downgrading to 0.12.7-1 (aptitude install trash-cli=0.12.7-1) solves the issue. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages trash-cli depends on: ii python2.7.8-1 ii python-pkg-resources 5.5.1-1 trash-cli recommends no packages. trash-cli suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org