one2pret / winsys

Automatically exported from code.google.com/p/winsys
Other
0 stars 0 forks source link

info_dialog exception #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to use info_dialog

What is the expected output? What do you see instead?
Expected: info dialog box, instead: traceback

What version of the product are you using? On what operating system?
Python 2.6.2., Vista SP2, winsys svn and 0.4, pywin32-214

Please provide any additional information below.

dialogs.info_dialog ("LICENSE.txt", "license")
Traceback (most recent call last):
Error:   File "<Shell>", line 1, in <module>
Error:   File "F:\program files\python\lib\site-packages\winsys\dialogs.py", 
line 822, in info_dialog
Error:     InfoDialog (title, text, hwnd).run ()
Error:   File "F:\program files\python\lib\site-packages\winsys\dialogs.py", 
line 379, in run
Error:     message_map
Error:   File "F:\program files\python\lib\site-packages\winsys\exc.py", line 
41, in _wrapped
Error:     return function (*args, **kwargs)
Error: TypeError: The object is not a PyHANDLE object

Original issue reported on code.google.com by thors...@thorstenkampe.de on 11 Jul 2009 at 3:58

GoogleCodeExporter commented 9 years ago
Thanks. Looking into it.

Original comment by tjgolden@gmail.com on 11 Jul 2009 at 7:43

GoogleCodeExporter commented 9 years ago
Fixed in r417. Thanks for the report.

Original comment by tjgolden@gmail.com on 12 Jul 2009 at 8:51