Modify

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#10722 closed defect (irreproducible)

Trac internal error while commenting a ticket

Reported by: Don-vip Owned by: stoecker
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc:

Description

When posting #10642#comment:45 I got:

TypeError: 'StripDirective' object is not iterable

Fichier « /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg/trac/web/main.py », ligne 512, dans _dispatch_request
  dispatcher.dispatch(req)
Fichier « /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg/trac/web/main.py », ligne 240, dans dispatch
  content_type)
Fichier « /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg/trac/web/chrome.py », ligne 1005, dans render_template
  stream = template.generate(**data)
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 545, dans generate
  stream = self.stream
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 455, dans stream
  self._stream = list(self._prepare(self._stream))
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 491, dans _prepare
  yield kind, (directives, list(substream)), pos
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 506, dans _prepare
  for event in tmpl.stream:
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 455, dans stream
  self._stream = list(self._prepare(self._stream))
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 491, dans _prepare
  yield kind, (directives, list(substream)), pos
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 506, dans _prepare
  for event in tmpl.stream:
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 455, dans stream
  self._stream = list(self._prepare(self._stream))
Fichier « /usr/lib/python2.7/dist-packages/genshi/template/base.py », ligne 484, dans _prepare
  for _, cls, value, namespaces, pos in sorted(data[0]):

Not sure if it's linked to our setup or a bug from Trac itself?

Attachments (0)

Change History (6)

comment:1 by stoecker, 9 years ago

Resolution: irreproducible
Status: newclosed

Let's hope this was a one-time issue. Reopen if not :-)

comment:2 by stoecker, 9 years ago

Resolution: irreproducible
Status: closedreopened

Happened again.

comment:3 by stoecker, 8 years ago

Resolution: irreproducible
Status: reopenedclosed

comment:4 by Don-vip, 8 years ago

I see we're not up to date with Trac, should'nt we update to 1.09 before switching to new server?

comment:5 by stoecker, 8 years ago

We anyway need a new installation on the new one if we get it, so why update before? :-)

comment:6 by Don-vip, 8 years ago

I just hope there's no incompatibility between database schemas of 1.06 and 1.09. A proper migration is always safer, but maybe I'm too cautious here.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.