Opened 17 years ago
Closed 17 years ago
#6323 closed defect (wontfix)
Internal error in regular expression engine
Reported by: | roman | Owned by: | Christian Boos |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | wiki system | Version: | 0.10.4 |
Severity: | normal | Keywords: | plugin |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Trac gives an "internal error in regular expression engine" on WikiStart page. the source of wikiStart page is attached.
Environment: packaged Trac 0.10.4 distribution, Windows Vista, Python24, MySQL 5.1, default DB encoding: UTF8
Python Traceback Traceback (most recent call last): File "C:\Python24\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "C:\Python24\Lib\site-packages\trac\web\main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "build\bdist.win32\egg\tractags\web_ui.py", line 64, in process_request File "C:\Python24\Lib\site-packages\trac\wiki\web_ui.py", line 135, in process_request self._render_view(req, db, page) File "C:\Python24\Lib\site-packages\trac\wiki\web_ui.py", line 443, in _render_view req.hdf['wiki'] = { File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 1001, in wiki_to_html Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines) File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 824, in format result = re.sub(self.wiki.rules, self.replace, line) File "C:\Python24\lib\sre.py", line 142, in sub return _compile(pattern, 0).sub(repl, string, count) RuntimeError: internal error in regular expression engine
Attachments (3)
Change History (11)
by , 17 years ago
Attachment: | wikistart.txt added |
---|
comment:1 by , 17 years ago
Apache version: 2.2;
and seems like the same error occurs when I go to Timeline and View Tickets pages.
however, some wiki pages do not give this error; don't know why.
another thing is that if I remove all content from, for example, wikistart, then it stops displaying error. But even the simplest content, like string "hello world" makes it fail again.
comment:2 by , 17 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added |
Milestone: | 0.10.5 |
I see you're using lots of plugins. Disable them one by one until you find the culprit.
comment:3 by , 17 years ago
actually I suspected that it was TracTags who made the bug; but it proved to be wrong.
here is what I've done: 1) last weeks I entered pretty lot of data into the wiki; it was working fine; 2) today I wanted to disable camelcase links for inexistent pages, modified trac.ini and restarted apache; I also played with splitting page names. 3) and disaster happened. returning values back did not help; reinstalling trac did not help;
Just a minute ago I completed restoring the project environment from backup. After I restored all disk files, everything started working OK.
I'll investigate if WikiCalendar could be the reason (I added it today).
comment:4 by , 17 years ago
Keywords: | needinfo removed |
---|---|
Priority: | high → low |
Severity: | normal → blocker |
comment:5 by , 17 years ago
I also restored database content from backup, and it is still working OK. but some plugins are not present at this time (since this is a restored environment version); will look at them.
comment:6 by , 17 years ago
Summary: | 0.10.4 → Internal error in regular expression engine |
---|
(Fixing title)
comment:7 by , 17 years ago
Reproduced the bad situation again several minutes ago.
Seems like the problem is in HierWiki plugin. The stack trace is in attached text file; but you probably can not be responsible for this.
To fix, I just disabled "Enforce page hierarchy" and "RelativeWikiFormatter" modules of TracHierWiki plugin. After I disabled them and restarted Apache, wiki started working again.
I'll not post here anymore, though, since this problem does not seem to be of your scope.
by , 17 years ago
Attachment: | tracerr.log added |
---|
HierWiki fails, maybe because of too many pages in DB
comment:8 by , 17 years ago
Keywords: | plugin added |
---|---|
Resolution: | → wontfix |
Severity: | blocker → normal |
Status: | new → closed |
Ok, thanks for the update.
source of erroneous page