Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5202 closed defect (duplicate)

instance.__dict__ not accessible in restricted mode

Reported by: schst@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

We are using Trac for several projects and are getting an internal error from time to time. The error can happen on any page and after a reload it may re-appear or is gone.

Python 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

Example projects are:

Attachments (0)

Change History (1)

comment:1 by Jonas Borgström, 18 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3371.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.