--> -->
 
 
<type 'exceptions.ImportError'>
Python 2.7.16: /usr/bin/python
Fri May 3 07:17:31 2024

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

 /var/www/bonito/run.cgi in <module>()
     83         print "</pre>"
     84     else:
=>   85         BonitoCGI(user=username).run_unprotected (selectorname='corpname')
     86 
     87 # vim: ts=4 sw=4 sta et sts=4 si tw=80:
BonitoCGI = <class __main__.BonitoCGI>, user undefined, username = None, ).run_unprotected undefined, selectorname undefined
 /usr/lib/python2.7/dist-packages/bonito/CGIPublisher.py in run_unprotected(self=<__main__.BonitoCGI instance>, path=['findx_form'], selectorname='corpname', outf=<open file '<stdout>', mode 'w'>)
    264                     result = self.error_template % err_msg
    265         self.output_headers(methodname=path[0], params=named_args)
=>  266         self.output_result(methodname, tmpl, result, outf, named_args)
    267 
    268     def process_method (self, methodname, pos_args, named_args):
self = <__main__.BonitoCGI instance>, self.output_result = <bound method BonitoCGI.output_result of <__main__.BonitoCGI instance>>, methodname = 'findx_form', tmpl = 'findx_form.tmpl', result = {'AttrList': [{'label': u'word', 'n': u'word'}], 'Corplist': [{'id': u'KIP', 'name': u'KIP'}, {'id': u'KIPTO', 'name': u'KIPTO'}, {'id': u'ParlaTO', 'name': u'ParlaTO'}, {'id': u'susanne', 'name': u'Susanne'}], 'Globals': [{'name': 'corpname', 'value': u'ParlaTO'}, {'name': 'attrs', 'value': u'word'}, {'name': 'ctxattrs', 'value': u'word'}, {'name': 'structs', 'value': u'doc'}, {'name': 'refs', 'value': u'=doc.doc_number'}, {'name': 'pagesize', 'value': 100}, {'name': 'show_gdex_scores', 'value': 1}], 'Histlist': [], 'Lposlist': [], 'Q': [], 'StructAttrList': [{'label': u'doc.doc_number', 'n': u'doc.doc_number'}, {'label': u'doc.full_conversation', 'n': u'doc.full_conversation'}, {'label': u'doc.full_conversation_jefferson', 'n': u'doc.full_conversation_jefferson'}, {'label': u'conversation.type', 'n': u'conversation.type'}, {'label': u'conversation.participants_number', 'n': u'conversation.participants_number'}, {'label': u'conversation.languages', 'n': u'conversation.languages'}, {'label': u'annotation.audio_file', 'n': u'annotation.audio_file'}, {'label': u'annotation.participant_occupation', 'n': u'annotation.participant_occupation'}, {'label': u'annotation.participant_sex', 'n': u'annotation.participant_sex'}, {'label': u'annotation.files_in_which_participant_appears', 'n': u'annotation.files_in_which_participant_appears'}, {'label': u'annotation.participant_birth_region', 'n': u'annotation.participant_birth_region'}, {'label': u'annotation.participant_age_range', 'n': u'annotation.participant_age_range'}, {'label': u'annotation.participant_degree', 'n': u'annotation.participant_degree'}, {'label': u'annotation.speaker_id', 'n': u'annotation.speaker_id'}], 'Wposlist': [], '_bonito_version': 'open-3.116.13', '_version': u'2.36.7-open-2.167.8-open-3.116.13', ...}, outf = <open file '<stdout>', mode 'w'>, named_args = {'corpname': u'ParlaTO'}
 /usr/lib/python2.7/dist-packages/bonito/CGIPublisher.py in output_result(self=<__main__.BonitoCGI instance>, methodname='findx_form', template='findx_form.tmpl', result={'AttrList': [{'label': u'word', 'n': u'word'}], 'Corplist': [{'id': u'KIP', 'name': u'KIP'}, {'id': u'KIPTO', 'name': u'KIPTO'}, {'id': u'ParlaTO', 'name': u'ParlaTO'}, {'id': u'susanne', 'name': u'Susanne'}], 'Globals': [{'name': 'corpname', 'value': u'ParlaTO'}, {'name': 'attrs', 'value': u'word'}, {'name': 'ctxattrs', 'value': u'word'}, {'name': 'structs', 'value': u'doc'}, {'name': 'refs', 'value': u'=doc.doc_number'}, {'name': 'pagesize', 'value': 100}, {'name': 'show_gdex_scores', 'value': 1}], 'Histlist': [], 'Lposlist': [], 'Q': [], 'StructAttrList': [{'label': u'doc.doc_number', 'n': u'doc.doc_number'}, {'label': u'doc.full_conversation', 'n': u'doc.full_conversation'}, {'label': u'doc.full_conversation_jefferson', 'n': u'doc.full_conversation_jefferson'}, {'label': u'conversation.type', 'n': u'conversation.type'}, {'label': u'conversation.participants_number', 'n': u'conversation.participants_number'}, {'label': u'conversation.languages', 'n': u'conversation.languages'}, {'label': u'annotation.audio_file', 'n': u'annotation.audio_file'}, {'label': u'annotation.participant_occupation', 'n': u'annotation.participant_occupation'}, {'label': u'annotation.participant_sex', 'n': u'annotation.participant_sex'}, {'label': u'annotation.files_in_which_participant_appears', 'n': u'annotation.files_in_which_participant_appears'}, {'label': u'annotation.participant_birth_region', 'n': u'annotation.participant_birth_region'}, {'label': u'annotation.participant_age_range', 'n': u'annotation.participant_age_range'}, {'label': u'annotation.participant_degree', 'n': u'annotation.participant_degree'}, {'label': u'annotation.speaker_id', 'n': u'annotation.speaker_id'}], 'Wposlist': [], '_bonito_version': 'open-3.116.13', '_version': u'2.36.7-open-2.167.8-open-3.116.13', ...}, outf=<open file '<stdout>', mode 'w'>, named_args={'corpname': u'ParlaTO'})
    405                 class_name = template[:-5] # appropriate module import
    406                 file, pathname, description = \
=>  407                     imp.find_module(class_name, [self._template_dir])
    408                 module = imp.load_module(class_name, file, pathname, description)
    409                 TemplateClass = getattr(module, class_name)
global imp = <module 'imp' (built-in)>, imp.find_module = <built-in function find_module>, class_name = 'findx_form', self = <__main__.BonitoCGI instance>, self._template_dir = '/usr/lib/python2.7/dist-packages/bonito/cmpltmpl'

<type 'exceptions.ImportError'>: No module named findx_form
      args = ('No module named findx_form',)
      message = 'No module named findx_form'