I made some changes to our virtual host setup yesterday, and while
Trac has continued to work fine in most parts, file uploads are being
problematic now.
Sometimes when I upload a graphic, I get the error below (but
sometimes uploading the file works fine - I can upload the same file
again and have it succeed or fail).
Can anyone point me in the right direction to fix / debug it? Trac is
0.10.3 from Debian (0.10.3-1etch2). HierWiki (mentioned because it
appears in this debug) is 1.0, but the attachment below is being added
to a ticket.
2008-05-05 10:02:29,475 Trac[__init__] INFO: Check for sync [344] vs.
cached [344]
2008-05-05 10:02:29,475 Trac[__init__] DEBUG: HierWikiPlugin: In pre-
req filter
2008-05-05 10:03:01,564 Trac[__init__] ERROR: instance.__dict__ not
accessible in restricted mode
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line
387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line
191, in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.4/trac/web/main.py", line
263, in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.4/trac/versioncontrol/
api.py", line 73, in pre_process_request
self.get_repository(req.authname) # triggers a sync if applicable
File "/var/lib/python-support/python2.4/trac/versioncontrol/
api.py", line 101, in get_repository
repos = self._connector.get_repository(rtype, rdir, authname)
File "/var/lib/python-support/python2.4/trac/versioncontrol/
svn_fs.py", line 259, in get_repository
repos = SubversionRepository(dir, None, self.log)
File "/var/lib/python-support/python2.4/trac/versioncontrol/
svn_fs.py", line 281, in __init__
self.pool = Pool()
File "/var/lib/python-support/python2.4/trac/versioncontrol/
svn_fs.py", line 158, in __init__
self._pool = core.svn_pool_create(self._parent_pool())
File "/var/lib/python-support/python2.4/svn/core.py", line 177, in
svn_pool_create
return Pool(parent_pool)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 1080,
in svn_pool_create
return apply(_core.svn_pool_create, args)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 3103,
in _wrap
obj.set_parent_pool(self)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 2994,
in set_parent_pool
self._parent_pool = parent_pool or application_pool
File "/var/lib/python-support/python2.4/libsvn/core.py", line 2982,
in <lambda>
__setattr__ = lambda self, name, value: _swig_setattr(self,
apr_pool_t, name, value)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 22,
in _swig_setattr
return _swig_setattr_nondynamic(self,class_type,name,value,0)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 17,
in _swig_setattr_nondynamic
self.__dict__[name] = value
RuntimeError: instance.__dict__ not accessible in restricted mode
I'm not intimately familiar with Python - we've mostly only met at
parties. But I wouldn't mind taking it further.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---