Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10103 closed defect (duplicate)

RuntimeError: instance.__dict__ not accessible in restricted mode

Reported by: moisespsena@… Owned by:
Priority: high Milestone:
Component: general Version: 0.12-stable
Severity: normal Keywords: request error
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'page': u'Numero_de_versao'}

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0

System Information

Trac 0.12.3dev-r10609
Babel 1.0dev-r558
Docutils 0.7
Genshi 0.7dev
mod_python 3.3.1
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.6 (r266:84292, Sep 15 2010, 16:41:53)
[GCC 4.4.5]
pytz 2010b
setuptools 0.6
SQLite 3.7.2
Subversion 1.6.12 (r955767)
jQuery 1.4.4

Enabled Plugins

graphviz 0.7.6dev

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/web/main.py", line 517, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/web/main.py", line 203, in dispatch
    chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/web/main.py", line 345, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/versioncontrol/api.py", line 330, in pre_process_request
    repo = self.get_repository(reponame)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/versioncontrol/api.py", line 526, in get_repository
    repos = connector.get_repository(rtype, rdir, repoinfo.copy())
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/versioncontrol/svn_fs.py", line 304, in get_repository
    fs_repos = SubversionRepository(dir, params, self.log)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/versioncontrol/svn_fs.py", line 318, in __init__
    self.pool = Pool()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3dev_r10609-py2.6.egg/trac/versioncontrol/svn_fs.py", line 153, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/usr/lib/pymodules/python2.6/svn/core.py", line 241, in svn_pool_create
    return Pool(parent_pool)
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 1572, in svn_pool_create
    return _core.svn_pool_create(*args)
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 5658, in _wrap
    obj.set_parent_pool(self)
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 5571, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 5559, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 44, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/usr/lib/pymodules/python2.6/libsvn/core.py", line 39, 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, 13 years ago

Milestone: 0.12.3
Resolution: duplicate
Status: newclosed

Well known in our list of MostFrequentDuplicates (see #3371).

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.