Re: Pybliographic fails to start

Peter Schulte-Stracke <mail-OvSX7JRiA6TkXZrADh/[email protected]>
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <1110385683l.4493l.0l@britten>
Am 08.03.2005 12:37:24 schrieb(en) Ole Kasper Olsen:
> Pybliographic 1.2.6.1-1 (debian package) and 1.2.6.2 (compiled
> from
> source) fails with the following error:

>   File "/usr/local/share/pybliographer/Pyblio/GnomeUI/ 
> Index.py",  line 83, in __init__
>     w = Utils.config.get_int (k)
> gobject.GError: Bad key or directory name:
> "/apps/pybliographic/columns/": Key/directory may not end with
> a slash (/)

The code reads here immediately before the call :
	 f = self.fields [i]
	 f = f.translate (_safechar)
	
	 k = '/apps/pybliographic/columns/%s' % f
so perhaps f has been reduced to nothing?

try to add a "print '>>>>>>>>>>' , self.fields[i], f" before the  
call, to see if this is indeed the case.

Regards,
	Peter
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCLyQTATdncJOcu2IRAudDAJ9UmXzn8KczfieKv3XPSfbDZY4p2QCfXxAF
cXboMYfIiCKOS+n5ZWGiwW0=
=vKun
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.