Skip to content
New issue

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

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

Already on GitHub? # to your account

toasty pipeline HST text handling #96

Open
astrodavid10 opened this issue May 16, 2023 · 2 comments
Open

toasty pipeline HST text handling #96

astrodavid10 opened this issue May 16, 2023 · 2 comments

Comments

@astrodavid10
Copy link

Using the toasty pipeline with the esahubble.org data repository, leads to a b' in the metadate.json after a toasty pipeline fetch in most of the fields including the rather important name, description, and credits. @pkgw suggests this is a Windows specific text handling from python.

@pkgw
Copy link

pkgw commented May 16, 2023

Hi David —

I looked into this, and it looks like it is actually a bug in the esahubble.org server! If I visit their API directly, I get the b'' delimiters:

https://esahubble.org/images/heic1806a/api/json/

We should report the issue to them. In the meantime, I could consider adding a workaround to Toasty that would compensate for the bug. It would be a bit of a hack, but I could do it in a way that I think would work reliably. If the site can fix the problem soon, I'd rather not, but it's possible that it will take them a long time to address it, in which case it would probably be worthwhile to add a workaround.

@pkgw
Copy link

pkgw commented May 16, 2023

Filed djangoplicity/djangoplicity#147 , which I think is the correct upstream.

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

No branches or pull requests

2 participants