Skip to content
Maxim Novikov edited this page Dec 10, 2018 · 1 revision

Build FAQ

How do I debug my failing AppVeyor build?

Uncomment last lines in appveyor.yml

on_finish:
  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

After build is finished AppVeyour will probide address/login/password for RDP session. On Linux, it's possible to connect with Remmina client.

My build is failing because of missing library

  1. Check if the library is located inside sys.path
  2. If the library is on sys.path and it's a binary (so/dll) it's probable that some of the dependencies are missing. To find out which, activate conda environment and try following:

Windows:

use dumpbin.exe(part of Visual Studio) or even better alternative download DepencencyWalker

Linux

use ldd to dump libraries

Example of missing dependencies in DLL:

    import vigra
C:\Miniconda36-x64\envs\test-env\lib\site-packages\vigra\__init__.py:113: in <module>
    import vigra.vigranumpycore as vigranumpycore
E   ImportError: DLL load failed: The specified module could not be found.