개미개미   Page Name UserPreferences
 
Help Info Print View Search Diffs Edit
 제목   도움말   찾기   대문   바뀐글 

This page is already deleted or was never created!

Clear message



PythonPowered EditText of this page
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile
>
 
 
OSError
Python 2.2.1
/home/bin/python

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call last.

/home/hosting_users/jsbin/www/MoinMoin/cgimain.py in run(_cgiform=<class cgi.FieldStorage>)
  171         try:
  172             from MoinMoin.support import cgitb
  173             cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/home/hosting_users/jsbin/www/MoinMoin/support/cgitb.pyo'>, handler = <function execute>
  174         except:
  175             cgi.print_exception()

/home/hosting_users/jsbin/www/MoinMoin/action/DeletePage.py in execute(pagename='PageName', form=FieldStorage(None, None, [MiniFieldStorage('action', 'DeletePage')]))
   31     if not page.exists():
   32         return page.send_page(form,
   33             msg='<strong>%s</strong>' %
       global msg = undefined
   34                 user.current.text('This page is already deleted or was never created!'))
   35 

/home/hosting_users/jsbin/www/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, form=FieldStorage(None, None, [MiniFieldStorage('action', 'DeletePage')]), msg='This page is already deleted or was never created!', **keywords={})
  304             key   = wikiutil.quoteFilename(self.page_name)
  305             cache = caching.CacheEntry(arena, key)
  306             if cache.needsUpdate(self._text_filename()):
       cache = <MoinMoin.caching.CacheEntry instance>, global needsUpdate = undefined, self = <MoinMoin.Page.Page instance>, global _text_filename = undefined
  307                 links = self.formatter.pagelinks
  308                 links.sort()

/home/hosting_users/jsbin/www/MoinMoin/caching.py in needsUpdate(self=<MoinMoin.caching.CacheEntry instance>, filename='/home/hosting_users/jsbin/www/wiki/data/text/PageName')
   48         try:
   49             ctime = os.path.getmtime(self._filename())
   50             ftime = os.path.getmtime(filename)
       ftime = undefined, global os = <module 'os' from '/usr/local/python-2.2.1/lib/python2.2/os.pyo'>, global path = undefined, global getmtime = undefined, filename = '/home/hosting_users/jsbin/www/wiki/data/text/PageName'
   51         except IOError:
   52             return 1

/usr/local/python-2.2.1/lib/python2.2/posixpath.py in getmtime(filename='/home/hosting_users/jsbin/www/wiki/data/text/PageName')
  142 def getmtime(filename):
  143     """Return the last modification time of a file, reported by os.stat()."""
  144     st = os.stat(filename)
       st = undefined, global os = <module 'os' from '/usr/local/python-2.2.1/lib/python2.2/os.pyo'>, global stat = <module 'stat' from '/usr/local/python-2.2.1/lib/python2.2/stat.pyo'>, filename = '/home/hosting_users/jsbin/www/wiki/data/text/PageName'
  145     return st[stat.ST_MTIME]
  146 

OSError: [Errno 2] No such file or directory: '/home/hosting_users/jsbin/www/wiki/data/text/PageName'
      __doc__ = 'OS system call failed.'
      __getitem__ = <bound method OSError.__getitem__ of <exceptions.OSError instance at 0x82318bc>>
      __init__ = <bound method OSError.__init__ of <exceptions.OSError instance at 0x82318bc>>
      __module__ = 'exceptions'
      __str__ = <bound method OSError.__str__ of <exceptions.OSError instance at 0x82318bc>>
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/hosting_users/jsbin/www/wiki/data/text/PageName'
      strerror = 'No such file or directory'