bjherger/ResumeParser

Getting Package errors

Opened this issue · 0 comments

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