comtypes/iewin/activex problems

I sometimes get the following traceback:

Traceback (most recent call last):

File “twcbF.pyo”, line 1969, in OnStartWineButton

File “twcbF.pyo”, line 1977, in DoStartWine

File “zipextimporter.pyo”, line 82, in load_module

File “appwine.pyo”, line 39, in

File “zipextimporter.pyo”, line 82, in load_module

File “framewwwsearch.pyo”, line 17, in

File “zipextimporter.pyo”, line 82, in load_module

File “wx\lib\iewin.pyo”, line 15, in

File “zipextimporter.pyo”, line 82, in load_module

File “wx\lib\activex.pyo”, line 36, in

File “zipextimporter.pyo”, line 82, in load_module

File “comtypes_init_.pyo”, line 1041, in

File “comtypes_init_.pyo”, line 229, in new

File “comtypes_init_.pyo”, line 314, in setattr

File “comtypes_init_.pyo”, line 617, in _make_methods

File “comtypes\GUID.pyo”, line 44, in unicode

File “\loewis\25\python\Modules_ctypes\callproc.c”, line 757, in
GetResult

WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it “works”.

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

Werner

Hi Werner,

···

On Feb 25, 3:01 am, werner <wbru...@free.fr> wrote:

I sometimes get the following traceback:

Traceback (most recent call last):
File "twcbF.pyo", line 1969, in OnStartWineButton
File "twcbF.pyo", line 1977, in DoStartWine
File "zipextimporter.pyo", line 82, in load_module
File "appwine.pyo", line 39, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "framewwwsearch.pyo", line 17, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\iewin.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\activex.pyo", line 36, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "comtypes\__init__.pyo", line 1041, in <module>
File "comtypes\__init__.pyo", line 229, in __new__
File "comtypes\__init__.pyo", line 314, in __setattr__
File "comtypes\__init__.pyo", line 617, in _make_methods
File "comtypes\GUID.pyo", line 44, in __unicode__
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in
GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

Werner

Have you tried using the old iewin module to see if it's some kind of
regression with the new one?

- Mike

Hi Mike,

···

On 25/02/2010 17:44, Mike Driscoll wrote:

Hi Werner,

On Feb 25, 3:01 am, werner<wbru...@free.fr> wrote:
   

I sometimes get the following traceback:

Traceback (most recent call last):
    File "twcbF.pyo", line 1969, in OnStartWineButton
    File "twcbF.pyo", line 1977, in DoStartWine
    File "zipextimporter.pyo", line 82, in load_module
    File "appwine.pyo", line 39, in<module>
    File "zipextimporter.pyo", line 82, in load_module
    File "framewwwsearch.pyo", line 17, in<module>
    File "zipextimporter.pyo", line 82, in load_module
    File "wx\lib\iewin.pyo", line 15, in<module>
    File "zipextimporter.pyo", line 82, in load_module
    File "wx\lib\activex.pyo", line 36, in<module>
    File "zipextimporter.pyo", line 82, in load_module
    File "comtypes\__init__.pyo", line 1041, in<module>
    File "comtypes\__init__.pyo", line 229, in __new__
    File "comtypes\__init__.pyo", line 314, in __setattr__
    File "comtypes\__init__.pyo", line 617, in _make_methods
    File "comtypes\GUID.pyo", line 44, in __unicode__
    File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in
GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

Werner
     

Have you tried using the old iewin module to see if it's some kind of
regression with the new one?
   

No, haven't tried that.

Will have another look at all within the next few days.

Werner

I'm guessing that the above happened in a frozen (or py2exe'd) application. Does it ever happen when run directly (unfrozen)?

···

On 2/25/10 1:01 AM, werner wrote:

I sometimes get the following traceback:

Traceback (most recent call last):
File "twcbF.pyo", line 1969, in OnStartWineButton
File "twcbF.pyo", line 1977, in DoStartWine
File "zipextimporter.pyo", line 82, in load_module
File "appwine.pyo", line 39, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "framewwwsearch.pyo", line 17, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\iewin.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\activex.pyo", line 36, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "comtypes\__init__.pyo", line 1041, in <module>
File "comtypes\__init__.pyo", line 229, in __new__
File "comtypes\__init__.pyo", line 314, in __setattr__
File "comtypes\__init__.pyo", line 617, in _make_methods
File "comtypes\GUID.pyo", line 44, in __unicode__
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

--
Robin Dunn
Software Craftsman

I sometimes get the following traceback:

Traceback (most recent call last):
File "twcbF.pyo", line 1969, in OnStartWineButton
File "twcbF.pyo", line 1977, in DoStartWine
File "zipextimporter.pyo", line 82, in load_module
File "appwine.pyo", line 39, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "framewwwsearch.pyo", line 17, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\iewin.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\activex.pyo", line 36, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "comtypes\__init__.pyo", line 1041, in <module>
File "comtypes\__init__.pyo", line 229, in __new__
File "comtypes\__init__.pyo", line 314, in __setattr__
File "comtypes\__init__.pyo", line 617, in _make_methods
File "comtypes\GUID.pyo", line 44, in __unicode__
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

I'm guessing that the above happened in a frozen (or py2exe'd) application.

Yes.

  Does it ever happen when run directly (unfrozen)?

Yes too.

I am pretty sure that it was a stupid mistake of mine, also don't understand why it only shows up now.

My mistake was that I imported framewwwsearch.py twice, once at the top of appwine.py and once within a method. Removed the import in the method and for the moment I can't recreate it anymore.

Werner

···

On 25/02/2010 22:11, Robin Dunn wrote:

On 2/25/10 1:01 AM, werner wrote:

The problem is happening again, currently on my development machine when I start the application from within Boa.

Robin, did you have some particular suspicion as you asked about frozen or not?

Any hint what I should look out for?

Werner

···

On 26/02/2010 10:20, werner wrote:

On 25/02/2010 22:11, Robin Dunn wrote:

On 2/25/10 1:01 AM, werner wrote:

I sometimes get the following traceback:

Traceback (most recent call last):
File "twcbF.pyo", line 1969, in OnStartWineButton
File "twcbF.pyo", line 1977, in DoStartWine
File "zipextimporter.pyo", line 82, in load_module
File "appwine.pyo", line 39, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "framewwwsearch.pyo", line 17, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\iewin.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\activex.pyo", line 36, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "comtypes\__init__.pyo", line 1041, in <module>
File "comtypes\__init__.pyo", line 229, in __new__
File "comtypes\__init__.pyo", line 314, in __setattr__
File "comtypes\__init__.pyo", line 617, in _make_methods
File "comtypes\GUID.pyo", line 44, in __unicode__
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

I'm guessing that the above happened in a frozen (or py2exe'd) application.

Yes.

  Does it ever happen when run directly (unfrozen)?

Yes too.

I am pretty sure that it was a stupid mistake of mine, also don't understand why it only shows up now.

My mistake was that I imported framewwwsearch.py twice, once at the top of appwine.py and once within a method. Removed the import in the method and for the moment I can't recreate it anymore.

Nothing in particular, just taking shots in the dark...

···

On 3/6/10 12:33 AM, werner wrote:

On 26/02/2010 10:20, werner wrote:

On 25/02/2010 22:11, Robin Dunn wrote:

On 2/25/10 1:01 AM, werner wrote:

I sometimes get the following traceback:

Traceback (most recent call last):
File "twcbF.pyo", line 1969, in OnStartWineButton
File "twcbF.pyo", line 1977, in DoStartWine
File "zipextimporter.pyo", line 82, in load_module
File "appwine.pyo", line 39, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "framewwwsearch.pyo", line 17, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\iewin.pyo", line 15, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\lib\activex.pyo", line 36, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "comtypes\__init__.pyo", line 1041, in <module>
File "comtypes\__init__.pyo", line 229, in __new__
File "comtypes\__init__.pyo", line 314, in __setattr__
File "comtypes\__init__.pyo", line 617, in _make_methods
File "comtypes\GUID.pyo", line 44, in __unicode__
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in
GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Line 17 in framewwwsearch.py is:

import wx.lib.iewin as iewin

Anyone has some tips on how to deal with this.

I'm guessing that the above happened in a frozen (or py2exe'd)
application.

Yes.

Does it ever happen when run directly (unfrozen)?

Yes too.

I am pretty sure that it was a stupid mistake of mine, also don't
understand why it only shows up now.

My mistake was that I imported framewwwsearch.py twice, once at the
top of appwine.py and once within a method. Removed the import in the
method and for the moment I can't recreate it anymore.

The problem is happening again, currently on my development machine when
I start the application from within Boa.

Robin, did you have some particular suspicion as you asked about frozen
or not?

--
Robin Dunn
Software Craftsman

werner schrieb:

I sometimes get the following traceback:

Traceback (most recent call last):
   File "twcbF.pyo", line 1969, in OnStartWineButton
   File "twcbF.pyo", line 1977, in DoStartWine
   File "zipextimporter.pyo", line 82, in load_module
   File "appwine.pyo", line 39, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "framewwwsearch.pyo", line 17, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "wx\lib\iewin.pyo", line 15, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "wx\lib\activex.pyo", line 36, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "comtypes\__init__.pyo", line 1041, in <module>
   File "comtypes\__init__.pyo", line 229, in __new__
   File "comtypes\__init__.pyo", line 314, in __setattr__
   File "comtypes\__init__.pyo", line 617, in _make_methods
   File "comtypes\GUID.pyo", line 44, in __unicode__
   File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in
GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".

Do you have the latest comtypes installed?

···

--
Thanks,
Thomas

Hi Thomas,

...

File "comtypes\__init__.pyo", line 1041, in <module>

    File "comtypes\__init__.pyo", line 229, in __new__
    File "comtypes\__init__.pyo", line 314, in __setattr__
    File "comtypes\__init__.pyo", line 617, in _make_methods
    File "comtypes\GUID.pyo", line 44, in __unicode__
    File "\loewis\25\python\Modules\_ctypes\callproc.c", line 757, in
GetResult
WindowsError: [Error -65535] Windows Error 0xFFFF0001

Just stopping the application and starting it again makes it "works".
     

Do you have the latest comtypes installed?
   
No I am on 0.6.0, will upgrade to 0.6.2 and see (can't recreate it at will).

Thanks
Werner

···

On 11/03/2010 11:32, Thomas Heller wrote: