make test not working
After I had cloned your repository, I ran 'make' and everything was fine - no errors. But for 'make test', I get the following output:-
env python2 -m test
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/prassanna/Development/workspace/opencv-ndarray-conversion/test.py", line 7, in
My earlier make output is here : https://gist.github.com/4338f288aec0cabe2b2a.git
Do you see a file called examples.so in the same directory as you ran make in?
Hi everyone:
I have seen the file called examples.so as following:
But when I make test, still get the error:
env python2 -m test
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/tools/tempcodes/opencv-ndarray-conversion-master/test.py", line 9, in
Can you guys give me any help? Thanks a lot! @yati-sagade @atemysemicolon
any help on this? I'm having the same issue
Hey! can you try pulling the import in test.py line 9 out of the try..except block to see what the actual error was? I should not have hidden the error like that :/
I got the same issue and the "examples.so" is already generated. Here is the output of the import error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: ./examples.so: undefined symbol: _ZNK5boost6python7objects21py_function_impl_base9max_arityEv
Btw I'm using OpenCV3 so I have to change the definition of class NumpyAllocator in conversion.cpp to the opencv3's form here. I have to change this to get avoid of the issue in #12
Any idea?