sebgod / google-sites-mirror

Automatically exported from code.google.com/p/google-sites-mirror
0 stars 0 forks source link

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 55: ordinal not in range(128) #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run gsmirror provided with appropriate extensions
2. Downloading of sites structure started
3. Error in building sites output

What is the expected output? What do you see instead?
I expected that my google site would be mirrored.

What version of the product are you using? On what operating system?
gsmirror-1.0.2
Ubuntu Linux 10.04 LTS

Please provide any additional information below.

  File "/usr/local/bin/gsmirror", line 8, in <module>
    load_entry_point('gsmirror==1.0.2', 'console_scripts', 'gsmirror')()
  File "build/bdist.linux-x86_64/egg/gsmirroring/gsmirror.py", line 136, in main
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 380, in get_site
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 436, in get_page
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 398, in get_site_content
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 436, in get_page
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 400, in get_site_content
  File "build/bdist.linux-x86_64/egg/gsmirroring/site_controller.py", line 474, in get_attachment
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 
55: ordinal not in range(128)

Original issue reported on code.google.com by jef.caba...@easincera.com on 10 Jun 2011 at 12:38