Modify

Opened 15 years ago

Closed 14 years ago

#4306 closed defect (worksforme)

Can't access Announcements tab in user preferences

Reported by: anonymous Owned by: Robert Corsaro
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When I try to access the Announcements tab in the user's preferences, I get:

Oops…
Trac detected an internal error:

TemplateNotFound: Template "prefs_announcer.html" not found

I just got the current AnnouncerPlugin. I am trying this on Tracs 0.12 (I need the multi repository support it has). Maybe that is it? Or, maybe there is something wrong with my install of AnnouncerPlugin. I would like to exhaust that possibility before deciding it is a Tracs version issue.

I installed it with:

python setup.py install

and got this during the install.

running install
running bdist_egg
running egg_info
creating AnnouncerPlugin.egg-info
writing AnnouncerPlugin.egg-info/PKG-INFO
writing top-level names to AnnouncerPlugin.egg-info/top_level.txt
writing dependency_links to AnnouncerPlugin.egg-info/dependency_links.txt
writing entry points to AnnouncerPlugin.egg-info/entry_points.txt
writing manifest file 'AnnouncerPlugin.egg-info/SOURCES.txt'
reading manifest file 'AnnouncerPlugin.egg-info/SOURCES.txt'
writing manifest file 'AnnouncerPlugin.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/announcerplugin
copying announcerplugin/__init__.py -> build/lib/announcerplugin
copying announcerplugin/api.py -> build/lib/announcerplugin
copying announcerplugin/pref.py -> build/lib/announcerplugin
copying announcerplugin/query.py -> build/lib/announcerplugin
creating build/lib/announcerplugin/templates
copying announcerplugin/templates/index.html -> build/lib/announcerplugin/templates
creating build/lib/announcerplugin/htdocs
copying announcerplugin/htdocs/index.html -> build/lib/announcerplugin/htdocs
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/announcerplugin
copying build/lib/announcerplugin/__init__.py -> build/bdist.linux-i686/egg/announcerplugin
copying build/lib/announcerplugin/api.py -> build/bdist.linux-i686/egg/announcerplugin
copying build/lib/announcerplugin/pref.py -> build/bdist.linux-i686/egg/announcerplugin
copying build/lib/announcerplugin/query.py -> build/bdist.linux-i686/egg/announcerplugin
creating build/bdist.linux-i686/egg/announcerplugin/templates
copying build/lib/announcerplugin/templates/index.html -> build/bdist.linux-i686/egg/announcerplugin/templates
creating build/bdist.linux-i686/egg/announcerplugin/htdocs
copying build/lib/announcerplugin/htdocs/index.html -> build/bdist.linux-i686/egg/announcerplugin/htdocs
byte-compiling build/bdist.linux-i686/egg/announcerplugin/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/announcerplugin/api.py to api.pyc
byte-compiling build/bdist.linux-i686/egg/announcerplugin/pref.py to pref.pyc
byte-compiling build/bdist.linux-i686/egg/announcerplugin/query.py to query.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying AnnouncerPlugin.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying AnnouncerPlugin.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying AnnouncerPlugin.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying AnnouncerPlugin.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying AnnouncerPlugin.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/AnnouncerPlugin-0.2-py2.5.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing AnnouncerPlugin-0.2-py2.5.egg
Copying AnnouncerPlugin-0.2-py2.5.egg to /usr/lib/python2.5/site-packages
Adding AnnouncerPlugin 0.2 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/AnnouncerPlugin-0.2-py2.5.egg
Processing dependencies for AnnouncerPlugin==0.2
Finished processing dependencies for AnnouncerPlugin==0.2

Does it make any difference what directory the download is in when it gets installed?

I have updated my tracs.ini as described in the AnnouncerPlugin docs. I restarted the web browser and server, just to be sure.

The .egg file contains:

Archive:  AnnouncerPlugin-0.2-py2.5.egg
  Length     Date   Time    Name
 --------    ----   ----    ----
      126  12-18-08 11:45   announcerplugin/__init__.py
    15802  12-18-08 11:45   announcerplugin/api.py
     1809  12-18-08 11:45   announcerplugin/pref.py
    14408  12-18-08 11:45   announcerplugin/query.py
      358  12-18-08 11:52   announcerplugin/__init__.pyc
    19162  12-18-08 11:52   announcerplugin/api.pyc
     2881  12-18-08 11:52   announcerplugin/pref.pyc
    13523  12-18-08 11:52   announcerplugin/query.pyc
     1150  12-18-08 11:45   announcerplugin/templates/index.html
      377  12-18-08 11:45   announcerplugin/htdocs/index.html
      364  12-18-08 11:52   EGG-INFO/PKG-INFO
      307  12-18-08 11:52   EGG-INFO/SOURCES.txt
        1  12-18-08 11:52   EGG-INFO/dependency_links.txt
       50  12-18-08 11:52   EGG-INFO/entry_points.txt
       16  12-18-08 11:52   EGG-INFO/top_level.txt
        1  12-18-08 11:52   EGG-INFO/zip-safe

The interesting thing is that announcerplugin/templates/index.html contains a reference to "prefs_announcer.html"

Help!

Roger Oberholtzer roger.oberholtzer@…

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Robert Corsaro

Resolution: worksforme
Status: newclosed

All the files weren't copied to the egg. This has been fixed apparently.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.