El jueves, 6 de agosto de 2015, 12:38:00 (UTC-3), Jun Omae escribió:
>
> On Fri, Aug 7, 2015 at 12:18 AM, maxirobaina <[email protected] 
> <javascript:>> wrote: 
> >> > I'm running trac 0.12.7, and I get an AttributeError: 
> 'localrepository' 
> >> > object has no attribute 'branchtags when I try to browse the 
> repositoy. 
> >> > According to this thread [1] I thought it was resolved, but it 
> doesn't. 
> >> 
> >>  * Are you using http://hg.edgewall.org/trac/mercurial-plugin#0.12? I 
> >> believe that issue has been fixed in latest of 0.12 branch. 
> > 
> > I'm using TracMercurial-0.12.0.31dev-py2.7.egg 
> > 
> >> 
> >>  * What version of mercurial are you using? 
> > 
> > hg --version 
> > Mercurial Distributed SCM (version 3.0.1) 
>
> Your issue cannot be reproduced to me. 
>
> $ /dev/shm/venv-hg/bin/pip freeze 
> Genshi==0.6 
> Trac==0.12.7 
> TracMercurial==0.12.0.31dev 
> argparse==1.2.1 
> distribute==0.6.24 
> mercurial==3.0.1 
> wsgiref==0.1.2 
>
>  - How to reproduce it? 
>  - Could you please post the following? 
>    - Stack trace in trac.log after TracLogging is enabled. 
>


2015-08-06 11:34:03,958 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File 
"/home/vikingo/virtualenvs/trac/lib/python2.7/site-packages/trac/web/main.py", 
line 529, in _dispatch_request
    dispatcher.dispatch(req)
  File 
"/home/vikingo/virtualenvs/trac/lib/python2.7/site-packages/trac/web/main.py", 
line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File 
"/home/vikingo/virtualenvs/trac/lib/python2.7/site-packages/trac/versioncontrol/web_ui/browser.py",
 
line 401, in process_request
    quickjump_data = list(repos.get_quickjump_entries(rev))
  File "build/bdist.linux-x86_64/egg/tracext/hg/backend.py", line 601, in 
get_quickjump_entries
    for b, n in self.repo.branchtags().items():
  File "/usr/lib/python2.7/dist-packages/mercurial/repoview.py", line 217, 
in __getattr__
    return getattr(self._unfilteredrepo, attr)
AttributeError: 'localrepository' object has no attribute 'branchtags'

 

>    - System Information and Installed Plugins in "About Trac" page. 
>


System Information Trac 0.12.7 Babel 0.9.6 Genshi 0.6.1 (without speedups) 
Mercurial 3.0.1 mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup 
%{GLOBAL}) Pygments 1.6rc1 pysqlite 2.6.0 Python 2.7.3 (default, Jun 22 
2015, 19:44:33) [GCC 4.6.3] setuptools 0.6 SQLite 3.7.9 jQuery:1.4.4
 



Here my pip freeze on my virtualenv

Babel==0.9.6
configobj==4.7.2
Genshi==0.6.1
Trac==0.12.7


Thanks for your help.

Regards




-- 
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/d/optout.

Reply via email to