u1sdtool --info=nonExistingPath throws ugly error

Bug #767132 reported by Bart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
Undecided
Ubuntu One Foundations+ team

Bug Description

u1sdtool --info=nonExistingPath crashes with the following output:

Usage: u1sdtool [option]

u1sdtool: error: PATH: '/home/bartrouw/nonExistingPath' don't exists
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 413, in fireEvent
    DeferredList(beforeResults).addCallback(self._continueFiring)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 297, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 286, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 426, in _continueFiring
    callable(*args, **kwargs)
  File "/usr/bin/u1sdtool", line 68, in main
    d = run(options, sync_daemon_tool, out)
  File "/usr/bin/u1sdtool", line 151, in run
    parser.error("PATH: '%s' don't exists" % path)
  File "/usr/lib/python2.7/optparse.py", line 1578, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "/usr/lib/python2.7/optparse.py", line 1568, in exit
    sys.exit(status)
exceptions.SystemExit: 2

Ubuntu 11.04 beta
ubuntuone-client: 1.6.1-0ubuntu1 (natty)

Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Changed in ubuntuone-client:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.