[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] jython problems
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] jython problems |
Date: |
Thu, 10 Apr 2003 07:25:30 +0300 |
User-agent: |
Mutt/1.4.1i |
On Thu, Apr 10, 2003 at 02:48:19AM +0300, Matti Katila wrote:
>
>
> Hi, can you inform me what is wrong?
>
>
> class PaperMill...
>
> static public PaperMill getInstance() {
> if(instance == null) {
> PythonInterpreter jython = new PythonInterpreter();
> jython.exec("from org.nongnu.libvob.paper.papermill import
> ThePaperMill\n" +
> "papermillInstance = ThePaperMill()\n");
>
> ==>
> [java] Traceback (innermost last):
> [java] File "<string>", line 1, in ?
> [java] ImportError: No module named paper
>
> But tests run well.
> It is called from java side.
Ahh, now I remember; this is the "org" -jython module problem.
For me, it helped to ln -s ../libvob/org/nongnu into org/ in fenfire.
Am working on stable solution by renaming packages.
Tuomas