Andreas, I have the same message after make on Scientific Linux 6.1, nevertheless make install goes smoothly and I did not notice any problems going through tutorial. Tadeusz
2012/2/16 comp-phys-alps-users-request@lists.phys.ethz.ch
Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
- Problems compiling alps-2.0.3-src-with-boost (Andreas Sindermann)
Message: 1 Date: Wed, 15 Feb 2012 13:19:02 +0100 (MET) From: Andreas Sindermann sinder@thp.Uni-Koeln.DE To: comp-phys-alps-users@lists.phys.ethz.ch Subject: [ALPS-users] Problems compiling alps-2.0.3-src-with-boost Message-ID: 201202151219.q1FCJ2p19838@sun80.thp.Uni-Koeln.DE Content-Type: text/plain; charset=US-ASCII
Dear all,
I'm just about to compile and to install alps-2.0.3 from source with libboost included. Compilation succeeds without problems. But unfortunately 'make test' results in 4 failed tests:
Test project /scratch/sinder/alps-2.0.3-src-with-boost/alps Start 1: ising_single 1/99 Test #1: ising_single .....................***Failed 0.32 sec Start 2: loop_single 2/99 Test #2: loop_single ......................***Failed 0.19 sec Start 3: exchange 3/99 Test #3: exchange .........................***Failed 0.25 sec Start 40: lattice_constant_test 40/99 Test #40: lattice_constant_test ............***Failed 0.08 sec
As I don't have experience with the Cmake building system I'd like to ask for help where I should start looking.
Thanks in advance Andreas
-- Dr. Andreas Sindermann fon: +49 (221) 470-4201 Institut fuer Theoretische Physik fax: +49 (221) 470-5159 Universitaet zu Koeln Zuelpicher Str. 77 mailto:sinder@thp.Uni-Koeln.DE D-50937 Koeln, Germany http://www.thp.uni-koeln.de/~sinder
End of Comp-phys-alps-users Digest, Vol 71, Issue 9
The lattice constant test can be ignored and I hope that Synge can look into the others, but if the loop tutorials work then the is no serious problem.
Matthias
On Feb 16, 2012, at 12:54, Tadeusz Wasiutyński tadeusz.wasiutynski@ifj.edu.pl wrote:
Andreas, I have the same message after make on Scientific Linux 6.1, nevertheless make install goes smoothly and I did not notice any problems going through tutorial. Tadeusz
2012/2/16 comp-phys-alps-users-request@lists.phys.ethz.ch Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
- Problems compiling alps-2.0.3-src-with-boost (Andreas Sindermann)
Message: 1 Date: Wed, 15 Feb 2012 13:19:02 +0100 (MET) From: Andreas Sindermann sinder@thp.Uni-Koeln.DE To: comp-phys-alps-users@lists.phys.ethz.ch Subject: [ALPS-users] Problems compiling alps-2.0.3-src-with-boost Message-ID: 201202151219.q1FCJ2p19838@sun80.thp.Uni-Koeln.DE Content-Type: text/plain; charset=US-ASCII
Dear all,
I'm just about to compile and to install alps-2.0.3 from source with libboost included. Compilation succeeds without problems. But unfortunately 'make test' results in 4 failed tests:
Test project /scratch/sinder/alps-2.0.3-src-with-boost/alps Start 1: ising_single 1/99 Test #1: ising_single .....................***Failed 0.32 sec Start 2: loop_single 2/99 Test #2: loop_single ......................***Failed 0.19 sec Start 3: exchange 3/99 Test #3: exchange .........................***Failed 0.25 sec Start 40: lattice_constant_test 40/99 Test #40: lattice_constant_test ............***Failed 0.08 sec
As I don't have experience with the Cmake building system I'd like to ask for help where I should start looking.
Thanks in advance Andreas
-- Dr. Andreas Sindermann fon: +49 (221) 470-4201 Institut fuer Theoretische Physik fax: +49 (221) 470-5159 Universitaet zu Koeln Zuelpicher Str. 77 mailto:sinder@thp.Uni-Koeln.DE D-50937 Koeln, Germany http://www.thp.uni-koeln.de/~sinder
End of Comp-phys-alps-users Digest, Vol 71, Issue 9
-- Tadeusz Wasiutyński
Thanks for the reply.. I think the first three failed tests could be ignored. Results look like this:
sinder@l17:/scratch/sinder/alps-2.0.3-src-with-boost/alps/example/parapack/loop$ diff loop_single_output loop.op 45c45 < Temperature: 0.1 +/- 9.12e-10 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.1 +/- 0
91c91 < Temperature: 0.2 +/- 1.82e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.2 +/- 0
118c118 < Inverse Temperature: 3.33333 +/- 1.99e-08 Warning: potential error underflow. Errors might be smaller ---
Inverse Temperature: 3.33333 +/- 0
137c137 < Temperature: 0.3 +/- 1.83e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.3 +/- 0
183c183 < Temperature: 0.4 +/- 3.65e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.4 +/- 0
Best wishes Andreas
On Thu, 16 Feb 2012, Matthias Troyer wrote:
The lattice constant test can be ignored and I hope that Synge can look into the others, but if the loop tutorials work then the is no serious problem.
Matthias
On Feb 16, 2012, at 12:54, Tadeusz Wasiuty?ski tadeusz.wasiutynski@ifj.edu.pl wrote:
Andreas, I have the same message after make on Scientific Linux 6.1, nevertheless make install goes smoothly and I did not notice any problems going through tutorial. Tadeusz 2012/2/16 <comp-phys-alps-users-request@lists.phys.ethz.ch> Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..." Today's Topics: 1. Problems compiling alps-2.0.3-src-with-boost (Andreas Sindermann) ---------------------------------------------------------------------- Message: 1 Date: Wed, 15 Feb 2012 13:19:02 +0100 (MET) From: Andreas Sindermann <sinder@thp.Uni-Koeln.DE> To: comp-phys-alps-users@lists.phys.ethz.ch Subject: [ALPS-users] Problems compiling alps-2.0.3-src-with-boost Message-ID: <201202151219.q1FCJ2p19838@sun80.thp.Uni-Koeln.DE> Content-Type: text/plain; charset=US-ASCII Dear all, I'm just about to compile and to install alps-2.0.3 from source with libboost included. Compilation succeeds without problems. But unfortunately 'make test' results in 4 failed tests: Test project /scratch/sinder/alps-2.0.3-src-with-boost/alps Start 1: ising_single 1/99 Test #1: ising_single .....................***Failed 0.32 sec Start 2: loop_single 2/99 Test #2: loop_single ......................***Failed 0.19 sec Start 3: exchange 3/99 Test #3: exchange .........................***Failed 0.25 sec Start 40: lattice_constant_test 40/99 Test #40: lattice_constant_test ............***Failed 0.08 sec As I don't have experience with the Cmake building system I'd like to ask for help where I should start looking. Thanks in advance Andreas -- Dr. Andreas Sindermann fon: +49 (221) 470-4201 Institut fuer Theoretische Physik fax: +49 (221) 470-5159 Universitaet zu Koeln Zuelpicher Str. 77 mailto:sinder@thp.Uni-Koeln.DE D-50937 Koeln, Germany http://www.thp.uni-koeln.de/~sinder End of Comp-phys-alps-users Digest, Vol 71, Issue 9 ***************************************************
-- Tadeusz Wasiuty?ski
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
Hi,
which version of ALPS is that?
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
Matthias Troyer writes:
Hi,
which version of ALPS is that?
That should be the current 2.x (2.0?) release, downloaded yesterday.
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
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?
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
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
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
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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 >
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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 >>
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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 >>>
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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 >>>>
Dear Matthias,
we now tried Vistrails 1.6, but get the same errors i pasted before. It says we are still missing these 2 modules: Tools|ShowListOfHTMLFiles and Dataset|Plot|ShowListOfPlots.
I deleted the .vistrails folder in my home-dir and also found ShowListOfHTMLFiles.xml and ShowListOfPlots.xml in /vistrails/packages/alps.
oh, and I also tried the tutorials from our alps directory, but this doesnt make a difference.
Do you have any idea how to get Vistraisl to recognize them?
regards Markus
Quoting Andreas Sindermann sinder@thp.Uni-Koeln.DE:
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the
beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory
of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it
with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked.
The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package
org.comp-phys.alps (version 2.0.0)
Missing module Dataset|Plot|ShowListOfPlots in package
org.comp-phys.alps (version 2.0.0)
Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package
org.comp-phys.alps.
Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package
org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
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 >>>>>
That's very strange since I just installed ALPS for VT 1.6 on Linux about a month ago. Can you open other files?
Matthias
On Mar 8, 2012, at 8:18 PM, Markus Strehlau wrote:
Dear Matthias,
we now tried Vistrails 1.6, but get the same errors i pasted before. It says we are still missing these 2 modules: Tools|ShowListOfHTMLFiles and Dataset|Plot|ShowListOfPlots.
I deleted the .vistrails folder in my home-dir and also found ShowListOfHTMLFiles.xml and ShowListOfPlots.xml in /vistrails/packages/alps.
oh, and I also tried the tutorials from our alps directory, but this doesnt make a difference.
Do you have any idea how to get Vistraisl to recognize them?
regards Markus
Quoting Andreas Sindermann sinder@thp.Uni-Koeln.DE:
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote: > 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 >>>>>>
Can you please go to your vistrails directory and send the output of:
ls
and
ls -R packages
Matthias
On 8 Mar 2012, at 20:30, Matthias Troyer wrote:
That's very strange since I just installed ALPS for VT 1.6 on Linux about a month ago. Can you open other files?
Matthias
On Mar 8, 2012, at 8:18 PM, Markus Strehlau wrote:
Dear Matthias,
we now tried Vistrails 1.6, but get the same errors i pasted before. It says we are still missing these 2 modules: Tools|ShowListOfHTMLFiles and Dataset|Plot|ShowListOfPlots.
I deleted the .vistrails folder in my home-dir and also found ShowListOfHTMLFiles.xml and ShowListOfPlots.xml in /vistrails/packages/alps.
oh, and I also tried the tutorials from our alps directory, but this doesnt make a difference.
Do you have any idea how to get Vistraisl to recognize them?
regards Markus
Quoting Andreas Sindermann sinder@thp.Uni-Koeln.DE:
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
We never tested it with Vistrails 1.7 since we always used it with 1.6 and 2.0, but will look into this.
Mathias
On 7 Mar 2012, at 23:43, Markus Strehlau wrote:
> Hi, > > concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) : > > CRITICAL > 2012-03-07 16:39:38,019 > /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 > The current workflow could not be validated. > Pipeline cannot be instantiated: > Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) > Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) > Upgrading workflow failed. > Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. > Upgrading workflow failed. > Could not upgrade module ShowListOfPlots from package org.comp-phys.alps. > > We are using the alps version andreas mentioned and vistrails 1.7. > > regards > Markus > > On 03/07/2012 03:08 PM, Matthias Troyer wrote: >> 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 >>>>>>> >
i tried a example file and it worked In the attached is the output you wanted to see.
Quoting Matthias Troyer troyer@phys.ethz.ch:
Can you please go to your vistrails directory and send the output of:
ls
and
ls -R packages
Matthias
On 8 Mar 2012, at 20:30, Matthias Troyer wrote:
That's very strange since I just installed ALPS for VT 1.6 on Linux about a month ago. Can you open other files?
Matthias
On Mar 8, 2012, at 8:18 PM, Markus Strehlau wrote:
Dear Matthias,
we now tried Vistrails 1.6, but get the same errors i pasted before. It says we are still missing these 2 modules: Tools|ShowListOfHTMLFiles and Dataset|Plot|ShowListOfPlots.
I deleted the .vistrails folder in my home-dir and also found ShowListOfHTMLFiles.xml and ShowListOfPlots.xml in /vistrails/packages/alps.
oh, and I also tried the tutorials from our alps directory, but this doesnt make a difference.
Do you have any idea how to get Vistraisl to recognize them?
regards Markus
Quoting Andreas Sindermann sinder@thp.Uni-Koeln.DE:
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
On Mar 7, 2012, at 11:56 PM, Matthias Troyer wrote:
Can you try the vt file that comes in the tutorials directory of alps rather than the one from the web page?
On 7 Mar 2012, at 23:55, Matthias Troyer wrote:
> We never tested it with Vistrails 1.7 since we always used it > with 1.6 and 2.0, but will look into this. > > Mathias > > On 7 Mar 2012, at 23:43, Markus Strehlau wrote: > >> Hi, >> >> concerning this problem, we tried your patch and it worked. >> The alps module is now enabled, but we get these additional >> error messages when we load the file from the tutorial >> (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) >> : >> >> CRITICAL >> 2012-03-07 16:39:38,019 >> /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 >> The current workflow could not be validated. >> Pipeline cannot be instantiated: >> Missing module Tools|ShowListOfHTMLFiles in package >> org.comp-phys.alps (version 2.0.0) >> Missing module Dataset|Plot|ShowListOfPlots in package >> org.comp-phys.alps (version 2.0.0) >> Upgrading workflow failed. >> Could not upgrade module ShowListOfHTMLFiles from package >> org.comp-phys.alps. >> Upgrading workflow failed. >> Could not upgrade module ShowListOfPlots from package >> org.comp-phys.alps. >> >> We are using the alps version andreas mentioned and vistrails 1.7. >> >> regards >> Markus >> >> On 03/07/2012 03:08 PM, Matthias Troyer wrote: >>> 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 >>>>>>>> >> >
comp-phys-alps-users@lists.phys.ethz.ch