Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webilder-0.7.3 0 : webilder_downloader - UnicodeEncodeError #53

Open
Corin-EU opened this issue Apr 1, 2015 · 2 comments
Open

webilder-0.7.3 0 : webilder_downloader - UnicodeEncodeError #53

Corin-EU opened this issue Apr 1, 2015 · 2 comments

Comments

@Corin-EU
Copy link

Corin-EU commented Apr 1, 2015

webilder-0.7.3

webilder_downlloader exits with an error on a non-ASCII character when retriveing content:

url =  https://api.flickr.com/services/rest/?api_key=045379bc5368502f749af23d95a17c83&photo_id=16929226431&method=flickr.photos.getSizes
Traceback (most recent call last):
  File "/usr/local/bin/webilder_downloader", line 9, in <module>
    load_entry_point('Webilder==0.7.3', 'console_scripts', 'webilder_downloader')()
  File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 195, in main
    download_all(notify)
  File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 154, in download_all
    filter_photos(config, photos)
File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 87, in filter_photos
    print _("Skipping non-landscape photo '%s'") % photo['title']
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 54: ordinal not in range(128)

Can something be done to fix this problem?

@Corin-EU
Copy link
Author

Over two years later and photographs can still not be downloaded from Flickr because the unicode issue is still to be fixed.

url =  https://api.flickr.com/services/rest/?api_key=045379bc5368502f749af23d95a17c83&photo_id=34721603982&method=flickr.photos.getSizes
   Traceback (most recent call last):
   File "/usr/local/bin/webilder_downloader", line 9, in <module>
   load_entry_point('Webilder==0.7.3', 'console_scripts', 'webilder_downloader')()
   File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 195, in main     download_all(notify)
   File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 154, in download_all
filter_photos(config, photos)
   File "/usr/local/lib/python2.7/dist-packages/webilder/downloader.py", line 87, in filter_photos
   print _("Skipping non-landscape photo '%s'") % photo['title']
   UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 116: ordinal not in range(128)

It appears that this project has been abandoned.

@thesamet
Copy link
Owner

Hey Corin, yes - I am unable to work on this project at this point. Pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants