Skip to content

webilder-0.7.3 0 : webilder_downloader - UnicodeEncodeError #53

@Corin-EU

Description

@Corin-EU

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions