{"action":"created","issue":{"url":"https://api.github.com/repos/hugoruscitti/pilas/issues/286","repository_url":"https://api.github.com/repos/hugoruscitti/pilas","labels_url":"https://api.github.com/repos/hugoruscitti/pilas/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/hugoruscitti/pilas/issues/286/comments","events_url":"https://api.github.com/repos/hugoruscitti/pilas/issues/286/events","html_url":"https://github.com/hugoruscitti/pilas/issues/286","id":143572552,"number":286,"title":"Error inicializando box2d -- 1.3.2 (rpm, fedora) y 1.4.3 (git)","user":{"login":"martin-langhoff","id":5116932,"avatar_url":"https://avatars.githubusercontent.com/u/5116932?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-langhoff","html_url":"https://github.com/martin-langhoff","followers_url":"https://api.github.com/users/martin-langhoff/followers","following_url":"https://api.github.com/users/martin-langhoff/following{/other_user}","gists_url":"https://api.github.com/users/martin-langhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-langhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-langhoff/subscriptions","organizations_url":"https://api.github.com/users/martin-langhoff/orgs","repos_url":"https://api.github.com/users/martin-langhoff/repos","events_url":"https://api.github.com/users/martin-langhoff/events{/privacy}","received_events_url":"https://api.github.com/users/martin-langhoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-25T19:10:33Z","updated_at":"2016-03-28T18:39:57Z","closed_at":null,"body":"Sobre Fedora 23 he instalado pilas 1.3.2 via rpm y via git (con las instrucciones de virtualenv). En ambos casos pilasengine arranca al menu de inicio, pero llamando al editor o los ejemplos falla en un loop; el error, repetido al infinito, es el de abajo:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 117, in timerEvent\r\n    self.procesar_error(e)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 101, in procesar_error\r\n    escena = self.pilas.escenas.Error(titulo, descripcion)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/__init__.py\", line 118, in metodo_crear_escena\r\n    raise TypeError(str(error) + mensaje_extendido)\r\nTypeError: __init__() takes exactly 4 arguments (3 given)\r\n\t(en la clase Error solo se deberia esperar el argumento pilas\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/__init__.py\", line 114, in metodo_crear_escena\r\n    nueva_escena = clase_de_la_escena(self.pilas)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/escena.py\", line 55, in __init__\r\n    self.fisica = Fisica(self, pilas)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/fisica/__init__.py\", line 42, in __init__\r\n    self.mundo = box2d.b2World(gravedad, True)\r\nTypeError: __init__() takes exactly 4 arguments (3 given)\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 117, in timerEvent\r\n    self.procesar_error(e)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 101, in procesar_error\r\n    escena = self.pilas.escenas.Error(titulo, descripcion)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/__init__.py\", line 118, in metodo_crear_escena\r\n    raise TypeError(str(error) + mensaje_extendido)\r\nTypeError: __init__() takes exactly 4 arguments (3 given)\r\n\t(en la clase Error solo se deberia esperar el argumento pilas\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/__init__.py\", line 114, in metodo_crear_escena\r\n    nueva_escena = clase_de_la_escena(self.pilas)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/escena.py\", line 55, in __init__\r\n    self.fisica = Fisica(self, pilas)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/fisica/__init__.py\", line 42, in __init__\r\n    self.mundo = box2d.b2World(gravedad, True)\r\nTypeError: __init__() takes exactly 4 arguments (3 given)\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 117, in timerEvent\r\n    self.procesar_error(e)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/widget.py\", line 101, in procesar_error\r\n    escena = self.pilas.escenas.Error(titulo, descripcion)\r\n  File \"/usr/lib/python2.7/site-packages/pilasengine/escenas/__init__.py\", line 118, in metodo_crear_escena\r\n    raise TypeError(str(error) + mensaje_extendido)\r\nTypeError: __init__() takes exactly 4 arguments (3 given)\r\n\t(en la clase Error solo se deberia esperar el argumento pilas\r\n\r\n```\r\n\r\nEn mi lectura inicial hay 2 problemas:\r\n\r\n * Algo en la inicializacion de box2d tiene el nro de parametros incorrecto, el paquete pybox2d en F23 es `2.0.2b2`. Que version necesita?\r\n* El manejo del error es... malo :-)"},"comment":{"url":"https://api.github.com/repos/hugoruscitti/pilas/issues/comments/202523682","html_url":"https://github.com/hugoruscitti/pilas/issues/286#issuecomment-202523682","issue_url":"https://api.github.com/repos/hugoruscitti/pilas/issues/286","id":202523682,"user":{"login":"hugoruscitti","id":99183,"avatar_url":"https://avatars.githubusercontent.com/u/99183?v=3","gravatar_id":"","url":"https://api.github.com/users/hugoruscitti","html_url":"https://github.com/hugoruscitti","followers_url":"https://api.github.com/users/hugoruscitti/followers","following_url":"https://api.github.com/users/hugoruscitti/following{/other_user}","gists_url":"https://api.github.com/users/hugoruscitti/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoruscitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoruscitti/subscriptions","organizations_url":"https://api.github.com/users/hugoruscitti/orgs","repos_url":"https://api.github.com/users/hugoruscitti/repos","events_url":"https://api.github.com/users/hugoruscitti/events{/privacy}","received_events_url":"https://api.github.com/users/hugoruscitti/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T18:39:57Z","updated_at":"2016-03-28T18:39:57Z","body":"https://github.com/hugoruscitti/pilas/commit/507b85d8cf03ddf30584b5c6198f65001a3b506f"}}