On Dec 15, 3:09 am, "przemek.ch" <przemek...@gmail.com> wrote: > Hi, > > when I try to generate the documentation for my application using > pudge i get the following error > > File "C:\Python25\lib\pydoc.py", line 305, in safeimport > raise ErrorDuringImport(path, sys.exc_info()) > pydoc.ErrorDuringImport: problem in ajax.tests - <type > 'exceptions.KeyError'>: '__file__' > Error location in template file 'C:\\Python25\\lib\\site-packages\ > \pudge-0.1.3-py2.5.egg\\pudge\\te > mplate\\base\\package-index.html' > between line 19, column 26 and line 22: > ... </h2> > ... > ${module_index_table(browser.modules(recursive=1), > qualified_names=1)} > > It refers to generated pylons code form \tests\__init__ > > # Invoke websetup with the current config file > SetupCommand('setup-app').run([config["__file__"]]) > > Any suggestions?
Use Sphinx instead? http://sphinx.pocoo.org/ I never had any luck with Pudge. Sphinx seems to be the emerging Python doc standard. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---