aroberge / easygui_qt

Inspired by easygui, designed for PyQt
BSD 3-Clause "New" or "Revised" License
59 stars 18 forks source link

parameter errors in demo guessing_game.py #1

Closed dz0 closed 9 years ago

dz0 commented 9 years ago

I tried demo on Linux, and got:

Traceback (most recent call last): File "/usr/local/lib/python3.2/dist-packages/easygui_qt/init.py", line 53, in _decorator response = func(_args, *_kwargs) TypeError: show_message() got an unexpected keyword argument 'app'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "guessing_game.py", line 54, in eg.show_message("Temporarily setting the locale to Spanish") File "/usr/local/lib/python3.2/dist-packages/easygui_qt/init.py", line 55, in _decorator sig = inspect.signature(func) AttributeError: 'module' object has no attribute 'signature'

aroberge commented 9 years ago

Thanks for the report. From https://docs.python.org/3.4/library/inspect.html (which is what I am using), it appears that signature is new from version 3.3 ... and you have "only" 3.2. I'll see if I can manage to get a workaround working. Did you install it from pypi or did you simply clone the repository?

aroberge commented 9 years ago

The new version (0.2.1) should work with Python 3.2. @dz0 could you possibly test it?

dz0 commented 9 years ago

Thanks, seems ok :-) On Dec 24, 2014 5:25 PM, "André Roberge" notifications@github.com wrote:

The new version (0.2.1) should work with Python 3.2. @dz0 https://github.com/dz0 could you possibly test it?

— Reply to this email directly or view it on GitHub https://github.com/aroberge/easygui_qt/issues/1#issuecomment-68058377.