leocrawford / picasawebsync

Sync local directories with picasaweb
MIT License
59 stars 16 forks source link

issue when running upload script #10

Closed tthienpont closed 11 years ago

tthienpont commented 11 years ago

Hi, First of all a big thanks for this script! The first time I ran it, all went fine. But from since then on, I always get some error messages:

tim@timbuntu:~/Pictures$ picasawebsync.py -m upload -u me@gmail.com -p mypassword -d test/ -v Found 3 albums on the filesystem Traceback (most recent call last): File "/usr/local/bin/picasawebsync.py", line 615, in albums.scanWebAlbums(args.deletedups, excludes) File "/usr/local/bin/picasawebsync.py", line 184, in scanWebAlbums self.scanWebPhotos(album, webAlbum, deletedups, excludes) File "/usr/local/bin/picasawebsync.py", line 193, in scanWebPhotos photoTitle=urllib.unquote(photo.title.text) File "/usr/lib/python2.7/urllib.py", line 1217, in unquote bits = s.split('%') AttributeError: 'NoneType' object has no attribute 'split'

Any ideas what's going on?

I have this issue on both Ubuntu 13.04 as on 12.04LTS with all updates installed.

Cheers, Tim

leocrawford commented 11 years ago

Hi,

The problem appears to be that you have a file in your picasaweb account with no filename. I have submitted a possible fix. I haven't tested it, so let me know if it works.

Leo

tthienpont commented 11 years ago

Hi Leo, It seems to be working perfectly now. No idea how I ended up with a file with no filename though...

Thanks for the swift response and effort!

Cheers, Tim

leocrawford commented 11 years ago

My pleasure. Thanks for reporting.

Leo

On 21 May 2013 22:11, tthienpont notifications@github.com wrote:

Hi Leo, It seems to be working perfectly now. No idea how I ended up with a file with no filename though...

Thanks for the swift response and effort!

Cheers, Tim

— Reply to this email directly or view it on GitHubhttps://github.com/leocrawford/picasawebsync/issues/10#issuecomment-18241252 .