|
From: Aahz <aa...@py...> - 2010-02-25 14:02:26
|
On Thu, Feb 25, 2010, Noam Yorav-Raphael wrote: > > I've written a program called DreamPie > (http://dreampie.sourceforge.net), and it includes a gtk exception > hook which helps users report bugs. It prints the stack trace, to help > in finding out what's wrong. > > Since library.zip doesn't include the .py sources of my application, > the stack traces include only line numbers and not the contents. > > Is it possible to include the source modules of my application (not of > all modules) in library.zip, so that stack traces will be more > meaningful? Like Werner, my py2exe applications (as well as py2app) provide full exception tracebacks. For example: 2010-02-24 04:31:52 Eastern Standard Time ERROR Unexpected exception Traceback (most recent call last): File "client\synchronizer.pyc", line 887, in _process_opcode File "client\synchronizer_actions.pyc", line 886, in process HTTPException: http_code: -6 [Could not resolve host: FOO.BAR.com; No data record of requested type] (With the domain replaced, of course.) -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ "Many customs in this life persist because they ease friction and promote productivity as a result of universal agreement, and whether they are precisely the optimal choices is much less important." --Henry Spencer |