codelucas / codelucas/newspaper

pyinstaller exe file error

Open
#892 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15.2k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

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.....

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with article.py at the get_meta_lang and set_meta_language calls mentioned in the report, then compare the PyInstaller executable's parse exception with running the same program via Python. The issue is resolved when the packaged executable runs without that exception; the report does not name a test or provide a traceback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.