<?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>166050</bug_id>
          
          <creation_ts>2007-02-09 10:48 0000</creation_ts>
          <short_desc>Fix for amarok&apos;s lyrc script brokeness (stray &quot;)</short_desc>
          <delta_ts>2007-06-08 19:52:58 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>KDE</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jan@spitalnik.net</reporter>
          <assigned_to>flameeyes@gentoo.org</assigned_to>
          <cc>kde@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jan@spitalnik.net</who>
            <bug_when>2007-02-09 10:48:48 0000</bug_when>
            <thetext>Hi,

In latest amarok-1.4.5, lyrc.rb is broken as it fails to fetchs over proxy due to a stray double-quote in the script on line 115. Fix attached.

Cheers,
        spity

Reproducible: Always

Steps to Reproduce:
1.Run amarok behind proxy
2.Select Lyrics tab
3.Boom :-)

Actual Results:  
sh: -c: line 0: unexpected EOF while looking for matching `&quot;&apos;
sh: -c: line 1: syntax error: unexpected end of file
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize&apos;: No route to host - connect(2) (Errno::EHOSTUNREACH)
	from /usr/lib/ruby/1.8/net/http.rb:560:in `open&apos;
	from /usr/lib/ruby/1.8/net/http.rb:560:in `connect&apos;
	from /usr/lib/ruby/1.8/timeout.rb:48:in `timeout&apos;
	from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout&apos;
	from /usr/lib/ruby/1.8/net/http.rb:560:in `connect&apos;
	from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start&apos;
	from /usr/lib/ruby/1.8/net/http.rb:542:in `start&apos;
	from /usr/lib/ruby/1.8/net/http.rb:1032:in `request&apos;
	from /usr/lib/ruby/1.8/net/http.rb:769:in `get&apos;
	from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:124:in `fetchLyrics&apos;
	from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:190
	from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:176:in `loop&apos;
	from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:176


Expected Results:  
Lyrics? :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jan@spitalnik.net</who>
            <bug_when>2007-02-09 10:49:25 0000</bug_when>
            <thetext>Created an attachment (id=109611)
Lyrc script patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hydrogen@notyetimplemented.com</who>
            <bug_when>2007-03-16 23:16:57 0000</bug_when>
            <thetext>Thank you. 

I just committed your fix upstream and it will be in amarok-1.4.6.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-03-18 22:18:51 0000</bug_when>
            <thetext>close as this is fixed in UPSTREAM. thanks jmbsvicetto</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hydrogen@notyetimplemented.com</who>
            <bug_when>2007-03-19 04:33:42 0000</bug_when>
            <thetext>It probably should still be applied to the amarok ebuild--1.4.6 is most likely a ways off (if it gets released at all) as all attention is currently on 2.0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-06-07 18:31:53 0000</bug_when>
            <thetext>Will be in 1.4.5-r2.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-06-08 19:52:58 0000</bug_when>
            <thetext>This is in both 1.4.5-r2 and 1.4.6_pre.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109611</attachid>
            <date>2007-02-09 10:49 0000</date>
            <desc>Lyrc script patch</desc>
            <filename>lyrics_lyrc.rb.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGx5cmljc19seXJjLnJiLm9yaWcJMjAwNy0wMi0wNyAxNDoxOTo0My4wMDAwMDAwMDAgKzAx
MDAKKysrIGx5cmljc19seXJjLnJiCTIwMDctMDItMDkgMTE6NDM6MTIuMDAwMDAwMDAwICswMTAw
CkBAIC0xMTIsNyArMTEyLDcgQEAgZGVmIGZldGNoTHlyaWNzKCBhcnRpc3QsIHRpdGxlLCB1cmwg
KQogICAgIHByb3h5X2hvc3QgPSBuaWwKICAgICBwcm94eV9wb3J0ID0gbmlsCiAgICAgaWYgKCBA
cHJveHkgPT0gbmlsICkKLSAgICAgICAgQHByb3h5ID0gYGRjb3AgYW1hcm9rIHNjcmlwdCBwcm94
eUZvclVybCAje0BwYWdlX3VybC5zaGVsbHF1b3RlfSJgCisgICAgICAgIEBwcm94eSA9IGBkY29w
IGFtYXJvayBzY3JpcHQgcHJveHlGb3JVcmwgI3tAcGFnZV91cmwuc2hlbGxxdW90ZX1gCiAgICAg
ZW5kCiAgICAgcHJveHlfdXJpID0gVVJJLnBhcnNlKCBAcHJveHkgKQogICAgIGlmICggcHJveHlf
dXJpLmNsYXNzICE9IFVSSTo6R2VuZXJpYyApCg==
</data>        

          </attachment>
    </bug>

</bugzilla>