Modify

Opened 14 years ago

Closed 14 years ago

#7683 closed defect (fixed)

Install misses render directory.

Reported by: Robert Corsaro Owned by: Martin Scharrer
Priority: normal Component: WatchlistPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

19:48:53 [rcorsaro@jaco ~]$ virtualenv test
New python executable in test/bin/python2.6
Also creating executable in test/bin/python
Installing setuptools............done.
19:49:02 [rcorsaro@jaco ~]$ . test/bin/activate
(test)19:49:09 [rcorsaro@jaco ~]$ pip install -U http://trac-hacks.org/svn/watchlistplugin/dev
Downloading/unpacking http://trac-hacks.org/svn/watchlistplugin/dev
  Downloading dev
  Checking out svn repository http://trac-hacks.org/svn/watchlistplugin/dev to /tmp/pip-1PeYMv-build
  Running setup.py egg_info for package from http://trac-hacks.org/svn/watchlistplugin/dev
Downloading/unpacking Trac>=0.11 (from TracWatchlistPlugin)
  Downloading Trac-0.12.tar.gz (2.1Mb): 2.1Mb downloaded
  Running setup.py egg_info for package Trac
Downloading/unpacking setuptools>=0.6b1 (from Trac>=0.11->TracWatchlistPlugin)
  Downloading setuptools-0.6c12dev-r84273.tar.gz (257Kb): 257Kb downloaded
  Running setup.py egg_info for package setuptools
Downloading/unpacking Genshi>=0.6 (from Trac>=0.11->TracWatchlistPlugin)
  Downloading Genshi-0.6.tar.gz (433Kb): 433Kb downloaded
  Running setup.py egg_info for package Genshi
    warning: no previously-included files found matching 'doc/2000ft.graffle'
    warning: no previously-included files matching '*' found under directory 'doc/logo.lineform'
Installing collected packages: Genshi, setuptools, Trac, TracWatchlistPlugin
  Running setup.py install for Genshi
    warning: no previously-included files found matching 'doc/2000ft.graffle'
    warning: no previously-included files matching '*' found under directory 'doc/logo.lineform'
  Found existing installation: setuptools 0.6c11
    Uninstalling setuptools:
      Successfully uninstalled setuptools
  Running setup.py install for setuptools
    Installing easy_install script to /home/rcorsaro/test/bin
    Installing easy_install-2.6 script to /home/rcorsaro/test/bin
  Running setup.py install for Trac
    Installing trac-admin script to /home/rcorsaro/test/bin
    Installing tracd script to /home/rcorsaro/test/bin
  Running setup.py install for TracWatchlistPlugin
Successfully installed Genshi setuptools Trac TracWatchlistPlugin
Cleaning up...           
(test)19:49:49 [rcorsaro@jaco ~]$ ls test/lib/python2.6/site-packages/tracwatchlist/
__init__.py   api.py   db.py   htdocs  nav.pyc    plugin.pyc  translation.py
__init__.pyc  api.pyc  db.pyc  nav.py  plugin.py  templates   translation.pyc

Attachments (0)

Change History (6)

comment:1 Changed 14 years ago by Robert Corsaro

I copied in the render directory from the source tree as a workaround.

comment:2 Changed 14 years ago by Robert Corsaro

Something else is amiss. Looks like the styles aren't being applied.

comment:3 Changed 14 years ago by Martin Scharrer

Resolution: fixed
Status: newclosed

(In [8867]) dev/setup.py:: Updated package_data to include all new files. Fixes #7683.

comment:4 Changed 14 years ago by Martin Scharrer

Thanks for reporting this. I updated the package_data and it should install all files now.

comment:5 Changed 14 years ago by Robert Corsaro

Resolution: fixed
Status: closedreopened

Now when I go to the /watchlist page on a fresh install, I get the following:

09:28:41 PM Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "/home/doki_pen/th-watchlist/lib/python2.6/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/doki_pen/th-watchlist/lib/python2.6/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/doki_pen/th-watchlist/lib/python2.6/site-packages/tracwatchlist/plugin.py", line 313, in process_request
    settings = self.get_settings( user )
  File "/home/doki_pen/th-watchlist/lib/python2.6/site-packages/tracwatchlist/plugin.py", line 138, in get_settings
    settings['useroptions'].update( usersettings['useroptions'] )
KeyError: 'useroptions'

comment:6 Changed 14 years ago by Martin Scharrer

Resolution: fixed
Status: reopenedclosed

(In [8870]) dev/tracwatchlist/plugin.py:: Added needed check for missing user settings. Fixes #7683.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Martin Scharrer.
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.