Issue 358 in pymt: First Demo running and Crash

3 views
Skip to first unread message

py...@googlecode.com

unread,
Mar 9, 2011, 5:24:25 PM3/9/11
to pymt-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 358 by hfuhu...@gmail.com: First Demo running and Crash
http://code.google.com/p/pymt/issues/detail?id=358

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,)
)

py...@googlecode.com

unread,
Mar 10, 2011, 3:36:18 AM3/10/11
to pymt-...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 358 by txprog: First Demo running and Crash
http://code.google.com/p/pymt/issues/detail?id=358

[INFO ] [Window ] OpenGL version <1.5 Mesa 7.9-devel>

You need 2.0 OpenGL minimum. Ensure that you've correctly installed your
graphics drivers :)

Reply all
Reply to author
Forward
0 new messages