error while updating wiitdb

Bug #619524 reported by Carlos Bastos
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wiithon
Fix Released
Undecided
Carlo Mandelli

Bug Description

Traceback (most recent call last):
  File "/usr/share/wiithon/gui.py", line 1785, in on_tb_toolbar_clicked
    self.ocultar_preferencias()
  File "/usr/share/wiithon/gui.py", line 1791, in ocultar_preferencias
    self.poolTrabajo.actualizarPreferencias()
  File "/usr/share/wiithon/trabajo.py", line 91, in actualizarPreferencias
    self.PROVIDER_COVERS = self.core.prefs.PROVIDER_COVERS
KeyboardInterrupt

also in my shell:

Start Update WiiTDB from http://wiitdb.com/wiitdb.zip
wiitdb.xml:159943: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE3 0xA9 0x67 0x69
  <genre>simulation, aventure, strat��gie</genre>
                                    ^
Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/share/wiithon/wiitdb_xml.py", line 100, in run
    xmldoc = libxml2.parseFile(self.fichXML)
  File "/usr/lib/pymodules/python2.6/libxml2.py", line 1279, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
parserError: xmlParseFile() failed

Finish: Update WiiTDB from http://wiitdb.com/wiitdb.zip

I believe the french part of the XML DB file is kinda causing this.

Revision history for this message
ginalfa (ginalfa) wrote :

Same error on ubuntu Lucid fresh install.

Report executing in shell:
Inizio: Aggiornamento WiiTDB da http://wiitdb.com/wiitdb.zip
wiitdb.xml:161152: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE3 0xA9 0x67 0x69
  <genre>simulation, aventure, strat��gie</genre>
                                    ^
Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/share/wiithon/wiitdb_xml.py", line 100, in run
    xmldoc = libxml2.parseFile(self.fichXML)
  File "/usr/lib/pymodules/python2.6/libxml2.py", line 1279, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
parserError: xmlParseFile() failed

Finito: Aggiornamento WiiTDB da http://wiitdb.com/wiitdb.zip

Revision history for this message
ginalfa (ginalfa) wrote :

Update:
I tried to update wiitdb with another working install (other PC) and get the same error.
So, I think it's a a wiitdb database problem in xml file.

Changed in wiithon:
status: New → Confirmed
Revision history for this message
Carlo Mandelli (camandel) wrote :

Genre description contains an invalid char (not UTF-8): http://wiitdb.com/Game/WMKP (Lead the Meerkats)

Changed in wiithon:
status: Confirmed → In Progress
Changed in wiithon:
assignee: nobody → Carlo Mandelli (camandel)
status: In Progress → Fix Released
Revision history for this message
Carlo Mandelli (camandel) wrote :

wiitdb updated.

Revision history for this message
namzat (namzat) wrote :

Hi, I still have the same problem and I'm french to.
Is there another error in wiitb xml ?

Thanks.

Revision history for this message
dRewsus (drewsus) wrote :

Still getting this error.

Revision history for this message
dRewsus (drewsus) wrote :

Im running Wiithon version 1.21 (rev 493) in Maverick, but have also tested 1.1* (current stable) in Lucid and Maverick and still get this error. Apparently it is because of an incorrect character in the wiitdb.xml file. I don't know what character or how to go about getting it fixed. I did however email the creator of wiithon.
Furthermore, there is not much of anything outputted when I run wiithon from shell. Is there a verbose/debugging option? It is not listed in its man pages, but neither is "-v" and that prints out the version you are using so it is possible there are other options.

Revision history for this message
ginalfa (ginalfa) wrote :

The bug affects me too.
V. 1.21-493 on maverick.
So wiithon is unable to retrieve games info.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.