IOError
[Errno 36] File name too long: '/home/ubuntu/prj/moindata/data/pages/Python(25)E3(25)82(25)92(25)E6(25)8E(25)A1(25)E7(25)94(25)A8(25)E3(25)81(25)97(25)E3(25)81(25)A6(25)E3(25)81(25)84(25)E3(25)82(25)8B(25)E3(25)82(25)A2(25)E3(25)83(25)97(25)E3(25)83(25)AA(25)E3(25)82(25)B1(25)E3(25)83(25)BC(25)E3(25)82(25)B7(25)E3(25)83(25)A7(25)E3(25)83(25)B3/revisions/99999999'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/home/ubuntu/prj/sakitojp/moin/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestWSGI object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler
= <function do_diff>
- self
= <MoinMoin.request.RequestWSGI object>
- self.page
= <MoinMoin.Page.Page instance>
- self.page.page_name
= u'Python%E3%82%92%E6%8E%A1%E7%94%A8%E3%81%97%E3%81...3%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3'
/home/ubuntu/prj/sakitojp/moin/MoinMoin/wikiaction.py
in do_diff
(pagename=u'Python%E3%82%92%E6%8E%A1%E7%94%A8%E3%81%97%E3%81...3%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3', request=<MoinMoin.request.RequestWSGI object>)
- 95 revisions = currentpage.getRevList()
- 96 if len(revisions) < 2:
- 97 currentpage.send_page(request, msg=_("No older revisions available!"))
- 98 return
- 99
- currentpage
= <MoinMoin.Page.Page instance>
- currentpage.send_page
= <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- request
= <MoinMoin.request.RequestWSGI object>
- msg undefined
- _
= <function <lambda>>
/home/ubuntu/prj/sakitojp/moin/MoinMoin/Page.py
in send_page
(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestWSGI object>, msg=u'No older revisions available!', **keywords={})
- 1010
- 1011 # load the text
- 1012 body = self.get_raw_body()
- 1013
- 1014 # if necessary, load the default formatter
- body undefined
- self
= <MoinMoin.Page.Page instance>
- self.get_raw_body
= <bound method Page.get_raw_body of <MoinMoin.Page.Page instance>>
/home/ubuntu/prj/sakitojp/moin/MoinMoin/Page.py
in get_raw_body
(self=<MoinMoin.Page.Page instance>)
- 784 # try to open file
- 785 try:
- 786 file = codecs.open(self._text_filename(), 'rb', config.charset)
- 787 except IOError, er:
- 788 import errno
- builtin
file
= <type 'file'>
- global
codecs
= <module 'codecs' from '/home/ubuntu/opt/pyenv/versions/2.7.17/lib/python2.7/codecs.pyc'>
- codecs.open
= <function open>
- self
= <MoinMoin.Page.Page instance>
- self._text_filename
= <bound method Page._text_filename of <MoinMoin.Page.Page instance>>
- global
config
= <module 'MoinMoin.config' from '/home/ubuntu/prj/sakitojp/moin/MoinMoin/config.pyc'>
- config.charset
= 'utf-8'
/home/ubuntu/opt/pyenv/versions/2.7.17/lib/python2.7/codecs.py
in open
(filename='/home/ubuntu/prj/moindata/data/pages/Python(25)E...(25)83(25)A7(25)E3(25)83(25)B3/revisions/99999999', mode='rb', encoding='utf-8', errors='strict', buffering=1)
- 896 # Force opening of the file in binary mode
- 897 mode = mode + 'b'
- 898 file = __builtin__.open(filename, mode, buffering)
- 899 if encoding is None:
- 900 return file
- builtin
file
= <type 'file'>
- global
__builtin__
= <module '__builtin__' (built-in)>
- __builtin__.open
= <built-in function open>
- filename
= '/home/ubuntu/prj/moindata/data/pages/Python(25)E...(25)83(25)A7(25)E3(25)83(25)B3/revisions/99999999'
- mode
= 'rb'
- buffering
= 1
IOError
[Errno 36] File name too long: '/home/ubuntu/prj/moindata/data/pages/Python(25)E3(25)82(25)92(25)E6(25)8E(25)A1(25)E7(25)94(25)A8(25)E3(25)81(25)97(25)E3(25)81(25)A6(25)E3(25)81(25)84(25)E3(25)82(25)8B(25)E3(25)82(25)A2(25)E3(25)83(25)97(25)E3(25)83(25)AA(25)E3(25)82(25)B1(25)E3(25)83(25)BC(25)E3(25)82(25)B7(25)E3(25)83(25)A7(25)E3(25)83(25)B3/revisions/99999999'
- args = (36, 'File name too long')
- errno = 36
- filename = '/home/ubuntu/prj/moindata/data/pages/Python(25)E...(25)83(25)A7(25)E3(25)83(25)B3/revisions/99999999'
- message = ''
- strerror = 'File name too long'
System Details
- Date: Fri, 29 Mar 2024 02:19:52 +0000
- Platform: Linux sakitojp 5.4.0-1060-aws #63~18.04.1-Ubuntu SMP Mon Nov 15 14:31:31 UTC 2021 x86_64
- Python: Python 2.7.17 (/opt/uwsgi/bin/uwsgi2)
- MoinMoin: Release 1.5.9 (release)