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

Please log in before deleting

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/DeleteUploadedFile.py in execute(pagename='INTJ', form=FieldStorage(None, None, [MiniFieldStorage('action', 'DeleteUploadedFile')]))
   31     if config.edit_requires_login and (not user.current.valid):
   32         return page.send_page(form,
   33             msg='<strong>%s</strong>' %
       global msg = undefined
   34                 user.current.text('<b>Please <a href="UserPreferences">log in</a> before deleting</b>')) #%webapi.getScriptname()))
   35 

/home/hosting_users/jsbin/www/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, form=FieldStorage(None, None, [MiniFieldStorage('action', 'DeleteUploadedFile')]), msg='Please log in before deleting', **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/INTJ')
   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/INTJ'
   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/INTJ')
  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/INTJ'
  145     return st[stat.ST_MTIME]
  146 

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