Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4113858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:22:49+00:00 2026-05-20T22:22:49+00:00

I just recently upgraded my Trac system so we could handle multiple repositories. I

  • 0

I just recently upgraded my Trac system so we could handle multiple repositories. I started getting some browser errors and tracked it down to GitPlugin (when I disable it all of the errors go away, though of course my version control tracking does too).

On every page I get:

'Warning:  Error with navigation contributor "BrowserModule"'

and on the timeline page I get:

 Trac detected an internal error:

TypeError: 'NoneType' object is unsubscriptable

The Log gives me this for the timeline page out of ‘main’:

Internal Server Error: Traceback (most recent call last): File "/usr/local
/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in 
_dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages
/Trac-0.12-py2.6.egg/trac/web/main.py", line 235, in dispatch resp = 
chosen_handler.process_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-
0.12-py2.6.egg/trac/timeline/web_ui.py", line 142, in process_request available_filters += 
event_provider.get_timeline_filters(req) or [] File "/usr/local/lib/python2.6/dist-packages
/Trac-0.12-py2.6.egg/trac/versioncontrol/web_ui/changeset.py", line 861, in 
get_timeline_filters repositories = rm.get_real_repositories() File "/usr/local
/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/api.py", line 588, in 
get_real_repositories repos = self.get_repository(reponame) File "/usr/local/lib/python2.6
/dist-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/api.py", line 526, in 
get_repository repos = connector.get_repository(rtype, rdir, repoinfo.copy()) File 
"/usr/lib/python2.6/dist-packages/tracext/git/git_fs.py", line 159, in get_repository 
shortrev_len=self._shortrev_len) File "/usr/lib/python2.6/dist-packages/tracext
/git/git_fs.py", line 177, in __init__ Repository.__init__(self, "git:"+path, None, log)
 File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/versioncontrol
/api.py", line 730, in __init__ self.reponame = params['name'] TypeError: 'NoneType' 
object is unsubscriptable

and this for all pages out of ‘Chrome’:

Error with navigation contributor BrowserModule: TypeError: 'NoneType' object is unsubscriptable

I set up a few test environments before upgrading this system and they both worked with multi repositories and git, but with 2 key differences: they started as 0.12 and the repositories are not bare repositories.

My question is this: Did I mess something up when upgrading and need to start from a fresh environment, do I need to switch my repositories to non-bare, or am I missing something completely and need to do something else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:22:50+00:00Added an answer on May 20, 2026 at 10:22 pm

    All right, so I’ve managed to get a functioning work around.

    Go into the server and create a new directory.

    git clone the bare remote repository in that new directory.

    go into the old repository and change the post-receive hook (under .git/hooks) to be:

    #!/bin/sh
    pushd /path/to/new/repo > /dev/null
    unset $(git rev-parse --local-env-vars)
    git pull -q
    popd > /dev/null
    

    If there is no post-receive just create a file with that file name.

    Now go to your trac.ini and point any repository references to the new repository directory and poof! it works.

    Note: the people who are pushing still push to the old repository. This script merely calls a pull from the “new” repository.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently upgraded our application and noticed that we're getting runtime errors on
I just recently started diving into Real World Haskell and the book provides some
I just recently upgraded to FluentNHibernate 1.2 which uses NHibernate 3.1. After upgrading some
I'm having a strange issue with Azure! I just recently upgraded my azure deployed
I just recently upgraded a VS2008/.NET 3.5 SP1 project to VS2010 and .NET 4.
We just recently upgraded all our code base to .net 4.0, and are trying
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I just recently upgraded to MySQL 5.1.6 in order to take advantage of the
I've rolled my own javascript server side language called bondi. Just recently upgraded to
I recently upgraded Xcode to start ios5 development, but for some reason I encounter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.