ImportError: cannot import name BoolConfigOption

Bug #789940 reported by Facundo Batista on 2011-05-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I made "sudo apt-get install python-pyglet libavbin0" and then "python" (I use python 2.7.1). I got

Traceback (most recent call last):
  File "", line 30, in <module>
    import games
  File "/home/.../enjuewemela-0.3/enjuewemela/", line 20, in <module>
    from config_schema import ConfigSchema
  File "/home/.../enjuewemela-0.3/enjuewemela/", line 1, in <module>
    from configglue.pyschema.schema import (
ImportError: cannot import name BoolConfigOption

What am I doing wrong?

Facundo Batista (facundo) wrote :

Fixed, all I needed to do is to replace (in 'enjuewemela/') how the import is done from configglue, see:

--- enjuewemela/ 2011-05-14 17:54:27 +0000
+++ enjuewemela/ 2011-05-27 14:56:50 +0000
@@ -1,8 +1,5 @@
-from configglue.pyschema.schema import (
- BoolConfigOption,
- Schema,
- StringConfigOption,
+from configglue.pyschema.options import BoolConfigOption, StringConfigOption
+from configglue.pyschema.schema import Schema

Changed in enjuewemela:
status: New → Fix Committed
milestone: none → alpha
importance: Undecided → High
Tavo De Chivix (javier-tell) wrote :

Violación de segmento

Facundo Batista (facundo) wrote :

Hola Tavo, seguramente tu problema es el descripto en el bug #790256 , allí hay instrucciones de lo que debes hacer para que tu sistema funcione correctamente.


Changed in enjuewemela:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions