--> -->
<type 'exceptions.SyntaxError'> | Python 2.7.13: /usr/bin/python Tue Nov 19 07:55:33 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 () |
107 t.encode("utf-8"))
|
108
|
=> 109 resp = eval( urllib.urlopen(q).read() )
|
110 if ( resp['response']['numFound'] > 0 ):
|
111 #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'