<<< Date Index >>>     <<< Thread Index >>>

Re: Trac error



Thanks. It was due to upgrading hg on the server. I've updated trac to
handle it.

On Monday, 20 July 2009 at 23:11, Vincent Lefevre wrote:
> I've got the following error:
> 
> Oopsâ
> Trac detected an internal error:
> 
> TypeError: __init__() got an unexpected keyword argument 'interactive'
> 
> There was an internal error in Trac. It is recommended that you inform your 
> local Trac administrator and give him all the information he needs to 
> reproduce the issue.
> 
> To that end, you could ==== How to Reproduce ==== While doing a GET operation 
> on `/ticket/3298`, Trac issued an internal error. ''(please provide 
> additional details here)'' Request parameters: {{{ {'id': u'3298'} }}} User 
> Agent was: `Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) 
> Gecko/2009061317 Iceweasel/3.0.11 (Debian-3.0.11-1)` ==== System Information 
> ==== || '''Trac''' || `0.11.1` || || '''Python''' || `2.5.4 (r254:67916, Feb 
> 17 2009, 20:36:34) ` [[br]] `[GCC 4.3.3]` || || '''setuptools''' || `0.6c9` 
> || || '''SQLite''' || `3.6.14` || || '''pysqlite''' || `2.5.5` || || 
> '''Genshi''' || `0.5.1` || || '''Pygments''' || `1.0` || || '''Mercurial''' 
> || `1.3` || || '''jQuery:''' || `1.3.2` || ==== Python Traceback ==== {{{ 
> Traceback (most recent call last): File 
> "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in 
> _dispatch_request dispatcher.dispatch(req) File 
> "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch 
> chosen_handler) File "/usr/lib/python2.5/site-packages/trac/web/main.py", 
> line 286, in _pre_process_request chosen_handler = 
> filter_.pre_process_request(req, chosen_handler) File 
> "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 86, in 
> pre_process_request self.get_repository(req.authname).sync() File 
> "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 157, in 
> get_repository repos = self._connector.get_repository(rtype, rdir, authname) 
> File "/usr/lib/pymodules/python2.5/tracext/hg/backend.py", line 218, in 
> get_repository self._setup_ui(self.config.get(type, 'hgrc')) File 
> "/usr/lib/pymodules/python2.5/tracext/hg/backend.py", line 165, in _setup_ui 
> self.ui = trac_ui(self.log) File 
> "/usr/lib/pymodules/python2.5/tracext/hg/backend.py", line 262, in __init__ 
> ui.__init__(self, *args, **kwargs) TypeError: __init__() got an unexpected 
> keyword argument 'interactive' }}} a ticket at this site.
> 
> The action that triggered the error was:
> 
> GET: /ticket/3298
>