Re: loading of my .pybrc.conf file screws up sys.argv
Frederic Gobry <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
> But I've encountered the problem that the version of pybliographer I have > 1.2.4-1 eats up the first command line parameter which follows the script to be run if it > reads my ~/.pybrc.conf. Pretty bizarre. There was a bug related to recent versions of PyGtk, which alterated sys.argv during Gnome init. This had the effect of rendering pybliographic unable to open a file from the command line. Maybe your pybrc.conf contains a reference to some Gnome settings, and therefore when pybliographer reads the file, it imports Pyblio.GnomeUI, which performs the faulty initialization. I've fixed the init code in arch, so you could check if it helps. This will be in 1.2.5, due soon I hope. Frédéric
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBdimyFjQHpltE9KURAnsZAJ427P971DSZ6sb8IUX/RZjXaiqw6wCePz+n eFUVB75Qje0rwrXjTSmXato= =qJmE -----END PGP SIGNATURE-----