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

snapp_prep error: invalid byte sequence in UTF-8 #7

Open
ewelinaklichowska opened this issue Apr 20, 2022 · 3 comments
Open

snapp_prep error: invalid byte sequence in UTF-8 #7

ewelinaklichowska opened this issue Apr 20, 2022 · 3 comments

Comments

@ewelinaklichowska
Copy link

ewelinaklichowska commented Apr 20, 2022

Hello,

I try to run snapp_prep.rb script to prepare my .xml file, and I've met an error:

Traceback (most recent call last):

    3: from snapp_prep.rb:471:in `<main>'

    2: from snapp_prep.rb:471:in `each'

    1: from snapp_prep.rb:472:in `block in <main>'

snapp_prep.rb:472:in `strip': invalid byte sequence in UTF-8 (ArgumentError)

Would you be so kind and help me? is there any solution to this error?

Best regards,
Ewelina

@mmatschiner
Copy link
Owner

mmatschiner commented Apr 21, 2022 via email

@ewelinaklichowska
Copy link
Author

Sure, full command is
ruby snapp_prep.rb -p zergrac.phy -t zergrac_species.txt -c zergrac_constraints.txt -l 2000000 -x zergrac_snapp.xml

I don't know if it matters but I have ruby version 2.5.1p57 installed

thank you for the quick reply

@mmatschiner
Copy link
Owner

mmatschiner commented Oct 11, 2022 via email

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

2 participants