My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 107: 3DDrawing crashes since 0.3final
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Oct 2009


 
Reported by Knoch...@gmail.com, Sep 16, 2009
3DDrawing Example crashes since 0.3 final. in RC3 it works.


What version of the product are you using? On what operating system?
pymt0.3 on python2.6. WinXP SP3, ATi Gfx

Traceback:
[DEBUG             ] Fbo will use hardware Framebuffer
[DEBUG             ] Multisampling is available (4)
C:\Python26\lib\site-packages\pymt\obj.py:63: UserWarning: Unknown
material: (nu
ll)
  warnings.warn('Unknown material: %s' % values[1])
[DEBUG             ] Create provider from tuio,0.0.0.0:3333
[INFO              ] Leaving application in progress...
Traceback (most recent call last):
  File "3ddrawing.py", line 238, in <module>
    runTouchApp()
  File "C:\Python26\Lib\site-packages\pymt\mtpyglet.py", line 254, in
runTouchAp
p
    pymt_evloop.run()
  File "C:\Python26\Lib\site-packages\pyglet\app\win32.py", line 47, in run
    self._setup()
  File "C:\Python26\Lib\site-packages\pyglet\app\__init__.py", line 153, in
_set
up
    [ERROR             ] [Errno 9] Bad file descriptor
Traceback (most recent call last):
  File "C:\Python26\Lib\site-packages\pymt\lib\osc\oscAPI.py", line 137, in run
    self.socket.settimeout(0.5)
  File "<string>", line 1, in settimeout
  File "C:\Python26\lib\socket.py", line 165, in _dummy
    raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
window.dispatch_pending_events()
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 842
, in dispatch_pending_events
    event[0](*event[1:])
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 112
0, in _event_size
    self._immediate_redraw()
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 107
3, in _immediate_redraw
    self.dispatch_event('on_draw')
  File "C:\Python26\lib\site-packages\pyglet\window\__init__.py", line 1217, in
dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "C:\Python26\Lib\site-packages\pyglet\event.py", line 349, in
dispatch_ev
ent
    getattr(self, event_type)(*args)
  File "C:\Python26\Lib\site-packages\pymt\ui\window.py", line 292, in on_draw
    w.dispatch_event('on_draw')
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\widget.py", line 315,
in d
ispatch_event
    if func(*args):
  File "3ddrawing.py", line 123, in on_draw
    with DO(self.perspective, gx_texture(self.painting_fbo.texture)):
NameError: global name 'gx_texture' is not defined
[INFO              ] listening for Tuio on 0.0.0.0:3333

Thx

Sep 17, 2009
Project Member #1 txprog
Are your sure that you've execute the setup.py after installing 0.3 final ?
The gx_texture is new in final, and exported like other statement.
If the DO exist, gx_texture exist as well.

So, it might be more an problem with your installation :)

Try to rerun "python setup.py install", and if it don't work, remove the build
directory, and the previous installation, and rerun setup.
Labels: Milestone-0.3
Oct 29, 2009
Project Member #2 txprog
Bug was already fixed with 0.3.
Status: WontFix

Powered by Google Project Hosting