*2011.01.25 15:26:36 python pyglet complete

requested [2011.01.18 11:43:13] look into status of Pyglet and Cocoa / Objective C also [2011.01.24 14:55:14] recent thread (today) on pyglet-users on updating... sounds like there are some issues with PyObjC bridge itself... not able to go full screen(!)

 

*2011.01.25 15:23:43 instances pyglet

/c/technical/instances.txt /c/technical/python/pyglet-general.txt /c/technical/python/pyglet.txt

 

*2011.01.25 11:49:55 python pyglet

download the cocoa-port branch for pyglet investigate differences view approaches for opening a window context there.

also [2011.01.25 14:47:53] hg clone https://pyglet.googlecode.com/hg/ pyglet-cocoa cd pyglet-cocoa #to switch to cocoa-port: hg update cocoa-port

python /c/moments/moments/scripts/diff_directories.py /c/downloads/python-testing/pyglet-cocoa/ /c/downloads/python-testing/pyglet-hg/

 

*2010.09.20 19:53:28 python svg pyglet
*2010.04.19 14:31:29 system python install pyglet

cd /c/downloads/python/ hg clone https://pyglet.googlecode.com/hg/ pyglet cd pyglet hg update cocoa-port sudo python setup.py develop (or install)

 

*2009.12.04 17:29:51 python pyglet general

Pyglet is available at: pyglet.org

I download the latest distribution and put it: /c/downloads/python/pyglet-1.1.3/

the documentation included with pyglet is fantastic

the html docs start at: file:///c/downloads/python/pyglet-1.1.3/doc/html/index.html

System Message: ERROR/3 (<string>, line 14)

Unexpected indentation.
( CopyAllUrls will not load local (file:///) links )

Docs are also available online: | http://www.pyglet.org/doc/ | pyglet Documentation Index | http://www.pyglet.org/doc/programming_guide/index.html | Programming Guide | http://www.pyglet.org/doc/api/index.html | pyglet API reference

also [2009.12.04 17:31:26] other related files for notes: /c/technical/python/pyglet.txt /c/technical/python/gui.txt

examples are a great place to start. they are located at: cd /c/downloads/python/pyglet-1.1.3/examples

#other sample files:

#this is a good file for getting a window to show up using only pyglet: /c/charles/code/python/pyglet/sample.py #try running it via command line! should see a white window

#this demo is based off of simplui: /c/charles/code/python/pyglet/browser/demo.py

 

*2009.12.04 16:57:04 python pyglet simplui
*2009.10.08 08:57:43 python pyglet

no generalized notes for using pyglet granted the documentation included with pyglet is fantastic should still be some reference to where to look first which parts are best and where those docs live if downloaded locally.

notes are also scattered about in various scripts and libraries. need to distill lessons learned

also [2011.01.25 15:23:09] #this has general introduction, instructions, etc /c/technical/python/pyglet-general.txt originally: [2009.12.04 17:33:08]

 

*2009.08.18 10:01:11 python pyglet collision detection pymunk
*2009.08.10 11:00:13 python pyglet misc links
*2009.07.08 11:16:11 python pyglet colors

remember that colors are (usually) specified as floating point numbers with values between 0 and 1.0

 

*2009.06.26 13:51:36 python pyglet
*2009.06.26 13:02:56 python pyglet reference
*2009.06.16 22:06:51 python graphs_trees_hierarchy graphing graphviz gvgen svg pyglet
*2009.06.16 11:42:56 python pyglet reference
*2009.06.11 13:09:59 python pyglet delete resource release memory
*2009.06.11 11:09:16 python pyglet avbin ffmpeg links
*2009.06.09 13:42:50 python pyglet audio playback macosx mac avbin player

when playing back media on mac, make sure you are using a terminal associated with the currently logged in user!! using a different user will allow the video to show up

 

*2009.06.03 11:23:34 python pyglet gui research links
*2009.06.01 17:47:39 python pyglet gui pygame

pygame developers strongly discourage using QT, wxWindows mixed with pygame... might be able to get away with it in pyglet, but still have the two event loop issues.

 

*2009.06.01 17:13:40 python pyglet multitouch

seems like multitouch may need it's own category... not sure where it should live yet.

 

*2009.06.01 17:13:17 python pyglet multitouch andriod
*2009.06.01 16:57:26 python pyglet ui gui library
*2009.05.29 16:34:44 python pyglet reboot fullscreen

be sure to add in a way to exit the program if you enable fullscreen mode! will lock out everything else if you don't!! hehe... oops reboot

 

*2009.05.19 10:58:26 python pyglet links cocos2d
*2009.05.05 11:05:20 python pyglet observer_pattern

investigating the "Observer Pattern" used in the event framework for pyglet very similar to asynchronous

 

*2009.05.04 11:53:49 python pyglet local references minimal
*2009.04.28 18:05:57 python pyglet gui
*2009.04.28 18:05:30 python pyglet gui
pyglet gui - Google Search
irskep's pyflipcard at master - GitHub
Entity Crisis: The Embedded GUI, continued...
Richard Jones' Log
pyglet - Google Code
pyglet-users | Google Groups
GUI - pyglet-users | Google Groups
pyglet experimental gui - pyglet-users | Google Groups
My simple GUI library for Pyglet - pyglet-users | Google Groups
Using Pyglet in a rich GUI - pyglet-users | Google Groups
controling a pyglet window from a gui program - pyglet-users | Google Groups
pyglet ui toolkit (maybe a mini-sprint here at pycon?) - pyglet-users | Google Groups
normal python widgets and pyglet - pyglet-users | Google Groups
DESIGN - pyglet - Google Code
Deviceconf
pyglet.text.layout.IncrementalTextLayout
Simple Menu Class - pyglet-users | Google Groups
Pages - pyglet-users | Google Groups

 

*2009.04.23 15:52:28 python pyglet images buffers large_images

some issues with images in pyglet if they are too big, they seem to cause problems... maybe bigger than display?

theory supported by: | http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=pyglet+images+bigger+than+window&btnG=Google+Search | pyglet images bigger than window - Google Search | http://groups.google.com/group/pyglet-users/browse_thread/thread/fca05d1f8feed7a1 | direct drawing into a texture - pyglet-users | Google Groups

 

*2009.04.22 16:30:16 python pyglet vsync

files for pyglet that handle vsync:

/c/virtuals/pyglet/pyglet-1.1.3/pyglet/window/carbon/__init__.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/gl/agl.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/window/__init__.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/app/carbon.py

 

*2009.04.22 16:20:30 python pyglet tearing sync vsync retrace refresh display screen buffers swap flip
opengl vertical retrace - Google Search
Synchronizing Xvideo to the vertical retrace
opengl vertical refresh - Google Search
Technical Q&A QA1521: Synchronizing OpenGL rendering updates to the vertical refresh of the display
OpenGL @ Lighthouse 3D - GLUT Tutorial
opengl vblank - Google Search
OpenGL sync to vblank and interlaced fields - nV News Forums
Temporal Rate Conversion by Dave Marsh - Google Search
Temporal Rate Conversion: Dave Marsh. Microsoft Technical Evangelist, TV and Video
pyglet swap interval - Google Search
pyglet set_vsync - Google Search
opengl agl - Google Search
AGL Reference
AGL Reference

 

*2009.04.22 11:44:21 python pyglet vsync

By default pyglet window buffer swaps are synchronised to the display refresh rate, so you may also want to disable set_vsync.

 

*2009.04.21 16:35:29 python pyglet
*2009.04.14 16:53:13 python pyglet
: topics
: pyglet.txt
pyglet Documentation Index
Programming Guide
pyglet API reference
Writing a pyglet application
Hello, World
Calling functions periodically
User-editable text
Controlling playback
Playing sounds and music
pyglet.media.Source
pyglet.media.Player
pyglet.media.ManagedSoundPlayer
Image viewer
Animations
pyglet.sprite.Sprite
Loading resources
Graphics

 

*2009.04.14 16:52:38 python pyglet cocos2d resources
: pyglet.txt
cocos2d
cocos2d-iphone - Google Code
cocos2d
cocos2d FAQ
los-cocos - Revision 853: /branches/pycon-lighting-talk
cocos2d
cocos2d
GamesUsingCocos2d - cocos2d-iphone - Games using cocos2d for iPhone ordered chronologically (newer games first) - Google Code

 

*2009.04.14 14:42:01 python pyglet cocos2d
*2009.04.14 14:39:34 python pyglet bruce presentation download
*2009.04.10 09:37:59 python pyglet references
*2009.04.09 12:00:54 python pyglet

spent a few hours last night running through the examples included with pyglet. very cool stuff!

 

*2009.04.08 21:00:15 python pyglet local reference
*2009.04.08 20:58:07 python pyglet reference local
*2009.04.08 20:01:55 python pyglet

/c/downloads/python/pyglet-1.1.3/examples python media_player.py /media/CHARLES/outgoing/MVI_8486.AVI

that is a good first test to make sure AVBin is installed locally (have added to media/system/startup-live.sh)

 

*2009.04.06 17:37:16 python pyglet opengl
*2009.04.06 11:55:30 python pyglet

pyglet.media.riff.RIFFFormatException: Unsupported RIFF form "AVI "

make sure avbin has been installed on the system

 

*2009.04.06 11:46:49 python pyglet

#2009.04.06 11:45:36 work@140-182-132-176:/c/virtuals/pyglet/pyglet-1.1.3/examples pythonw image_display.py /c/media/projects/IMG_8116_l.JPG

 

*2009.04.06 11:38:06 python pyglet virtualenv pythonw bug
pyglet virtualenv - Google Search
pyglet and virtualenv
Re: broken egg for pyglet
Bruce the Presentation Tool 2.0 (beta)
Window manager is not available. Ensure you run "pythonw", not "python" - Google Search
Python for Astrostatistics - Mac OS X Installation
virtualenv pythonw - Google Search
gldnspud's virtualenv-pythonw-osx at master - GitHub
virtualenv on OS X with pythonw - virtualenv | Google Groups
No pythonw on OSX? - virtualenv | Google Groups
Search results for virtualenv pythonw - MarkMail

 

*2009.04.06 11:35:46 python pyglet general reference
*2009.04.06 10:58:19 python pyglet

to:ianb@colorstudy.org? I just ran across this issue when trying to use pyglet in a virtual environment on Mac OS X. The message from pyglet was: pyglet.window.carbon.CarbonException: Window manager is not available. Ensure you run "pythonw", not "python"

which lead me to a more recent thread: | http://groups.google.com/group/python-virtualenv/browse_thread/thread/83fa4a12d22a30c8/744e19c194f1618a

which has a fix at: | http://github.com/gldnspud/virtualenv-pythonw-osx/tree/master

I haven't tried the fix yet, but I thought I might send it on to see if it is something that should be included with virtualenv. It's not so much about supporting older versions of python, just being able to use pythonw from a virtualenv.

-Charles

On May 16 2008, 3:12 pm, Ian Bicking <i...@colorstudy.com> wrote: > dmp wrote: > > > On Wed, Apr 16, 2008 at 2:27 PM, Ian Bicking <i...@colorstudy.com > > <mailto:i...@colorstudy.com>> wrote: > > > dmp wrote: > > > Using virtualenv 1.0 I created a virtual environment, installed > > an app > > > that tries to open a GUI dialog, and keep getting the following > > message: > > > > This program needs access to the screen. Please run with 'pythonw', > > > not 'python', and only when you are logged in on the main display of > > > your Mac. > > > > Is there a fix for this yet? I (naively) tried copying the pythonw > > > executable to the virtualenv bin directory but that didn't work. A > > > google search turned up only one useful hit -- from a couple > > months ago > > > where Robert Kern indicated he had a patch that would fix this. Is > > > there a plan to get that into virtualenv at all? > > > I don't see that patch, do you know where it is? > > > I can't believe I didn't at least provide the link to the archived > > message from Robert. Here it is: > > http://www.mail-archive.com/distutils-...@python.org/msg04223.html > > > I'm not sure he ever finished / submitted it. I can ask him tomorrow > > about it though. > > Was there a followup for this? The email describes a fairly complicated > solution, so I'm not sure what to do about it. Supporting older > versions of Python isn't a huge concern in every situation, I think, > because the idea of virtualenv is isolation so that everything doesn't > have to be run on the same set of libraries or Python version. So if > things work okay on Python 2.4 that would be good enough for me. A > warning for users would be nice, but I'm not really sure what's going on > here. > > -- > Ian Bicking : i...@colorstudy.com :http://blog.ianbicking.org

 

*2009.04.06 10:03:57 python pyglet avbin gstreamer

avbin is used by default in pyglet some discussion about the use of gstreamer in pyglet | http://code.google.com/p/pyglet/wiki/MediaOnLinux | http://www.mechanicalcat.net/richard/log/Python/Say_hello_to_pyglet

gstreamer interface reported to be complex.

 

*2009.04.05 15:15:35 python pyglet

downloaded source, docs and avbin to USB attempting install for linux

/media/CHARLES/downloads/python/avbin-linux-x86-32-7 sudo bash install.sh

/media/CHARLES/downloads/python/pyglet-1.1.3 sudo python setup.py install

 

*2009.04.03 14:36:09 python presentations bruce pyglet

bruce uses pyglet to display slides via open gl... this works full screen