On Fri, Feb 27, 2009 at 1:16 AM, sonomute <[email protected]> wrote: > > Cocos 0.3.0 > python 2.5.1 > > > sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) > NameError: name '__file__' is not defined >
Just in case, you are not doing python path/to/cocos/director.py, are you? what is the cmd line you are using to get this exception? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
