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

error with running script #73

Open
fffssfdf opened this issue Mar 14, 2023 · 2 comments
Open

error with running script #73

fffssfdf opened this issue Mar 14, 2023 · 2 comments

Comments

@fffssfdf
Copy link

when running the script with my otu_table this error is:
Please, anybody can help me??
File "C:\Users\Usuario\Documents\MMar\LauraVID_3\HONGOS\Funguild5\Guilds_v1.1.py", line 303, in
output.write('%s\n' % rec)
File "C:\Users\Usuario\anaconda3\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0159' in position 589: character maps to

@brendanf
Copy link
Contributor

I am not a maintainer of the Python script, but I can suggest:
\u0159 is the code for the letter ř. Apparently FUNGuild is having trouble with this letter; if it occurs in your OTU table I recommend removing/replacing it (and possibly other characters with diacritics) and trying FUNGuild again. If it does not occur anywhere in your OTU table then hopefully someone else can offer a suggestion. :-)

@fffssfdf
Copy link
Author

Thanks, but I have not this letter in anywhere in my otu table.

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