Thanks for the pointer in the right direction Thomas - finding the code to
execute the way Console.py does did the trick. There's also a small change
needed to make ConsoleSetLibPath work with Python 3.

I'll open up a pull request with the changes.

Take care,

-Dan

[image: Dyn logo, Dyn.com] <http://dyn.com/>
<http://twitter.com/dyn><http://twitter.com/dyninc>
   [image: Dyn facebook account] <http://facebook.com/dyn>   [image: Dyn
LinkedIn account] <http://linkedin.com/company/dyn>

Dan McCombs  / Senior Software Engineer
 603 296 1568      @danmccombs <http://twitter.com/danmccombs/>


On Tue, Jan 7, 2014 at 4:11 PM, Thomas Kluyver <tak...@gmail.com> wrote:

> On 7 January 2014 11:47, Dan McCombs <dmcco...@dyn.com> wrote:
>
>>
>> Traceback (most recent call last):
>>   File "/ConsoleSetLibPath.py", line 31, in <module>
>>   zipimport.ZipImportError: can't find module '__main__'
>>
>
> ConsoleSetLibPath tries to load __main__, but Console tries (in the
> default case) to load ExecutableName__main__. If you copy the importing and
> executing bit from Console.py, does that make it work?
>
> Thomas
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to