I've discovered the problem, actually -- pyglet.resource.FileLocation seems to take an enormously long time when run from directories with a lot of subdirectories/files (such as my home directory). Can anyone clarify what's going on there? Should this be considered a bug?
On Thursday, March 14, 2013 11:18:47 PM UTC-5, Nathan wrote: > > On Tue, Mar 12, 2013 at 1:31 PM, Dave Musicant <[email protected]<javascript:> > > wrote: > >> Hey folks - >> >> I noticed an wacky problem with that only manifests itself when I run a >> program from the top level of my home directory. (OS X Lion, Python 2.7, >> pyglet 1.1.4.): >> >> import os >> import pyglet >> >> print __file__ >> dirname = os.path.dirname(__file__) >> loc = pyglet.resource.FileLocation(dirname) >> >> This program runs fine when it is located anywhere in my directory tree >> except precisely in my "root" home directory. When the file is there and I >> run it, the program hangs. When I stop it with a ctrl-c, I get the below >> error. Any idea what's going on? >> >> Thanks... >> >> -- >> Dave Musicant >> >> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
