Re: py2exe & pyxml

From: Mike Thompson (none)
Date: 10/15/03


Date: Wed, 15 Oct 2003 10:24:45 +1000


"Martin v. Löwis" <martin@v.loewis.de> wrote in message
news:m3k77edoyj.fsf@mira.informatik.hu-berlin.de...
> hwlgw@hotmail.com (Will Stuyvesant) writes:
>
> > > [martin@v.loewis.de (Martin v. Löwis)]
> > > You have to explicitly ask py2exe to include pyexpat in the
> > > executable. RTFM.
> >
> > *If* you are going to say RTFM you'd better make sure it *is* in the
> > manual. Otherwise you'd better s-h-a-d-d-u-p.
>
> See http://starship.python.net/crew/theller/py2exe/,
> in "Flags to include or exclude modules or packages:"
>

But, Martin, there's absolutely no mention of 'expat' in this entire document,
much less that section. So, how on earth was the advice 'RTFM' to help?

In the end, I was able to find an answer by stepping through code with a
debugger to find the module which wasn't being included. THAT
('xml.sax.drivers2.drv_pyexpat') was the unknown. THAT was the information
sort, by the original poster, I'm sure. If it wasn't then they needed a lot
more hand-holding than you're terse abuse.

In any case, I'll see if I can get this added to the pyexe documentation,
because I'd imagine this must be a recurring problem ... surely? Oddly I could
find absolutely nothing on this subject, apart from this lone thread, when I
originally googled around for an answer.

--
Mike


Relevant Pages

  • Re: Complete Troughton Video Recommendations?
    ... control all goods transport on earth. ... "Martin Chuzzlewit" by Dickens, where a whole year pases for Martin on ... character, while only a few days have passed for everyone else. ...
    (rec.arts.drwho)
  • Re: Distributing digital signals in an apartment block
    ... >Ah, SMATV earthing, replies at last, from Martin and Owen. ... >Interestingly, both quote IEE regs, but almost entirely disagree (in ... >If in doubt, then obviously, just run a separate earth path direct from ... >connected together in an equipotential system, ...
    (uk.tech.digital-tv)
  • Re: Scraping the barrel
    ... You beat me to it Martin. ... How on earth are they going to mow the 'hill'? ...
    (uk.rec.gardening)
  • Re: OT: 12 VDC to 240VAC converters
    ... except the possibility of frying something in a vehicle that is not mine. ... Martin P ... I would not consider using an earth spike. ... operating in an earth free state anyway. ...
    (uk.rec.engines.stationary)
  • Re: sax barfs on unicode filenames
    ... Martin v. Löwis wrote: ... functions, you can't pass them to Expat, as Expat requires the file name ... as a byte string. ... sounds like a bug in the xml.sax layer, really (ET also uses Expat, and doesn't seem to have any problems dealing with unicode filenames...) ...
    (comp.lang.python)