On Tuesday, October 22, 2013 6:12:46 AM UTC-7, Илья Антипов wrote: > > Hello everybody. > > Yesterday I started using trac. One of the things I really liked was it's > integration with Git, so that I can browse sourse code and view changes > with tickets. > > But today it doesnt work. When I turn on debug - I see messages > > 2013-10-22 17:03:58,255 Trac[PyGIT] DEBUG: PyGIT.Storage instance 31782352 > constructed > 2013-10-22 17:03:58,255 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage > instance 31782352 for '/home/git/repositories/project.git' > 2013-10-22 17:03:58,256 Trac[git_fs] DEBUG: disabled CachedRepository for > '/home/git/repositories/project.git' > 2013-10-22 17:03:58,261 Trac[api] INFO: Synchronized 'project.git' > repository in 0.02 seconds > 2013-10-22 17:03:58,261 Trac[PyGIT] DEBUG: PyGIT.Storage instance 31782672 > constructed > 2013-10-22 17:03:58,261 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage > instance 31782672 for '/home/git/repositories/dev.git' > 2013-10-22 17:03:58,262 Trac[git_fs] DEBUG: disabled CachedRepository for > '/home/git/repositories/dev.git' > 2013-10-22 17:03:58,267 Trac[api] INFO: Synchronized 'dev.git' repository > in 0.01 seconds > 2013-10-22 17:03:58,269 Trac[PyGIT] DEBUG: triggered rebuild of commit > tree db for 31782672 > 2013-10-22 17:03:58,285 Trac[PyGIT] DEBUG: rebuilt commit tree db for > 31782672 with 17 entries (took 15.5 ms) > 2013-10-22 17:03:58,295 Trac[PyGIT] DEBUG: triggered rebuild of commit > tree db for 31782352 > > But nothing changes in the trac source code web inteface. > > So I think that somehow web interface doesn't get changes from db. > > Here is my conf. Part of it > > [components] > acct_mgr.admin.* = enabled > acct_mgr.api.* = enabled > acct_mgr.db.sessionstore = disabled > acct_mgr.htfile.htdigeststore = disabled > acct_mgr.htfile.htpasswdstore = enabled > acct_mgr.http.* = disabled > acct_mgr.notification.* = enabled > acct_mgr.pwhash.* = disabled > acct_mgr.register.* = enabled > acct_mgr.svnserve.svnservepasswordstore = disabled > acct_mgr.web_ui.* = enabled > acct_mgr.web_ui.resetpwstore = disabled > trac.web.auth.loginmodule = disabled > tracopt.ticket.commit_updater.* = enabled > tracopt.ticket.commit_updater.committicketupdater = enabled > tracopt.versioncontrol.git.* = enabled > > [git] > cached_repository = false > git_bin = /usr/bin/git > git_fs_encoding = utf-8 > persistent_cache = false > projects_list = /home/git/projects.list > shortrev_len = 7 > trac_user_rlookup = false > use_committer_id = true > use_committer_time = true > wikishortrev_len = 40 > > [trac] > repository_dir = > repository_sync_per_request = project.git, dev.git > repository_type = git > > I tried both 1.0 and 1.0.1 versions > > > How can I make web interface show changes? > > > Thanks. >
Everything looks okay to me. If you push a commit to dev.git, does the "with 17 entries" in the log message change to "with 18 entries"? If that part works, then I'd suggest restarting Trac and/or your webserver to see if that helps or yields any clues. Which database are you running? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
