Re: Issue 97 in los-cocos: Hangs on WinXP when calling "pyglet.resource.reindex()" when imported from python/libs/site-packages

4 views
Skip to first unread message

codesite...@google.com

unread,
May 12, 2010, 10:55:06 AM5/12/10
to cocos-...@googlegroups.com

Comment #4 on issue 97 by dorkmasterflek: Hangs on WinXP when
calling "pyglet.resource.reindex()" when imported from
python/libs/site-packages
http://code.google.com/p/los-cocos/issues/detail?id=97

I've observed this on my Linux machine running Fedora 12, and not from any
/lib/site-packages setup either. This is just with the straight Pyglet
1.1.4 and
Cocos 0.3.0 source code in my Python path.

--
You received this message because you are subscribed to the Google Groups "cocos2d issues" group.
To post to this group, send email to cocos-...@googlegroups.com.
To unsubscribe from this group, send email to cocos-issues...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocos-issues?hl=en.

codesite...@google.com

unread,
May 12, 2010, 11:30:53 AM5/12/10
to cocos-...@googlegroups.com

Comment #5 on issue 97 by ccanepacc: Hangs on WinXP when
calling "pyglet.resource.reindex()" when imported from
python/libs/site-packages
http://code.google.com/p/los-cocos/issues/detail?id=97

@dorkmasterfleck: Just to clarify myself the circumstances,
1a. You installed cocos 0.3.0 from the package provided in the cocos page
running
setup install ? ( there are other installation variants like getting a
package for
your distro, if available, or getting the package in cocos page and install
by
unpacking elsewere and copying the cocos dir to site-packages, or unpack
elsewhere
and use a .pth in site-packages to point to cocos, or ...
Knowing exactly your installation method would help to narrow the problem.

1b) And just in case, can you confirm there is a non empty cocos\resources
directory in your instaled cocos ?

2. You think there is a simlink in the path to resources ? Virtualenv in
Linux
tends to use simlinks, or there can be other reasons to use simlinks. There
is a
patch for using simlinks in issue 197, untested.

3) The script that hangs has an explicit line as the following (yes or
no)?
pyglet.resource.reindex()
If yes, there is above some line in the form
pyglet.resource.path.append(somedir) ?
Anything special about the dirs feeded to path.append ?

4) The script that hangs runs from a directory that is not under site
packages ?

We need to find a minimal bugdemo to reproduce the problem, after work I
will write
some, if you havent come with one by the time.

cheers!

codesite...@google.com

unread,
May 12, 2010, 9:46:14 PM5/12/10
to cocos-...@googlegroups.com

Comment #6 on issue 97 by ccanepacc: Hangs on WinXP when
calling "pyglet.resource.reindex()" when imported from
python/libs/site-packages
http://code.google.com/p/los-cocos/issues/detail?id=97

sorry, the simlink patch lives in issue 133.
I will post some tests in minutes.

codesite...@google.com

unread,
May 13, 2010, 1:13:53 AM5/13/10
to cocos-...@googlegroups.com

Comment #7 on issue 97 by ccanepacc: Hangs on WinXP when
calling "pyglet.resource.reindex()" when imported from
python/libs/site-packages
http://code.google.com/p/los-cocos/issues/detail?id=97

Ok, attached some tests to try if you have problems with pyglet.reindex

Unpack in a directory out of site-packages, and run the tests.


Attachments:
reindex_tests.zip 2.8 KB

codesite...@google.com

unread,
Aug 13, 2012, 9:24:21 PM8/13/12
to cocos-...@googlegroups.com
Updates:
Status: Fixed

Comment #8 on issue 97 by ccan...@gmail.com: Hangs on WinXP when
calling "pyglet.resource.reindex()" when imported from
python/libs/site-packages
http://code.google.com/p/los-cocos/issues/detail?id=97

This behavior not seen in current cocos 0.5.5 with pyglet 1.1.4 or
1.2alpha1.
closing this old issue.


Reply all
Reply to author
Forward
0 new messages