Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#9158 closed defect (duplicate)

RuntimeError: instance.__dict__ not accessible in restricted mode

Reported by: eric@… 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 /, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.3 Safari/533.2

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Jan 20 2010, 22:05:59)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
setuptools 0.6c8
SQLite 3.4.2
pysqlite 2.4.0
Genshi 0.5.1
Pygments 0.9
Subversion 1.4.6 (r28521)
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 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 (0)

Change History (1)

comment:1 by Remy Blank, 15 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.