Can you try the following patch:
Index: vistrails/alps/parameters.py =================================================================== --- vistrails/alps/parameters.py (revision 6020) +++ vistrails/alps/parameters.py (working copy) @@ -19,7 +19,10 @@
import numpy as np
-from gui.modules.constant_configuration import StandardConstantWidget +try: + from gui.modules.constant_configuration import StandardConstantWidget +except: + from core.modules.constant_configuration import StandardConstantWidget
On Mar 6, 2012, at 10:33 PM, Andreas Sindermann wrote:
Matthias Troyer writes:
On 6 Mar 2012, at 21:33, Andreas Sindermann wrote:
Matthias Troyer writes:
Hi,
which version of ALPS is that?
That should be the current 2.x (2.0?) release, downloaded yesterday.
Please tell me the exact version you downloaded - did you get 2.0.3 or the nightly snapshot?
Sorry, it was alps-2.0.3-src-with-boost.tar.gz. Not the nightly snapshot.
Andreas
Matthias
Andreas
Matthias
On 6 Mar 2012, at 12:20, Andreas Sindermann wrote:
Dear all,
I tried to install vistrails on a Debian system. When calling vistrails with python 2.6.6 and trying to enable the alps module in the preferences error messages appear concerning the alps initialization:
Critical message: Initialization of package 'alps' failed
Package 'ALPS' failed to initialize, raising 'ImportError: No module named modules.constant_configuration'. Traceback: Traceback (most recent call last): File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/module_registry.py", line 1355, in initialize_package package.initialize() File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 368, in initialize __import__(name, globals(), locals(), []) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/packages/alps/init.py", line 17, in <module> import parameters File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/packages/alps/parameters.py", line 22, in <module> from gui.modules.constant_configuration import StandardConstantWidget File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) ImportError: No module named modules.constant_configuration
Time: 2012-03-06 12:18:54,455 Location: /tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/gui/preferences.py, line 308
Any ideas? :-)
Best wishes Andreas