--> -->

OSError

[Errno 18] Invalid cross-device link

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.RequestTwisted object>)

    1. 1157 from MoinMoin.wikiaction import getHandler
    2. 1158 handler = getHandler(self, action)
    3. 1159 handler(self.page.page_name, self)
    4. 1160
    5. 1161 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestTwisted object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'HelpContents'
  2. /usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'HelpContents', request=<MoinMoin.request.RequestTwisted 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.RequestTwisted object>
    • pagename = u'HelpContents'
    • ).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.RequestTwisted object>, msg='', **keywords={'count_hit': 1})

    1. 1233 format_args=pi_formatargs,
    2. 1234 do_cache=do_cache,
    3. 1235 start_line=pi_lines)
    4. 1236
    5. 1237 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  4. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u"\nHere is a tour of the most important help pages...t on the mailing list or Moin''''''Moin wiki.]''\n", format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1321 raise
    2. 1322 try:
    3. 1323 code = self.makeCache(request, parser)
    4. 1324 self.execute(request, parser, code)
    5. 1325 except Exception, e:
    • code = <code object ? at 0xb6c40260, file "HelpContents", line 2>
    • self = <MoinMoin.Page.Page instance>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestTwisted object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
  5. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted object>, parser=<MoinMoin.parser.wiki.Parser instance>)

    1. 1387 self.page_name.encode(config.charset), 'exec')
    2. 1388 cache = caching.CacheEntry(request, self, self.getFormatterName())
    3. 1389 cache.update(marshal.dumps(code))
    4. 1390 self.cache_mtime = cache.mtime()
    5. 1391 return code
    • cache = <MoinMoin.caching.CacheEntry instance>
    • cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance>>
    • marshal = <module 'marshal' (built-in)>
    • marshal.dumps = <built-in function dumps>
    • code = <code object ? at 0xb6c40820, file "HelpContents", line 2>
  6. /usr/lib/python2.4/site-packages/MoinMoin/caching.py in update (self=<MoinMoin.caching.CacheEntry instance>, content='c\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00@\x00\x00\x00s\xcd\x08\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01', encode=False)

    1. 103 f.close()
    2. 104 # this is either atomic or happening with real locks set:
    3. 105 filesys.rename(tmpfname, fname)
    4. 106 finally:
    5. 107 self.wlock.release()
    • global filesys = <module 'MoinMoin.util.filesys' from '/usr/lib/python2.4/site-packages/MoinMoin/util/filesys.pyc'>
    • filesys.rename = <function rename>
    • tmpfname = '/tmp/text_WjQ0dV'
    • fname = './underlay/pages/HelpContents/cache/text_html'
  7. /usr/lib/python2.4/site-packages/MoinMoin/util/filesys.py in rename (oldname='/tmp/text_WjQ0dV', newname='./underlay/pages/HelpContents/cache/text_html')

    1. 78 except OSError, er:
    2. 79 pass # let os.rename give us the error (if any)
    3. 80 os.rename(oldname, newname)
    4. 81
    5. 82
    • global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>
    • os.rename = <built-in function rename>
    • oldname = '/tmp/text_WjQ0dV'
    • newname = './underlay/pages/HelpContents/cache/text_html'

OSError

[Errno 18] Invalid cross-device link

  • args = (18, 'Invalid cross-device link')
  • errno = 18
  • filename = None
  • strerror = 'Invalid cross-device link'

System Details

  • Date: Wed, 11 Oct 2006 16:56:02 +0000
  • Platform: Linux humpyham 2.6.16.21-0.13-default #1 Mon Jul 17 17:22:44 UTC 2006 i686
  • Python: Python 2.4.2 (/usr/bin/python)
  • MoinMoin: Release 1.5.5a (release)