Public bug reported:

When running cloudprint for the first time, I put in the wrong password
for my Google account. Cloudprint crashed with a Python traceback. In
this situation I expected it to give a normal error message like
"Incorrect Password" instead of crashing.

Here is the traceback:

Traceback (most recent call last):
  File "/usr/bin/cloudprint", line 9, in <module>
    load_entry_point('cloudprint==0.5', 'console_scripts', 'cloudprint')()
  File "/usr/lib/pymodules/python2.7/cloudprint/cloudprint.py", line 366, in 
main     
    sync_printers(cups_connection, cpp)                                         
      
  File "/usr/lib/pymodules/python2.7/cloudprint/cloudprint.py", line 255, in 
sync_printers                                                                   
               
    remote_printers = dict([(p.name, p) for p in cpp.get_printers()])           
      
  File "/usr/lib/pymodules/python2.7/cloudprint/cloudprint.py", line 113, in 
get_printers
    r = self.get_rest()
  File "/usr/lib/pymodules/python2.7/cloudprint/cloudprint.py", line 109, in 
get_rest
    auth = self.get_auth()
  File "/usr/lib/pymodules/python2.7/cloudprint/cloudprint.py", line 66, in 
get_auth
    self.set_auth(auth_response['Auth'])
UnboundLocalError: local variable 'auth_response' referenced before assignment

** Affects: cloudprint (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003390

Title:
  Cloudprint crashes on incorrect password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloudprint/+bug/1003390/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to