From: <bc...@wo...> - 2001-11-13 19:59:48
|
[dman] >Having identified the use of a Python package as the previous source >of java->python interaction, I moved all the modules into one >top-level directory (non-package). > >Now I get the following : > >Traceback (most recent call last): > File "/home/dman/School/Architecture/project2/src/DemoFolder1.py", line 0, in make >TypeError: Default constructor failed for Java superclass AbstractFolder > > >This happens in the python code where the Folder class is >instantiated. I can change the base class of Folder to >java.lang.Object, and also comment out the entire __init__ method >(except for a 'pass' line) and I get the same result (with Object >instead of AbstractFolder as the superclass). > >I tried munging the jythonc-generated source a bit to remove calls to >super() and catching all throwables that __initProxy__ might throw, >and adjusting the superclass, but all resulted in the same error. > >Any ideas? Do yuo have a small self contained example? It will make it a lot easier to analyse. regards, finn |