Re: Adding autopkgtest to Orthanc-python
Sébastien Jodogne <[email protected]>
| Newsgroups | gmane.linux.debian.devel.medical |
|---|---|
| Message-ID | <[email protected]> |
Hello, > I tried doing something similar however the test still seems to fail. > The failing job can be found at[3]. > [3] https://salsa.debian.org/med-team/orthanc-python/-/jobs/4887512 The log file of Orthanc indicates that the Python plugin is simply not loaded: >>>>> I1104 10:12:22.947781 PluginsManager.cpp:280] (plugins) Scanning folder ./. for plugins W1104 10:12:22.947999 OrthancInitialization.cpp:420] SQLite index directory: "./OrthancStorage" <<<<< The folder "./." should contain the "libOrthancPlugin.so" shared library, which is visibly not the case, otherwise you would see the following lines in the logs: >>>>> I1104 11:32:23.337849 PluginsManager.cpp:303] (plugins) Found a shared library: "./libOrthancPython.so" W1104 11:32:23.342062 PluginsManager.cpp:261] Registering plugin 'python' (version mainline) W1104 11:32:23.342093 PluginsManager.cpp:157] Python plugin is initializing <<<<< > Seems to me the reason is that the route to /toto is still not present > and the offending line is _probably_ > > | W1104 10:12:22.974692 main.cpp:1184] REST API cannot write to the file system. > > But I am not really sure since I see the error even if change the test > dir to a dir with write permissions from everyone. No, this warning is unrelated and can be safely ignored in this context. Best, Sébastien-