Edgewall Software

Ticket #4478 (closed defect: duplicate)

Opened 22 months ago

Last modified 22 months ago

instance.__dict__ not accessible in restricted mode

Reported by: neeraj.onscreen@… Owned by: jonas
Priority: high Milestone:
Component: general Version: 0.10.3
Severity: blocker Keywords:
Cc:

Description (last modified by mgood) (diff)

Below is what I am getting when I click on any plugin link on the main page i,e. http://gaim.guifications.org/trac/. Below is the Traceback:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 259, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 281, in __init__
    self.pool = Pool()
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 158, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/var/lib/python-support/python2.4/svn/core.py", line 177, in svn_pool_create
    return Pool(parent_pool)
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 1080, in svn_pool_create
    return apply(_core.svn_pool_create, args)
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 3103, in _wrap
    obj.set_parent_pool(self)
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 2994, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 2982, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 22, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/var/lib/python-support/python2.4/libsvn/core.py", line 17, in _swig_setattr_nondynamic
    self.__dict__[name] = value
RuntimeError: instance.__dict__ not accessible in restricted mode

Attachments

Change History

Changed 22 months ago by mgood

  • status changed from new to closed
  • resolution set to duplicate
  • description modified (diff)

Duplicate of #3371. See specifically comment:ticket:3371:5 regarding the issue.

Add/Change #4478 (instance.__dict__ not accessible in restricted mode)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.