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

help('modules') with PyQt4 installed causes interpreter to fail and dreampy must be restarted #66

Open
patcorwin opened this issue May 5, 2016 · 0 comments

Comments

@patcorwin
Copy link

What steps will reproduce the problem?

  1. I ran help('modules')

What is the expected result?
I might actually have the results, after a few seconds I have "[About 174 more lines. Double-click to unfold]" but the error reporting window popped up.

What happens instead?
Error window popped up. After submitting the bug it looks like it ran ok (hard to tell with so many modules) but the traceback was for PyQt4

Traceback (most recent call last):
File "C:\Program Files (x86)\DreamPie\data\subp_main.py", line 53, in
main()
File "C:\Program Files (x86)\DreamPie\data\subp_main.py", line 50, in main
subprocess_main(port)
File "C:\Program Files (x86)\DreamPie\data\subp-py2\dreampielib\subprocess__init__.py", line 993, in main
subp = Subprocess(port)
File "C:\Program Files (x86)\DreamPie\data\subp-py2\dreampielib\subprocess__init
_.py", line 229, in init
self.loop()
File "C:\Program Files (x86)\DreamPie\data\subp-py2\dreampielib\subprocess__init__.py", line 234, in loop
self.handle_gui_events(self.sock)
File "C:\Program Files (x86)\DreamPie\data\subp-py2\dreampielib\subprocess__init__.py", line 268, in handle_gui_events
cur_executed = handler.handle_events(GUI_SLEEP)
File "C:\Program Files (x86)\DreamPie\data\subp-py2\dreampielib\subprocess__init__.py", line 936, in handle_events
self.QtCore = sys.modules['PyQt4'].QtCore
AttributeError: 'module' object has no attribute 'QtCore'

Please provide any additional information below. To submit a screenshot, you can go to imgur.com, upload the image, and paste the URL.


Diagnostic information:

DreamPie version: 1.2.1
git commit: None from 2016/05/05
platform: Windows-post2008Server-6.2.9200
architecture: ('32bit', 'WindowsPE')
python_version: 2.7.3
python_implementation: CPython
executable: C:\Program Files (x86)\DreamPie\dreampie.exe
subprocess executable: C:\Python27\python.exe
subprocess description: Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32

Variables:
File "dreampielib\gui\subprocess_handler.pyc", line 193, _manage_subp(self=<dreampi...030E98F0>)
File "dreampielib\common\objectstream.pyc", line 49, recv_object(sock=<socket....030D2AB0>)

Traceback (most recent call last):
File "dreampielib\gui\subprocess_handler.pyc", line 193, in _manage_subp
File "dreampielib\common\objectstream.pyc", line 49, in recv_object
IOError: Socket closed unexpectedly

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

1 participant