Re: Pybliographic fails to start
Peter Schulte-Stracke <mail-OvSX7JRiA6TkXZrADh/[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <1110442477l.1474l.1l@britten> |
Am 09.03.2005 17:53:08 schrieb(en) Ole Kasper Olsen: > On Wed, 09 Mar 2005 17:27:54 +0100, Peter Schulte-Stracke > <mail-OvSX7JRiA6TkXZrADh/[email protected]> wrote: >> 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. > > f is indeed nothing. The loop does four iterations, and in the > last iteration fields[i] and f are empty: > >>>>>>>>>>> author author >>>>>>>>>>> date date >>>>>>>>>>> title title >>>>>>>>>>> I see. Probably this is a bug with the Config widget. I tried and was able to create an empty field in the list of display columns. What can you do? The list of columns is maintained in the pybrc.conf file, if I am correct, so it should work to delete it. Of course this means that anything in it will be lost. As an alternative, you could test for f == '' in the program file. It should work to add if f.strip() == '': continue before the call. Hope that works. Regards, Peter ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click