Comment 12 for bug 673258

Revision history for this message
Emanuele FANTON (emanuele-fanton) wrote : Re: [Bug 673258] Re: doesn't update the database of game

devi contattare gli amministratori....

P.S.
stanotte sono ridiventato papà....

:)

2010/11/21 Gabriele Alessandrini <email address hidden>

> Volentieri... devo postare qui la patch oppure devo contattare gli
> autori del progamma?
>
> --
> doesn't update the database of game
> https://bugs.launchpad.net/bugs/673258
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Wiithon - WBFS Partition Manager: New
>
> Bug description:
> ubuntu 10.10
>
> Alredy contacted you for problem on lucid with sqlalchemy.. remember me?
> Now i'm on 10.10 and i had some problem updating the internal database from
> wiitdb...
> There are several problem...
> I solved them all, I hope...
> First, I'have not write permission on /usr/share/wiithon and the
> wiittdb.zip file can't be written...
> Fixed this the file dowloaded from internet have only one entry...
> I fixed the problems changing this rows on your program..
>
> file gui.py
> changed
> def ActualizarWiiTDB(self):
>
> self.poolTrabajo.nuevoTrabajoActualizarWiiTDB(self.core.prefs.URL_ZIP_WIITDB)
> # + buffer
>
> self.poolTrabajo.nuevoTrabajoActualizarWiiTDB(self.core.prefs.URL_SECOND_ZIP_WIITDB
> ) # + buffer
>
>
> file wiitdb_xml.py
> from line 98 now we have...
> newfichXML=os.path.join("/tmp",self.fichXML)
> if os.path.exists(newfichXML) and descargado_y_ok:
> xmldoc = libxml2.parseFile(newfichXML)
> ctxt = xmldoc.xpathNewContext()
> nodo = ctxt.xpathEval("//*[name() = 'datafile']")[0]
>
> if self.callback_empieza_importar:
> self.callback_empieza_importar(newfichXML)
>
> file util.py
> line 454
> zip.extract(file_out)
> TO
> zip.extract(file_out,"/tmp")
>
> file trabajo.py
> line 468
> xmlWiiTDB = WiiTDBXML(url,'wiitdb.zip','wiitdb.xml',
> TO
> xmlWiiTDB = WiiTDBXML(url,'/tmp/wiitdb.zip','wiitdb.xml',
>
>
>
> I Know now i'm going to download all the database, but now it works....
> waiting for news....bye bye
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/wiithon/+bug/673258/+subscribe
>

--
Saluti da Emanuele