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

UnicodeEncodeError:for image-grabber #44

Open
ronaldbradford opened this issue Jul 8, 2013 · 1 comment
Open

UnicodeEncodeError:for image-grabber #44

ronaldbradford opened this issue Jul 8, 2013 · 1 comment
Assignees

Comments

@ronaldbradford
Copy link
Collaborator

Error from both existing server and new server.

Mon Jul 8 14:42:49 2013 | INFO | Successfully saved images for 25 targets.
No images found for SDSSJ1050+0017
No images found for GALACTIC_BULGE_AQL2
No images found for 3XMM J185246.9+003318
No images found for BGRB060605
No images found for TAN1549-790
No images found for CRATES_J0505-1558
No images found for LMC-N11C strip-1-2
No images found for X1954+319
Traceback (most recent call last):
File "image-grabber.py", line 127, in
run()
File "image-grabber.py", line 21, in run
target_images = get_images(t)
File "image-grabber.py", line 65, in get_images
images = get_images_from_NED(target)
File "image-grabber.py", line 91, in get_images_from_NED
print time.asctime() + ' | ERROR | Failed to get NED images for ' + target + '\n' + str(e)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 77-78: ordinal not in range(128)

@ghost ghost assigned jhn Jul 8, 2013
@tarunkotia
Copy link
Collaborator

Look what I found :)

On Monday, July 8, 2013, Ronald Bradford wrote:

Error from both existing server and new server.

Mon Jul 8 14:42:49 2013 | INFO | Successfully saved images for 25 targets.
No images found for SDSSJ1050+0017
No images found for GALACTIC_BULGE_AQL2
No images found for 3XMM J185246.9+003318
No images found for BGRB060605
No images found for TAN1549-790
No images found for CRATES_J0505-1558
No images found for LMC-N11C strip-1-2
No images found for X1954+319
Traceback (most recent call last):
File "image-grabber.py", line 127, in
run()
File "image-grabber.py", line 21, in run
target_images = get_images(t)
File "image-grabber.py", line 65, in get_images
images = get_images_from_NED(target)
File "image-grabber.py", line 91, in get_images_from_NED
print time.asctime() + ' | ERROR | Failed to get NED images for ' + target

  • '\n' + str(e)
    UnicodeEncodeError: 'ascii' codec can't encode characters in position
    77-78: ordinal not in range(128)


Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.

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

3 participants