FS#28626 - [pssh] pssh 2.3.1 is broken : ImportError: No module named version

Attached to Project: Community Packages
Opened by Damien Gombault (Desintegr) - Friday, 24 February 2012, 13:47 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 13 March 2012, 15:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

$ pssh
Traceback (most recent call last):
File "/usr/bin/pssh", line 26, in <module>
from psshlib.cli import common_parser, common_defaults
File "/usr/lib/python3.2/site-packages/psshlib/cli.py", line 9, in <module>
import version
ImportError: No module named version

pssh: error: Command not specified.

It works if I modify line 9 of cli.py :

import version

to

from psshlib import version

----------

Name : pssh
Version : 2.3.1-2
URL : http://code.google.com/p/parallel-ssh/
Licenses : BSD
Groups : None
Provides : None
Depends On : openssh python
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 212.00 KiB
Packager : Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
Architecture : any
Build Date : Wed Feb 22 07:45:24 2012
Install Date : Wed Feb 22 09:11:20 2012
Install Reason : Explicitly installed
Install Script : No
Description : Parallel versions of the openssh tools ssh, scp, rsync, nuke, slurp

----------

Name : python
Version : 3.2.2-2
URL : http://www.python.org/
Licenses : custom
Groups : None
Provides : python3
Depends On : expat bzip2 gdbm openssl libffi zlib
Optional Deps : tk: for tkinter
sqlite3
Required By : pkgtools pssh python-distribute
Conflicts With : None
Replaces : python3
Installed Size : 79628.00 KiB
Packager : Stéphane Gaudreault <stephane@archlinux.org>
Architecture : x86_64
Build Date : Mon 21 Nov 2011 06:05:41 PM CET
Install Date : Tue 29 Nov 2011 05:51:16 PM CET
Install Reason : Explicitly installed
Install Script : No
Description : Next generation of the python high-level scripting language

This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 13 March 2012, 15:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  See pssh-2.3.1-3
Comment by Jaroslav Lichtblau (Dragonlord) - Saturday, 25 February 2012, 20:14 GMT
Does not look much like packaging issue. Was it repoted also upstream? I'll be looking into the fix.
Comment by Rogutės (rogutes) - Sunday, 26 February 2012, 09:19 GMT
I would argue that this is a packaging issue, because the packager did not try to run the software after packaging.

Reported upstream:
http://code.google.com/p/parallel-ssh/issues/detail?id=66
Comment by Pierre Bourdon (delroth) - Wednesday, 29 February 2012, 21:47 GMT
I'm having the same issue. Upstream committed a patch, would it be possible to apply it to the Arch package? Currently the packaged pssh is not usable on Archlinux.