Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2339

Upgrade Anaconda Windowsx64 TVB Build Env

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows x64

      Description

      Current Anaconda 4.2 Python 2.7.13 and latest pytest are not compatible:

      (tvb-run) C:\Hudson\workspace\TVB - Coverage\scientific_library>py.test --cov=tvb tvb\tests --cov-branch --cov-report xml:TEST_OUTPUT\coverage_library.xml 
      Traceback (most recent call last):
        File "c:\anaconda\envs\tvb-run\lib\runpy.py", line 174, in _run_module_as_main
          "__main__", fname, loader, pkg_name)
        File "c:\anaconda\envs\tvb-run\lib\runpy.py", line 72, in _run_code
          exec code in run_globals
        File "C:\Anaconda\envs\tvb-run\Scripts\py.test.exe\__main__.py", line 9, in <module>
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\config.py", line 50, in main
          config = _prepareconfig(args, plugins)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\config.py", line 160, in _prepareconfig
          pluginmanager=pluginmanager, args=args)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 617, in __call__
          return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec
          return self._inner_hookexec(hook, methods, kwargs)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 216, in <lambda>
          firstresult=hook.spec_opts.get('firstresult'),
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 196, in _multicall
          gen.send(outcome)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\helpconfig.py", line 68, in pytest_cmdline_parse
          config = outcome.get_result()
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 77, in get_result
          _reraise(*ex)  # noqa
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 180, in _multicall
          res = hook_impl.function(*args)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\config.py", line 943, in pytest_cmdline_parse
          self.parse(args)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\config.py", line 1108, in parse
          self._preparse(args, addopts=addopts)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\config.py", line 1079, in _preparse
          args=args, parser=self._parser)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 617, in __call__
          return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec
          return self._inner_hookexec(hook, methods, kwargs)
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\__init__.py", line 216, in <lambda>
          firstresult=hook.spec_opts.get('firstresult'),
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 201, in _multicall
          return outcome.get_result()
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 77, in get_result
          _reraise(*ex)  # noqa
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pluggy\callers.py", line 175, in _multicall
          next(gen)   # first yield
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\capture.py", line 41, in pytest_load_initial_conftests
          _readline_workaround()
        File "c:\anaconda\envs\tvb-run\lib\site-packages\_pytest\capture.py", line 628, in _readline_workaround
          import readline  # noqa
        File "c:\anaconda\envs\tvb-run\lib\site-packages\readline.py", line 34, in <module>
          rl = Readline()
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pyreadline\rlmain.py", line 423, in __init__
          self.console = console.Console()
        File "c:\anaconda\envs\tvb-run\lib\site-packages\pyreadline\console\console.py", line 221, in __init__
          CDLL('python%s%s' % (sys.version[0], sys.version[2]))
        File "c:\anaconda\envs\tvb-run\lib\ctypes\__init__.py", line 362, in __init__
          self._handle = _dlopen(self._name, mode)
      TypeError: LoadLibrary() argument 1 must be string, not unicode
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lia.domide Lia Domide
                Reporter:
                lia.domide Lia Domide
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days Time Not Required
                  2d