one2pret / winsys

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

winsys.dialogs.x_dialogs: (1813, 'LoadIcon', 'The specified resource type cannot be found in the image file.') #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, thanks for creating WinSys package.

>> What steps will reproduce the problem?

#1) unzip the provided archive. We'll call this EXTRACT_DIR.
#2) download PyInstaller from http://www.pyinstaller.org/wiki and extract to 
EXTRACT_DIR.
#3) cd to the EXTRACT_DIR
#2) svn export -r 561 http://winsys.googlecode.com/svn/trunk/winsys
#2) run build.bat
#3) run testing.exe

>> What is the expected output? 

The word "testing" (without quotes)

>> What do you see instead?

A traceback ending with this error:

winsys.dialogs.x_dialogs: (1813, 'LoadIcon', 'The specified resource type 
cannot  be found in the image file.')

>> What version of the product are you using? On what operating system?

WinSys r561. Windows XP SP3

>> Please provide any additional information below.

The short version is I'm using the registry module from your WinSys package. If 
the test script is not "frozen", or if frozen with cx_Freeze, everything works 
great. However if it's frozen using PyInstaller, an error is given.

From a Google Groups mailing list conversation:

"Looks like WinSys is dynamically trying to find and extract the Python icon 
from the Python executable, but is failing if the Python executable is wrapped 
in the binary PyInstaller archive."

found at:

http://groups.google.com/group/pyinstaller/browse_thread/thread/5d514c9c2afb40bd

>> What I used:

* WinSys r561
* ActivePython 2.7.2.5
* PyInstaller 1.5.1
* Windows XP SP3

Original issue reported on code.google.com by deo...@whyaskwhy.org on 20 Aug 2011 at 8:23

Attachments: