Author Topic: Compiling the QubeGUI  (Read 17370 times)

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Compiling the QubeGUI
« 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]
« Last Edit: April 25, 2007, 08:28:35 PM by Scot Brew »

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Re: Compiling the QubeGUI -- addressing a "zipImport" issue with py2exe
« Reply #1 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.