Модуль для курсов

Модуль для курсов должен быть сделан из шаблона CourseModuleTemplate и ссылаться на данную категорию.

Все модули: --> -->

IOError

[Errno 20] Not a directory: '../data/pages/SecCheck2/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.

  1. /usr/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1149 from MoinMoin.wikiaction import getHandler
    2. 1150 handler = getHandler(self, action)
    3. 1151 handler(self.page.page_name, self)
    4. 1152
    5. 1153 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'CategoryCourseModule'
  2. /usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'CategoryCourseModule', request=<MoinMoin.request.RequestCGI object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'CategoryCourseModule'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1251 format_args=pi_formatargs,
    2. 1252 do_cache=do_cache,
    3. 1253 start_line=pi_lines)
    4. 1254
    5. 1255 # check for pending footnotes
    • start_line undefined
    • pi_lines = 0
  4. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'= \u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043a\u0443\u0440\u0441\u043e\u0432 =\n\u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043a\u0443\u0440\u0441\u043e\u0432 \u0434\u043e\u043b\u0436\u0435\u043d \u0431...ullSearch()]]\n----\nCategoryCategory CourseModule\n', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1338
    2. 1339 if not (do_cache and self.canUseCache(Parser)):
    3. 1340 self.format(parser)
    4. 1341 else:
    5. 1342 try:
    • self = <MoinMoin.Page.Page instance>
    • self.format = <bound method Page.format of <MoinMoin.Page.Page instance>>
    • parser = <MoinMoin.parser.wiki.Parser instance>
  5. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page instance>, parser=<MoinMoin.parser.wiki.Parser instance>)

    1. 1359 def format(self, parser):
    2. 1360 """ Format and write page content without caching """
    3. 1361 parser.format(self.formatter)
    4. 1362
    5. 1363 def execute(self, request, parser, code):
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance>>
    • self = <MoinMoin.Page.Page instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
  6. /usr/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)

    1. 1100
    2. 1101 # Scan line, format and write
    3. 1102 formatted_line = self.scan(scan_re, line)
    4. 1103 self.request.write(formatted_line)
    5. 1104
    • formatted_line = u'<p class="line874">\u0412\u0441\u0435 \u043c\u043e\u0434\u0443\u043b\u0438: '
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.scan = <bound method Parser.scan of <MoinMoin.parser.wiki.Parser instance>>
    • scan_re = <_sre.SRE_Pattern object>
    • line = u'[[FullSearch()]] '
  7. /usr/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in scan (self=<MoinMoin.parser.wiki.Parser instance>, scan_re=<_sre.SRE_Pattern object>, line=u'[[FullSearch()]] ')

    1. 876 self.in_table or self.in_list):
    2. 877 result.append(self.formatter.paragraph(1, css_class="line867"))
    3. 878 result.append(self.replace(match))
    4. 879 lastpos = match.end()
    5. 880
    • result = []
    • result.append = <built-in method append of list object>
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.replace = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance>>
    • match = <_sre.SRE_Match object>
  8. /usr/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in replace (self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)

    1. 905 # Get replace method and replece hit
    2. 906 replace = getattr(self, '_' + type + '_repl')
    3. 907 result.append(replace(hit))
    4. 908 return ''.join(result)
    5. 909 else:
    • result = []
    • result.append = <built-in method append of list object>
    • replace = <bound method Parser._macro_repl of <MoinMoin.parser.wiki.Parser instance>>
    • hit = u'[[FullSearch()]]'
  9. /usr/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in _macro_repl (self=<MoinMoin.parser.wiki.Parser instance>, word=u'[[FullSearch()]]')

    1. 850 if self.macro is None:
    2. 851 self.macro = wikimacro.Macro(self)
    3. 852 return self.formatter.macro(self.macro, macro_name, args)
    4. 853
    5. 854 def scan(self, scan_re, line):
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>
    • self.macro = <MoinMoin.wikimacro.Macro instance>
    • macro_name = u'FullSearch'
    • args = u''
  10. /usr/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'FullSearch', args=u'')

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 292 def _get_bang_args(self, line):
    • macro_obj = <MoinMoin.wikimacro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
    • name = u'FullSearch'
    • args = u''
  11. /usr/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'FullSearch', args=u'')

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = u''
  12. /usr/lib/python2.4/site-packages/MoinMoin/macro/FullSearch.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, needle=u'"CategoryCourseModule"')

    1. 56 # Search the pages and return the results
    2. 57 query = search.QueryParser().parse_query(needle)
    3. 58 results = search.searchPages(request, query)
    4. 59 results.sortByPagename()
    5. 60
    • results undefined
    • global search = <module 'MoinMoin.search' from '/usr/lib/python2.4/site-packages/MoinMoin/search.pyc'>
    • search.searchPages = <function searchPages>
    • request = <MoinMoin.request.RequestCGI object>
    • query = <MoinMoin.search.TextSearch instance>
  13. /usr/lib/python2.4/site-packages/MoinMoin/search.py in searchPages (request=<MoinMoin.request.RequestCGI object>, query=<MoinMoin.search.TextSearch instance>, **kw={})

    1. 1265 @rtype: SearchResults instance
    2. 1266 @return: search results
    3. 1267 """
    4. 1268 return Search(request, query).run()
    5. 1269
    • global Search = <class MoinMoin.search.Search>
    • request = <MoinMoin.request.RequestCGI object>
    • query = <MoinMoin.search.TextSearch instance>
    • ).run undefined
  14. /usr/lib/python2.4/site-packages/MoinMoin/search.py in run (self=<MoinMoin.search.Search instance>)

    1. 1166 hits = self._lupySearch()
    2. 1167 else:
    3. 1168 hits = self._moinSearch()
    4. 1169
    5. 1170 # important - filter deleted pages or pages the user may not read!
    • hits undefined
    • self = <MoinMoin.search.Search instance>
    • self._moinSearch = <bound method Search._moinSearch of <MoinMoin.search.Search instance>>
  15. /usr/lib/python2.4/site-packages/MoinMoin/search.py in _moinSearch (self=<MoinMoin.search.Search instance>, pages=[(u'SoonTJ', ''), (u'10 cool ideas for groomsmen gifts', ''), (u'Acquire Paws Off from The Coffee beans Dining room table', ''), (u'Chadwick4V', ''), (u'RootGroup', ''), (u'ElenaLeonova', ''), (u'KristenQvh', ''), (u'Pommade fissure anale vieille salope enculee', ''), (u'FrBrGeorge/ALJCourses/ApplicationInstall', ''), (u'OdessaDyl', ''), (u'MattieZaj', ''), (u'EvaclyodUi', ''), (u'IngridAar', ''), (u'BrigidaPpv', ''), (u'Edu/Soft/Quickref FBReader', ''), (u'Forex Online - How Does it Work', ''), (u'Heap/Books/AltLibrary/InsideOut/200707040813', ''), (u'Watch 2 Broke Girls 2-4 And the Cupcake War Online', ''), (u'SharylEzo', ''), (u'Heap/Books/AltLibrary/InsideOut/200707040818', ''), ...])

    1. 1227 hits.append((page, attachment, None))
    2. 1228 else:
    3. 1229 match = self.query.search(page)
    4. 1230 if match:
    5. 1231 hits.append((page, attachment, match))
    • match = None
    • self = <MoinMoin.search.Search instance>
    • self.query = <MoinMoin.search.TextSearch instance>
    • self.query.search = <bound method TextSearch.search of <MoinMoin.search.TextSearch instance>>
    • page = <MoinMoin.Page.Page instance>
  16. /usr/lib/python2.4/site-packages/MoinMoin/search.py in search (self=<MoinMoin.search.TextSearch instance>, page=<MoinMoin.Page.Page instance>)

    1. 242
    2. 243 # Search in page body
    3. 244 body = page.get_raw_body()
    4. 245 for match in self.search_re.finditer(body):
    5. 246 matches.append(TextMatch(re_match=match))
    • body undefined
    • page = <MoinMoin.Page.Page instance>
    • page.get_raw_body = <bound method Page.get_raw_body of <MoinMoin.Page.Page instance>>
  17. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance>)

    1. 781 # try to open file
    2. 782 try:
    3. 783 file = codecs.open(self._text_filename(), 'rb', config.charset)
    4. 784 except IOError, er:
    5. 785 import errno
    • builtin file = <type 'file'>
    • global codecs = <module 'codecs' from '/usr/lib/python2.4/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 '/usr/lib/python2.4/site-packages/MoinMoin/config.pyc'>
    • config.charset = 'utf-8'
  18. /usr/lib/python2.4/codecs.py in open (filename='../data/pages/SecCheck2/revisions/99999999', mode='rb', encoding='utf-8', errors='strict', buffering=1)

    1. 664 # Force opening of the file in binary mode
    2. 665 mode = mode + 'b'
    3. 666 file = __builtin__.open(filename, mode, buffering)
    4. 667 if encoding is None:
    5. 668 return file
    • builtin file = <type 'file'>
    • global __builtin__ = <module '__builtin__' (built-in)>
    • __builtin__.open = <type 'file'>
    • filename = '../data/pages/SecCheck2/revisions/99999999'
    • mode = 'rb'
    • buffering = 1

IOError

[Errno 20] Not a directory: '../data/pages/SecCheck2/revisions/99999999'

  • args = (20, 'Not a directory')
  • errno = 20
  • filename = '../data/pages/SecCheck2/revisions/99999999'
  • strerror = 'Not a directory'

System Details

  • Date: Sun, 25 Oct 2026 22:24:06 +0000
  • Platform: Linux heap.altlinux.org 3.10.0-ovz-el7-alt4.1160.42.2.vz7.184.7 #1 SMP Mon Dec 20 11:24:03 UTC 2021 i686
  • Python: Python 2.4.4 (/usr/bin/python)
  • MoinMoin: Release 1.5.6 (release)