On Tue, Feb 10, 2009 at 6:36 PM, Casey Duncan <[email protected]>wrote:
> > Does it work with -m <anything>? Maybe it is that mechanism rather > than cProfiler messing up the works. I have had the same experience as > you with -m cProfiler > > -Casey > > On Tue, Feb 10, 2009 at 2:32 PM, Tristam MacDonald <[email protected]> > wrote: > > On Tue, Feb 10, 2009 at 3:25 PM, Tristam MacDonald <[email protected] > > > > wrote: > >> > >> Whenever I attempt to run my pyglet application with python -m cProfile, > >> the pyglet.resource module cannot find any files. > >> These files are found perfectly when not profiling, so I assume the > python > >> profiler must do something to screw up the resource modules paths. > >> Anyone have any tips on running the profiler with pyglet? > > > > Hmm, it seems to run all right when I manually load the profiler within > my > > code. Not sure why the command line version fails. > I would try it, but I can't remember anything else which runs with -m -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" 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/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
