[PEAK] Packaging peak apps

Roché Compaan roche at upfrontsystems.co.za
Mon Sep 27 04:43:03 EDT 2004


Phillip J. Eby wrote:
> At 03:29 PM 9/25/04 +0200, Roché Compaan wrote:
> 
>> I am still concerened that it might not be the only problem since I got
>> an import error even though interfaces.pyc was present in peak.binding:
>>
>> Traceback (most recent call last):
>>    File "run.py", line 2, in ?
>>    File "peak\running\commands.pyc", line 4, in ?
>>    File "peak\running\interfaces.pyc", line 3, in ?
>> ImportError: No module named interfaces
> 
> 
> Can you give me the details here?  What are lines 1 and 2 of 'run.py'?  
> Are the paths shown above from within a zip file, or in the current 
> directory tree?  What is PYTHONPATH equal to, and what is the current 
> directory?  I need the simplest possible setup that can be used to 
> attempt to reproduce the error.
> 

Basically the peak script:

from peak.running import commands
commands.runMain( commands.Bootstrap )

I am building an exe from run.py with py2exe for testing purposes. I end 
up with run.exe. I get the traceback when calling run.exe from the 
command line.

-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za



More information about the PEAK mailing list