An interesting thing to note: On another prototype I have that
manually pumps the event loop, a window will show up...
The fact that our Cocoa event loop ever worked at all strikes me as a bit of a miracle. It was always a mashup of invisible/private APIs.
The fact that our Cocoa event loop ever worked at all strikes me as a bit of a miracle. It was always a mashup of invisible/private APIs.I'm playing with the idea of making a simple (free) game with pyglet, and trying to put it on the Mac App Store. Is something like these "invisible/private APIs" going to be a problem? I guess, since 1.2 is in beta, that no one has a pyglet app on the Mac App Store yet?
On Mon, Jul 30, 2012 at 10:57 AM, Tristam MacDonald
> The fact that our Cocoa event loop ever worked at all strikes me as a bit of
> a miracle. It was always a mashup of invisible/private APIs.
>
> I'll see if I can do some triage on it this week.
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/qGl1lOxmZ0gJ.
To post to this group, send email to pyglet...@googlegroups.com.
To unsubscribe from this group, send email to pyglet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
I've committed some code changes to make pyglet's cocoa backend compatible with Python 3.2. Mostly a lot of unicode vs bytes issues that needed to be fixed when interfacing the objc runtime via ctypes. Pyglet still needs to be converted with 2to3 before use. I've tested it on Mac OS 10.6 with Python 3.2.3 and it seems to work.
If you're running on Mac OS 10.8, well … now you can experience the same non-existent window bugs in both Python 2.7 and Python 3.
Hi! I have just started with python and I wanted to do some stuff with Cocos2D, which runs under pyglet, so first I wanted to check out this library.
I installed it version 1.1.4 using python 2.7.2, and could run a simple "Hello World" on OSX Mountain Lion, but JUST FOR ONCE! When I tried to run it again, it didn't crash but the window didn't appear and now it always fails... So after googling it a lot, this is the most similar post I have found, but I can't see (or understand?) any solution here... So please, how did you solve it?
Thanks you.
El domingo, 16 de septiembre de 2012 01:41:13 UTC+2, Nathan escribió:...and the pythonbrew version of python 2.7 runs pyglet fine with the patches you made.~ Nathan
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/YnekUsjT7pQJ.
There's a lot to be said for ignoring the OS X system Python and using
brew python in general on Mountain Lion (and Lion for that matter.)
Richard
hg clone https://code.google.com/p/pyglet/
This does not seem to be working for me on system python under Mountain Lion, though this is my first attempt at using pyglet and I might be overlooking something. When I try to run the "Hello, World" example (http://www.pyglet.org/doc/programming_guide/hello_world.html), it fails with the following error:OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find:
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architectureAny advice would be appreciated.Steve
hg clone: invalid arguments
hg clone [OPTION]... SOURCE [DEST]
make a copy of an existing repository
options:
-U --noupdate the clone will include an empty working copy (only a
repository)
-u --updaterev REV revision, tag or branch to check out
-r --rev REV [+] include the specified changeset
-b --branch BRANCH [+] clone only the specified branch
--pull use pull protocol to copy metadata
--uncompressed use uncompressed transfer (fast over LAN)
-e --ssh CMD specify ssh command to use
--remotecmd CMD specify hg command to run on the remote side
--insecure do not verify server certificate (ignoring web.cacerts
config)
[+] marked option can be specified multiple times
use "hg help clone" to show the full help text
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
I have a brand new MacBook Pro with 10.8.2 System python as it cones from the shop - off the shelf.I've been waiting for an announcement like this from Nathan before installing pyglet. On my older 10.6 machine pyglet stopped working after years of being fine and I couldn't get it going again.Can I be confident if I install from the pyglet.org site the pyglet-1.1.4.dmg off the shelf - then it will work without problems?
I would suggest downloading and trying it. That said, as I posted before, it does not seem to be working for me. There was mention of committing a fix for OSX Mountain Lion in earlier discussions. I have not been able to determine if that fix made it to the Mercurial repository. If it did, either I am not savvy enough to clone the correct revision (completely plausible), or the committed fix doesn't work on my system. I feel somewhat confident in conveying the current (as of last week)
[snip]
Steve
http://bugs.python.org/issue13370as i told richard on twitter, this is most likely due to a difference between the gcc and clang calling conventionunfortunately, the default osx python interpreter does not yet contain this patch afaik
On Saturday, July 28, 2012 10:30:10 AM UTC-7, Adam Kidder wrote:I've been using pyglet on Mac OS 10.7 successfully for a while by installing from hg. Recently, I installed Mountain Lion, and pyglet is completely broken. Creating a window results in absolutely nothing showing up on the screen. There is the familiar python rocket ship in the dock, but no windows actually appear.Are there any known bugs with pyglet in 10.8? Or any workarounds/debugging I could try to diagnose this?
Hey Nathan/all,Thanks for outlining these steps. Unfortunately i'm still getting the same quick time errors as Steve Willis above. I had previously installed Pyglet 1.1.4 through pyglet.org... Maybe i should've uninstalled that one before i followed your steps. Not sure how to uninstall though. I looked through their documentation but they only tell you how to install. Anyone any ideas?Also, can i use the stock python that comes with os x 10.8?Thanks for all the help here in any case!Pepijn
Hey Nathan/all,Thanks for outlining these steps. Unfortunately i'm still getting the same quick time errors as Steve Willis above. I had previously installed Pyglet 1.1.4 through pyglet.org... Maybe i should've uninstalled that one before i followed your steps. Not sure how to uninstall though. I looked through their documentation but they only tell you how to install. Anyone any ideas?
Also, can i use the stock python that comes with os x 10.8?
Thanks for all the help here in any case!
I am using the latest development Pyglet from the mercurial repository on OSX 10.8 without issue, aside from the need to suppress the Application State file as described previously. I haven't run any tests outside of my own project, but it seems to be very stable thus far.Steve
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/2jopLtpcMh0J.
Did we get an actual solution to this? I have this exact problem, running the 1.2alpha1 version.Everything else about pyglet looks lovely, and I'm eager to get started :D
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users...@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users?hl=en.For more options, visit https://groups.google.com/groups/opt_out.