Gmansolf / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

picasa: AttributeError: 'int' object has no attribute 'reason' #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create picasa album with lots of pictures uploading
2. sometimes uploading fails and program exits with an error

What is the expected output? What do you see instead?
expected: no error, or at least a reason. I get:

Loading file DSCN0016.JPG to album Thailand 2008
Traceback (most recent call last):
  File "/usr/bin/google", line 448, in <module>
    main()
  File "/usr/bin/google", line 442, in main
    run_once(options, args)
  File "/usr/bin/google", line 337, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line 344, in _run_post
    client.InsertPhotoList(album, args, tags=options.tags)
  File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line 220, in insert_photo_list
    err.args[0].reason,
AttributeError: 'int' object has no attribute 'reason'

What version of the product are you using? On what operating system?
googlecl 0.9.5 Ubuntu 10.04 64-bit
Please provide any additional information below.

Original issue reported on code.google.com by jos.deh...@gmail.com on 21 Jun 2010 at 2:10

GoogleCodeExporter commented 8 years ago
You should get an informative message rather than a crash after applying the 
patch in issue 86. If you those messages don't make sense, could you please 
re-post the issue in the tracker? Thanks!

Original comment by tom.h.mi...@gmail.com on 21 Jun 2010 at 2:41

GoogleCodeExporter commented 8 years ago
How am I supposed to apply the patch in issue 86?

Original comment by souls...@gmail.com on 24 Jun 2010 at 4:58

GoogleCodeExporter commented 8 years ago
Check out the FAQ on the wiki, and if that doesn't help, let me know.

Original comment by tom.h.mi...@gmail.com on 24 Jun 2010 at 11:41