[PIPython] Problema di string ed encoding

Mariano Di Felice mardif
Ven 19 Nov 2004 15:16:46 CET


Qualcuno ha la vaga idea del perchè di questo errore?
/
Traceback (most recent call last):
  File "carrello.py", line 131, in DownloadFormats
    self.LoadComboFormats()
  File "carrello.py", line 145, in LoadComboFormats
    self.downloadArticoli.download()
  File "/home/mardif/projects/pytaxi1/download_articoli.py", line 50, in 
download
    xml.writeXML(filePath, _articoli)
  File "/home/mardif/projects/pytaxi1/XMLTest.py", line 26, in writeXML
    file = open("prova.xml","wr")
TypeError: coercing to Unicode: need string or buffer, NoneType found
/

-- 
//\/\ariano Di Felice
Java PHP programmer
with MySQL, PostgreSql and Oracle support
Linux Platform Developer
www.eprometeus.com <http://www.eprometeus.com>
Tel. 0735 656881
Fax. 0735 656307
mariano.difelice a eprometeus.com <mailto:mariano.difelice a eprometeus.com>
/




More information about the Python mailing list