ricardocabral/iskdaemon — Issue #40: debian squeeze / ubuntu 10.04 installation error
Author: tophe
Created: 2012-01-26 14:38:54+00:00
State: open

hello,

I have made the installation process on both squeeze and ubuntu 10.4, every thing run ok.
but
iskdaemon.py
isk-daemon : INFO | using config file "isk-daemon.conf"
root : ERROR Unable to load the C++ extension "_imgdb.so(pyd)" module.
root : ERROR See http://www.imgseek.net/isk-daemon/documents-1/compiling
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/isk_daemon-0.9.3-py2.6-linux-x86_64.egg/imgSeekLib/ImageDB.py", line 35, in
import imgdb
File "/usr/local/lib/python2.6/dist-packages/isk_daemon-0.9.3-py2.6-linux-x86_64.egg/imgSeekLib/imgdb.py", line 69, in
class SwigPyIterator(_object):
File "/usr/local/lib/python2.6/dist-packages/isk_daemon-0.9.3-py2.6-linux-x86_64.egg/imgSeekLib/imgdb.py", line 76, in SwigPyIterator
__swig_destroy__ = _imgdb.delete_SwigPyIterator
AttributeError: 'module' object has no attribute 'delete_SwigPyIterator'

the _imgdb.so, is well builded and well installed I have tried to build from alternative method, same thing.
locate -i imgdb.so
/usr/local/lib/python2.6/dist-packages/isk_daemon-0.9.3-py2.6-linux-x86_64.egg/_imgdb.so
/usr/src/isk-daemon-0.9.3/build/lib.linux-x86_64-2.6/_imgdb.so
/usr/src/net.imgseek.imgdb/src/net/imgseek/imgdb/core/build/lib.linux-x86_64-2.6/imgdb.so

I have that strange message :
python setup.py build
#################################### Check ImageMagick
Found the following arguments:
extra_compile_args ['-DImMagick', '-DLinuxBuild', '-g', '-g', '-O2', '-Wall', '-W', '-pthread', '-I/usr/include/ImageMagick']
extra_link_args ['-g', '-L/usr/lib', '-L/usr/lib/X11', '-L/usr/lib', '-lMagick++', '-lMagickWand', '-lMagickCore', '-llcms', '-ltiff', '-lfreetype', '-ljpeg', '-llqr-1', '-lglib-2.0', '-lfontconfig', '-lXext', '-lSM', '-lICE', '-lX11', '-lXt', '-lbz2', '-lz', '-lm', '-lgomp', '-lpthread', '-lltdl']
#################################### Installing
running build
running build_py
file imgdb.py (for module imgdb) not found
file imgdb.py (for module imgdb) not found
running build_ext
running build_scripts

but ./build/lib.linux-x86_64-2.6/imgSeekLib/imgdb.py present

any idea ?