doesn't update the database of game
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wiithon |
Fix Released
|
High
|
Ricardo Marmolejo García |
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 ActualizarWiiTD
self.poolTraba
self.poolTraba
file wiitdb_xml.py
from line 98 now we have...
if os.path.
xmldoc = libxml2.
ctxt = xmldoc.
nodo = ctxt.xpathEval(
if self.callback_
file util.py
line 454
zip.extract(
TO
zip.extract(
file trabajo.py
line 468
xmlWiiTDB = WiiTDBXML(
TO
xmlWiiTDB = WiiTDBXML(
I Know now i'm going to download all the database, but now it works....
waiting for news....bye bye
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Emanuele FANTON (emanuele-fanton) wrote : Re: [Bug 673258] Re: doesn't update the database of game | #2 |
Ciao, parli italiano?
presupponendo di si...ti dirò che secondo me ci sono problemi a livello di
wiitdb...
in effetti ho fatto un'altra modifica per usare wget al posto della libreria
python per scaricare i file...
ti interessa anche questa modifica..
2010/11/20 Gabriele Alessandrini <email address hidden>
> Dear Emanuele,
> I tried to apply the patches you posted,but I found that the size of the
> downloaded file was only 360 bytes and the zip file is instead a text file
> with the description error 403 "permission denied".
>
> I have often encountered this problem by automating procedures for
> downloading data so I decided to do a test by deriving the class
> "urllib" changing the useragent of the web request. That's the trick!
> Probably Wiitdb verifies whether the request is made by a person or a
> routine by checking the user-agent.
>
> Here's the code injected at the top of the file "util.py" (from line
> 28)
>
> class AppURLopener(
> version = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6;
> .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
> 3.5.30729)"
>
> urllib._urlopener = AppURLopener()
>
> ---
> This worked for me.
>
> Now I'm trying to see if it is possible to download the zip file
> filtered only for games in WBFS partition.
>
> --
> doesn't update the database of game
> https:/
> 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 ActualizarWiiTD
>
> self.poolTrabaj
> # + buffer
>
> self.poolTrabaj
> ) # + buffer
>
>
> file wiitdb_xml.py
> from line 98 now we have...
> newfichXML=
> if os.path.
> xmldoc = libxml2.
> ctxt = xmldoc.
> nodo = ctxt.xpathEval(
>
> if self.callback_
> self.callback_
>
> file util.py
> line 454
> zip.extract(
> TO
> zip.extract(
>
> file trabajo.py
> line 468
> xmlWiiTDB = WiiTDBXML(
> TO
> xmlWiiTDB = WiiTDBXML(
>
>
>
> 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:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Emanuele FANTON (emanuele-fanton) wrote : | #3 |
I'm trying your code too....
2010/11/20 Emanuele Fanton <email address hidden>
> Ciao, parli italiano?
> presupponendo di si...ti dirò che secondo me ci sono problemi a livello di
> wiitdb...
> in effetti ho fatto un'altra modifica per usare wget al posto della
> libreria python per scaricare i file...
> ti interessa anche questa modifica..
>
> 2010/11/20 Gabriele Alessandrini <email address hidden>
>
> Dear Emanuele,
>> I tried to apply the patches you posted,but I found that the size of the
>> downloaded file was only 360 bytes and the zip file is instead a text file
>> with the description error 403 "permission denied".
>>
>> I have often encountered this problem by automating procedures for
>> downloading data so I decided to do a test by deriving the class
>> "urllib" changing the useragent of the web request. That's the trick!
>> Probably Wiitdb verifies whether the request is made by a person or a
>> routine by checking the user-agent.
>>
>> Here's the code injected at the top of the file "util.py" (from line
>> 28)
>>
>> class AppURLopener(
>> version = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6;
>> .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
>> 3.5.30729)"
>>
>> urllib._urlopener = AppURLopener()
>>
>> ---
>> This worked for me.
>>
>> Now I'm trying to see if it is possible to download the zip file
>> filtered only for games in WBFS partition.
>>
>> --
>> doesn't update the database of game
>> https:/
>> 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 ActualizarWiiTD
>>
>> self.poolTrabaj
>> # + buffer
>>
>> self.poolTrabaj
>> ) # + buffer
>>
>>
>> file wiitdb_xml.py
>> from line 98 now we have...
>> newfichXML=
>> if os.path.
>> xmldoc = libxml2.
>> ctxt = xmldoc.
>> nodo = ctxt.xpathEval(
>>
>> if self.callback_
>> self.callback_
>>
>> file util.py
>> line 454
>> zip.extract(
>> TO
>> zip.extract(
>>
>> file trabajo.py
>> line 468
>> xmlWiiTDB = WiiTDBXML(
>> TO
>> xmlWiiTDB = WiiTDBXML(
>>
>>
>>
>> I Know...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #4 |
Ciao Emauele,
con wget hai avuto più fortuna?
Comunque se ti interessa ho corretto tutti i bug e ti confermo che si tratta di un problema di user-agent; ho fatto una routine in C# per aggiornare il DB sqlite che usa l'applicazione perché anche lì ho notato che non sempre aggiorna le descrizioni dei giochi e anche lì ho dovuto mascherare la chiamata fingendo di essere un browser.
----
For those interested, I fixed all the bugs reported and I can confirm that is a user-agent matter: I wrote a routine in C # to modify the DB used by the application to store games info. I noticed that sometimes descriptions are not updated even if they are in the wiitdb.xml.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Emanuele FANTON (emanuele-fanton) wrote : | #5 |
account skype?emanuele.
io con wget ho risolto...
però prendo tutto il database....
dovrei rimettere il codice per prenderne solo una parte ma non so se vale la
pena....che ne dici?
2010/11/20 Gabriele Alessandrini <email address hidden>
> Ciao Emauele,
> con wget hai avuto più fortuna?
> Comunque se ti interessa ho corretto tutti i bug e ti confermo che si
> tratta di un problema di user-agent; ho fatto una routine in C# per
> aggiornare il DB sqlite che usa l'applicazione perché anche lì ho notato che
> non sempre aggiorna le descrizioni dei giochi e anche lì ho dovuto
> mascherare la chiamata fingendo di essere un browser.
>
>
> ----
>
> For those interested, I fixed all the bugs reported and I can confirm
> that is a user-agent matter: I wrote a routine in C # to modify the DB
> used by the application to store games info. I noticed that sometimes
> descriptions are not updated even if they are in the wiitdb.xml.
>
> --
> doesn't update the database of game
> https:/
> 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 ActualizarWiiTD
>
> self.poolTrabaj
> # + buffer
>
> self.poolTrabaj
> ) # + buffer
>
>
> file wiitdb_xml.py
> from line 98 now we have...
> newfichXML=
> if os.path.
> xmldoc = libxml2.
> ctxt = xmldoc.
> nodo = ctxt.xpathEval(
>
> if self.callback_
> self.callback_
>
> file util.py
> line 454
> zip.extract(
> TO
> zip.extract(
>
> file trabajo.py
> line 468
> xmlWiiTDB = WiiTDBXML(
> TO
> xmlWiiTDB = WiiTDBXML(
>
>
>
> 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:/
>
--
Saluti da Emanuele
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #6 |
Sinceramente non c'è molta differenza fra lo zip intero e quello specifico per i giochi caricati su WBFS: guadagni qualche secondo durante il parsing dell'xml.
TI confesso che ho decisto di risolvere i bug sia per dare un contributo a questo applicativo (che ritengo molto valido rispetto alle controparti su windows) sia per curiosità: non ho mai lavorato in python e volevo vedere se vale la pena di studiare questo linguaggio, lo trovo molto intuitivo.
Pensa che fino alla settimana scorsa non avevo mai aperto un sorgente, poi quando si è presentato questo bug ho cercato qui la soluzione e, prendendo lo spunto da quello che hai scritto tu, ho fatto qualche prova...
Sto riscrivendo la routine che compone l'url per fare il download filtrato, la trovo un po' "disordinata"... ad ogni modo se hai risolto il problema con wget credo tu possa riattivarla tranquillamente.
ciao
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #7 |
ps. ho scritto una cosa non corretta: sto riscrivendo sia il parser dell'xml sia la funzione che costruisce l'url per il download filtrato.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Emanuele FANTON (emanuele-fanton) wrote : | #8 |
concordo...il python è molto intuitivo e divertente...ormai a parte le
manutenzioni di vecchio software sviluppo solo con quello i miei
gestionali...
i lo stò usando ormai da un pò,,,,sai se ci sono motivi ostativi all'uso di
wget?
vogliono usare per forza la libreria python?
2010/11/20 Gabriele Alessandrini <email address hidden>
> ps. ho scritto una cosa non corretta: sto riscrivendo sia il parser
> dell'xml sia la funzione che costruisce l'url per il download filtrato.
>
> --
> doesn't update the database of game
> https:/
> 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 ActualizarWiiTD
>
> self.poolTrabaj
> # + buffer
>
> self.poolTrabaj
> ) # + buffer
>
>
> file wiitdb_xml.py
> from line 98 now we have...
> newfichXML=
> if os.path.
> xmldoc = libxml2.
> ctxt = xmldoc.
> nodo = ctxt.xpathEval(
>
> if self.callback_
> self.callback_
>
> file util.py
> line 454
> zip.extract(
> TO
> zip.extract(
>
> file trabajo.py
> line 468
> xmlWiiTDB = WiiTDBXML(
> TO
> xmlWiiTDB = WiiTDBXML(
>
>
>
> 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:/
>
--
Saluti da Emanuele
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #9 |
no che mi risulti...
a proposito, per scaricare le solo informazioni dei giochi che hai su hdd bisogno la funzione modificata è questa:
def ActualizarWiiTD
buffer = ""
if (len(self.
for juego in self.lJuegos:
if (len(buffer)>0):
buffer = ""
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
ABNormal (abnormal1962) wrote : | #10 |
scusate ragazzi... ma non varrebbe la pena di aggiornare la versione, dal momento che con la modifica diutil.py (linea 28, i dati Mozilla) e la variante nella gui, il programma scarica i dati da wiitdb?
grazie mille dell'impegno, come sempre
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #11 |
Volentieri... devo postare qui la patch oppure devo contattare gli autori del progamma?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Emanuele FANTON (emanuele-fanton) wrote : | #12 |
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:/
> 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 ActualizarWiiTD
>
> self.poolTrabaj
> # + buffer
>
> self.poolTrabaj
> ) # + buffer
>
>
> file wiitdb_xml.py
> from line 98 now we have...
> newfichXML=
> if os.path.
> xmldoc = libxml2.
> ctxt = xmldoc.
> nodo = ctxt.xpathEval(
>
> if self.callback_
> self.callback_
>
> file util.py
> line 454
> zip.extract(
> TO
> zip.extract(
>
> file trabajo.py
> line 468
> xmlWiiTDB = WiiTDBXML(
> TO
> xmlWiiTDB = WiiTDBXML(
>
>
>
> 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:/
>
--
Saluti da Emanuele
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #13 |
AUGUUUUUUUURI!!!!!
COmplimentoni!
Ho contattato Ricardo per dirgli degli avanzamenti...
Ora corri a goderti il pargolo/a
Appena mi risponde vi faccio sapere
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #14 |
Hi all,
I hope you don't think I'm a rude boy, but please, can someone join a diff file of the changes ?
The proposed fix is hard to understand like that ...
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #15 |
- Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML Edit (2.6 KiB, text/plain)
Ok, forget my previous message and here is the patch against the trunk code revision 493.
By the way, applying this patch remove the error message, but wiithon seem to hang (not responding) ...
Hope it help ...
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #16 |
- Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML- WORKING with trunk revision 493 Edit (3.4 KiB, text/plain)
Ok, since I'm very lame at python, I have finally asked help in #python irc channel, where a guy named 'sirpengi' explain me the importance of indentation with python language ...
So, finally here the patch working fine right now ...
Hope it help ...
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gabriele Alessandrini (alessandrinig) wrote : | #17 |
HI,
'm glad to know that the patches work.
I contacted Ricardo but did not give me no answer yet.
t 'nice to know the help given was used to solve some issues, The next time I fix any bugs I will send also the DIFF to make it easier to understand what I changed
Anyway it was fun working with you all.
See you soon
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #18 |
Vi ringrazio per le dritte e l'impegno che ci state mettendo...
Concordo che Wiithon è davvero un ottimo programma per la gestione delle periferiche per la Wii, migliore di molti di quelli che girano sotto winzozz...
Uso la v1.21beta e da qualche giorno mi sta dando questo bug...
Ma purtroppo non capendo nulla di programmazione, non ho idea di come applicare la patch che proponete...
Non mi resta aspettare e sperare che Ricardo non ci abbia dimenticato...
O.T.: vista la vostra abilità nella compilazione di sorgenti, non c'è la possibilità di aggiungere la funzione, nella prossima release del programma, di poter passare diversi giochi per volta da una periferica wbfs ad un altra, dato che al momente si può copiare un solo gioco per volta, o clonare un intero HD...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #19 |
Hi Vincenzo,
Using google translate, I understand you don't know how to apply patch.
Well, here is a solution :
Open a terminal, then type :
mkdir wiithon-compilation && cd wiithon-compilation && wget https:/
Hope it help
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #20 |
For all participants :
Can you please speak in English at least, I'm a French guy, and I don't understand Italian ;-)
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #21 |
You are on true, but my english is not very well, so I see there are other italians, and I speak it...
Yes my problem is to apply the patch, because I'm an Ubuntu newbie....
So thx for the command line....!
But after I've launch your command line, it says me:
*******
xino@xino-laptop:~$ mkdir wiithon-compilation && cd wiithon-compilation && wget https:/
--2010-12-03 10:48:16-- https:/
Risoluzione di bugs.launchpad.
Connessione a bugs.launchpad.
HTTP richiesta inviata, in attesa di risposta... 302 Moved Temporarily
Posizione: http://
--2010-12-03 10:48:19-- http://
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 3521 (3,4K) [text/plain]
Salvataggio in: "Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML- WORKING with trunk revision 493.diff"
100%[==
2010-12-03 10:48:19 (31,0 KB/s) - "Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML- WORKING with trunk revision 493.diff" salvato [3521/3521]
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 493 revision(s).
patching file wiitdb_xml.py
patching file trabajo.py
patching file util.py
patching file gui.py
Il programma "dch" non è attualmente installato. È possibile installarlo digitando:
sudo apt-get install devscripts
*******
...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #22 |
Vincenzo,
Ok, so we gona try to fix step by step ...
open terminal and copy / paste :
rm -rf ~/wiithon-
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #23 |
ok, I've paste into terminal, but always the same bug....
xino@xino-laptop:~$ rm -rf ~/wiithon-
--2010-12-03 23:20:42-- https:/
Risoluzione di bugs.launchpad.
Connessione a bugs.launchpad.
HTTP richiesta inviata, in attesa di risposta... 302 Moved Temporarily
Posizione: http://
--2010-12-03 23:20:43-- http://
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 3521 (3,4K) [text/plain]
Salvataggio in: "Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML- WORKING with trunk revision 493.diff"
100%[==
2010-12-03 23:20:44 (163 KB/s) - "Wiithon trunk - Fix Error importando wiitdb.xml: No existe el XML- WORKING with trunk revision 493.diff" salvato [3521/3521]
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 493 revision(s).
patching file wiitdb_xml.py
patching file trabajo.py
patching file util.py
patching file gui.py
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package wiithon
dpkg-buildpackage: source version 1.21-trunk-
dpkg-buildpackage: source changed by COLIN Stephane <email address hidden>
dpkg-buildpackage: host architecture i386
dpkg-checkbuild
dpkg-buildpackage: warning: Build ...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #24 |
Vincenzo,
Ok, I propose you to reach me in IRC Chat session on irc://freenode channel #vincenzo-help
This is not the place to debug step by step dependencies troubles ;-)
When you reached the channel, type anything I have put bell alert on messages (but anyway, if I'm not on my computer you have to wait for I come back).
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
_tus_ (guillaume-artus) wrote : | #25 |
Quick comment to confirm that the patch allowed me also to update the wiidb.zip db
Thanks a lot
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #26 |
Hi Stephane, thx for your interesting, you are an angel! :)
I'm just return back from work, I try to open the irc channel, but my XChat can't open it...
as you can see:
*******
Perl interface loaded
Python interface loaded
Tcl plugin for XChat - Version 1.63
Copyright 2002-2005 Daniel P. Stasinski
http://
Tcl interface loaded
* Ricerca di irc.freenode.net
* Connessione a irc.freenode.net (32.1.6.176) porta 8001...
* Connessione fallita. Errore: Connessione scaduta
Nuovo tentativo con il server successivo di FreeNode in corso...
* Disconnesso ()
*******
maybe is too late...
however, tomorrow I've to work again, so, if you would/can, we can try to join the chat from monday, in every time you want....
I hope you understand my english :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #27 |
Vincenzo,
I'm currently up and waiting for you on IRC.
Have a look to this extension :
https:/
Install it and then you can reach me on IRC (Freenode, channel #vincenzo-help)
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
COLIN Stéphane (bigbob-fun) wrote : | #28 |
Vincenzo,
Better, don't install anything to connect on IRC, just use that :
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #29 |
I've just joined #vincenzo-help into http://
I was eating, now i'm ready :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincenzo Carlucci (vincenzocarlucci) wrote : | #30 |
Last comment to confirm that the patch it's ok....!
Thanks for the patch, and a special thank for the COLIN Stéphane's patience....! :)
A++
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
JimBo (barreda-jm) wrote : | #31 |
Colin's patch worked for me (Ubuntu 10.04 32bits).
Needed to install before compiling : bzr g++ devscripts debhelper
Modified command for compiling (just added "sudo" in the last dpkg -i command :
rm -rf ~/wiithon-
Tada !
For people who doesn't want to compile, my i386 (32bits) deb package is here :
http://
And the 64bits version by Hizoka in forum.ubuntu-fr.org :
http://
(See our posts in French forum : http://
Thanks all guys for the patch !!!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ricardo Marmolejo García (makiolo) wrote : | #32 |
upload fix. Sorry for late guys.
I am very busy with university. (last year ...)
About the path, i don't use hack from emanuele. (thx for report) but it has been useful for debug.
Changed in wiithon: | |
assignee: | nobody → Ricardo Marmolejo García (makiolo) |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in wiithon: | |
status: | Fix Committed → Fix Released |
Dear Emanuele,
I tried to apply the patches you posted,but I found that the size of the downloaded file was only 360 bytes and the zip file is instead a text file with the description error 403 "permission denied".
I have often encountered this problem by automating procedures for downloading data so I decided to do a test by deriving the class "urllib" changing the useragent of the web request. That's the trick! Probably Wiitdb verifies whether the request is made by a person or a routine by checking the user-agent.
Here's the code injected at the top of the file "util.py" (from line 28)
class AppURLopener( urllib. FancyURLopener) :
version = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
urllib._urlopener = AppURLopener()
---
This worked for me.
Now I'm trying to see if it is possible to download the zip file filtered only for games in WBFS partition.