About py2exe "bundle_files" setting?
Jimmie He
jimmie.he at gmail.com
Sat May 4 12:27:20 EDT 2013
在 2013年5月4日星期六UTC+8下午11时49分33秒,Chris Angelico写道:
> On Sun, May 5, 2013 at 1:42 AM, Jimmie He <jimmie.he at gmail.com> wrote:
>
> > 在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道:
>
> >> On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano
>
> >>
>
> >> <steve+comp.lang.python at pearwood.info> wrote:
>
> >>
>
> >> > On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:
>
> >>
>
> >> >
>
> >>
>
> >> >> I 've already put my project into GitHub,find the link below,in the
>
> >>
>
> >> >> folder "Bug",I capture the expection pops up,it is not fatal blue
>
> >>
>
> >> >> screen.Sorry for my non-english windows:-)
>
> >>
>
> >> >> https://github.com/jimmiehe/BMPtool/tree/master/Bug
>
> >>
>
> >> >
>
> >>
>
> >> >
>
> >>
>
> >> > I cannot access that page, it just loads as a blank page, then locks up
>
> >>
>
> >> > my browser. (This is what happens when stupid websites use too much buggy
>
> >>
>
> >> > javascript for simple things which are best handled by ordinary html.)
>
> >>
>
> >> >
>
> >>
>
> >> > Please copy and paste the exception *as text* here, if you can.
>
> >>
>
> >>
>
> >>
>
> >> It's not a Python exception. The message has just a few words of
>
> >>
>
> >> English, interspersed with a lot of Chinese, which I am in no way
>
> >>
>
> >> skilled enough to transcribe, much less translate; the title says
>
> >>
>
> >> "Gui.exe - [#######]" and the body says:
>
> >>
>
> >>
>
> >>
>
> >> "0x00fb1cb" [#######] "0x00000000" [########] "written",,
>
> >>
>
> >> and then two lines of all Chinese.
>
> >>
>
> >>
>
> >>
>
> >> Hope that's of at least some help! Sorry I can't be more accurate in
>
> >>
>
> >> the translation.
>
> >>
>
> >>
>
> >>
>
> >> ChrisA
>
> >
>
> > ChrisA & Steven,
>
> > Let me translet it:-)
>
> > "Application error. The instruction at "0x00fb1cb" referenced memory at "0x00000000 can not be written" It seems miss some lib after package by py2exe.
>
> >
>
> > It is not an python error,which I mean is that after I package my application by py2exe(without any error),then I run the target .exe which packaged by py2exe, it crashed.
>
>
>
> Thanks for the translation, Jimmie! I figured it was some sort of C-level crash.
>
>
>
> Unfortunately it's fairly non-specific. Are you able to make _any_
>
> program work with py2exe using bundle_files = 1? If you can make a
>
> simple "Hello, world" work but your current program isn't working, I'd
>
> start looking through the dependencies; if not, I'd check py2exe
>
> itself. But I can't help much there, as I've never used py2exe.
>
>
>
> ChrisA
Hi ChrisA,
I tested an 'hello world' by the set (bundle_files = 1),it is well worked! Yes,maybe due to the dependencies.
More information about the Python-list
mailing list