<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>32038</bug_id>
          
          <creation_ts>2003-10-26 07:22 0000</creation_ts>
          <short_desc>meld does not start</short_desc>
          <delta_ts>2003-11-10 17:29:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dcoutts@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-10-26 07:22:27 0000</bug_when>
            <thetext>When I run meld (version 0.8.3 or version 0.9.0) it gives the following traceback:

Traceback (most recent call last):
  File &quot;/usr/bin/meld&quot;, line 73, in ?
    meldapp.main()
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 809, in main
    app = MeldApp()
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 492, in __init__
    self.toolbar.set_style( self.prefs.get_toolbar_style() )
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 463, in get_toolbar_style
    style = {&quot;both&quot;:gtk.TOOLBAR_BOTH, &quot;both_horiz&quot;:gtk.TOOLBAR_BOTH_HORIZ,
KeyError: both-horiz

I thought this might be because the ebuild for dev-util/meld-.0.8.3 and
dev-util/meld-.0.9.0 (and probably dev-util/meld-.0.8.5 too) have old dependencies.

The meld web page (http://meld.sourceforge.net/install.html) says that meld
requires:
pyorbit-1.99.6
pygtk-1.99.17
gnome-python-1.99.17

however the ebuild (at least for 0.9.0) says:
    &gt;=dev-python/gnome-python-1.99.15
    &gt;=dev-python/pygtk-1.99.15
    &gt;=dev-python/pyorbit-1.99.0&quot;

Howver I get the same problem even after upgrading to gnome-python-2.0.0,
pygtk-2.0.0 and pyorbit-2.0.0

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-util/meld-0.8.3
2. meld

or

1. emerge =dev-util/meld-0.9.0
2. meld

Actual Results:  
Traceback (most recent call last):
  File &quot;/usr/bin/meld&quot;, line 73, in ?
    meldapp.main()
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 809, in main
    app = MeldApp()
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 492, in __init__
    self.toolbar.set_style( self.prefs.get_toolbar_style() )
  File &quot;/usr/lib/meld/meldapp.py&quot;, line 463, in get_toolbar_style
    style = {&quot;both&quot;:gtk.TOOLBAR_BOTH, &quot;both_horiz&quot;:gtk.TOOLBAR_BOTH_HORIZ,
KeyError: both-horiz

Expected Results:  
opened a meld window

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;sandbox ccache autoaddcvs&quot;
GENTOO_MIRRORS=&quot;http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline arts tetex bonobo svga java ruby postgres X sdl gpm tcpd
pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla
ldap cdr alsa -kde -qt gtk2 apache2&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-10-26 11:27:15 0000</bug_when>
            <thetext>can&apos;t reproduce this, what gtk+ &amp; python versions are you using ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-10-26 11:50:42 0000</bug_when>
            <thetext>Im using:
gtk+-2.2.4-r1
python-2.2.3-r1

I&apos;ve asked the meld author if he has any idea what&apos;s going on.
Will report here if he can think of anything.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-10-28 02:23:14 0000</bug_when>
            <thetext>can you try merging python, pygtk and gnome-python with less optimisations?
maybe say &quot;-march=i686 -O2 -pipe&quot; 

it seems like something wrong with a basic operation in python or the pygtk/gnome-python
modules.

also, what does this output?

gconftool-2 --get /desktop/gnome/interface/toolbar_style</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-10-28 05:13:34 0000</bug_when>
            <thetext>$ gconftool-2 --get /desktop/gnome/interface/toolbar_style
both-horiz</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-10-28 05:27:30 0000</bug_when>
            <thetext>Created an attachment (id=19888)
patch to meldapp.py, changing &quot;both_horiz&quot; to &quot;both-horiz&quot;

Sent to me by the meld author steve9000@users.sourceforge.net
It fixes the problem for me. :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-10-28 05:34:07 0000</bug_when>
            <thetext>steve9000 at users sourceforge net told me:

&gt; Hi Duncan, it seems the spelling changed fromboth_horiz to both-horiz.
&gt; You can manually change the line:
&gt;
&gt; -style = {&quot;both&quot;:gtk.TOOLBAR_BOTH, &quot;both_horiz&quot;:gtk.TOOLBAR_BOTH_HORIZ,
&gt; +style = {&quot;both&quot;:gtk.TOOLBAR_BOTH, &quot;both-horiz&quot;:gtk.TOOLBAR_BOTH_HORIZ,

Cheers Steve.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-10-28 06:22:47 0000</bug_when>
            <thetext>i thought it was ok to use both for now... weird that i have the same packages
and not this problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-10-30 01:22:28 0000</bug_when>
            <thetext>this happens only when you have the toolbar settings in gnome &quot;text beside
icons&quot;.

i&apos;ve committed the patch. thanks for your report and help.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcoutts@gentoo.org</who>
            <bug_when>2003-11-10 17:29:44 0000</bug_when>
            <thetext>meld-0.9.0-r1 builds and works fine now
thanks guys</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19888</attachid>
            <date>2003-10-28 05:27 0000</date>
            <desc>patch to meldapp.py, changing &quot;both_horiz&quot; to &quot;both-horiz&quot;</desc>
            <filename>meldapp.py.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1lbGRhcHAucHkub2xkCTIwMDMtMTAtMjggMTM6MjM6NDMuMDAwMDAwMDAwICswMDAwCisr
KyBtZWxkYXBwLnB5CTIwMDMtMTAtMjggMTM6MjM6NTAuMDAwMDAwMDAwICswMDAwCkBAIC00NjEs
NSArNDYxLDUgQEAKICAgICAgICAgaWYgc2VsZi50b29sYmFyX3N0eWxlID09IDA6CiAgICAgICAg
ICAgICBzdHlsZSA9IHNlbGYuX2djb25mLmdldF9zdHJpbmcoJy9kZXNrdG9wL2dub21lL2ludGVy
ZmFjZS90b29sYmFyX3N0eWxlJykKLSAgICAgICAgICAgIHN0eWxlID0geyJib3RoIjpndGsuVE9P
TEJBUl9CT1RILCAiYm90aF9ob3JpeiI6Z3RrLlRPT0xCQVJfQk9USF9IT1JJWiwKKyAgICAgICAg
ICAgIHN0eWxlID0geyJib3RoIjpndGsuVE9PTEJBUl9CT1RILCAiYm90aC1ob3JpeiI6Z3RrLlRP
T0xCQVJfQk9USF9IT1JJWiwKICAgICAgICAgICAgICAgICAgICAgICJpY29uIjpndGsuVE9PTEJB
Ul9JQ09OUywgImljb25zIjpndGsuVE9PTEJBUl9JQ09OUywKICAgICAgICAgICAgICAgICAgICAg
ICJ0ZXh0IjpndGsuVE9PTEJBUl9URVhUfVtzdHlsZV0K
</data>        

          </attachment>
    </bug>

</bugzilla>