Opened 15 years ago

Last modified 13 years ago

#12099 closed

admindocs generates an error on the tags page when template tags are included in an egg file — at Version 1

Reported by: Mark S. Choate <mark@…> Owned by: nobody
Component: contrib.admindocs Version: 1.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Alex Gaynor)

Here is the traceback -- the application appears to be looking on the filesystem for a file that doesn't exist.

Traceback:
File "/.../django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/.../django/contrib/admin/views/decorators.py" in _checklogin
  33.             return view_func(request, *args, **kwargs)
File "/...o/django/contrib/admindocs/views.py" in template_tag_index
  54.     load_all_installed_template_libraries()
File "/.../django/contrib/admindocs/views.py" in load_all_installed_template_libraries
  313.         libraries = [os.path.splitext(p)[0] for p in os.listdir(e) if p.endswith('.py') and p[0].isalpha()]

Exception Type: OSError at /admin/doc/tags/

Change History (1)

comment:1 by Alex Gaynor, 15 years ago

Description: modified (diff)

Please use preview.

Note: See TracTickets for help on using tickets.
Back to Top