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 >>>>>