[pyar] Pilas Engine no arranca

Manuel Cañizares snakabum en gmail.com
Jue Ago 1 14:42:44 ART 2013


ese problema se resuelve
agregando la linea:

# -*- encoding: utf-8 -*-

al principio del
archivo  /usr/local/lib/python2.7/dist-packages/Box2D/__init__.py


On 1 August 2013 14:40, Emiliano Dalla Verde Marcozzi <
edvm en fedoraproject.org> wrote:

>
>
>
> 2013/8/1 Milton Labanda <1000ton.lab en gmail.com>
>
>> He instalado la ultima version de Pilas en Linux Mint 15 y no puedo
>> arrancar, tengo este problema:
>> Traceback (most recent call last):
>>   File "/usr/local/bin/pilas", line 6, in <module>
>>     import pilas
>>   File "/usr/local/lib/python2.7/dist-packages/pilas/__init__.py", line
>> 14, in <module>
>>     from mundo import Mundo
>>   File "/usr/local/lib/python2.7/dist-packages/pilas/mundo.py", line 11,
>> in <module>
>>     from pilas import fisica
>>   File "/usr/local/lib/python2.7/dist-packages/pilas/fisica.py", line 15,
>> in <module>
>>     import Box2D as box2d
>>   File "/usr/local/lib/python2.7/dist-packages/Box2D/__init__.py", line
>> 20, in <module>
>>     from .Box2D import *
>>   File "/usr/local/lib/python2.7/dist-packages/Box2D/Box2D.py", line
>> 7326, in <module>
>>     from . import b2
>>   File "/usr/local/lib/python2.7/dist-packages/Box2D/b2/__init__.py",
>> line 21
>> SyntaxError: Non-ASCII character '\xc3' in file
>> /usr/local/lib/python2.7/dist-packages/Box2D/b2/__init__.py on line 21, but
>> no encoding declared; see http://www.python.org/peps/pep-0263.html for
>> details
>>
>>
>>
> El error no es de pilas, sino de Box2D.
>  /usr/local/lib/python2.7/dist-packages/Box2D/b2/__init__.py
> Edita el archivo y al principio ponele
> # -*- coding: utf-8 -*-
> Creo con eso debería andar,
> Saludos! :)
>
>
> --
> "Code without tests is broken by design." - Jacob Kaplan-Moss
> Show me the mone ... code!: https://bitbucket.org/edvm
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20130801/4da7a7a8/attachment.html>


More information about the pyar mailing list