jnerin
unread,Sep 2, 2010, 3:50:16 AM9/2/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GoogleCL Discuss
I have been trying to delete some pictures of a picasa album, but I
only manage to delete whole albums instead of specific pictures.
Thats what I tried:
$ google picasa list --title Prueba
20100308_164217-img_1360.jpg,N/A
20100308_164217-img_1360.jpg,N/A
20100424_181826-img_1140.jpg,N/A
Yes, there is a duplicate upload, but it's really a different version.
Now to make things easy I will try to delete the last one.
$ google picasa delete --title Prueba 20100424_181826-img_1140.jpg
Are you SURE you want to delete album "Prueba"? (y/N): n
$ google picasa delete --title Prueba --query 20100424_181826-
img_1140.jpg
No photos matching 20100424_181826-img_1140.jpg
$ google picasa delete --title Prueba --query "20100424_181826-
img_1140.jpg,NA"
Traceback (most recent call last):
File "/usr/bin/google", line 577, in <module>
main()
File "/usr/bin/google", line 571, in main
run_once(options, args)
File "/usr/bin/google", line 418, in run_once
task.run(client, options, args)
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
362, in _run_delete
'delete_by_default'))
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
120, in delete
entries = self.build_entry_list(title=title, query=query)
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
102, in build_entry_list
photo_feed = self.GetFeed(uri % album.gphoto_id.text)
TypeError: not enough arguments for format string
$ google picasa delete --title Prueba --query "title 20100424_181826-
img_1140.jpg"
No photos matching title+20100424_181826-img_1140.jpg
$ google picasa delete --title Prueba --query "title=20100424_181826-
img_1140.jpg"
Traceback (most recent call last):
File "/usr/bin/google", line 577, in <module>
main()
File "/usr/bin/google", line 571, in main
run_once(options, args)
File "/usr/bin/google", line 418, in run_once
task.run(client, options, args)
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
362, in _run_delete
'delete_by_default'))
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
120, in delete
entries = self.build_entry_list(title=title, query=query)
File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line
102, in build_entry_list
photo_feed = self.GetFeed(uri % album.gphoto_id.text)
TypeError: not enough arguments for format string
$ google --version
google 0.9.9
$ dpkg-query -l *gdata*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-
============================================
ii libgdata-commo 0.5.2-0ubuntu1 Library for accessing GData
webservices - co
ii libgdata-googl 2.28.3.1-0ubun Client library for accessing Google
POA thro
ii libgdata1.2-1 2.28.3.1-0ubun Client library for accessing Google
POA thro
ii libgdata1.4-ci 1.4.0.2-3 Google GData CLI client library
ii libgdata6 0.5.2-0ubuntu1 Library for accessing GData
webservices - sh
ii python-gdata 1.2.4-0ubuntu2 Google Data Python client library
How do I delete just one picture of an album? and in the case of
duplicated pictures, how to work with them?
Thank you.