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

Please log in before uploading

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/UploadFile.py in execute(pagename='\xeb\xa7\x9d\xec\xb4\x88', form=FieldStorage(None, None, [MiniFieldStorage('action', 'UploadFile')]))
   21     actname = string.split(__name__, '.')[-1]
   22     page = Page(pagename)
   23     error=printErrorMessage(actname,page,form)
       error = undefined, global printErrorMessage = <function printErrorMessage>, actname = 'UploadFile', page = <MoinMoin.Page.Page instance>, form = FieldStorage(None, None, [MiniFieldStorage('action', 'UploadFile')])
   24     if error:
   25         return

/home/hosting_users/jsbin/www/MoinMoin/action/UploadFile.py in printErrorMessage(actname='UploadFile', page=<MoinMoin.Page.Page instance>, form=FieldStorage(None, None, [MiniFieldStorage('action', 'UploadFile')]))
   13         return 1
   14     elif config.edit_requires_login and (not user.current.valid):
   15         page.send_page(form,msg='<strong>%s</strong>' %
       page = <MoinMoin.Page.Page instance>, global send_page = undefined, form = FieldStorage(None, None, [MiniFieldStorage('action', 'UploadFile')]), global msg = undefined, global user = <module 'MoinMoin.user' from '/home/hosting_users/jsbin/www/MoinMoin/user.pyo'>, global current = undefined, global text = undefined
   16                 user.current.text('<b>Please <a href="UserPreferences">log in</a> before uploading</b>'))
   17         return 1

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

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