Attachment 'ChangePassword.html'

Download

Other users will be blocked from editing this page until 2006-05-07 18:56:24. Use the Preview button to extend the locking period.

OSError

[Errno 2] No such file or directory: '/home/web/Moin/drawiki/data/pages\\ChangePassword\\attachments\\ScreenShots/Password.jpg'

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. C:\Python24\Lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1135 from MoinMoin.wikiaction import getHandler
    2. 1136 handler = getHandler(self, action)
    3. 1137 handler(self.page.page_name, self)
    4. 1138
    5. 1139 # 5. Or redirect to another page
    • handler = <function do_edit>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'ChangePassword'
  2. C:\Python24\Lib\site-packages\MoinMoin\wikiaction.py in do_edit (pagename=u'ChangePassword', request=<MoinMoin.request.RequestModPy object>)

    1. 631 # Preview with mode switch
    2. 632 elif request.form.has_key('button_switch'):
    3. 633 pg.sendEditor(preview=savetext, comment=comment, staytop=1)
    4. 634
    5. 635 # Save new text
    • pg = <MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>
    • pg.sendEditor = <bound method PageGraphicalEditor.sendEditor of ...ageGraphicalEditor.PageGraphicalEditor instance>>
    • preview undefined
    • savetext = u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n'
    • comment = u''
    • staytop undefined
  3. C:\Python24\Lib\site-packages\MoinMoin\PageGraphicalEditor.py in sendEditor (self=<MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>, **kw={'comment': u'', 'preview': u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n', 'staytop': 1})

    1. 287 self.formatter = Formatter(request)
    2. 288 self.formatter.page = self
    3. 289 output = request.redirectedOutput(self.send_page_content, request, Parser, raw_body, do_cache=False)
    4. 290 output = repr(output)
    5. 291 if output[0] == 'u':
    • output undefined
    • request = <MoinMoin.request.RequestModPy object>
    • request.redirectedOutput = <bound method RequestModPy.redirectedOutput of <MoinMoin.request.RequestModPy object>>
    • self = <MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>
    • self.send_page_content = <bound method PageGraphicalEditor.send_page_cont...ageGraphicalEditor.PageGraphicalEditor instance>>
    • global Parser = <class MoinMoin.parser.wiki.Parser>
    • raw_body = u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n'
    • do_cache undefined
    • builtin False = False
  4. C:\Python24\Lib\site-packages\MoinMoin\request.py in redirectedOutput (self=<MoinMoin.request.RequestModPy object>, function=<bound method PageGraphicalEditor.send_page_cont...ageGraphicalEditor.PageGraphicalEditor instance>>, *args=(<MoinMoin.request.RequestModPy object>, <class MoinMoin.parser.wiki.Parser>, u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n'), **kw={'do_cache': False})

    1. 716 self.redirect(buffer)
    2. 717 try:
    3. 718 function(*args, **kw)
    4. 719 finally:
    5. 720 self.redirect()
    • function = <bound method PageGraphicalEditor.send_page_cont...ageGraphicalEditor.PageGraphicalEditor instance>>
    • args = (<MoinMoin.request.RequestModPy object>, <class MoinMoin.parser.wiki.Parser>, u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n')
    • kw = {'do_cache': False}
  5. C:\Python24\Lib\site-packages\MoinMoin\Page.py in send_page_content (self=<MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'=== Change Password ===\nPasswords are case sensi...olBus.gif]\nNext stop is TransferUpdateAuthority.\n', format_args='', do_cache=False, **kw={})

    1. 1313
    2. 1314 if not (do_cache and self.canUseCache(Parser)):
    3. 1315 self.format(parser)
    4. 1316 else:
    5. 1317 try:
    • self = <MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>
    • self.format = <bound method PageGraphicalEditor.format of <Moi...ageGraphicalEditor.PageGraphicalEditor instance>>
    • parser = <MoinMoin.parser.wiki.Parser instance>
  6. C:\Python24\Lib\site-packages\MoinMoin\Page.py in format (self=<MoinMoin.PageGraphicalEditor.PageGraphicalEditor instance>, parser=<MoinMoin.parser.wiki.Parser instance>)

    1. 1330 def format(self, parser):
    2. 1331 """ Format and write page content without caching """
    3. 1332 parser.format(self.formatter)
    4. 1333
    5. 1334 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.PageGraphicalEditor.PageGraphicalEditor instance>
    • self.formatter = <MoinMoin.formatter.text_gedit.Formatter instance>
  7. C:\Python24\Lib\site-packages\MoinMoin\parser\wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_gedit.Formatter instance>)

    1. 1098
    2. 1099 # Scan line, format and write
    3. 1100 formatted_line = self.scan(scan_re, line)
    4. 1101 self.request.write(formatted_line)
    5. 1102
    • formatted_line = u'web applications like this and similar transactions. '
    • 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'attachment:ScreenShots/Password.jpg '
  8. C:\Python24\Lib\site-packages\MoinMoin\parser\wiki.py in scan (self=<MoinMoin.parser.wiki.Parser instance>, scan_re=<_sre.SRE_Pattern object>, line=u'attachment:ScreenShots/Password.jpg ')

    1. 874 self.in_table or self.in_list):
    2. 875 result.append(self.formatter.paragraph(1, css_class="line867"))
    3. 876 result.append(self.replace(match))
    4. 877 lastpos = match.end()
    5. 878
    • result = ['<p class="line867">']
    • 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>
  9. C:\Python24\Lib\site-packages\MoinMoin\parser\wiki.py in replace (self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)

    1. 903 # Get replace method and replece hit
    2. 904 replace = getattr(self, '_' + type + '_repl')
    3. 905 result.append(replace(hit))
    4. 906 return ''.join(result)
    5. 907 else:
    • result = []
    • result.append = <built-in method append of list object>
    • replace = <bound method Parser._url_repl of <MoinMoin.parser.wiki.Parser instance>>
    • hit = u'attachment:ScreenShots/Password.jpg'
  10. C:\Python24\Lib\site-packages\MoinMoin\parser\wiki.py in _url_repl (self=<MoinMoin.parser.wiki.Parser instance>, word=u'attachment:ScreenShots/Password.jpg')

    1. 376 return self.interwiki([word])
    2. 377 if scheme in self.attachment_schemas:
    3. 378 return self.attachment([word])
    4. 379
    5. 380 if wikiutil.isPicture(word):
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.attachment = <bound method Parser.attachment of <MoinMoin.parser.wiki.Parser instance>>
    • word = u'attachment:ScreenShots/Password.jpg'
  11. C:\Python24\Lib\site-packages\MoinMoin\parser\wiki.py in attachment (self=<MoinMoin.parser.wiki.Parser instance>, url_and_text=[u'attachment:ScreenShots/Password.jpg'], **kw={})

    1. 223 # (images are always inlined, just like for other URLs)
    2. 224 if not kw.get('pretty_url', 0) and wikiutil.isPicture(url):
    3. 225 return self.formatter.attachment_image(url)
    4. 226
    5. 227 # inline the attachment
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.formatter = <MoinMoin.formatter.text_gedit.Formatter instance>
    • self.formatter.attachment_image = <bound method Formatter.attachment_image of <MoinMoin.formatter.text_gedit.Formatter instance>>
    • url = u'ScreenShots/Password.jpg'
  12. C:\Python24\Lib\site-packages\MoinMoin\formatter\text_gedit.py in attachment_image (self=<MoinMoin.formatter.text_gedit.Formatter instance>, url=u'ScreenShots/Password.jpg', **kw={})

    1. 77 return self.image(
    2. 78 title="attachment:%s" % wikiutil.quoteWikinameURL(url),
    3. 79 src=AttachFile.getAttachUrl(pagename, url, self.request, addts=1))
    4. 80
    5. 81 def attachment_drawing(self, url, text, **kw):
    • src undefined
    • global AttachFile = <module 'MoinMoin.action.AttachFile' from 'C:\Py...ib\site-packages\MoinMoin\action\AttachFile.pyc'>
    • AttachFile.getAttachUrl = <function getAttachUrl>
    • pagename = u'ChangePassword'
    • url = u'ScreenShots/Password.jpg'
    • self = <MoinMoin.formatter.text_gedit.Formatter instance>
    • self.request = <MoinMoin.request.RequestModPy object>
    • addts undefined
  13. C:\Python24\Lib\site-packages\MoinMoin\action\AttachFile.py in getAttachUrl (pagename=u'ChangePassword', filename=u'ScreenShots/Password.jpg', request=<MoinMoin.request.RequestModPy object>, addts=1, escaped=0)

    1. 90 if addts:
    2. 91 try:
    3. 92 timestamp = '?ts=%s' % os.path.getmtime(
    4. 93 getFilename(request, pagename, filename))
    5. 94 except IOError:
    • timestamp = ''
    • global os = <module 'os' from 'C:\Python24\Lib\os.pyc'>
    • os.path = <module 'ntpath' from 'C:\Python24\Lib\ntpath.pyc'>
    • os.path.getmtime = <function getmtime>
    • global getFilename = <function getFilename>
    • request = <MoinMoin.request.RequestModPy object>
    • pagename = u'ChangePassword'
    • filename = u'ScreenShots/Password.jpg'
  14. C:\Python24\lib\ntpath.py in getmtime (filename=r'/home/web/Moin/drawiki/data/pages\ChangePassword\attachments\ScreenShots/Password.jpg')

    1. 231 def getmtime(filename):
    2. 232 """Return the last modification time of a file, reported by os.stat()"""
    3. 233 return os.stat(filename).st_mtime
    4. 234
    5. 235 def getatime(filename):
    • global os = <module 'os' from 'C:\Python24\Lib\os.pyc'>
    • os.stat = <built-in function stat>
    • filename = r'/home/web/Moin/drawiki/data/pages\ChangePassword\attachments\ScreenShots/Password.jpg'
    • ).st_mtime undefined

OSError

[Errno 2] No such file or directory: '/home/web/Moin/drawiki/data/pages\\ChangePassword\\attachments\\ScreenShots/Password.jpg'

  • args = (2, 'No such file or directory')
  • errno = 2
  • filename = r'/home/web/Moin/drawiki/data/pages\ChangePassword\attachments\ScreenShots/Password.jpg'
  • strerror = 'No such file or directory'

System Details

  • Date: Mon, 08 May 2006 01:26:24 +0000
  • Platform: win32 (nt)
  • Python: Python 2.4.3 (C:\Program Files\Apache Group\Apache2\bin\Apache.exe)
  • MoinMoin: Release 1.5.3 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-05-08 01:52:47, 48.9 KB) [[attachment:ChangePassword.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.