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

import _winreg #29

Closed
jackpoz opened this issue Mar 17, 2018 · 2 comments
Closed

import _winreg #29

jackpoz opened this issue Mar 17, 2018 · 2 comments

Comments

@jackpoz
Copy link

jackpoz commented Mar 17, 2018

I got this error with a fresh install with Python 3.6.4

subdownloader>subdownloader.py -g
Traceback (most recent call last):
File "subdownloader\subdownloader.py", line 9, in
main()
File "subdownloader\subdownloader\client_main_.py", line 36, in main
return_code = runner(options)
File "subdownloader\subdownloader\client\gui_init_.py", line 61, in run
main_window = Main(None, "", options)
File "subdownloader\subdownloader\client\gui\main.py", line 59, in init
self.read_settings()
File "subdownloader\subdownloader\client\gui\main.py", line 178, in read_settings
self.initializeVideoPlayer(settings)
File "subdownloader\subdownloader\client\gui\main.py", line 248, in initializeVideoPlayer
import _winreg
ModuleNotFoundError: No module named '_winreg'

Renaming _winreg to winreg fixed it. I'm not experience with Python so no clue if I did some mistake during the install or if there is a missing package somewhere.

@madebr
Copy link
Collaborator

madebr commented Mar 20, 2018

Hey,
Thanks for the report!

_winreg has been renamed to winreg in Python3.
I've committed a fix 3b3773f.
To test it, you have to remove the settings file/registry settings of SubDownloader.

@jackpoz
Copy link
Author

jackpoz commented Mar 24, 2018

it works good now, thanks

@jackpoz jackpoz closed this as completed Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants