Re: weird error with pyblio-1.3.4
Frederik Elwert <frederik.elwert-S0/[email protected]> Fri, 07 Mar 2008 10:32:59 +0100
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <1204882378.6771.2.camel@FredDesk> |
This thread is quite old, but I have the same issue on Ubuntu Gutsy. Are
there any news regarding this? This problem breaks OO.o integration on
Ubuntu.
Any help appreciated.
Cheers,
Frederik
Am Dienstag, den 27.11.2007, 09:42 +0100 schrieb S=E9bastien Barth=E9lemy:
> Le lundi 26 novembre 2007 =E0 22:01 +0000, Fr=E9d=E9ric Gobry a =E9crit :
> > 2007/11/26, S=E9bastien Barth=E9lemy <barthelemy-S9djqSf+cojYtjvyW6yDsg=
@public.gmane.org>:
> > >
> > > I still don't know, but commenting the lines 42-47 in
> > > Legacy/GnomeUI/Citation.py prevent uno to be loaded and then it works=
!
> > >
> > > #try:
> > > # from Pyblio.Cite.WP.OpenOffice import OOo
> > > # available.append((OOo, _('OpenOffice.org')))
> > > #
> > > #except ImportError, msg:
> > > # log.warn('cannot import OpenOffice.org support: %s' % msg)
> > >
> > > If there is a better way to do the same thing, I'm interested
> > =
> > Hmm, fixing the uno install? =
> =
> Hmm, I was thinking of some "disable_uno" configuration option ;)
> =
> > I reckon it plays with the import path
> > somehow (which pyblio already tweaked beforehand). I don't have this
> > issue on my box, so it's hard for me to guess what's going on. Could
> > you have a look at the uno module and see if it does something to
> > sys.path?
> =
> I though about something like that and tried to add the pyblio dirs to
> the python path but it didn't helped
> ~/share/pyblio-1.3/Legacy:~/share/pyblio-1.3/Legacy/GnomeUI
> =
> My python-uno package comes from ubuntu and is version 1:2.3.0-1ubuntu5,
> the files are attached.
> =
> There is no sys.path, but they are playing with sys.modules around line
> 256, maybe this is related.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/