← Back to team overview

nssbackup-team team mailing list archive

[Bug 671785] [NEW] Uncaught error when using ssh password with / in

 

Public bug reported:

Dist: Ubuntu 10.10
SBackup version: 0.11.3
Installed from: apt

When setting up a remote target as backup destination the program crashes if a / is used in the password field.
Steps to reproduce:
1) Open Simple Backup-Configuration
2) Destination -> Use a remote site -> Connect...
3) Enter a / character in the password field (or any password containing one)
4) Connect

Stacktrace:
Traceback (most recent call last):
  File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1625, in __show_connect_remote_dialog
    self.__destination_uri_obj.set_and_parse_uri(_uri)
  File "/usr/share/sbackup/sbackup/util/pathparse.py", line 193, in set_and_parse_uri
    if splituri.port is not None:
  File "/usr/lib/python2.6/urlparse.py", line 102, in port
    return int(port, 10)
ValueError: invalid literal for int() with base 10: ''

** Affects: sbackup
     Importance: Undecided
         Status: New

-- 
Uncaught error when using ssh password with / in
https://bugs.launchpad.net/bugs/671785
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to Simple Backup.



Follow ups

References