Modify ↓
#6934 closed defect (fixed)
AttributeError: 'TicketModule' object has no attribute 'must_preserve_newlines'
| Reported by: | Owned by: | Jun Omae | |
|---|---|---|---|
| Priority: | normal | Component: | TracWysiwygPlugin |
| Severity: | major | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
How to Reproduce
While doing a GET operation on /newticket, Trac issued an internal error.
I had just newly installed the TracWysiwygPlugin and wanted to try it out in a test project. Wysiwyg editor worked fine within Wiki, but when I wanted to try it out with creating/editing a Ticket this error occured. I noticed [7772] had recently addressed the concerned section; I am not at all experienced with these modules, but there seems to be a connection.
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
System Information
| Trac | 0.11.1
|
| Python | 2.5.2 (r252:60911, Jan 24 2010, 15:24:24) [GCC 4.3.2]
|
| setuptools | 0.6c11
|
| SQLite | 3.5.9
|
| pysqlite | 2.4.1
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Subversion | 1.5.1 (r32289)
|
| jQuery: | 1.2.6
|
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 219, in dispatch
data, content_type)
File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 690, in render_template
stream |= self._filter_stream(req, method, filename, stream, data)
File "/var/lib/python-support/python2.5/genshi/core.py", line 128, in __or__
return Stream(_ensure(function(self)), serializer=self.serializer)
File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 777, in inner
data)
File "build/bdist.linux-i686/egg/tracwysiwyg/__init__.py", line 55, in filter_stream
AttributeError: 'TicketModule' object has no attribute 'must_preserve_newlines'
Attachments (0)
Change History (4)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 follow-up: 4 Changed 16 years ago by
Thanks for your report. Try to upgrade to trac 0.11.2 later or tracwysiwyg-0.2_r7817.
comment:4 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.



Isn't the concerned
TicketModulesattribute supposed to bepreserve_newlinesinstead ofmust_preserve_newlines?