2006-11-11T07:41:10  <ryguasu> I'm trying to get KevinKleinfelter's textile parser working on my machine, and/or work on one of my own. So far I've yet to successfully parse anything; I only get fatal errors and tracebacks. I'm optimistic that I'll get the parsing working, but I'm wondering if someone could suggest how to make the tracebacks a little more useful...
2006-11-11T07:43:34  <ryguasu> For all the stack frames that take place within my experimental parser (chris.py), MoinMoin provides a great display of both the program counter (i.e. the line where that frame's execution is on) and all the variables on that frame.
2006-11-11T07:44:45  <ryguasu> For frames outside chris.py, though, I guess it also shows the variables in the frame, but it doesn't show the line numbers or the program context.
2006-11-11T07:45:04  <ryguasu> In my particular case, I see "/Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py  in textile (text=u'\nhello!\n', **args={'encoding': 'utf8', 'output': 'utf8'})" and no further information.
2006-11-11T07:45:50  <ryguasu> This tells me that the program counter is somewhere within the function "textile", but I'd like to get an exact line number.
2006-11-11T07:46:50  <ryguasu> I know this isn't really a MoinMoin question as much as a Python-at-large question, but I figured you all would know an easy answer, and I don't know where else I would ask.
2006-11-11T07:49:39  <ryguasu> Perhaps tangentially, I find it curious that I can't find a "build" directory in Users/chris/Desktop/Firefox/moin/moin-desktop/. Maybe this has to do with the magic of python .eggs. The real textile module is stored in /Library/Python/2.3/site-packages/textile-2.0.11-py2.3.egg.
2006-11-11T07:52:12  <ryguasu> I'm using Mac OS 10.4, Python 2.3.5 (comes with OS X), MoinMoin Desktop Release 1.5.5a [Revision 97bf3d768af3 tip; DesktopEdition Release 1.5.5a-1],
2006-11-11T11:48:41  <ThomasWaldmann> moin
2006-11-11T11:52:28  <ThomasWaldmann> ryguasu: could you just file a bugreport about that and atach traceback.html so we see what you mean?
2006-11-11T12:01:10  <xorAxAx> and look into the topic :)
2006-11-11T16:44:04  *** irc.freenode.net sets mode: +o ChanServ
2006-11-11T19:52:08  <ryguasu> I will file a bug report, xorAxAx. Thanks.

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-11-11 (last edited 2007-10-29 19:06:22 by localhost)