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 Initial Version

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

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

  1. response = callback(request, *callback_args, callback_kwargs)

File "/.../django/contrib/admin/views/decorators.py" in _checklogin

  1. return view_func(request, *args, kwargs)

File "/...o/django/contrib/admindocs/views.py" in template_tag_index

  1. load_all_installed_template_libraries()

File "/.../django/contrib/admindocs/views.py" in load_all_installed_template_libraries

  1. 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 (0)

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