Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian squeeze / ubuntu 10.04 installation error #40

Open
tophe opened this issue Jan 26, 2012 · 1 comment
Open

debian squeeze / ubuntu 10.04 installation error #40

tophe opened this issue Jan 26, 2012 · 1 comment

Comments

@tophe
Copy link

tophe commented Jan 26, 2012

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 ?

@joshvote
Copy link

I had this problem when I forgot the last installation step:

python setup.py install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants