Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev known issues tracker #73

Closed
3 tasks done
DevilXD opened this issue Nov 8, 2022 · 0 comments
Closed
3 tasks done

Dev known issues tracker #73

DevilXD opened this issue Nov 8, 2022 · 0 comments
Labels
Dev For interminent issues created during development between releases Help / Issue General or specific issues that just require some additional assistance to solve Solved This issue has been resolved

Comments

@DevilXD
Copy link
Owner

DevilXD commented Nov 8, 2022

This is more or less like a public TODO list for me, to unload the need of having to remember all of this. Will get on those once I find enough free time.

  • Gracefully handle _brotli ImportError by informing the user they'll have to install the redis:
Traceback (most recent call last):
  File "main.py", line 39, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "twitch.py", line 21, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "gui.py", line 28, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\undetected_chromedriver__init.py__", line 1, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\undetected_chromedriver\webdriver.py", line 12, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\inspect.py", line 7, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\har.py", line 12, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\http.py", line 7, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\net\http__init__.py", line 1, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "seleniumwire\thirdparty\mitmproxy\net\http\http1__init__.py", line 2, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\net\http\http1\read.py", line 7, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\net\http\request.py", line 8, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\net\http\message.py", line 6, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "seleniumwire\thirdparty\mitmproxy\net\http\encoding.py", line 12, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "brotli.py", line 8, in <module>
ImportError: DLL load failed while importing _brotli: The specified module could not be found.

Refs:
https://stackoverflow.com/questions/63494005/error-when-importing-dash-importerror-dll-load-failed-while-importing-brotli
google/brotli#782
https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

Handled via: 4ae68b7


  • Handle missing certificate on non-dev stations by including it as data per dev's solution:
Traceback (most recent call last):
  File "main.py", line 179, in <module>
  File "asyncio\base_events.py", line 649, in run_until_complete
  File "twitch.py", line 351, in run
  File "twitch.py", line 370, in _run
  File "twitch.py", line 913, in get_auth
  File "twitch.py", line 136, in validate
  File "twitch.py", line 161, in _validate
  File "twitch.py", line 107, in _login
  File "gui.py", line 506, in ask_login
  File "gui.py", line 1970, in coro_unless_closed
  File "concurrent\futures\thread.py", line 58, in run
  File "gui.py", line 497, in <lambda>
  File "seleniumwire\undetected_chromedriver\webdriver.py", line 32, in init
  File "seleniumwire\webdriver.py", line 41, in _setup_backend
  File "seleniumwire\backend.py", line 24, in create
  File "seleniumwire\server.py", line 28, in init
  File "seleniumwire\utils.py", line 159, in extract_cert_and_key
  File "pkgutil.py", line 639, in get_data
  File "PyInstaller\loader\pyimod02_importers.py", line 344, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\twitch\AppData\Local\Temp\_MEI17842\seleniumwire\ca.crt'

Refs:
wkeeling/selenium-wire#402 (comment)

Handled via: d3d1624


  • Make it so that the Chrome instance starts with the HTTP proxy already set

Refs:
https://selenium-python.readthedocs.io/api.html#selenium.webdriver.common.proxy.Proxy

Handled via: 1aa1976

@DevilXD DevilXD added Help / Issue General or specific issues that just require some additional assistance to solve Dev For interminent issues created during development between releases labels Nov 8, 2022
@DevilXD DevilXD added the Solved This issue has been resolved label Nov 11, 2022
@DevilXD DevilXD closed this as completed Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev For interminent issues created during development between releases Help / Issue General or specific issues that just require some additional assistance to solve Solved This issue has been resolved
Projects
None yet
Development

No branches or pull requests

1 participant