Closed vinitkumar closed 10 years ago
From tom.h.mi...@gmail.com on June 24, 2010 04:45:59
Cygwin interprets that asterisk as a "globbing" character; the standard WIndows shell does not. You should be able to upload single files to Picasa successfully, though. http://en.wikipedia.org/wiki/Glob_(programming) I'll mark this Invalid for now, but if you find that you can't upload even full pathnames to Picasa on the standard Windows shell, post back on this Issue.
Status: Invalid
From souls...@gmail.com on June 24, 2010 09:14:54
Sorry Let me clarify.
Im not using windows comand shell.
This is all on cygwin but if i browse (by CD folder until i get to the photos)
As you sugested I tried uploading only 1 file from windows folders and it works
s0uls@s0uls-PC /cygdrive/c/users/s0uls/pictures/a75 $ google picasa post --title a75 a75.jpg Loading file a75.jpg to album a75
But since i need to upload full folders (100+ files each folder)doing it file by file is not an option.
Any suggestions?
From souls...@gmail.com on June 24, 2010 10:52:13
What steps will reproduce the problem?. Runing cygwin on windows 7
If i try this s0uls@s0uls-PC /cygdrive/c/users/s0uls/desktop/my dropbox/wallpapers $ google picasa post --title "wallpaper" /.jpg I will get Loading file /.jpg to album wallpaper Traceback (most recent call last): File "/usr/bin/google", line 463, in
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/python2.6/site-packages/googlecl/picasa/service.py", line 344,
in _run_post
client.InsertPhotoList(album, args, tags=options.tags)
File "/usr/lib/python2.6/site-packages/googlecl/picasa/service.py", line 220,
in insert_photo_list
err.args[0].reason,
AttributeError: 'int' object has no attribute 'reason'
BUT If i copy the folder to cygwin ~/ then it will upload with out issues s0uls@s0uls-PC ~ $ google picasa post --title "wallpaper" ~/wallpapers/*.jpg Loading file /home/s0uls/wallpapers/EpicMickeyCleanCover1920p.jpg to album wallp aper Loading file /home/s0uls/wallpapers/Epic_Mickey.jpg to album wallpaper Loading file /home/s0uls/wallpapers/epic_mickey_wallpaper.jpg to album wallpaper What is the expected output? What do you see instead? Upload folder contect to picasa, errors above What version of the product are you using? On what operating system? What version of gdata-python-client (aka python-gdata)? google cl 0.9.7 gdata 2.0.10 Please provide any additional information below.
Original issue: http://code.google.com/p/googlecl/issues/detail?id=165