| Issue 358: | First Demo running and Crash | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I am quite new of PyMT. Tonight, I decide to give a try of PyMT. Then I install PyMT on my Ubuntu 10.10 by following steps:
1. sudo apt-get install python-pymt
2. python -m pymt.tools.demo
Then I got the following errors:
hfu@hfu-HP:~$ python -m pymt.tools.demo
[INFO ] PyMT v0.5.1
[WARNING] [Config ] Older configuration version detected(0 instead of 12)
[WARNING] [Config ] Upgrading configuration in progress.
[DEBUG ] [Config ] Upgrading from 0
[DEBUG ] [Config ] Upgrading from 1
[DEBUG ] [Config ] Upgrading from 2
[DEBUG ] [Config ] Upgrading from 3
[DEBUG ] [Config ] Upgrading from 4
[DEBUG ] [Config ] Upgrading from 5
[DEBUG ] [Config ] Upgrading from 6
[DEBUG ] [Config ] Upgrading from 7
[DEBUG ] [Config ] Upgrading from 8
[DEBUG ] [Config ] Upgrading from 9
[DEBUG ] [Config ] Upgrading from 10
[DEBUG ] [Config ] Upgrading from 11
[INFO ] [Core ] Using accelerate module
[INFO ] [Logger ] Record log in /home/hfu/.pymt/logs/pymt_11-03-09_0.txt
[INFO ] [No OpenGL_accelerate module loaded] No module named OpenGL_accelerate
[INFO ] [Unable to load registered array format handler numeric]
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/OpenGL/arrays/formathandler.py", line 44, in loadPlugin
plugin_class = entrypoint.load()
File "/usr/lib/pymodules/python2.6/OpenGL/plugins.py", line 14, in load
return importByName( self.import_path )
File "/usr/lib/pymodules/python2.6/OpenGL/plugins.py", line 28, in importByName
module = __import__( ".".join(moduleName), {}, {}, moduleName)
File "/usr/lib/pymodules/python2.6/OpenGL/arrays/numeric.py", line 15, in <module>
raise ImportError( """No Numeric module present: %s"""%(err))
ImportError: No Numeric module present: No module named Numeric
[INFO ] [Graphx ] Using accelerate graphx module
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
[INFO ] [Camera ] using <gstreamer> as camera provider
[INFO ] [Text ] using <pygame> as text provider
[INFO ] [Video ] using <gstreamer> as video provider
[WARNING] [Spelling] Unable to use <enchant> as spellingprovider
[CRITICAL] [Spelling] Unable to find any valuable Spelling providerat all!
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Loader ] using <pygame> as thread loader
[INFO ] [Window ] use Pygame as window provider.
[WARNING] [WinPygame] Video: failed (multisamples=2)
[WARNING] [Video ] trying without antialiasing
[INFO ] [Window ] OpenGL version <1.5 Mesa 7.9-devel>
[INFO ] GL Extension GL_EXT_framebuffer_object available
[INFO ] [Base ] Start application main loop
[INFO ] [OSC ] listening for Tuio on 0.0.0.0:3333
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/lib/pymodules/python2.6/pymt/tools/demo.py", line 45, in <module>
runTouchApp(TouchTracer())
File "/usr/lib/pymodules/python2.6/pymt/base.py", line 361, in runTouchApp
pymt_window.mainloop()
File "/usr/lib/pymodules/python2.6/pymt/ui/window/win_pygame.py", line 195, in mainloop
self._mainloop()
File "/usr/lib/pymodules/python2.6/pymt/ui/window/win_pygame.py", line 127, in _mainloop
evloop.idle()
File "/usr/lib/pymodules/python2.6/pymt/base.py", line 214, in idle
pymt_window.dispatch_event('on_draw')
File "c_accelerate.pyx", line 36, in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
File "/usr/lib/pymodules/python2.6/pymt/ui/window/__init__.py", line 357, in on_draw
w.dispatch_event('on_draw')
File "c_accelerate.pyx", line 36, in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
File "c_accelerate.pyx", line 54, in pymt.c_ext.c_accelerate.widget_on_draw (pymt/c_ext/c_accelerate.c:1137)
File "/usr/lib/pymodules/python2.6/pymt/tools/demo.py", line 25, in draw
paintLine(touch.userdata['touchtracer.pos'], width=5)
File "/usr/lib/pymodules/python2.6/pymt/graphx/paint.py", line 99, in paintLine
gx_enable(__brush_texture.target)):
File "/usr/lib/pymodules/python2.6/pymt/graphx/statement.py", line 133, in __enter__
item.__enter__()
File "/usr/lib/pymodules/python2.6/pymt/graphx/statement.py", line 193, in __enter__
glEnable(self.flag)
File "/usr/lib/pymodules/python2.6/OpenGL/error.py", line 208, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1280,
description = 'invalid enumerant',
baseOperation = glEnable,
cArguments = (GL_POINT_SPRITE_ARB,)
)
Mar 10, 2011
Project Member
#1
txprog
Status:
WontFix
|