Hi,

I had some time and gave the approach to use 2to3.py (from Python 3.3.4rc) a try.

- run it against Dabo

Now I like to get this to work first with Python
- fixed a couple of issues using 'six'
- would like to get e.g. dDialog to work in Python 2.7 and 3.3

in Py 3.3 I get this exception:

File "c:\dev\dabo\dabo\ui\uiwx\dDialog.py", line 11, in <module>
  from . import dFormMixin as fm

builtins.SystemError: Parent module '' not loaded, cannot perform relative import


in Py 2.7 I get this exception:
File "c:\dev\dabo\dabo\ui\uiwx\dDialog.py", line 11, in <module>
  from . import dFormMixin as fm

ValueError: Attempted relative import in non-package


I tried a few things to get past this but didn't get very far.

I suspect it has to do with the Dabo 'ui' name mangeling, but that is just a guess.

Anyone has some suggestions on this?

Werner


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to