Bug 136760 - WebControl/XUL remote fail on german "Umlaute" in id3 tags
Summary: WebControl/XUL remote fail on german "Umlaute" in id3 tags
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Tools/Script Manager (show other bugs)
Version: 1.4.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-03 09:12 UTC by Johannes Stamminger
Modified: 2008-08-06 06:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Current playlist a moment after WebControl failed to update (14.22 KB, text/plain)
2006-11-03 09:13 UTC, Johannes Stamminger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Stamminger 2006-11-03 09:12:20 UTC
Version:           1.4.3 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

I play whole day long continuously by "Random Mix" from my collection. Each time a track is played containing a german "Umlaut", the browser displaying tracks by use of the WebControl script becomes empty. For testing I started the WebControl from console and got the following output:

/home/jstammi/.kde/share/apps/amarok/current.xml
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 59927)
Traceback (most recent call last):
  File "/usr/lib/python2.4/SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "/usr/lib/python2.4/SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
  File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/lib/python2.4/BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/usr/share/apps/amarok/scripts/webcontrol/RequestHandler.py", line 254, in do_GET
    self.wfile.write(PLIST.toHtml(status))
  File "/usr/share/apps/amarok/scripts/webcontrol/Playlist.py", line 110, in toHtml
    self._buildDoc()
  File "/usr/share/apps/amarok/scripts/webcontrol/Playlist.py", line 252, in _buildDoc
    self.doc = minidom.parse(PLAYLISTFILE)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 926, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
ExpatError: reference to invalid character number: line 388, column 13
----------------------------------------


I will attach the current.xml but it is a moment later, therefore the avobe mentioned line number is not currect but it is line 363. I proved it is the "Münchner Freiheit" track by removing it from the playlist - and the playlist appeared again in the browser.

The XUL remote script fails similar way:
 - when having initially some "Umlaut" containing track, it only shows the collection contents on the left side (interestingly there the "Münchner Freiheit" is listet correctly) but the playlist keeps empty. 
 - with having a playlist already displayed on entering a track with "Umlaut", the playlist stops working.
Comment 1 Johannes Stamminger 2006-11-03 09:13:54 UTC
Created attachment 18375 [details]
Current playlist a moment after WebControl failed to update

The track starting at line 363 causes failure
Comment 2 Myriam Schweingruber 2008-08-06 06:50:42 UTC
This problem has been fixed in later versions AFAIK.
Amarok 1.4.x is not actively maintained anymore, as the focus lies on Amarok 2.0. Have fun with your music.