Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5565 closed defect (duplicate)

RuntimeError: instance.__dict__ not accessible in restricted mode

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

Description (last modified by Emmanuel Blot)

The following traceback appears quite often:

Python Traceback

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.5/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.5/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.5/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/svn_fs.py", line 259, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/svn_fs.py", line 281, in __init__
    self.pool = Pool()
  File "/var/lib/python-support/python2.5/trac/versioncontrol/svn_fs.py", line 158, 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

Using Trac 0.10.3-1, libapache2-mod-python 0.10.3-1, apache2 2.2.3-3.2build1 under Ubuntu Linux.

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Probable 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.