Opened 18 years ago

Last modified 12 years ago

#319 closed defect

Upgrade error - Database Manager — at Initial Version

Reported by: Akshay Guleria Owned by: brucec
Priority: normal Component: GalleryPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

Hi

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.

Thanks Akshay

Change History (0)

Note: See TracTickets for help on using tickets.