On Wed, 2005-08-24 at 17:54 -0400, Greg Steffensen wrote:
Hey, the path to your indexed clipart directory isn't set correctly in the configuration file. Make sure it points to whatever directory you just indexed... that directory should now contain an "index.dat" file; if that file can't be found (or is in the wrong format), you'll get the above error.
Ok, first of all on most systems where the clipart is installed as a package, then this file is not modifiable. I would recommend installing this index in a users' local dir by default and not dig into /usr/share/clipart for this. There is going to be permissions problems (as I ran into) on this...I think we must assume that most ppl. will be installing the clipart from a package as super-user.
Also, please reply to things on list :) I have done this... How can others learn if they don't know the answers from the clip art browser pro :)
Jon
On 8/24/05, Jon Phillips <jon@...235...> wrote: [rejon@...966...:~/Documents/projects/clipart-project/openclipartnav/clipartnav] $ ./clipartnav.py Traceback (most recent call last): File "./clipartnav.py", line 497, in ? searcher = Searcher(config) File "./clipartnav.py", line 58, in __init__ self.repos.append((mod.API(config), cache)) File "/home/rejon/Documents/projects/clipart-project/openclipartnav/clipartnav/modules/localocal.py", line 12, in __init__ index = shelve.open(indexFile) File "/usr/lib/python2.4/shelve.py", line 231, in open return DbfilenameShelf(filename, flag, protocol, writeback, binary) File "/usr/lib/python2.4/shelve.py", line 212, in __init__ Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary) File "/usr/lib/python2.4/anydbm.py", line 83, in open return mod.open(file, flag, mode) File "/usr/lib/python2.4/dbhash.py", line 16, in open return bsddb.hashopen(file, flag, mode) File "/usr/lib/python2.4/bsddb/__init__.py", line 293, in hashopen d.open(file, db.DB_HASH, flags, mode) bsddb._db.DBNoSuchFileError: (2, 'No such file or directory') Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in ignored
I have pygtk, python 2.4, and pretty much everything else in place. I even indexed my clipart. What is the dealio? Jon -- Jon Phillips San Francisco, CA USA PH 510.499.0894 jon@...235... http://www.rejon.org MSN, AIM, Yahoo Chat: kidproto Jabber Chat: rejon@...896... IRC: rejon@...897... Inkscape (http://inkscape.org) Open Clip Art Library (www.openclipart.org)
participants (1)
-
Jon Phillips