Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5768 closed defect (worksforme)

Trac detected an internal error:

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

Description (last modified by Emmanuel Blot)

Just when i hit the default page. and after few refreshes it si ok Here is the Python Traceback……

  File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib64/python2.5/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib64/python2.5/site-packages/trac/versioncontrol/api.py", line 104, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib64/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 234, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/usr/lib64/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 256, in __init__
    self.pool = Pool()
  File "/usr/lib64/python2.5/site-packages/trac/versioncontrol/svn_fs.py", line 133, in __init__
    self._pool = core.svn_pool_create(self._parent_pool())
  File "/usr/lib64/python2.5/site-packages/svn/core.py", line 177, in svn_pool_create
    return Pool(parent_pool)
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 1080, in svn_pool_create
    return apply(_core.svn_pool_create, args)
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 3081, in _wrap
    obj.set_parent_pool(self)
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 2994, in set_parent_pool
    self._parent_pool = parent_pool or application_pool
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 2982, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, apr_pool_t, name, value)
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 22, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 17, in _swig_setattr_nondynamic
    self.__dict__[name] = value
RuntimeError: instance.__dict__ not accessible in restricted mode

Attachments (0)

Change History (5)

comment:1 by ssabchew@…, 17 years ago

Whell it seems that i found the mistake. I've set in the apache config for location I added

<Location /trac> …..

PythonInterpreter main_interpreter

….

</Location>

comment:2 by Emmanuel Blot, 17 years ago

Description: modified (diff)

So do not forget to close the ticket as worksforme (although it is actually a duplicate…) and next time, please take time to mention the version of Trac you're using, add enclosing brackets for the Python traceback - it is a good practice to preview a ticket before submitting it - and use a meaningful summary. Thanks in advance.

in reply to:  2 comment:3 by ssabchew@…, 17 years ago

Resolution: fixed
Status: newclosed
Version: 0.10.4

Well I just entered the error that was on the page - what more for short description??

I'm new for trac, so from now on I'll follow your advice.

Thanks for the fast replay!

comment:4 by Emmanuel Blot, 17 years ago

Resolution: fixed
Status: closedreopened

comment:5 by Emmanuel Blot, 17 years ago

Resolution: worksforme
Status: reopenedclosed

Well, most of the errors are "Internal error" so it does not help a lot when searching for a specific issue.

If you want to report an internal error, copy the last line (that is the error type) from the Python traceback, or better, give an explicit summary such as "RuntimeError when <action that triggered the error>".

BTW fixed is reserved for modification on the code base or on the doc.

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.