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

Encoding problems #31

Open
mitroulias77 opened this issue Aug 7, 2019 · 1 comment
Open

Encoding problems #31

mitroulias77 opened this issue Aug 7, 2019 · 1 comment

Comments

@mitroulias77
Copy link

Ειχαμε ενα προβλημα με τις κωδικοποιησεις:

Traceback (most recent call last):
File "E:/Python/classification/scripts/nsk_fit.py", line 31, in
stemmer = gr_stemm.GreekStemmer()
File "χ\Anaconda3\lib\site-packages\greek_stemmer_init_.py", line 35, in init
custom_rules = self.load_settings()
File "χ\Anaconda3\lib\site-packages\greek_stemmer_init_.py", line 340, in load_settings
custom_rules = yaml.load(f.read())
File "χ\Anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 72: character maps to

Το προβλήμα λυνεται ως εξης ( στη περιπτωση μας):
γραμμη 339, file: init.py:
os.path.dirname(file), 'stemmer.yml'), 'r', encoding="utf8") as f:

@cmantas
Copy link
Contributor

cmantas commented Aug 7, 2019

Hello.
Can you please elaborate on what this stack trace and error means?
Seeing a python stack trace on a ruby project seems somewhat peculiar.

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