Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
pyglet on Mac OS Mountain Lion?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 48 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Kidder  
View profile  
 More options Jul 28 2012, 1:30 pm
From: Adam Kidder <thekid...@gmail.com>
Date: Sat, 28 Jul 2012 10:30:10 -0700 (PDT)
Local: Sat, Jul 28 2012 1:30 pm
Subject: pyglet on Mac OS Mountain Lion?

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Jul 30 2012, 12:20 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Mon, 30 Jul 2012 10:20:22 -0600
Local: Mon, Jul 30 2012 12:20 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

On Sat, Jul 28, 2012 at 11:30 AM, Adam Kidder <thekid...@gmail.com> 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?

There's definitely Mountain Lion issues that need to be addressed.  I
updated one of my systems and tried out my bubbles sample program (see
https://github.com/peaceful/bubbles ) and immediately hit two
problems:

1) A sound _plays_ and the audio libraries fail to load and everything
seems to hang (I never see a window, but I do hear the startup "puff"
sound).

2012-07-30 10:12:18.177 Python[1265:1307] Error loading
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAud io:
 dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCP ROHDAudio,
262): no suitable image found.  Did find:
        /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAud io:
no matching architecture in universal wrapper
2012-07-30 10:12:18.178 Python[1265:1307] Cannot find function pointer
NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in
CFBundle/CFPlugIn 0x7fab0a541600
</Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not
loaded)

^CTraceback (most recent call last):
  File "./bubbles.py", line 159, in <module>
    pyglet.app.run()
  File "/Library/Python/2.7/site-packages/pyglet/app/__init__.py",
line 123, in run
    event_loop.run()
  File "/Library/Python/2.7/site-packages/pyglet/app/base.py", line 135, in run
    self._run_estimated()
  File "/Library/Python/2.7/site-packages/pyglet/app/base.py", line
174, in _run_estimated
    if not platform_event_loop.step(estimate) and estimate != 0.0 and \
  File "/Library/Python/2.7/site-packages/pyglet/app/cocoa.py", line
118, in step
    NSAnyEventMask, timeout_date, NSDefaultRunLoopMode, True)
  File "/Library/Python/2.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py",
line 770, in __call__
    return self.method(self.objc_id, *args)
  File "/Library/Python/2.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py",
line 740, in __call__
    result = f(objc_id, self.selector, *args)
KeyboardInterrupt

2) If I comment out the audio calls from bubbles.py, things just seem
to hang without a window ever showing up.

An interesting thing to note:  On another prototype I have that
manually pumps the event loop, a window will show up...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tristam MacDonald  
View profile  
 More options Jul 30 2012, 12:57 pm
From: Tristam MacDonald <swiftco...@gmail.com>
Date: Mon, 30 Jul 2012 12:57:15 -0400
Local: Mon, Jul 30 2012 12:57 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

On Mon, Jul 30, 2012 at 12:20 PM, Nathan <nathan.sto...@gmail.com> wrote:

> 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.

I'll see if I can do some triage on it this week.

--
Tristam MacDonald
http://swiftcoder.wordpress.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Jul 30 2012, 2:47 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Mon, 30 Jul 2012 12:47:20 -0600
Local: Mon, Jul 30 2012 2:47 pm
Subject: Re: pyglet on Mac OS Mountain Lion?
On Mon, Jul 30, 2012 at 10:57 AM, Tristam MacDonald

<swiftco...@gmail.com> wrote:
> On Mon, Jul 30, 2012 at 12:20 PM, Nathan <nathan.sto...@gmail.com> wrote:

>> 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.

> I'll see if I can do some triage on it this week.

Thanks, Tristam.  :-)

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oscar  
View profile  
 More options Aug 4 2012, 3:30 pm
From: oscar <oscar.lindb...@gmail.com>
Date: Sat, 4 Aug 2012 12:30:46 -0700 (PDT)
Local: Sat, Aug 4 2012 3:30 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

> 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?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Sep 5 2012, 12:09 am
From: Nathan <nathan.sto...@gmail.com>
Date: Tue, 4 Sep 2012 21:09:17 -0700 (PDT)
Local: Wed, Sep 5 2012 12:09 am
Subject: Re: pyglet on Mac OS Mountain Lion?

On Saturday, August 4, 2012 1:30:46 PM UTC-6, oscar wrote:

> 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?

I've never heard of anyone getting a pyglet app in the App Store yet --
doesn't mean it hasn't happened.

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Sep 5 2012, 12:13 am
From: Nathan <nathan.sto...@gmail.com>
Date: Tue, 4 Sep 2012 21:13:03 -0700 (PDT)
Local: Wed, Sep 5 2012 12:13 am
Subject: Re: pyglet on Mac OS Mountain Lion?

> 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.

Okay, I just upgraded to Mountain Lion on my main machine today and
discovered that this still apparently hasn't been addressed.  :-(

How can I help?  I know next to nothing about Cocoa, other than basic
syntax and having run through a couple tutorials, but if there's anything I
can do to help get pyglet working on Mountain Lion sooner rather than
later, please let me know.

I would be happy to help debug or test or research or whatever.

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noyan Tokgozoglu  
View profile  
 More options Sep 14 2012, 1:55 pm
From: Noyan Tokgozoglu <cladinapa...@gmail.com>
Date: Fri, 14 Sep 2012 10:55:42 -0700 (PDT)
Local: Fri, Sep 14 2012 1:55 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

I would also like to contribute. Using Python 3.2.3 on Mountain Lion with
pyglet 1.2alpha1, I get the following error when I try to import gl from
pyglet.gl:

Traceback (most recent call last):
  File "main.py", line 3, in <module>
    from pyglet.gl import gl
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/gl/__init__.py",
line 220, in <module>
    from .cocoa import CocoaConfig as Config
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/gl/cocoa.py",
line 15, in <module>
    from pyglet.canvas.cocoa import CocoaCanvas
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/canvas/__init__.py",
line 90, in <module>
    from pyglet.canvas.cocoa import CocoaDisplay as Display
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/canvas/cocoa.py",
line 15, in <module>
    from pyglet.libs.darwin.cocoapy import *
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/__init__.py",
line 6, in <module>
    from .cocoapy import *
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/__init__.py",
line 32, in <module>
    from .runtime import objc, send_message, send_super
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/runtime.py",
line 1149, in <module>
    class DeallocationObserver_Implementation(object):
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/runtime.py",
line 1150, in DeallocationObserver_Implementation
    DeallocationObserver = ObjCSubclass('NSObject', 'DeallocationObserver',
register=False)
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/runtime.py",
line 1050, in __init__
    self.objc_cls = create_subclass(superclass, name)
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/runtime.py",
line 603, in create_subclass
    superclass = get_class(superclass)
  File
"/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packa ges/pyglet/libs/darwin/cocoapy/runtime.py",
line 402, in get_class
    return c_void_p(objc.objc_getClass(name))
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phillip Nguyen  
View profile  
 More options Sep 14 2012, 2:28 pm
From: Phillip Nguyen <evil.phil...@gmail.com>
Date: Fri, 14 Sep 2012 13:28:49 -0500
Local: Fri, Sep 14 2012 2:28 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

In the line

return c_void_p(objc.objc_getClass(name))

objc_getClass is expecting that name is a string that ctypes can convert to a char *.  However in Python 3, all strings are unicode so name needs to be converted to a different format before ctypes can use it.  Something like name.encode('ascii') would work.

I've not done any testing with Python 3 so I imagine that the cocoa backend has other issues with Python 3 besides just this.

--phillip

On Sep 14, 2012, at 12:55 PM, Noyan Tokgozoglu <cladinapa...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Haluk Noyan Tokgozoglu  
View profile  
 More options Sep 14 2012, 2:31 pm
From: Haluk Noyan Tokgozoglu <htokg...@jhu.edu>
Date: Fri, 14 Sep 2012 14:31:22 -0400
Local: Fri, Sep 14 2012 2:31 pm
Subject: Re: pyglet on Mac OS Mountain Lion?
But the same code works on Windows, so I assume this is a Mac issue
and not a Py3k issue.

Haluk Noyan Tokgozoglu

Johns Hopkins University
Computer Science PhD Candidate
Computational Interaction and Robotics Laboratory
Secretary of the GRO
Treasurer of UPE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phillip Nguyen  
View profile  
 More options Sep 14 2012, 2:35 pm
From: Phillip Nguyen <evil.phil...@gmail.com>
Date: Fri, 14 Sep 2012 13:35:08 -0500
Local: Fri, Sep 14 2012 2:35 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

It is a Mac issue in that the cocoa backend for pyglet is not currently Python 3 compatible.  The code we're talking about isn't run on Windows.

--phillip

On Sep 14, 2012, at 1:31 PM, Haluk Noyan Tokgozoglu <htokg...@jhu.edu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phillip Nguyen  
View profile  
 More options Sep 15 2012, 6:09 pm
From: Phillip Nguyen <evil.phil...@gmail.com>
Date: Sat, 15 Sep 2012 17:09:44 -0500
Local: Sat, Sep 15 2012 6:09 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

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.

--phillip


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Sep 15 2012, 7:13 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Sat, 15 Sep 2012 17:13:29 -0600
Local: Sat, Sep 15 2012 7:13 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

On Sat, Sep 15, 2012 at 4:09 PM, Phillip Nguyen <evil.phil...@gmail.com>wrote:

> 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.

Sweet!  :-/

I'll go see if the non-existent window bugs act the same on Python 3.

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Sep 15 2012, 7:34 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Sat, 15 Sep 2012 17:34:23 -0600
Local: Sat, Sep 15 2012 7:34 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

1) I'm actually using Python 3.3.0rc1 at the moment.

2) The "PY3K" file says that 2to3 is supposed to be run automatically when
you run "python setup.py install" -- but it doesn't.  Not to worry, "2to3
-w pyglet" did the trick.

3) One error was output during "sudo python3 setup.py install":

[snip]
byte-compiling
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packag es/pyglet/text/formats/html.py
to html.cpython-33.pyc
  File
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packa ges/pyglet/text/formats/html.py",
line 54
    from . import html.parser
                      ^
SyntaxError: invalid syntax

byte-compiling
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packag es/pyglet/text/formats/structured.py
to structured.cpython-33.pyc
[snip]

4) The buggy non-visible-window behavior is _exactly_ the same as far as I
can tell.  Where's a Cocoa expert when you need one?

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Sep 15 2012, 7:41 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Sat, 15 Sep 2012 17:41:12 -0600
Local: Sat, Sep 15 2012 7:41 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

...and the pythonbrew version of python 2.7 runs pyglet fine with the
patches you made.

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ricard Pérez del Campo  
View profile  
 More options Oct 6 2012, 6:11 am
From: Ricard Pérez del Campo <ricardpe...@gmail.com>
Date: Sat, 6 Oct 2012 03:11:02 -0700 (PDT)
Local: Sat, Oct 6 2012 6:11 am
Subject: Re: pyglet on Mac OS Mountain Lion?

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ó:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Oct 8 2012, 11:36 am
From: Nathan <nathan.sto...@gmail.com>
Date: Mon, 8 Oct 2012 09:36:03 -0600
Local: Mon, Oct 8 2012 11:36 am
Subject: Re: pyglet on Mac OS Mountain Lion?

I'm not sure about 1.1.4, but 1.2dev works with Mountain Lion under python
installed by pythonbrew.

~ Nathan

On Sat, Oct 6, 2012 at 4:11 AM, Ricard Pérez del Campo <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Jones  
View profile  
 More options Oct 8 2012, 7:39 pm
From: Richard Jones <r1chardj0...@gmail.com>
Date: Tue, 9 Oct 2012 10:39:38 +1100
Local: Mon, Oct 8 2012 7:39 pm
Subject: Re: pyglet on Mac OS Mountain Lion?
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

On 9 October 2012 02:36, Nathan <nathan.sto...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Oct 8 2012, 8:20 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Mon, 8 Oct 2012 18:20:53 -0600
Local: Mon, Oct 8 2012 8:20 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

On Mon, Oct 8, 2012 at 5:39 PM, Richard Jones <r1chardj0...@gmail.com>wrote:

> 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

Really?  Since I've been using python on OS X (2003) I've never had any
issues with system python, except with regards to 1) pyglet (doesn't work
with system python for some weird reason at the moment), and 2) py2app
(won't gather the system python).  What other problems have you seen?

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Jones  
View profile  
 More options Oct 8 2012, 8:31 pm
From: Richard Jones <r1chardj0...@gmail.com>
Date: Tue, 9 Oct 2012 11:31:36 +1100
Local: Mon, Oct 8 2012 8:31 pm
Subject: Re: pyglet on Mac OS Mountain Lion?
On 9 October 2012 11:20, Nathan <nathan.sto...@gmail.com> wrote:

> On Mon, Oct 8, 2012 at 5:39 PM, Richard Jones <r1chardj0...@gmail.com>
> wrote:

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

> Really?  Since I've been using python on OS X (2003) I've never had any
> issues with system python, except with regards to 1) pyglet (doesn't work
> with system python for some weird reason at the moment), and 2) py2app
> (won't gather the system python).  What other problems have you seen?

Oh, I've been a happy user for about the same amount of time. However:

- Snow Leopard broke building things thanks to the broken 32/64 bit build config
- Lion (and ML) mostly fixed that but causes other problems regarding
easy_install and virtualenvs and an inability to install distribute
over setuptools

It's often still necessary to lipo the system python in virtualenvs to
remove the x86_64 binary to make some 32-bit software happy (even with
"arch" and the VERSIONER env var.)

    Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Schackart  
View profile  
 More options Oct 11 2012, 11:04 am
From: Adam Schackart <plainflavo...@gmail.com>
Date: Thu, 11 Oct 2012 08:04:53 -0700 (PDT)
Local: Thurs, Oct 11 2012 11:04 am
Subject: Re: pyglet on Mac OS Mountain Lion?

http://bugs.python.org/issue13370

as i told richard on twitter, this is most likely due to a difference
between the gcc and clang calling convention

unfortunately, the default osx python interpreter does not yet contain this
patch afaik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Oct 22 2012, 11:53 am
From: Nathan <nathan.sto...@gmail.com>
Date: Mon, 22 Oct 2012 09:53:07 -0600
Local: Mon, Oct 22 2012 11:53 am
Subject: Re: pyglet on Mac OS Mountain Lion?

Just for the benefit of users finding this thread through Google, pyglet
now works on system python under Mountain Lion.

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Willis  
View profile  
 More options Oct 25 2012, 12:37 pm
From: Steve Willis <steve.wil...@gmail.com>
Date: Thu, 25 Oct 2012 09:37:06 -0700 (PDT)
Local: Thurs, Oct 25 2012 12:37 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

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 architecture

Any advice would be appreciated.

Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Willis  
View profile  
 More options Oct 25 2012, 5:47 pm
From: Steve Willis <steve.wil...@gmail.com>
Date: Thu, 25 Oct 2012 14:47:45 -0700 (PDT)
Local: Thurs, Oct 25 2012 5:47 pm
Subject: Re: pyglet on Mac OS Mountain Lion?

My apologies. Between posting the message below and being approved for the
group (thanks!), I realized Nathan was referring to the revision control
version, and not the release version.

That said, I attempted to get the latest version by doing the following:

hg clone https://code.google.com/p/pyglet/

This version exhibits the problem others were having with this on Mountain
Lion before...it runs without error, but no window is visible. Based on the
date stamps for the Mercurial download, I think I've still got a version
that predates the one Nathan committed recently. This is my first adventure
with Mercurial, and I'm sure I'm doing something silly. Any tips on getting
a version of the code with the Mountain Lion fix to try out?

Thanks,

Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Winston Wolff  
View profile  
 More options Oct 25 2012, 6:34 pm
From: Winston Wolff <winstonwo...@cal.berkeley.edu>
Date: Thu, 25 Oct 2012 15:34:19 -0700
Local: Thurs, Oct 25 2012 6:34 pm
Subject: Re: pyglet on Mac OS Mountain Lion?
Hi Steve-

Try:
        hg clone --update https://code.google.com/p/pyglet/

Unlike git, mercurial separates the cloning process (moving data from remote repository to local repository) and the update process (update your working directory with latest files from local repo.)

-Winston

On Oct 25, 2012, at 2:47 PM, Steve Willis wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 48   Newer >
« Back to Discussions « Newer topic     Older topic »