Attached Files
--> -->| OSError[Errno 40] Too many levels of symbolic links: '../data/pages/MarktTeil/attachments/Lebensberatung' | Please include this information in your bug reports!: Python Python 2.4.1: /usr/bin/python Linux tfwiki1 2.6.13-15.18-default #1 Tue Oct 2 17:36:20 UTC 2007 i686 MoinMoin Release 1.3.5 [Revision 1.3.5 release] Sat Nov 21 07:44:42 2009 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/lib/python2.4/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI object>) |
| 834 from MoinMoin.wikiaction import getHandler |
| 835 handler = getHandler(self, action) |
| 836 handler(self.page.page_name, self) |
| 837 |
| 838 # 5. Or redirect to another page |
| handler = <function execute>, self = <MoinMoin.request.RequestCGI object>, self.page = <MoinMoin.Page.Page instance>, self.page.page_name = u'MarktTeil' |
| /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute(pagename=u'MarktTeil', request=<MoinMoin.request.RequestCGI object>) |
| 399 msg = _('You are not allowed to save a drawing on this page.') |
| 400 elif not request.form.has_key('do'): |
| 401 upload_form(pagename, request) |
| 402 elif request.form['do'][0] == 'upload': |
| 403 if request.user.may.write(pagename): |
| global upload_form = <function upload_form>, pagename = u'MarktTeil', request = <MoinMoin.request.RequestCGI object> |
| /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in upload_form(pagename=u'MarktTeil', request=<MoinMoin.request.RequestCGI object>, msg='') |
| 440 wikiutil.send_title(request, _('Attachments for "%(pagename)s"') % {'pagename': pagename}, pagename=pagename, msg=msg) |
| 441 request.write('<div id="content">\n') # start content div |
| 442 send_uploadform(pagename, request) |
| 443 request.write('</div>\n') # end content div |
| 444 wikiutil.send_footer(request, pagename, showpage=1) |
| global send_uploadform = <function send_uploadform>, pagename = u'MarktTeil', request = <MoinMoin.request.RequestCGI object> |
| /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in send_uploadform(pagename=u'MarktTeil', request=<MoinMoin.request.RequestCGI object>) |
| 336 |
| 337 request.write('<h2>' + _("Attached Files") + '</h2>') |
| 338 request.write(_get_filelist(request, pagename)) |
| 339 |
| 340 if not request.user.may.write(pagename): |
| request = <MoinMoin.request.RequestCGI object>, request.write = <bound method RequestCGI.write of <MoinMoin.request.RequestCGI object>>, global _get_filelist = <function _get_filelist>, pagename = u'MarktTeil' |
| /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _get_filelist(request=<MoinMoin.request.RequestCGI object>, pagename=u'MarktTeil') |
| 256 |
| 257 def _get_filelist(request, pagename): |
| 258 return _build_filelist(request, pagename, 1, 0) |
| 259 |
| 260 |
| global _build_filelist = <function _build_filelist>, request = <MoinMoin.request.RequestCGI object>, pagename = u'MarktTeil' |
| /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _build_filelist(request=<MoinMoin.request.RequestCGI object>, pagename=u'MarktTeil', showheader=1, readonly=0) |
| 206 |
| 207 for file in files: |
| 208 fsize = float(os.stat(os.path.join(attach_dir,file).encode(config.charset))[6]) # in byte |
| 209 fsize = "%.1f" % (fsize / 1024) |
| 210 baseurl = request.getScriptname() |
| fsize = '64.9', float undefined, global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>, os.stat = <built-in function stat>, os.path = <module 'posixpath' from '/usr/lib/python2.4/posixpath.pyc'>, os.path.join = <function join>, attach_dir = '../data/pages/MarktTeil/attachments', file = u'Lebensberatung', ).encode = <built-in method encode of unicode object>, global config = <module 'MoinMoin.config' from '/usr/lib/python2.4/site-packages/MoinMoin/config.pyc'>, config.charset = 'utf-8' |
OSError: [Errno 40] Too many levels of symbolic links: '../data/pages/MarktTeil/attachments/Lebensberatung'
__doc__ =
'OS system call failed.'
__getitem__ =
<bound method OSError.__getitem__ of <exceptions.OSError instance>>
__init__ =
<bound method OSError.__init__ of <exceptions.OSError instance>>
__module__ =
'exceptions'
__str__ =
<bound method OSError.__str__ of <exceptions.OSError instance>>
args =
(40, 'Too many levels of symbolic links')
errno =
40
filename =
'../data/pages/MarktTeil/attachments/Lebensberatung'
strerror =
'Too many levels of symbolic links'