Package: imgseek Version: 0.8.6-1 Severity: normal Tags: patch I tried to create a new DB with imgSeekCmd:
[EMAIL PROTECTED]:~$ imgSeekCmd add -r -d lapinot/ imgSeekCmd 0.8.6 Using database file:/home/alf/.imgseek/img-db.iqd Checking environment... [IPTC extraction] detected [Python Imaging Library] detected [imgSeek data dir] /usr/share/imgSeek/ [jpegtran] detected Traceback (most recent call last): File "/usr/bin/imgSeekCmd", line 333, in ? main() File "/usr/bin/imgSeekCmd", line 155, in main curdb=ImgDB.ImgDB(env) NameError: global name 'ImgDB' is not defined The attached patch fixes this bug. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages imgseek depends on: ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-21 GCC support library ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libqt3-mt 3:3.3.7-2 Qt GUI Library (Threaded runtime v ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii python 2.4.4-2 An interactive high-level object-o ii python-central 0.5.12 register and build utility for Pyt ii python-imaging 1.1.5-11 Python Imaging Library ii python-qt3 3.16-1.2 Qt3 bindings for Python ii python-xml 0.8.5-cvs20050520-3 XML tools for Python Versions of packages imgseek recommends: ii libjpeg-progs 6b-13 Programs for manipulating JPEG fil -- no debconf information
--- /usr/bin/imgSeekCmd 2006-09-04 22:40:20.000000000 +0200 +++ /tmp/imgSeekCmd 2007-01-02 19:56:06.000000000 +0100 @@ -152,7 +152,7 @@ print "Using database file:%s"%db env=Env() - curdb=ImgDB.ImgDB(env) + curdb=ImageDB.ImgDB(env) try: curdb.opendb(db) except: @@ -166,7 +166,7 @@ s=None m=0 r=None - restr=ImgDB.AddFilter(env) + restr=ImageDB.AddFilter(env) for o, a in opts: try: if o in ["-h","--help"]: usage("add")