Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8087 closed defect (duplicate)

RuntimeError: instance.__dict__ not accessible in restricted mode

Reported by: marcin.misiewicz@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /admin, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': None, 'panel_id': None, 'path_info': None}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Jan 4 2009, 18:00:02)
[GCC 4.3.2]
setuptools 0.6c8
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.1 (r32289)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch
    chosen_handler)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 286, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 86, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.5/site-packages/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/versioncontrol/svn_fs.py", line 280, in get_repository
    'branches': self.branches})
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 390, in __init__
    self.pool = Pool()
  File "/usr/lib/python2.5/site-packages/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 248, in svn_pool_create
    return Pool(parent_pool)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 1440, in svn_pool_create
    return apply(_core.svn_pool_create, args)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 5010, in _wrap
    obj.set_parent_pool(self)
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 4923, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/var/lib/python-support/python2.5/libsvn/core.py", line 4911, 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 (0)

Change History (1)

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

Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.