Hi,
  If it is a hardware failure, I guess, I should get this error with other applications also.
Can anybody throw some ligth on this or can give a lead to debug this issue?
Thanks,
Srinivas.


On Fri, Oct 17, 2008 at 6:58 PM, Larry Bates <larry.bates@websafe.com> wrote:
Srinivasa NL wrote:
> Hi,
>   I am having problem running exe generated from py2exe. I compiled a
> script which prints a line(e.g print 'Hello World') and created an exe
> from it. When I do not give any option either in the setup.py script or
> the command line (python setup.py py2exe) and create the exe and run (in
> the dist directory) I get the error
>
> LoadLibrary(pythondll) failedInvalid access to memory location.
> E:\programming\python\dist\PYTHON25.DLL
>
> But when I give --bundle-files 1 the exe runs correctly.
>
> I also noticed that, in the beginning of test script, when I print the
> sys.path it just shows
>
>  ..\dist\library.zip                   (the dots before dist just
> indicate some path. not the actual output)
> on my PC.
>
> On other PCs where the exe runs correctly I see
>
> [..\dist , ..\dis\library.zip]
>
> Has my problem got something to do with sys.path? And why is it that
> sys.path is not an extention of the ennvironment variable "PATH"?
> Thanks
> Srini
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Py2exe-users mailing list
> Py2exe-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/py2exe-users

IMHO more likely a hardware memory error on this machine.  The error
"Invalid access to memory location" normally is a hardware not a software error.

-Larry


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users