As the help(Ticket #9552 <http://trac-hacks.org/ticket/9552>) I removed the "trac-git"
$ sudo apt-get remove trac-git -y # My Ubuntu 11.04 Natty. And then installed the trac-git at github. *For Trac 0.12* easy_install http://github.com/hvr/trac-git-plugin/tarball/master *Note: I'm using Trac 1.0* -* **I migrated from version 0.12 to 1.0* And the previous(*Error with navigation contributor "BrowserModule")* error has been resolved! But generated a new error: 2012-09-24 15:20:26,040 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/browser'"> 2012-09-24 15:20:26,043 Trac[session] DEBUG: Retrieving session for ID '16c4761e459949b54c35cfe0' 2012-09-24 15:20:26,045 Trac[main] DEBUG: Negotiated locale: None -> en_US 2012-09-24 15:20:26,053 Trac[chrome] DEBUG: Prepare chrome data for request 2012-09-24 15:20:26,055 Trac[PyGIT] DEBUG: requested PyGIT.Storage instance 140114303361552 for '/opt/git/pyECF.git' 2012-09-24 15:20:26,055 Trac[git_fs] DEBUG: disabled CachedRepository for '/opt/git/pyECF.git' 2012-09-24 15:20:26,056 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_CONFIG_ADMIN on None 2012-09-24 15:20:26,056 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_USER_ADMIN on None 2012-09-24 15:20:26,056 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on None 2012-09-24 15:20:26,056 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_GRANT on None 2012-09-24 15:20:26,056 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_REVOKE on None 2012-09-24 15:20:26,057 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on None 2012-09-24 15:20:26,057 Trac[perm] DEBUG: No policy allowed anonymous performing VERSIONCONTROL_ADMIN on None 2012-09-24 15:20:26,058 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_CREATE on None 2012-09-24 15:20:26,059 Trac[main] WARNING: [127.0.0.1] HTTPNotFound: 404 Trac Error (No node /) 2012-09-24 15:20:26,084 Trac[perm] DEBUG: No policy allowed anonymous performing EMAIL_VIEW on None Em sábado, 22 de setembro de 2012 14h23min39s UTC-3, ynoslenav escreveu: > > I can not bare adicinar a repo to an existing trac environment, it > presents errors: > > *$ sudo trac-admin / var / trac / sites / myproj repository resync '*' > TypeError* *: 'NoneType' object is not subscriptable* > > And the browser is always the message: > *Warning: > > Error with navigation contributor "BrowserModule" > Error with navigation contributor "BrowserModule**"* > > My trac.log > > 2012-09-22 14:13:32,397 Trac[main] DEBUG: Dispatching <Request "GET > '/admin/versioncontrol/repository'"> > 2012-09-22 14:13:32,397 Trac[graphviz] INFO: version: 0.7.5dev - id: $Id$ > 2012-09-22 14:13:32,398 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,400 Trac[session] DEBUG: Retrieving session for ID > u'admin' > 2012-09-22 14:13:32,403 Trac[api] DEBUG: action controllers for ticket > workflow: ['ConfigurableTicketWorkflow'] > 2012-09-22 14:13:32,405 Trac[main] DEBUG: Negotiated locale: None -> en_US > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,412 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,413 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,413 Trac[env] INFO: The legacy TracWebAdmin plugin has > been automatically disabled, and the integrated administration interface > will be used instead. > 2012-09-22 14:13:32,424 Trac[git_fs] INFO: detected GIT version 1.7.4.1 > 2012-09-22 14:13:32,424 Trac[svn_fs] DEBUG: Subversion bindings imported > 2012-09-22 14:13:32,425 Trac[PyGIT] DEBUG: requested PyGIT.Storage > instance 140672168937448 for '/opt/git/pyECF.git' > 2012-09-22 14:13:32,426 Trac[chrome] DEBUG: Prepare chrome data for request > 2012-09-22 14:13:32,429 Trac[PyGIT] DEBUG: requested PyGIT.Storage > instance 140672168937448 for '/opt/git/pyECF.git' > 2012-09-22 14:13:32,429 Trac[chrome] ERROR: Error with navigation > contributor BrowserModule: TypeError: 'NoneType' object is not subscriptable > > > > > > > Thanks > []s > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/6QJP2smZO1EJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
