Modify ↓
#1863 closed defect (fixed)
Oops w/ page creation
Reported by: | Emmanuel Blot | Owned by: | Matthew Good |
---|---|---|---|
Priority: | low | Milestone: | 0.9 |
Component: | wiki system | Version: | devel |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 (0)
Change History (6)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → 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:4 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | assigned → 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 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 19 years ago
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.