Plugins are not loaded without any error message.

Asked by Chris

Hello again,

I have tried to load most of the plugins available on github, but with limited success. Is there a way to get a more descriptive message output than "Plugin not loaded", since it makes solving this difficult (a verbose/debug mode would be great). Here is a typical output I see when loading plugins: http://pastebin.com/xzUQTuch

After figuring out that I probably don't have all the dependencies available, I installed fieldwork and gias. I now see the following output: http://pastebin.com/zc5N3DgH

In particular, it seems fails to compile here:

..../gias/image_analysis/integralimagec.c:239:10: fatal error: 'numpy/arrayobject.h'
      file not found
#include "numpy/arrayobject.h"

This is a common problem, when the C compiler can't find the numpy header files: http://stackoverflow.com/questions/2379898/make-distutils-look-for-numpy-header-files-in-the-correct-place

I already tried to fix this in gias, but it's not working, yet. Maybe I am missing some of the Cython setup files?

Chris

PS: Again, this might not be the best place for my question, but I can imagine more people stumbling over this in the future.

Question information

Language:
English Edit question
Status:
Answered
For:
MAPClient Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hugh Sorby (h-sorby) said :
#1

Hi Chris,

Yes the lack of information has been a problem and the current development branch has implemented a fix for this. At the moment we are changing things around a bit and looking at three weeks before another release is going to be available.

We are also trying to come up with a way of dealing with dependencies for our steps, especially those with bindings to c libraries.

We don't have access to OSX 10.10 at the moment so we are a bit behind the times it seems. I think more documentation on installing plugin dependencies may help with these sorts of problems.

Cheers,

Revision history for this message
Chris (ctp) said :
#2

Hello Hugh,

I am happy to test things on the Mac OS X 10.10 side of things for now, but I don't think it has too many differences compared to the previous OS versions - at least regarding python (2.7) or C compiler setup. I mainly upgraded to get the latest Xcode version running.

I am looking forward to the future MAPclient release and I was just wondering if you have seen the "workspace" platform CSIRO has published a few days ago: http://www.csiro.au/Outcomes/ICT-and-Services/Workspace.aspx

They seem to have similar goals to your framework and even though I don't think their software is OpenSource, it might be beneficial to making plugins "cross-compatible". Alright, that might be a little difficult, but maybe it's enough to setup an interface that could connect a workflow from their solution to MAPclient and also the other way around.

Cheers, Chris

Revision history for this message
Ju Zhang (juzbox) said :
#3

Hi Chris,

I've disabled the use of Cython off by default in GIAS (https://bitbucket.org/jangle/gias/commits/ae0be669b48e9f5b453c3121de7e1305c37f979b), so now you shouldn't have the cython related issue.

My plugins that have a GUI also depend on another library (https://bitbucket.org/jangle/mappluginutils) which I forgot to add to the documentation. Apologies for that, readmes have now been updated. You may also need to set an environment variable for the mayavi 3D renderer to work in Qt widget: ETS_TOOLKIT=qt4

I'll be working to improve plugin documentation and installation. We may also be moving away from using Mayavi in the near future.

Cheers,

Ju

Can you help with this problem?

Provide an answer of your own, or ask Chris for more information if necessary.

To post a message you must log in.