International Economics

--> -->
 
 
<type 'exceptions.SyntaxError'>
Python 2.7.13: /usr/bin/python
Fri Nov 8 23:00:50 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/sites/tools/export/export.py in ()
    106         t.encode("utf-8"))
    107 
=>  108     resp = eval( urllib.urlopen(q).read() )
    109     if ( resp['response']['numFound'] > 0 ):
    110         #print '<h/>%s (%d)</h2>' % (pubType[t].encode("utf-8"), \
resp undefined, builtin eval = <built-in function eval>, urllib = <module 'urllib' from '/usr/lib/python2.7/urllib.pyc'>, urllib.urlopen = <function urlopen>, q = 'https://dial.uclouvain.be/solr/repository/select...de%20p%C3%A9riodique%20%28Journal%20article%29%22', ).read undefined

<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 1)
      args = ('invalid syntax', ('<string>', 1, 1, '<html>\n'))
      filename = '<string>'
      lineno = 1
      message = ''
      msg = 'invalid syntax'
      offset = 1
      print_file_and_line = None
      text = '<html>\n'