Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10591 closed defect (duplicate)

RuntimeError: instance.__dict__ not accessible in restricted mode

Reported by: astro Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'cat_id': u'versioncontrol', 'panel_id': u'repository', 'path_info': None}

User agent: Mozilla/5.0 (X11; U; Linux x86_64; uk; rv:1.9.1.16) Gecko/20120131 Iceweasel/3.5.16 (like Firefox/3.5.16)

System Information

Trac 0.12.2
Babel 0.9.6
Bitten 0.6.1dev-r1009
Genshi 0.6
mod_wsgi 2.8 (WSGIProcessGroup WSGIApplicationGroup dns-port.evernet.lutsk.ua|)
psycopg2 2.4
Python 2.7.2 (default, Feb 27 2012, 23:09:23)
[GCC 4.2.1 20070719 [FreeBSD]]
pytz 2011c
setuptools 0.6c11
Subversion 1.6.16 (r1073529)
jQuery 1.4.2

Enabled Plugins

Bitten 0.6.1dev-r1009
TracAccountManager 0.3.2
TracBurndown 1.9.2

Python Traceback

Traceback (most recent call last):
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/web/main.py", line 202, in dispatch
    chosen_handler)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/web/main.py", line 344, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/versioncontrol/api.py", line 330, in pre_process_request
    repo = self.get_repository(reponame)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/versioncontrol/api.py", line 526, in get_repository
    repos = connector.get_repository(rtype, rdir, repoinfo.copy())
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/versioncontrol/svn_fs.py", line 304, in get_repository
    fs_repos = SubversionRepository(dir, params, self.log)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/versioncontrol/svn_fs.py", line 318, in __init__
    self.pool = Pool()
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/versioncontrol/svn_fs.py", line 153, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/usr/local/lib/python2.7/site-packages/svn/core.py", line 241, in svn_pool_create
    return Pool(parent_pool)
  File "/usr/local/lib/python2.7/site-packages/libsvn/core.py", line 1555, in svn_pool_create
    return apply(_core.svn_pool_create, args)
  File "/usr/local/lib/python2.7/site-packages/libsvn/core.py", line 5738, in _wrap
    obj.set_parent_pool(self)
  File "/usr/local/lib/python2.7/site-packages/libsvn/core.py", line 5651, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/usr/local/lib/python2.7/site-packages/libsvn/core.py", line 5639, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File "/usr/local/lib/python2.7/site-packages/libsvn/core.py", line 24, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/usr/local/lib/python2.7/site-packages/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 (3)

comment:1 by Remy Blank, 13 years ago

Resolution: duplicate
Status: newclosed

comment:2 by Remy Blank, 13 years ago

Or maybe #10421.

in reply to:  2 comment:3 by Christian Boos, 13 years ago

Replying to rblank:

Or maybe #10421.

… only if the problem persists once he fixes his mod_wsgi setup (in the above: WSGIApplicationGroup dns-port.evernet.lutsk.ua|).

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.