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

Already on GitHub? Sign in to your account

Adds basic exception handling for some invalid data #39

merged 1 commit into from Nov 29, 2012


None yet
3 participants

ckdake commented Oct 15, 2012

Fixes issue #38. If some data fails to parse in XmlSimple, convert to ISO-8859-1 and try again.

This is far from perfect, but lets these invalid data points be skipped when walking through api results. It's a shame that Last.fm returns invalid data sometimes :(

Test covers this fix and passes on ruby-1.9.3-p194

when is this going to be merged?
I'm having a lot of problems with this parsing issue.

youpy added a commit that referenced this pull request Nov 29, 2012

Merge pull request #39 from ckdake/master
Adds basic exception handling for some invalid data

@youpy youpy merged commit d0aa7ce into youpy:master Nov 29, 2012

1 check passed

default The Travis build passed

youpy commented Nov 29, 2012

Thanks, sorry for slow reply.

I've merged and released 1.13.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment