#3966 closed defect (fixed)

charset-normalizer is breaking PyInstaller (and maybe more)

Reported by: itamarst Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

Traceback (most recent call last):
  File "requests\compat.py", line 11, in <module>
ModuleNotFoundError: No module named 'chardet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tahoe.py", line 19, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "allmydata\scripts\runner.py", line 24, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "allmydata\scripts\tahoe_invite.py", line 24, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "allmydata\client.py", line 32, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "allmydata\storage_client.py", line 77, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "allmydata\storage\http_client.py", line 32, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "treq\__init__.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "treq\api.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "treq\client.py", line 32, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "treq\response.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "requests\__init__.py", line 45, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "requests\exceptions.py", line 9, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "requests\compat.py", line 13, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "charset_normalizer\__init__.py", line 24, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "charset_normalizer\api.py", line 5, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "charset_normalizer\cd.py", line 9, in <module>
ModuleNotFoundError: No module named 'charset_normalizer.md__mypyc'
[7016] Failed to execute script 'tahoe' due to unhandled exception!

Change History (2)

comment:1 Changed at 2023-01-14T01:54:33Z by exarkun

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed at 2023-01-28T22:06:34Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>

In 759974a/trunk:

Merge pull request #1252 from crwood/3966.unpin-charset-normalizer

Unpin charset-normalizer / (re-)fix PyInstaller? builds

Re-fixes: ticket:3966

Note: See TracTickets for help on using tickets.