Modify ↓
Ticket #1863 (closed defect: fixed)
Opened 7 years ago
Last modified 6 years ago
Oops w/ page creation
| Reported by: | eblot | Owned by: | mgood |
|---|---|---|---|
| Priority: | low | Milestone: | 0.9 |
| Component: | wiki system | Version: | devel |
| Severity: | minor | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Error
Trac detected an internal error: _pages
From Trac trunk [2033]
Step to reproduce
- Create a new page, save it
- Once displayed, choose Delete this version
- Confirm deletion of version 0
- (re) Create the same page, from the Describe <page> here
- [Preview works]
- Attempt to save the page
Python traceback
Traceback (most recent call last):
File "/local/engine/trac/trac/web/modpython_frontend.py", line 204, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/local/engine/trac/trac/web/main.py", line 433, in dispatch_request
dispatcher.dispatch(req)
File "/local/engine/trac/trac/web/main.py", line 293, in dispatch
resp = chosen_handler.process_request(req)
File "/local/engine/trac/trac/wiki/web_ui.py", line 95, in process_request
self._do_save(req, db, page)
File "/local/engine/trac/trac/wiki/web_ui.py", line 197, in _do_save
req.remote_addr)
File "/local/engine/trac/trac/wiki/model.py", line 140, in save
listener.wiki_page_added(self)
File "/local/engine/trac/trac/wiki/api.py", line 130, in wiki_page_added
self._pages[page.name] = True
File "/local/engine/trac/trac/core.py", line 153, in __getattr__
raise AttributeError, name
AttributeError: _pages
Attachments
Change History
comment:1 Changed 7 years ago by eblot
comment:2 Changed 7 years ago by cmlenz
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
Is this consistently reproducable for you? What front-end are you using (CGI, mod_python, tracd)?
I just tried here with CGI and mod_python and am not seeing the error.
comment:3 Changed 7 years ago by cmlenz
Oh, and if you're running mod_python, are you using a threaded MPM?
comment:4 Changed 6 years ago by mgood
- Owner changed from cmlenz to mgood
- Status changed from assigned to new
Ok, I'm encountering a similar error under mod_python when I try to delete the last version of a page. I'll investigate further.
comment:5 Changed 6 years ago by mgood
- Resolution set to fixed
- Status changed from new to closed
comment:6 Changed 6 years ago by eblot
I want to apologize here, I missed the feedback requests from cmlenz on this ticket. Sorry.
Note: See
TracTickets for help on using
tickets.



Additional note:
It seems the page is successfully created/saved in the SQLite DB. The trouble occurs after the page is stored in the DB.