On Tue, Jan 08, 2008 at 10:22:42PM +0000, Pierre Habouzit wrote:
> tag 454161 - unreproducible
> thanks
> 
> On Tue, Jan 08, 2008 at 07:57:29PM +0000, Justin B Rye wrote:
> > Subject: apt-listchanges: test
> > Followup-For: Bug #454161
> > Package: apt-listchanges
> > Version: 2.80
> > 
> > I notice you've tagged my bugreport "unreproducible" (oh well, at
> > least it shows you've seen it).  I'm still getting it here on a
> > mostly-Testing-but-with-apt-listchanges_2.80 machine; however, I've
> > just noticed something interesting:
> > 
> > 
> >  [EMAIL PROTECTED]:~$ sudo dpkg -i apt-listchanges_2.80_all.deb 
> >  (Reading database ... 97030 files and directories currently installed.)
> >  Preparing to replace apt-listchanges 2.79 (using 
> > apt-listchanges_2.80_all.deb) ...
> >  Unpacking replacement apt-listchanges ...
> >  Setting up apt-listchanges (2.80) ...
> >  [EMAIL PROTECTED]:~$ apt-listchanges -f gtk ~/*.deb
> > 
> >  (apt-listchanges:2299): libglade-WARNING **: could not find glade file 
> > 'apt-listchanges/apt-listchanges.glade'
> > 
> >  [EMAIL PROTECTED]:~$ dpkg -L apt-listchanges | grep glade
> >  /usr/share/apt-listchanges/apt-listchanges.glade
> >  [EMAIL PROTECTED]:~$ cd /usr/share
> >  [EMAIL PROTECTED]:/usr/share$ apt-listchanges -f gtk ~/*.deb
> >  [EMAIL PROTECTED]:/usr/share$ # it's happy now
> > 
> > 
> > In other words, it seems to be looking for a .glade file by way of a
> > relative path.  Is that any help?
> 
>   Well yeah, it does that:
> 
>         try:
>             self.glade = 
> gtk.glade.XML("apt-listchanges/apt-listchanges.glade")
>         except:
>             self.glade = 
> gtk.glade.XML("/usr/share/apt-listchanges/apt-listchanges.glade")
> 
>   The reason is that the former works in my repository while coding, and
> the latter is the usual case. I'm sorry it generates a warning, and I
> don't really know why I hadn't it here, I was probably in my repository
> while testing .... I'm not at all versed in glade, so if you know how to
> make it STFU I'd be glad. Meanwhile I'll try to see in the documentation
> what I can find...

that should do the trick:

http://git.madism.org/?p=apt-listchanges.git;a=commitdiff;h=a238cdd7155fa2b16d4fa0da99214043fc3320fd


-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgp6L4CYCa1wu.pgp
Description: PGP signature

Reply via email to