Update WxPython -> Problem with iewin

Last night I updated wxpython from version 2.8.7.1 to the newest 2.8.10.1.

After that I couldn’t use wx.lib.iewin. Instead I got the error saying missing module c****omtypes.

I tried to get that module but with no luck: this one gave even more errors.

After trying different versions of comtypes, I was almost giving up and revert to the previous version of wx, when I noticed in the folder where was iewin**.py, there was also a file named iewin_old.py.**

I swapped the names of those files and voilá: everything went ok!

I couldn’t dig any more, but I leave this warning here …

AB

Hi,

···

On Sep 17, 1:35 pm, Antonio Barbosa <antonio.a.barb...@gmail.com> wrote:

Last night I updated wxpython from version *2.8.7.1* to the newest *2.8.10.1
*.
After that I couldn't use *wx.lib.iewin*. Instead I got the error saying
missing module *c**omtypes*.

I tried to get that module but with no luck: this one gave even more errors.

After trying different versions of *comtypes*, I was almost giving up and
revert to the previous version of wx, when I noticed in the folder where was
* **iewin**.**py*, there was also a file named *iewin**_old.**py**.*
I swapped the names of those files and *voilá*: everything went ok!

I couldn't dig any more, but I leave this warning here ...
AB

I think you may need the latest PyWin32 to get comtypes working
properly as I'm pretty sure it is wrapped with it somehow. Anyway,
here's a link:

- Mike

Did you read the relevant sections of the CHANGES.txt file? Which version of comtypes did you try to use? What errors did it give you?

···

On 9/17/09 11:35 AM, Antonio Barbosa wrote:

Last night I updated wxpython from version *2.8.7.1* to the newest
*2.8.10.1*.

After that I couldn't use *wx.lib.iewin*. Instead I got the error saying
missing module *c**omtypes*.

I tried to get that module but with no luck: this one gave even more errors.

After trying different versions of *comtypes*, I was almost giving up
and revert to the previous version of wx, when I noticed in the folder
where was* **iewin**.**py*, there was also a file named
*iewin**_old.**py**.*
I swapped the names of those files and /voilá/: everything went ok!

--
Robin Dunn
Software Craftsman

No, it uses ctypes and has no other dependencies (none that I remember anyway.)

···

On 9/17/09 12:05 PM, Mike Driscoll wrote:

Hi,

On Sep 17, 1:35 pm, Antonio Barbosa<antonio.a.barb...@gmail.com> > wrote:

Last night I updated wxpython from version *2.8.7.1* to the newest *2.8.10.1
*.
After that I couldn't use *wx.lib.iewin*. Instead I got the error saying
missing module *c**omtypes*.

I tried to get that module but with no luck: this one gave even more errors.

After trying different versions of *comtypes*, I was almost giving up and
revert to the previous version of wx, when I noticed in the folder where was
* **iewin**.**py*, there was also a file named *iewin**_old.**py**.*
I swapped the names of those files and *voilá*: everything went ok!

I couldn't dig any more, but I leave this warning here ...
AB

I think you may need the latest PyWin32 to get comtypes working
properly as I'm pretty sure it is wrapped with it somehow. Anyway,
here's a link:

Python for Windows Extensions download | SourceForge.net

--
Robin Dunn
Software Craftsman

Ok…I had a bad feeling right after I sent it that I had probably just said something stupid. But usenet doesn’t have take-backs.

···

On Thu, Sep 17, 2009 at 5:47 PM, Robin Dunn robin@alldunn.com wrote:

On 9/17/09 12:05 PM, Mike Driscoll wrote:

Hi,

On Sep 17, 1:35 pm, Antonio Barbosaantonio.a.barb...@gmail.com > > > wrote:

Last night I updated wxpython from version 2.8.7.1 to the newest *2.8.10.1

*.

After that I couldn’t use wx.lib.iewin. Instead I got the error saying

missing module c**omtypes.

I tried to get that module but with no luck: this one gave even more errors.

After trying different versions of comtypes, I was almost giving up and

revert to the previous version of wx, when I noticed in the folder where was

  • iewin.py, there was also a file named iewin_old.py.*

I swapped the names of those files and voilá: everything went ok!

I couldn’t dig any more, but I leave this warning here …

AB

I think you may need the latest PyWin32 to get comtypes working

properly as I’m pretty sure it is wrapped with it somehow. Anyway,

here’s a link:

http://sourceforge.net/projects/pywin32/

No, it uses ctypes and has no other dependencies (none that I remember

anyway.)

Robin Dunn

Software Craftsman

http://wxPython.org


Mike Driscoll

Blog: http://blog.pythonlibrary.org