Gmansolf / googlecl

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

google picasa create crashes when used with not existent file #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Run google picasa create not_existent_file
2.Specify title when prompted
3.See the traceback

What is the expected output? 
Error output saying that file doesn't exist

What do you see instead?
This traceback:
Loading file test to album Test
Traceback (most recent call last):
  File "/usr/bin/google", line 461, in <module>
    main()
  File "/usr/bin/google", line 455, in main
    run_once(options, args)
  File "/usr/bin/google", line 356, in run_once
    task.run(client, options, args)
  File "/usr/lib/python2.5/site-packages/googlecl/picasa/service.py", line 299, in _run_create
    client.InsertPhotoList(album, photo_list=args, tags=options.tags)
  File "/usr/lib/python2.5/site-packages/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?
Version from trunk: 0.9.5

Please provide any additional information below.
Please find the patch attached

Original issue reported on code.google.com by bart...@gmail.com on 19 Jun 2010 at 7:30

Attachments:

GoogleCodeExporter commented 8 years ago
Issue 124 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r266.

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