Opened 11 years ago

Closed 5 years ago

#319 closed defect (wontfix)

Upgrade error - Database Manager

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

Description (last modified by Ryan J Ollos)


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 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/", line 149, in env_open
        self.__env = Environment(self.envname)
      File "/usr/lib/python2.3/site-packages/trac/", line 86, in __init__
      File "/usr/lib/python2.3/site-packages/trac/", line 91, in load_components
        if load_module(module):
      File "/usr/lib/python2.3/site-packages/trac/", line 42, in load_module
        module = __import__(name)
      File "build/bdist.linux-i686/egg/gallery/source/", line 20, in ?
      File "build/bdist.linux-i686/egg/gallery/source/", 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

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

I'd suggest taking a look at the ScreenshotsPlugin.

Modify Ticket

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