bjherger / ResumeParser

A framework to parse resumes, extract contact & other information, and check for required terms
367 stars 216 forks source link

WindowsError when launching for first time #34

Closed AdamLouly closed 5 years ago

AdamLouly commented 5 years ago

C:\Users\Acer\Anaconda3\envs\myenv\lib\site-packages\gensim\utils.py:1197: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial") INFO:root:Begin extract C:\Users\Acer\Documents\PFE\ResumeParser\bin\lib.py:25: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. CONFS = yaml.load(open(confs_path)) INFO:root:Found 5 candidate files INFO:root:Subset candidate files to extensions w/ available parsers. 5 files remain Traceback (most recent call last): File "main.py", line 111, in main() File "main.py", line 33, in main observations = extract() File "main.py", line 68, in extract observations['text'] = observations['file_path'].apply(lib.convert_pdf) File "C:\Users\Acer\Anaconda3\envs\myenv\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 "C:\Users\Acer\Documents\PFE\ResumeParser\bin\lib.py", line 130, in convert_pdf stdout=subprocess.PIPE, stderr=subprocess.PIPE, File "C:\Users\Acer\Anaconda3\envs\myenv\lib\subprocess.py", line 394, in init errread, errwrite) File "C:\Users\Acer\Anaconda3\envs\myenv\lib\subprocess.py", line 644, in _execute_child startupinfo) WindowsError: [Error 193] %1 is not a valid Win32 application

Getting this error when launching the main.py ..

bjherger commented 5 years ago

Great catch! WIP

bjherger commented 5 years ago

@AdamLouly This issue should be addressed by #35 . Please try now, and let me know if it works for you.

AdamLouly commented 5 years ago

@bjherger no longer the error thanks for fixing it :D

bjherger commented 5 years ago

Thanks for reporting it!