newspaper icon indicating copy to clipboard operation
newspaper copied to clipboard

pyinstaller exe file error

Open saha65536 opened this issue 3 years ago • 2 comments

use pyinstaller make a exe file. when it runs , get parse() exception Positioning issues on article.py
meta_lang = self.extractor.get_meta_lang(self.clean_doc) self.set_meta_language(meta_lang)

if run like python xx.py then it runs fine plz help.....

saha65536 avatar Jun 02 '21 14:06 saha65536

error message: C:\Users\xxx\AppData\Local\Temp_MEI17482\newspaper\resources/text Unexpected error: <class 'FileNotFoundError'> why the language file in this position

saha65536 avatar Jun 03 '21 07:06 saha65536

copy resources dir into workdir fixed!

saha65536 avatar Jun 03 '21 09:06 saha65536