[Archive] Problem with SPIS 2.99.5

Message by pujolb:

When I try to launch spis_tasks_gui.bat, it opens a cmd window (that’s OK! ), but it does not launch SPIS. An error message appears:

..\ThirdPart\Jython\jython-2.1
Trop d'arguments dans la ligne de commande.
Please, wait...
system= nt
tmp files directory= c:\spistmp1087284693
Traceback (innermost last):
File "......<br/>SpisUI\Bin\Tasks\SpisTasksGraph.py", line 54, in ?
File "D:\users\pujolb1\Spis\Spis2.99.05\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\Tasks\Console.py", line 67, in ?
File "D:\users\pujolb1\Spis\Spis2.99.05\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\Tasks\PythonThread.py", line 48, in ?
File "D:\users\pujolb1\Spis\Spis2.99.05\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\Tasks\taskslist.py", line 53, in ?
File "D:\users\pujolb1\Spis\Spis2.99.05\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\Tasks\TaskViewPipeline2.py", line 52, in ?
File "D:\users\pujolb1\Spis\Spis2.99.05\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\ViewPipeLine2.py", line 47, in ?
ImportError: No module named Color

Can someone tell me what’s wrong with the software?
Best,
Bruno

Message by julien:

Hello,
Apparently, this is due to the fact that jython is not able to load the module located in the following file:
Spis_root/SpisUI/PostProcessing/Modules/Color.py

The message "Trop d’arguments dans la ligne de commande. " is very stange.
I have never had it before.

Which version of Windows do you use ? I guess Windows NT, according to the outputs of the script.
Do you have modified the spis_tasks_gui.bat script ? If yes, please can you send me your version ?
Check in the spis_tasks_gui.bat script that the last ligne is not corrupted.
To test only, put in comment the corresponding call to the PipeLine1 module in the file Bin/Tasks/tasklist.py, as follow:
in the imports:

    ### for test

    ###from TaskViewPipeline1 import TaskViewPipeline1

and in the tasks list it-self:

    ### for test

    ### (TaskViewPipeline1(“ViewPipeline1”, 0, “ConvertGroup”) , “ViewPipeline1”),

The framework itself should work then without this post-processing module.
Let me know. Good luck.
Best,
Ju.

Message by pujolb:
I didn’t modify the bat file…
I will try to put the command line in comments and see
I discovered that the java version was older than 1.4 (1.1) so I hope that will correct my problem… I will give you news.
Oh, and my os is NT
Thanks for your attention
best
Bruno

Message by julien:

Hi,
Under windows NT/2000/XP, your JVM should be 1.4 at least.
Normally, the SPIS release provides its onw JVM. However, if an existing JVM exists on the system, both may interact (through environment variables) and lead to trouble.
The best strategy is:

  1. re-installe a clean JVM 1.4 on your computer
  2. copy the whole SPIS distribution on your HD.
  3. Re-install in the directory ThirdPart/Jython/ the jython script set on your new JVM.

This should work.
Best,
Ju.

Message by pujolb:

thanks i will try it and i ll tell you what happened

Message by pujolb:

Nope!! It doesn t work…
If someone has an idea…

Message by julien:

A new release should be available very soon (this week) and should solve the probleme. I hope.

Message by pujolb:

ok i begin to wait for it…