Skip to content

Instantly share code, notes, and snippets.

@skyl
Created May 1, 2011 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skyl/950290 to your computer and use it in GitHub Desktop.
Save skyl/950290 to your computer and use it in GitHub Desktop.
slut tcp_client.py
(tut)skyl@skylarwerk:~/Code/gui/slut$ python tcp_client.py
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5
You are running [slut v0.9.0] happy hacking!
2011-05-01 01:57:45.984 python[79813:903] *** __NSAutoreleaseNoPool(): Object 0x1014e3d50 of class NSCFData autoreleased with no pool in place - just leaking
fCoreAudioDriverUID AppleHDAEngineInput:1B,0,1,0:1
Enabled joystick: OSCulator HID 1
Enabled joystick: OSCulator HID 2
-> Default interaction model loaded.
[F11] -> toggle fullscreen
[CTRL]+[LMB]+[MOUSE MOVEMENT] -> orbit camera
[SHIFT]+[LMB]+[MOUSE MOVEMENT] -> translate camera
[CTRL]+[SHIFT]+[LMB]+[MOUSE MOVEMENT] -> dolly in/out camera
Traceback (most recent call last):
File "tcp_client.py", line 54, in <module>
atlantis.run()
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/world.py", line 213, in run
self._onSetup()
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/world.py", line 443, in _onSetup
self.onSetup()
File "tcp_client.py", line 17, in onSetup
self.font = font(12, 'oblivious')
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/primitives.py", line 211, in font
return PassiveText(glo.world, 'ptext_' + str(glo.getNextId()), size, face)
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/tag.py", line 160, in __init__
self._font = self.createFont(self._size, face)
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/tag.py", line 175, in createFont
return glo.renderer.createFont(face, size, 0)
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/sugar/renderers/openglPygame.py", line 230, in createFont
newFont = GLFont(face, size, flags)
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/sugar/renderers/openglPygame.py", line 289, in __init__
self.createGlyphs()
File "/Users/skyl/Envs/tut/lib/python2.6/site-packages/slut/sugar/renderers/openglPygame.py", line 322, in createGlyphs
masks=(0,0,0,0))
ValueError: Invalid mask values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment