Opened 16 years ago
Closed 16 years ago
#144 closed defect (worksforme)
RuntimeError: instance.__dict__ not accessible in restricted mode
Reported by: | batchheizer | Owned by: | Eugene Romanenko |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Lucide Core | Version: | 1.0 Beta 3 |
Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /attachment/ticket/143/
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'action': u'new', 'attachfilebutton': u'Attach file', 'path': u'143/', 'realm': u'ticket'}
User Agent was: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.16) Gecko/20080715 PmWFx/2.0.0.16
System Information
Trac | 0.11
|
Python | 2.5.2 (r252:60911, Jul 31 2008, 14:58:20) [GCC 3.4.6 [FreeBSD] 20060305]
|
setuptools | 0.6c8
|
SQLite | 3.3.7
|
pysqlite | 2.3.5
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Pygments | 0.10
|
Subversion | 1.5.1 (r32289)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 173, in dispatch chosen_handler) File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 286, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/api.py", line 79, in pre_process_request self.get_repository(req.authname).sync() File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/api.py", line 142, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/svn_fs.py", line 277, in get_repository 'branches': self.branches}) File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/svn_fs.py", line 387, in __init__ self.pool = Pool() File "/usr/local/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/svn_fs.py", line 151, in __init__ self._pool = core.svn_pool_create(self._parent_pool()) File "/usr/local/lib/python2.5/site-packages/svn/core.py", line 248, in svn_pool_create return Pool(parent_pool) File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 1440, in svn_pool_create return apply(_core.svn_pool_create, args) File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 5010, in _wrap obj.set_parent_pool(self) File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 4923, in set_parent_pool self._parent_pool = parent_pool or application_pool File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 4911, in <lambda> __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value) File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 24, in _swig_setattr return _swig_setattr_nondynamic(self,class_type,name,value,0) File "/usr/local/lib/python2.5/site-packages/libsvn/core.py", line 19, in _swig_setattr_nondynamic self.__dict__[name] = value RuntimeError: instance.__dict__ not accessible in restricted mode
Note:
See TracTickets
for help on using tickets.
That's an annoying bug which happens from time to time, it should be closed in TRAC long time ago but I see it from time to time still. Just hit reload, not nice but works most of the time. I will close the case.