Opened 17 years ago
Closed 17 years ago
#7910 closed defect (duplicate)
RuntimeError: instance.__dict__ not accessible in restricted mode
| Reported by: | jack | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.2.1 | 
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /newticket, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'create': u'Create',
 'description': u'\r\n==== How to Reproduce ====\r\n\r\nWhile doing a GET operation on `/wiki/kh2TracInstall`, Trac issued an internal error.\r\n\r\n\'\'(please provide additional details here)\'\'\r\n\r\n\r\nRequest parameters:\r\n{{{\r\n{\'page\': u\'kh2TracInstall\'}\r\n}}}\r\n\r\n\r\nUser Agent was: `Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5`\r\n\r\n==== System Information ====\r\n\r\n|| \'\'\'Trac\'\'\' || `0.11.2.1` ||\r\n|| \'\'\'Python\'\'\' || `2.5.2 (r252:60911, Jul 31 2008, 17:44:49) ` [[br]] `[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]` ||\r\n|| \'\'\'setuptools\'\'\' || `0.6c8` ||\r\n|| \'\'\'MySQL\'\'\' || `server: "5.0.51a-3ubuntu5.4", client: "5.0.51a", thread-safe: 0` ||\r\n|| \'\'\'MySQLdb\'\'\' || `1.2.2` ||\r\n|| \'\'\'Genshi\'\'\' || `0.6dev-r988` ||\r\n|| \'\'\'Subversion\'\'\' || `1.4.6 (r28521)` ||\r\n|| \'\'\'jQuery:\'\'\' || `1.2.6` ||\r\n\r\n==== Python Traceback ====\r\n{{{\r\nTraceback (most recent call last):\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 174, in dispatch\r\n    chosen_handler)\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 295, in _pre_process_request\r\n    chosen_handler = filter_.pre_process_request(req, chosen_handler)\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/api.py", line 86, in pre_process_request\r\n    self.get_repository(req.authname).sync()\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/api.py", line 157, in get_repository\r\n    repos = self._connector.get_repository(rtype, rdir, authname)\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 280, in get_repository\r\n    \'branches\': self.branches})\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 390, in __init__\r\n    self.pool = Pool()\r\n  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 151, in __init__\r\n    self._pool = core.svn_pool_create(self._parent_pool())\r\n  File "/var/lib/python-support/python2.5/svn/core.py", line 177, in svn_pool_create\r\n    return Pool(parent_pool)\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 1082, in svn_pool_create\r\n    return apply(_core.svn_pool_create, args)\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 3105, in _wrap\r\n    obj.set_parent_pool(self)\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 2996, in set_parent_pool\r\n    self._parent_pool = parent_pool or application_pool\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 2984, in <lambda>\r\n    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 24, in _swig_setattr\r\n    return _swig_setattr_nondynamic(self,class_type,name,value,0)\r\n  File "/var/lib/python-support/python2.5/libsvn/core.py", line 19, in _swig_setattr_nondynamic\r\n    self.__dict__[name] = value\r\nRuntimeError: instance.__dict__ not accessible in restricted mode\r\n\r\n}}}\r\n    ',
 'reporter': u'anonymous',
 'summary': u'RuntimeError: instance.__dict__ not accessible in restricted mode'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
System Information
| Trac |  0.11.2.1 
 | 
| Python |  2.5.2 (r252:60911, Jul 31 2008, 17:44:49)  [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] 
 | 
| setuptools |  0.6c8 
 | 
| MySQL |  server: "5.0.51a-3ubuntu5.4", client: "5.0.51a", thread-safe: 0 
 | 
| MySQLdb |  1.2.2 
 | 
| Genshi |  0.6dev-r988 
 | 
| Subversion |  1.4.6 (r28521) 
 | 
| jQuery: |  1.2.6 
 | 
Python Traceback
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 174, in dispatch
    chosen_handler)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 295, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/api.py", line 86, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/api.py", line 157, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 280, in get_repository
    'branches': self.branches})
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 390, in __init__
    self.pool = Pool()
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 151, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/var/lib/python-support/python2.5/svn/core.py", line 177, in svn_pool_create
    return Pool(parent_pool)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 1082, in svn_pool_create
    return apply(_core.svn_pool_create, args)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 3105, in _wrap
    obj.set_parent_pool(self)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 2996, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 2984, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 24, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 19, in _swig_setattr_nondynamic
    self.__dict__[name] = value
RuntimeError: instance.__dict__ not accessible in restricted mode
Attachments (3)
Change History (4)
by , 17 years ago
| Attachment: | 0001_02.jpg added | 
|---|
by , 17 years ago
this is the first error image of this series when I was just trying to switch from one of the document pages to another page.
comment:1 by , 17 years ago
| Resolution: | → duplicate | 
|---|---|
| Status: | new → closed | 
One of the MostFrequentDuplicates reported for the umpteenth time. Also, your second screenshot doesn't have the least be to do with this.



  
this is the third error image of this series