Hi Tommy,

I'll take a look. As a quick fix, can you try what the comment in the error message tells and just comment out that line?

Matthias

On Jun 18, 2013, at 10:02 AM, Tommy Ellqvist <tellqvis@poly.edu> wrote:

Hi,

I am the maintainer for  the VisTrails binaries. I am trying to update the bundled ALPS, but the win64 version found here fails:
http://archive.comp-phys.org/software/vistrails/alps-vistrails-2.1.1-win64.zip

This is the error:

packages\pyalps\ngs.py", line 61, in <module>
    from pyngsobservable_c import createRealObservable #remove this with new ALEA!
ImportError: cannot import name createRealObservable

Looking at the dates, it looks like some of the files are old. The dates in the win32 binaries are newer, and that binary works. Is the win64 binary broken, or have I made an error somewhere?

Thanks,
Tommy



CRITICAL
2013-06-18 11:19:32,523
C:\Program Files\VisTrails 2.0.3pre\vistrails\core\packagemanager.py, line 531
Initialization of package <codepath alps> failed and will be disabled
Package 'ALPS' failed to initialize because of the following exceptions:
Traceback (most recent call last):
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\module_registry.py", line 1434, in initialize_package
    package.initialize()
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 402, in initialize
    __import__(name, globals(), locals(), [])
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\packages\alps\init.py", line 16, in <module>
    import alpscore
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\packages\alps\alpscore.py", line 30, in <module>
    import pyalps
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\Python27_64\lib\site-packages\pyalps\__init__.py", line 38, in <module>
    from tools import *
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\Python27_64\lib\site-packages\pyalps\tools.py", line 39, in <module>
    import pyalps.hdf5 as h5
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\Python27_64\lib\site-packages\pyalps\hdf5.py", line 33, in <module>
    from ngs import *
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\core\modules\package.py", line 296, in _import
    (name, globals, locals, fromlist, level))
  File "C:\Program Files\VisTrails 2.0.3pre\vistrails\Python27_64\lib\site-packages\pyalps\ngs.py", line 61, in <module>
    from pyngsobservable_c import createRealObservable #remove this with new ALEA!
ImportError: cannot import name createRealObservable