TerMine (C-value) analysis

Service questionnaire

Processing...

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.6.6: /usr/bin/python
Wed Jul 6 11:53:42 2022

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/nactem/homepage/software/termine/cgi-bin/termine_cvalue.cgi in ()
  287                 if url.lower().endswith('.pdf'):
  288                     prebr = False
  289             input_text = input_url.read(form, prebr)
  290     end = time.time()
  291     overall_time += (end - begin)
input_text = ['This is the text result of text mining.'], input_url = <module 'input_url' from '/home/nactem/homepage/software/termine/cgi-bin/input_url.py'>, input_url.read = <function read>, form = FieldStorage(None, None, [MiniFieldStorage('type', 'url'), MiniFieldStorage('url', 'http')]), prebr = False
 /home/nactem/homepage/software/termine/cgi-bin/input_url.py in read(form=FieldStorage(None, None, [MiniFieldStorage('type', 'url'), MiniFieldStorage('url', 'http')]), prebr=False)
   85         return [text,]
   86     else:
   87         return read_text(url, prebr)
   88 
   89 def read_old(form):
global read_text = <function read_text>, url = 'http', prebr = False
 /home/nactem/homepage/software/termine/cgi-bin/input_url.py in read_text(url='http', prebr=False)
   23     
   24 def read_text(url, prebr):
   25     res = urllib.urlopen(url)
   26     if res.info().getmaintype() != 'text':
   27         return None
res undefined, global urllib = <module 'urllib' from '/usr/lib64/python2.6/urllib.pyc'>, urllib.urlopen = <function urlopen>, url = 'http'
 /usr/lib64/python2.6/urllib.py in urlopen(url='http', data=None, proxies=None)
   84         opener = _urlopener
   85     if data is None:
   86         return opener.open(url)
   87     else:
   88         return opener.open(url, data)
opener = <urllib.FancyURLopener instance>, opener.open = <bound method FancyURLopener.open of <urllib.FancyURLopener instance>>, url = 'http'
 /usr/lib64/python2.6/urllib.py in open(self=<urllib.FancyURLopener instance>, fullurl='http', data=None)
  205         try:
  206             if data is None:
  207                 return getattr(self, name)(url)
  208             else:
  209                 return getattr(self, name)(url, data)
builtin getattr = <built-in function getattr>, self = <urllib.FancyURLopener instance>, name = 'open_file', url = 'http'
 /usr/lib64/python2.6/urllib.py in open_file(self=<urllib.FancyURLopener instance>, url='http')
  467             return self.open_ftp(url)
  468         else:
  469             return self.open_local_file(url)
  470 
  471     def open_local_file(self, url):
self = <urllib.FancyURLopener instance>, self.open_local_file = <bound method FancyURLopener.open_local_file of <urllib.FancyURLopener instance>>, url = 'http'
 /usr/lib64/python2.6/urllib.py in open_local_file(self=<urllib.FancyURLopener instance>, url='http')
  481             stats = os.stat(localname)
  482         except OSError, e:
  483             raise IOError(e.errno, e.strerror, e.filename)
  484         size = stats.st_size
  485         modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
builtin IOError = <type 'exceptions.IOError'>, e = OSError(2, 'No such file or directory'), e.errno = 2, e.strerror = 'No such file or directory', e.filename = 'http'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'http'
      args = (2, 'No such file or directory')
      errno = 2
      filename = 'http'
      message = ''
      strerror = 'No such file or directory'