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

Getting Package errors #41

Open
Nileshchavan05 opened this issue Oct 14, 2019 · 0 comments
Open

Getting Package errors #41

Nileshchavan05 opened this issue Oct 14, 2019 · 0 comments

Comments

@Nileshchavan05
Copy link

Traceback (most recent call last):
File "G:\ResumeParser-master\bin\main.py", line 111, in
main()
File "G:\ResumeParser-master\bin\main.py", line 33, in main
observations = extract()
File "G:\ResumeParser-master\bin\main.py", line 68, in extract
observations['text'] = observations['file_path'].apply(lib.convert_pdf)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\series.py", line 3591, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas_libs\lib.pyx", line 2217, in pandas._libs.lib.map_infer
File "G:\ResumeParser-master\bin\lib.py", line 140, in convert_pdf
return open(output_filepath).read()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\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 0x81 in position 481: character maps to

view.encoding()
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
view.encoding()
NameError: name 'view' is not defined

@Nileshchavan05 Nileshchavan05 changed the title Unicode error getting Getting Package errors Oct 15, 2019
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

1 participant