PipelineFX Forum

Qube! => Developer Customization => Topic started by: Scot Brew on April 25, 2007, 04:51:16 AM

Title: Compiling the QubeGUI
Post by: Scot Brew on April 25, 2007, 04:51:16 AM
For those making script adjustments to the QubeGUI, you might also be interested in compiling the modified version into an executable. 


The attached setup.py is the same one used at PipelineFX and will be included in future releases of Qube.


[attachment deleted by admin]
Title: Re: Compiling the QubeGUI -- addressing a "zipImport" issue with py2exe
Post by: Scot Brew on April 25, 2007, 08:17:50 PM
Issue: A customer came across a "zipImport" issue when running their custom qube.exe:

Traceback (most recent call last):
  File "qube.py", line 10, in ?
zipimport.ZipImportError: can't decompress data; zlib not available


This is a known issue with py2exe and is a result of mismatched cases in paths or filenames. 

  http://www.thescripts.com/forum/thread37604.html

Solution: Comment out the "compressed": 1 from setup.py (around line 194).  This will fix the zipImport issue though will increase the .exe filesize.