Upgrade error - Database Manager
|Reported by:||akshay.guleria@…||Owned by:||brucec|
Description (last modified by rjollos)
i get the following error after i do the following steps as in to install gallery plugin:
- download the plugin
- create an egg using python setup.py bdist_egg
- copy this egg to my repo environment
- enable in trac.ini . gallery.*=enabled
- run trac-admin to upgrade the database and the following is the error i recieve.
[root@silinux1 conf]# trac-admin /media/repo/TRAC/UNIX_Solutions/ upgrade Failed to open environment. name 'IGallerySource' is not defined Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 149, in env_open self.__env = Environment(self.envname) File "/usr/lib/python2.3/site-packages/trac/env.py", line 86, in __init__ load_components(self) File "/usr/lib/python2.3/site-packages/trac/loader.py", line 91, in load_components if load_module(module): File "/usr/lib/python2.3/site-packages/trac/loader.py", line 42, in load_module module = __import__(name) File "build/bdist.linux-i686/egg/gallery/source/dir.py", line 20, in ? File "build/bdist.linux-i686/egg/gallery/source/dir.py", line 25, in DirectoryGallerySource NameError: name 'IGallerySource' is not defined [root@silinux1 conf]#
I have PIL already installed. what am i doing wrong. Is it RTFM?
Hope you can help. i really want to make trac stand ahead of share point portal feature by feature.