At Thursday 11/1/2007 20:42, [EMAIL PROTECTED] wrote:

  Progress! You managed to change the error message.

  File "./acc_test_script_generator.py", line 106, in loadData
    print u.encode('utf-8')
AttributeError: Utterance instance has no attribute 'encode'

I'm missing somethign really obvious here, but I don't know what it
is...

Then you're not "printing a line from a file we are parsing", which should be a string or unicode object. You're printing some "Utterance" instance; probably it has a __str__ method, and there, you're mixing unicode+strings.


--
Gabriel Genellina
Softlab SRL

        

        
                
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to