Coder Social home page Coder Social logo

picasasync's People

Contributors

placidorevilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cxcxcxcx dpaneda

picasasync's Issues

Only Thumbnail Size Images Are Downloaded

Only small images (512px) are downloaded, instead of the original ones.
I've got 1.74GB of pictures in Picasa and only 94MB were downloaded.
All of the albums and images are there, they are just small.

Is there any way to fix the code so that it would download the original files instead?

Error when trying to sync

Hi there,

I'm getting this errro when trying to sync

daniel@delorean:~/fotos/procesadas$ picasasync -n -v -v .
2012-03-11 13:28:16,145 INFO [7f450c94d700] PicasaSync No upload or download specified. Using bidirectional sync.
2012-03-11 13:28:16,146 DEBUG [7f450c94d700] googlecl.config.parser Reading configuration from /home/daniel/.config/googlecl/config
2012-03-11 13:28:16,155 DEBUG [7f450c94d700] googlecl determine_terminal_encoding(): UTF-8
2012-03-11 13:28:16,156 DEBUG [7f450c94d700] googlecl.service Initialized googlecl.service.BaseServiceCL
2012-03-11 13:28:16,157 DEBUG [7f450c94d700] googlecl.authentication Loaded token from file
2012-03-11 13:28:24,972 DEBUG [7f450c94d700] googlecl.base Retrieved 65 entries, returning them all
Traceback (most recent call last):
  File "/usr/bin/picasasync", line 9, in <module>
    load_entry_point('PicasaSync==0.1', 'console_scripts', 'picasasync')()
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 655, in main
    PicasaSync().sync()
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 591, in sync
    AlbumList(self.clients, self.cl_args).sync()
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 498, in sync
    self.fillFromPicasa()
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 491, in fillFromPicasa
    self[album.title].combine(album)
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 334, in combine
    raise InvalidArguments(u'Tried to combine the album "{}" with another of the same type'.format(self.title))
PicasaSync.PicasaSync.InvalidArguments: Tried to combine the album "2011-07-16" with another of the same type

any ideas?

I don't even have an album with such a name...

Sync movies to picasaweb

Would it be possible to also sync .MOV files in albums? One issue might be that the size can be several hundreds of megabytes, so maybe it should be optional.

Thanks for a great piece of software!

Script doesn't like very much to be stopped

When the script is stop (with Ctrl-C e.g.) it does not stop very nicely.

However, it appears it does not affect to the correct behaviour of the script when its launched again.

BTW I create an arch package for this awesome software!

https://aur.archlinux.org/packages.php?ID=56678

daniel@delorean:~/fotos/Procesadas$ picasasync .
^CTraceback (most recent call last):
  File "/usr/bin/picasasync", line 9, in <module>
    load_entry_point('PicasaSync==0.1', 'console_scripts', 'picasasync')()
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 111, in main
    sync(args)
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 73, in sync
    upload_photo(picasa_client, new_album, f)
  File "/usr/lib/python2.7/site-packages/PicasaSync/PicasaSync.py", line 55, in upload_photo
    client.insert_media_list(album, [googlecl.safe_decode(photo)])
  File "/usr/lib/python2.7/site-packages/googlecl/picasa/service.py", line 306, in insert_media_list
    content_type=content_type)
  File "/usr/lib/python2.7/site-packages/gdata/photos/service.py", line 470, in InsertPhotoSimple
    content_type)
  File "/usr/lib/python2.7/site-packages/gdata/photos/service.py", line 426, in InsertPhoto
    converter=gdata.photos.PhotoEntryFromString)
  File "/usr/lib/python2.7/site-packages/googlecl/service.py", line 69, in retry_post
    return self.retry_operation(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/googlecl/base.py", line 365, in retry_operation
    return self.original_operation(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/gdata/service.py", line 1236, in Post
    media_source=media_source, converter=converter)
  File "/usr/lib/python2.7/site-packages/gdata/service.py", line 1303, in PostOrPut
    multipart[2]], headers=extra_headers, url_params=url_params)
  File "/usr/lib/python2.7/site-packages/atom/__init__.py", line 93, in optional_warn_function
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/atom/service.py", line 186, in request
    data=data, headers=all_headers)
  File "/usr/lib/python2.7/site-packages/gdata/auth.py", line 874, in perform_request
    return http_client.request(operation, url, data=data, headers=headers)
  File "/usr/lib/python2.7/site-packages/atom/http.py", line 169, in request
    _send_data_part(data_part, connection)
  File "/usr/lib/python2.7/site-packages/atom/http.py", line 355, in _send_data_part
    connection.send(binarydata)
  File "/usr/lib/python2.7/httplib.py", line 787, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
KeyboardInterrupt

Specify which album to sync

Currently, all Picasa albums are synchronized. But what if I want to synchronize a specific album? Is there a way to do it or can it be implemented?

Thanks.

Not exactly sync

The script doesn't exactly sync a folder with Picasa, like the name suggests. It just uploads a folder to Picasa, but if you add more photos to an album using PicasaWeb, the script doesn't download that image. Also, if you delete an image locally, the changes aren't reflected on PicasaWeb...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.