Bibliography - Atlas of Economic Models
 
--> -->

AttributeError

Parser instance has no attribute 'bib2html_cmd'

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

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

  1. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0xb7f71bec>)

    1. 1305 self.page.send_page()
    2. 1306 else:
    3. 1307 handler(self.page.page_name, self)
    4. 1308
    5. 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show at 0x8ac6144>
    • self = <MoinMoin.request.request_cgi.Request object at 0xb7f71bec>
    • self.page = <MoinMoin.Page.Page object at 0x8acf4cc>
    • self.page.page_name = u'Bibliography'
  2. /var/lib/python-support/python2.5/MoinMoin/action/__init__.py in do_show (pagename=u'Bibliography', request=<MoinMoin.request.request_cgi.Request object at 0xb7f71bec>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x8ae1b8c>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1195 format_args=pi['formatargs'],
    2. 1196 do_cache=do_cache,
    3. 1197 start_line=pi['lines'])
    4. 1198
    5. 1199 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x8ae1fac>, 'format': 'wiki_with_math', 'formatargs': '', 'language': 'en', 'lines': 0}
  4. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x8ae1b8c>, request=<MoinMoin.request.request_cgi.Request object at 0xb7f71bec>, body=u'= The Atlas Bibliography =\n\nPlease add items as ...g/a/ucp/jpolec/v98y1990i5ps71-102.html}\n}\n\n\n\n}}}\n', format='wiki_with_math', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1288 raise
    2. 1289 try:
    3. 1290 code = self.makeCache(request, parser)
    4. 1291 self.execute(request, parser, code)
    5. 1292 except Exception, e:
    • code undefined
    • self = <MoinMoin.Page.Page object at 0x8ae1b8c>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object at 0x8ae1b8c>>
    • request = <MoinMoin.request.request_cgi.Request object at 0xb7f71bec>
    • parser = <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>
  5. /var/lib/python-support/python2.5/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page object at 0x8ae1b8c>, request=<MoinMoin.request.request_cgi.Request object at 0xb7f71bec>, parser=<wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>)

    1. 1348 saved_current_lang = request.current_lang
    2. 1349 try:
    3. 1350 text = request.redirectedOutput(parser.format, formatter)
    4. 1351 finally:
    5. 1352 request.current_lang = saved_current_lang
    • text undefined
    • request = <MoinMoin.request.request_cgi.Request object at 0xb7f71bec>
    • request.redirectedOutput = <bound method Request.redirectedOutput of <MoinM...equest.request_cgi.Request object at 0xb7f71bec>>
    • parser = <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>
    • parser.format = <bound method Parser.format of <wikiconfig.plugi...ser.wiki_with_math.Parser instance at 0x8b48d2c>>
    • formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>
  6. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in redirectedOutput (self=<MoinMoin.request.request_cgi.Request object at 0xb7f71bec>, function=<bound method Parser.format of <wikiconfig.plugi...ser.wiki_with_math.Parser instance at 0x8b48d2c>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>,), **kw={})

    1. 842 self.redirect(buf)
    2. 843 try:
    3. 844 function(*args, **kw)
    4. 845 finally:
    5. 846 self.redirect()
    • function = <bound method Parser.format of <wikiconfig.plugi...ser.wiki_with_math.Parser instance at 0x8b48d2c>>
    • args = (<MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>,)
    • kw = {}
  7. /var/lib/python-support/python2.5/MoinMoin/parser/text_moin_wiki.py in format (self=<wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>, formatter=<MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>, inhibit_p=False)

    1. 1527
    2. 1528 # Scan line, format and write
    3. 1529 formatted_line = self.scan(line, inhibit_p=inhibit_p)
    4. 1530 self.request.write(formatted_line)
    5. 1531
    • formatted_line = u''
    • self = <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>
    • self.scan = <bound method Parser.scan of <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>>
    • line = u'}}}'
    • inhibit_p = False
  8. /var/lib/python-support/python2.5/MoinMoin/parser/text_moin_wiki.py in scan (self=<wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>, line=u'}}}', inhibit_p=False)

    1. 1343 self.in_table or self.in_list):
    2. 1344 result.append(self.formatter.paragraph(1, css_class="line867"))
    3. 1345 result.append(self.replace(match, inhibit_p))
    4. 1346 end = match.end()
    5. 1347 lastpos = end
    • result = []
    • result.append = <built-in method append of list object at 0x8b77e4c>
    • self = <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>
    • self.replace = <bound method Parser.replace of <wikiconfig.plug...ser.wiki_with_math.Parser instance at 0x8b48d2c>>
    • match = <_sre.SRE_Match object at 0x8bed660>
    • inhibit_p = False
  9. /var/lib/python-support/python2.5/MoinMoin/parser/text_moin_wiki.py in replace (self=<wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>, match=<_sre.SRE_Match object at 0x8bed660>, inhibit_p=False)

    1. 1385 # Get replace method and replace hit
    2. 1386 replace_func = getattr(self, '_%s_repl' % type)
    3. 1387 result.append(replace_func(hit, match.groupdict()))
    4. 1388 return ''.join(result)
    5. 1389 else:
    • result = []
    • result.append = <built-in method append of list object at 0xb7ee6a2c>
    • replace_func = <bound method Parser._parser_end_repl of <wikico...ser.wiki_with_math.Parser instance at 0x8b48d2c>>
    • hit = u'}}}'
    • match = <_sre.SRE_Match object at 0x8bed660>
    • match.groupdict = <built-in method groupdict of _sre.SRE_Match object at 0x8bed660>
  10. /var/lib/python-support/python2.5/MoinMoin/parser/text_moin_wiki.py in _parser_end_repl (self=<wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>, word=u'}}}', groups={u'parser_end': u'}}}'})

    1. 1278 # we obviously did not find a parser specification
    2. 1279 self.parser_name = 'text'
    3. 1280 result = self.formatter.parser(self.parser_name, self.parser_lines)
    4. 1281 del self.parser_lines
    5. 1282 self.in_pre = None
    • result undefined
    • self = <wikiconfig.plugin.parser.wiki_with_math.Parser instance at 0x8b48d2c>
    • self.formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>
    • self.formatter.parser = <bound method Formatter.parser of <MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>>
    • self.parser_name = u'bibtex'
    • self.parser_lines = [u'#!bibtex ', u'', u'', u'@ARTICLE{aghion_ea_2005,', u' repec-id = {RePEc:tpr:qjecon:v:120:y:2005:i:2:p:701-728},', u' author = {Philippe Aghion and Nick Bloom and R...d Blundell and Rachel Griffith and Peter Howitt},', u' title = {{Competition and Innovation: An Inverted-U Relationship}},', u' journal = {The Quarterly Journal of Economics},', u' year = 2005,', u' volume = {120},', u' number = {2},', u' pages = {701-728},', u' month = {May},', u'}', u'', u'@INCOLLECTION{shapiro_2001,', u' title = {{Navigating the Patent Thicket: Cross Licenses, Patent Pools, and Standard Setting}},', u' author = {Shapiro, Carl},', u' booktitle = {{Innovation Policy and the Economy, Vol. 1}},', u' publisher = {MIT Press},', ...]
  11. /var/lib/python-support/python2.5/MoinMoin/formatter/text_python.py in parser (self=<MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>, parser_name=u'bibtex', lines=[u'#!bibtex ', u'', u'', u'@ARTICLE{aghion_ea_2005,', u' repec-id = {RePEc:tpr:qjecon:v:120:y:2005:i:2:p:701-728},', u' author = {Philippe Aghion and Nick Bloom and R...d Blundell and Rachel Griffith and Peter Howitt},', u' title = {{Competition and Innovation: An Inverted-U Relationship}},', u' journal = {The Quarterly Journal of Economics},', u' year = 2005,', u' volume = {120},', u' number = {2},', u' pages = {701-728},', u' month = {May},', u'}', u'', u'@INCOLLECTION{shapiro_2001,', u' title = {{Navigating the Patent Thicket: Cross Licenses, Patent Pools, and Standard Setting}},', u' author = {Shapiro, Carl},', u' booktitle = {{Innovation Policy and the Economy, Vol. 1}},', u' publisher = {MIT Press},', ...])

    1. 207
    2. 208 if self.__is_static(Dependencies):
    3. 209 return self.formatter.parser(parser_name, lines)
    4. 210 else:
    5. 211 return self.__insert_code('%s%s.parser(%r, %r)' %
    • self = <MoinMoin.formatter.text_python.Formatter instance at 0x8b77e2c>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x8ae1fcc>
    • self.formatter.parser = <bound method Formatter.parser of <MoinMoin.formatter.text_html.Formatter instance at 0x8ae1fcc>>
    • parser_name = u'bibtex'
    • lines = [u'#!bibtex ', u'', u'', u'@ARTICLE{aghion_ea_2005,', u' repec-id = {RePEc:tpr:qjecon:v:120:y:2005:i:2:p:701-728},', u' author = {Philippe Aghion and Nick Bloom and R...d Blundell and Rachel Griffith and Peter Howitt},', u' title = {{Competition and Innovation: An Inverted-U Relationship}},', u' journal = {The Quarterly Journal of Economics},', u' year = 2005,', u' volume = {120},', u' number = {2},', u' pages = {701-728},', u' month = {May},', u'}', u'', u'@INCOLLECTION{shapiro_2001,', u' title = {{Navigating the Patent Thicket: Cross Licenses, Patent Pools, and Standard Setting}},', u' author = {Shapiro, Carl},', u' booktitle = {{Innovation Policy and the Economy, Vol. 1}},', u' publisher = {MIT Press},', ...]
  12. /var/lib/python-support/python2.5/MoinMoin/formatter/__init__.py in parser (self=<MoinMoin.formatter.text_html.Formatter instance at 0x8ae1fcc>, parser_name=u'bibtex', lines=[u'', u'@ARTICLE{aghion_ea_2005,', u' repec-id = {RePEc:tpr:qjecon:v:120:y:2005:i:2:p:701-728},', u' author = {Philippe Aghion and Nick Bloom and R...d Blundell and Rachel Griffith and Peter Howitt},', u' title = {{Competition and Innovation: An Inverted-U Relationship}},', u' journal = {The Quarterly Journal of Economics},', u' year = 2005,', u' volume = {120},', u' number = {2},', u' pages = {701-728},', u' month = {May},', u'}', u'', u'@INCOLLECTION{shapiro_2001,', u' title = {{Navigating the Patent Thicket: Cross Licenses, Patent Pools, and Standard Setting}},', u' author = {Shapiro, Carl},', u' booktitle = {{Innovation Policy and the Economy, Vol. 1}},', u' publisher = {MIT Press},', u' year = 2001,', u' pages = {119-50}', ...])

    1. 350 lines = lines[:-1]
    2. 351 p = parser('\n'.join(lines), self.request, format_args=args)
    3. 352 p.format(self)
    4. 353 del p
    5. 354 return ''
    • p = <wikiconfig.plugin.parser.bibtex.Parser instance at 0xb7ee570c>
    • p.format = <bound method Parser.format of <wikiconfig.plugin.parser.bibtex.Parser instance at 0xb7ee570c>>
    • self = <MoinMoin.formatter.text_html.Formatter instance at 0x8ae1fcc>
  13. /home/kforge/knowledgeforge.net/var/project_data/econ/moin/95/data/plugin/parser/bibtex.py in format (self=<wikiconfig.plugin.parser.bibtex.Parser instance at 0xb7ee570c>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x8ae1fcc>)

    1. 257 self.request.write(formatter.escapedText(
    2. 258 _("Error: %(bib2html_cmd)s could not be found.") %
    3. 259 {"bib2html_cmd": self.bib2html_cmd}))
    4. 260 self.request.write(formatter.sysmsg(0))
    5. 261 return
    • self = <wikiconfig.plugin.parser.bibtex.Parser instance at 0xb7ee570c>
    • self.bib2html_cmd undefined

AttributeError

Parser instance has no attribute 'bib2html_cmd'

  • args = ("Parser instance has no attribute 'bib2html_cmd'",)
  • message = "Parser instance has no attribute 'bib2html_cmd'"

System Details

  • Date: Mon, 01 Jul 2013 11:46:52 +0000
  • Platform: Linux us1.okfn.org 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686
  • Python: Python 2.5.2 (/usr/bin/python)
  • MoinMoin: Release 1.7.1 (release)