Re: Problems installing pybliograper-1.2.7

Steffen Ganschow <[email protected]> Tue, 13 Dec 2005 12:44:28 +0100
Newsgroups gmane.comp.gnome.apps.pybliographer
Organization Institute for Crystal growth
Message-ID <[email protected]>
Am Dienstag, 13. Dezember 2005 11:59 schrieb Zoltan Kota:
> On Mon, 12 Dec 2005, Steffen Ganschow wrote:
> > > Try it interactively:
> > > >>> import _bibtex # does this work?
> > > >>> import sys
> > > >>> sys.path # check that the _bibtex.so file is in a directory
> >
> > This works.
>
> And this?
>
> >>> import _bibtex
> >>> _bibtex.next_unfiltered

No. The error message is:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'next_unfiltered'


> >>>
> > > Perhaps '/usr/local/lib/python2.3/site-packages' is missing and
> > > the module resides there? That happens easily.
> >
> > '/usr/local/lib/python2.4/site-packages' exists and contains
> > "_bibtex.so".
>
> Is the python-bibtex suse rpm package is installed??
> rpm -q python-bibtex
> Looking at the ftp site, it should be python-bibtex-1.2.1, with files
> installed in /usr/lib/python2.4/site-packages/.
Yes. It's python-bibtex-1.2.1-4.

> Have you installed python-bibtex-1.2.2 manually in
> /usr/local/lib/python2.4/site-packages? Is it in python sys.path?
>
> > As I mentioned the problem occurs only with pybliographer 1.2.7. So
> > there must
> > be something changed since 1.2.6.2...
>
> Sure. python-bibtex-1.2.1 does not work with pybliographer-1.2.7.
> If you install pybliographer-1.2.7 you must be sure that
> python-bibtex-1.2.2 is installed correctly.
>
> Zoltan

I repeated the python-bibtex-1.2.2 installation from the source - now 
pybliographer works. Don't ask me why. I just redid everthing as I did 
before.
Anyway, it really seems to be an issue of the python-bibtex installation. 
Maybe there was something wrong in my first attempt...

Thanks a lot for your help.

Steffen




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click