duplicity crashed with ValueError in port()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned | ||
duplicity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: duplicity
trying to backup to localhost
ProblemType: Crash
Architecture: amd64
Date: Mon May 12 22:52:13 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/duplicity
InterpreterPath: /usr/bin/python2.5
NonfreeKernelMo
Package: duplicity 0.4.10-1
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/duplicity ./BackupList/ ssh://User Name@localhost:
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: duplicity
Title: duplicity crashed with ValueError in port()
Uname: Linux 2.6.24-16-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev sambashare scanner video
Changed in duplicity: | |
assignee: | nobody → kenneth-loafman |
Changed in duplicity: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
You need to quote the target, at least, because it contains a space: 'ssh://User Name@localhost: /home/username/ Backup' - or has this been cleaned by apport during report?
Anyway, the bug is still valid, because it should not crash, but report a sane error, if the port cannot get parsed. (I've looked not at the source code yet), but it looks like it parsed the URL wrong: python2. 5/site- packages/ duplicity/ urlparse_ 2_5.py" , line 116, in port
File "/usr/lib/
return int(port, 10)
ValueError: invalid literal for int() with base 10: ''