tito/kivy — Issue #290: setup.py build_factory fails on Debian 6
Author: bionoid
Created: 2011-10-25 15:43:55+00:00
State: open

Did not research this issue at all, as I didn't really need the factory yet, but it fails on my Linux debian 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux, Python 2.6.6. Kivy itself runs just fine (afaik). Here is the log:

[INFO ] Kivy v1.0.9-dev
Found GLES 2.0 headers at /usr/include/GLES2/gl2.h
running build_factory
[INFO ] Kivy v1.0.9-dev
[DEBUG ] [Cache ] register with limit=None, timeout=60s
[DEBUG ] [Cache ] register with limit=1000, timeout=60s
[DEBUG ] [Cache ] register with limit=1000, timeout=60s
[DEBUG ] [Cache ] register with limit=500, timeout=60s
[INFO ] [Factory ] 0 symbols loaded
[DEBUG ] [Cache ] register with limit=None, timeout=Nones
[INFO ] [Text ] using as text provider
[DEBUG ] [Cache ] register with limit=None, timeout=60.0s
[DEBUG ] [Cache ] register with limit=500, timeout=60s
[DEBUG ] [Cache ] register with limit=500, timeout=60s
[DEBUG ] [Cache ] register with limit=500, timeout=60s
--------------------------------------------
Building factory relation file
--------------------------------------------
>>> kivy.gesture :: Gesture GestureDatabase GesturePoint GestureStroke
>>> kivy.clock :: ClockBase ClockEvent
>>> kivy.logger :: LoggerHistory
>>> kivy.vector :: Vector
>>> kivy.geometry ::
>>> kivy.weakmethod ::
>>> kivy.config :: ConfigParser
>>> kivy.support ::
>>> kivy.__init__ ::
>>> kivy.resources ::
>>> kivy.loader ::
ERROR: 'NoneType' object has no attribute 'create_trigger'
>>> kivy.cache :: Cache
>>> kivy.app ::
>>> kivy.factory_registers ::
>>> kivy.utils :: SafeList OrderedDict QueryDict
>>> kivy.base :: EventLoopBase ExceptionHandler
>>> kivy.event :: EventDispatcher
>>> kivy.lang :: BuilderBase Parser
>>> kivy.svg ::
>>> kivy.animation :: Animation AnimationTransition
>>> kivy.factory :: FactoryException
>>> kivy.properties :: Property NumericProperty StringProperty ListProperty ObjectProperty BooleanProperty BoundedNumericProperty OptionProperty ReferenceListProperty AliasProperty DictProperty
>>> kivy.core.__init__ ::
>>> kivy.input.__init__ ::
ERROR: 'NoneType' object has no attribute 'getint'
>>> kivy.input.provider ::
ERROR: 'NoneType' object has no attribute 'getint'
>>> kivy.input.shape ::
ERROR: 'NoneType' object has no attribute 'getint'
>>> kivy.input.motionevent ::
ERROR: 'NoneType' object has no attribute 'getint'
>>> kivy.input.factory ::
ERROR: 'NoneType' object has no attribute 'getint'
>>> kivy.network.urlrequest ::
>>> kivy.network.__init__ ::
>>> kivy.uix.settings :: Settings SettingsPanel SettingItem SettingBoolean SettingNumeric SettingOptions
>>> kivy.uix.video ::
ERROR: 'NoneType' object has no attribute 'create_trigger'
>>> kivy.uix.label :: Label
>>> kivy.uix.accordion :: Accordion AccordionItem AccordionException
>>> kivy.uix.filechooser ::
>>> kivy.uix.floatlayout :: FloatLayout
>>> kivy.uix.treeview ::
>>> kivy.uix.togglebutton :: ToggleButton
>>> kivy.uix.slider :: Slider
>>> kivy.uix.progressbar :: ProgressBar
>>> kivy.uix.popup ::
>>> kivy.uix.textinput :: TextInput
>>> kivy.uix.__init__ ::
>>> kivy.uix.button :: Button
>>> kivy.uix.anchorlayout :: AnchorLayout
>>> kivy.uix.scatter :: Scatter ScatterPlane
>>> kivy.uix.image ::
ERROR: 'NoneType' object has no attribute 'create_trigger'
>>> kivy.uix.stencilview :: StencilView
>>> kivy.uix.scrollview :: ScrollView
>>> kivy.uix.switch ::
>>> kivy.uix.camera ::
ERROR: 'NoneType' object has no attribute 'create_trigger'
>>> kivy.uix.vkeyboard :: VKeyboard
>>> kivy.uix.widget :: Widget WidgetException
>>> kivy.uix.layout :: Layout
>>> kivy.uix.stacklayout :: StackLayout
>>> kivy.uix.gridlayout :: GridLayout GridLayoutException
>>> kivy.uix.svg ::
ERROR: cannot import name SVGData
>>> kivy.uix.boxlayout :: BoxLayout
>>> kivy.ext.__init__ ::
ERROR: cannot import name kivy_userexts_dir
>>> kivy.graphics.c_opengl_debug ::
>>> kivy.graphics.shader :: Shader
>>> kivy.graphics.fbo :: Fbo
>>> kivy.graphics.compiler ::
>>> kivy.graphics.vbo :: VBO VertexBatch
>>> kivy.graphics.__init__ ::
>>> kivy.graphics.stencil_instructions :: StencilPush StencilPop StencilUse
>>> kivy.graphics.vertex ::
>>> kivy.graphics.opengl_utils ::
Traceback (most recent call last):
File "setup.py", line 276, in
'Topic :: Software Development :: User Interfaces'])
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/terje/test-factory/kivy/kivy/tools/packaging/factory.py", line 81, in run
attr = getattr(m, symbol)
AttributeError: 'module' object has no attribute 'GLCAP_BGRA'