ACueva / googlecl

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

Cannot use picasa to upload *.jpg in Windows #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to pictures folder
2. use command "google picasa --title "Natural" *.jpg"

What is the expected output? What do you see instead?
Expected Output : Upload all of my jpgs
I see : AttributeError 'int' object has no attribute 'reason'

What version of the product are you using? On what operating system?
Windows 7

Original issue reported on code.google.com by domesterz on 20 Jun 2010 at 4:44

GoogleCodeExporter commented 9 years ago
Windows commandline/shell does not expand "*". Try a more powerful shell such 
as Cygwin.

Original comment by xinl...@gmail.com on 20 Jun 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Same thing on karmic koala, for me. googlecl 0.9.7-1

Traceback (most recent call last):
  File "/usr/bin/google", line 463, in <module>
    main()
  File "/usr/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/bin/google", line 356, 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'

Original comment by mcmichae...@gmail.com on 20 Jun 2010 at 11:55

GoogleCodeExporter commented 9 years ago
Because the root of this issue is your shell, I'm going to mark this Invalid. 
I'll add something to the FAQ when it gets written.

The actual AttributeError that's being raised is another problem, and a patch 
to provide a more helpful message can be found in Issue 86.

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