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

`chr': 488 out of char range (RangeError) #3

Open
noplanman opened this issue Nov 23, 2016 · 4 comments
Open

`chr': 488 out of char range (RangeError) #3

noplanman opened this issue Nov 23, 2016 · 4 comments

Comments

@noplanman
Copy link

noplanman commented Nov 23, 2016

Even though this project seems abandoned, I'll try to see if you can help me out.

On one of the QR codes I have I get the following error message:

/home/.rvm/gems/ruby-2.2.0/gems/qrio-0.0.1/lib/qrio/qr_matrix.rb:209:in `chr': 488 out of char range (RangeError)
  from /home/.rvm/gems/ruby-2.2.0/gems/qrio-0.0.1/lib/qrio/qr_matrix.rb:209:in `block in text'
  from /home/.rvm/gems/ruby-2.2.0/gems/qrio-0.0.1/lib/qrio/qr_matrix.rb:207:in `times'
  from /home/.rvm/gems/ruby-2.2.0/gems/qrio-0.0.1/lib/qrio/qr_matrix.rb:207:in `text'
  from /usr/local/bin/otp:52:in `<main>'

After searching online in vain, I have no idea what to do.

Also, this is the only gem I found to decode QR codes. Do you know of any actively developed ones?

@rubysolo
Copy link
Owner

I don't know of any actively maintained ruby QR decoders, sorry. Can you share the image with me? I might be able to track down where it is failing. If you don't want to attach it here, my email is my github username at gmail.

@noplanman
Copy link
Author

Thanks a lot, have sent you an email 👍

@MaicolBen
Copy link

@noplanman did you find any solution to this?

@noplanman
Copy link
Author

@MaicolBen Unfortunately not.

I decided to remove the decode feature from one of my projects, or rather: leave it as "if it works yay, otherwise 🤷"

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