Dear all
I’m trying to port one of my applications to python 3.3 from python 2.7 (windows 7, 64 bit).
The application uses wx.lib.iewin.
However, importing iewin produces an error from comtypes:
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
I get the same error just trying to import comtypes.
I’m using comtypes 0.6.2 installed using the Base package from Gohlke (http://www.lfd.uci.edu/~gohlke/pythonlibs/ )
Is this something known ?. Is there another comtypes build/version working on py3.3?, some fix ?.
Thanks
J
Werner
June 23, 2013, 9:30am
2
Hi,
Dear all
I'm trying to port one of my applications to python 3.3 from python 2.7 (windows 7, 64 bit).
The application uses wx.lib.iewin.
It looks like it hasn't been ported to Phoenix nor to Py 3.x - no tags in the header.
http://wxpython.org/Phoenix/docs/html/MigrationGuide.html
http://wiki.wxpython.org/ProjectPhoenix/LibraryMigration
Can you make it work with Py 2.7 and Phoenix.
If you can make it work create a patch/pull request for it.
https://help.github.com/articles/fork-a-repo
https://help.github.com/articles/using-pull-requests
Werner
···
On 23/06/2013 11:13, Joaquin Abian wrote:
Thanks Werner,
In fact it is comtypes who is probably not working on py3.3 (it claims to be 3.0 and 3.1 compatible).
I was wondering if, when testing the wx demo, someone got the problem and found how to fix/bypass it.
Being a comtypes problem it does not only affects iewin but all of the modules using activex.py
Thanks for the links. I was seriously thinking on contributing to Phoenix.
The problem is to take enough time from my own projects…
···
On Sunday, June 23, 2013 11:30:53 AM UTC+2, werner wrote:
Hi,
On 23/06/2013 11:13, Joaquin Abian wrote:
Dear all
I’m trying to port one of my applications to python 3.3 from python
2.7 (windows 7, 64 bit).
The application uses wx.lib.iewin.
It looks like it hasn’t been ported to Phoenix nor to Py 3.x - no tags
in the header.
http://wxpython.org/Phoenix/docs/html/MigrationGuide.html
http://wiki.wxpython.org/ProjectPhoenix/LibraryMigration
Can you make it work with Py 2.7 and Phoenix.
If you can make it work create a patch/pull request for it.
https://github.com/RobinD42/
https://help.github.com/articles/fork-a-repo
https://help.github.com/articles/using-pull-requests
http://www.trinitycore.org/f/topic/6037-howto-maintain-a-remote-fork-for-pull-requests-tortoisegit/
Werner
Werner
June 23, 2013, 10:16am
4
Hi Joaquin,
...
The problem is to take enough time from my own projects...
The more of us (and I don't do as much as I would like to) who do find a bit of time here and there the quicker we are going to get Phoenix/Py3.x for our own projects;-) .
Werner
···
On 23/06/2013 11:54, Joaquin Abian wrote: