| Python | /home/.hobgoblin/matienzo/tracks.matienzo.org/PyZ3950/zoom.py in __init__, line 456 |
|---|---|
| Web | GET http://test.matienzo.org/zgw/zgw.py/search/("blue |
/home/.hobgoblin/matienzo/tracks.matienzo.org/PyZ3950/zoom.py in __init__
| Variable | Value |
|---|---|
| err | <PyZ3950.ccl.LexError instance at 0x408ea66c> |
| query | '("blue' |
| self | <PyZ3950.zoom.Query instance at 0x408e6fcc> |
| typ | 'CCL' |
zgw.py in run_query
| Variable | Value |
|---|---|
| conn | <PyZ3950.zoom.Connection instance at 0x408e6c6c> |
| out | [] |
| qs | '("blue' |
| server | {'db': 'VOYAGER',
'element_set': 'F',
'host': 'z3950.loc.gov',
'port': 7090,
'qsyntax': 'CCL',
'rsyntax': 'USMARC'} |
zgw.py in GET
| Variable | Value |
|---|---|
| query_string | '("blue' |
| self | <__main__.search instance at 0x408e684c> |
/home/.hobgoblin/matienzo/tracks.matienzo.org/web/request.py in handle
| Variable | Value |
|---|---|
| args | ['("blue'] |
| cls | <class __main__.search at 0x4064d53c> |
| fn | 'search' |
| fna | [] |
| fvars | {'ParseError': <class parsers.ParseError at 0x408c8b3c>,
'Parser': <class parsers.Parser at 0x408c8b6c>,
'SERVER': {'db': 'VOYAGER',
'element_set': 'F',
'host': 'z3950.loc.gov',
'port': 7090,
'qsyntax': 'CCL',
'rsyntax': 'USMARC'},
'__builtins__': <module '__builtin__' (built-in)>,
'__doc__': '\nzgw.py: a lightweight Z39.50/Web gateway\nCopyright (c) 2007-2008, Mark A. Matienzo\n',
'__file__': 'zgw.py',
'__name__': '__main__',
'p': <parsers.Parser instance at 0x405daf8c>,
'pymarc': <module 'pymarc' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/pymarc/__init__.pyc'>,
'render': <web.template.render instance at 0x405c9d0c>,
'run_query': <function run_query at 0x405cd10c>,
'runfcgi_apache': <function runfcgi_apache at 0x408d941c>,
'search': <class __main__.search at 0x4064d53c>,
'urls': ('/', 'usage', '/search/(.*)', 'search', '/query', 'search'),
'usage': <class __main__.usage at 0x408c8b9c>,
'web': <module 'web' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/web/__init__.pyc'>,
'zoom': <module 'PyZ3950.zoom' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/PyZ3950/zoom.pyc'>} |
| mapping | ('/', 'usage', '/search/(.*)', 'search', '/query', 'search') |
| meth | 'GET' |
| mod | {'ParseError': <class parsers.ParseError at 0x408c8b3c>,
'Parser': <class parsers.Parser at 0x408c8b6c>,
'SERVER': {'db': 'VOYAGER',
'element_set': 'F',
'host': 'z3950.loc.gov',
'port': 7090,
'qsyntax': 'CCL',
'rsyntax': 'USMARC'},
'__builtins__': <module '__builtin__' (built-in)>,
'__doc__': '\nzgw.py: a lightweight Z39.50/Web gateway\nCopyright (c) 2007-2008, Mark A. Matienzo\n',
'__file__': 'zgw.py',
'__name__': '__main__',
'p': <parsers.Parser instance at 0x405daf8c>,
'pymarc': <module 'pymarc' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/pymarc/__init__.pyc'>,
'render': <web.template.render instance at 0x405c9d0c>,
'run_query': <function run_query at 0x405cd10c>,
'runfcgi_apache': <function runfcgi_apache at 0x408d941c>,
'search': <class __main__.search at 0x4064d53c>,
'urls': ('/', 'usage', '/search/(.*)', 'search', '/query', 'search'),
'usage': <class __main__.usage at 0x408c8b9c>,
'web': <module 'web' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/web/__init__.pyc'>,
'zoom': <module 'PyZ3950.zoom' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/PyZ3950/zoom.pyc'>} |
| ofn | 'search' |
| ofno | 'search' |
| result | <_sre.SRE_Match object at 0x408bdae0> |
| tocall | <bound method search.GET of <__main__.search instance at 0x408e684c>> |
| url | '/search/(.*)' |
| x | '("blue' |
/home/.hobgoblin/matienzo/tracks.matienzo.org/web/request.py in <lambda>
| Variable | Value |
|---|---|
| fvars | {'ParseError': <class parsers.ParseError at 0x408c8b3c>,
'Parser': <class parsers.Parser at 0x408c8b6c>,
'SERVER': {'db': 'VOYAGER',
'element_set': 'F',
'host': 'z3950.loc.gov',
'port': 7090,
'qsyntax': 'CCL',
'rsyntax': 'USMARC'},
'__builtins__': <module '__builtin__' (built-in)>,
'__doc__': '\nzgw.py: a lightweight Z39.50/Web gateway\nCopyright (c) 2007-2008, Mark A. Matienzo\n',
'__file__': 'zgw.py',
'__name__': '__main__',
'p': <parsers.Parser instance at 0x405daf8c>,
'pymarc': <module 'pymarc' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/pymarc/__init__.pyc'>,
'render': <web.template.render instance at 0x405c9d0c>,
'run_query': <function run_query at 0x405cd10c>,
'runfcgi_apache': <function runfcgi_apache at 0x408d941c>,
'search': <class __main__.search at 0x4064d53c>,
'urls': ('/', 'usage', '/search/(.*)', 'search', '/query', 'search'),
'usage': <class __main__.usage at 0x408c8b9c>,
'web': <module 'web' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/web/__init__.pyc'>,
'zoom': <module 'PyZ3950.zoom' from '/home/.hobgoblin/matienzo/test.matienzo.org/zgw/PyZ3950/zoom.pyc'>} |
| inp | ('/', 'usage', '/search/(.*)', 'search', '/query', 'search') |
/home/.hobgoblin/matienzo/tracks.matienzo.org/web/webapi.py in wsgifunc
| Variable | Value |
|---|---|
| env | {'DOCUMENT_ROOT': '/home/matienzo/test.matienzo.org',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'test.matienzo.org',
'HTTP_PRAGMA': 'no-cache',
'HTTP_USER_AGENT': 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)',
'PATH': '/bin:/usr/bin:/sbin:/usr/sbin',
'PATH_INFO': '/search/("blue',
'PATH_TRANSLATED': '/home/matienzo/test.matienzo.org/search/("blue',
'QUERY_STRING': '',
'REDIRECT_SCRIPT_URI': 'http://test.matienzo.org/zgw/search/("blue',
'REDIRECT_SCRIPT_URL': '/zgw/search/("blue',
'REDIRECT_STATUS': '200',
'REDIRECT_UNIQUE_ID': '4AznEtBxmw4AAHEzSvQAAAAK',
'REDIRECT_URL': '/zgw/search/("blue',
'REMOTE_ADDR': '38.103.63.60',
'REMOTE_PORT': '45382',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/zgw/search/("blue',
'SCRIPT_FILENAME': '/home/matienzo/test.matienzo.org/zgw/zgw.py',
'SCRIPT_NAME': '/zgw/zgw.py',
'SCRIPT_URI': 'http://test.matienzo.org/zgw/search/("blue',
'SCRIPT_URL': '/zgw/search/("blue',
'SERVER_ADDR': '208.113.145.77',
'SERVER_ADMIN': 'webmaster@test.matienzo.org',
'SERVER_NAME': 'test.matienzo.org',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'book" or "blaue buch") and wittgenstein HTTP/1.1',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2',
'UNIQUE_ID': '4AznEtBxmw4AAHEzSvQAAAAK',
'wsgi.errors': <fcgi.OutputStream object at 0x408e62cc>,
'wsgi.input': <fcgi.InputStream object at 0x408e628c>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} |
| func | <function <lambda> at 0x408d9764> |
| start_resp | <function start_response at 0x408e541c> |
Content-Type: text/html
<html>
<head>
<title>zgw.py</title>
</head>
<body>
<h1><a href="/zgw/">zgw.py</a>: a lightweight z39.50 web gateway</h1>
<p>currently searching database VOYAGER on z3950.loc.gov<br/>
query syntax: CCL / result syntax: USMARC
(element set F)</p>
<form method="post" action="/zgw/query">
<p><input type="text" name="query_string"/><input type="submit" value="submit"/></p>
</form>
zoom raising t_error: LexToken(error,'"blue',1,1) for ("blue
No data.
No data.
| Variable | Value |
|---|---|
| Content-Type | 'text/html' |
| Variable | Value |
|---|---|
| DOCUMENT_ROOT | '/home/matienzo/test.matienzo.org' |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| HTTP_ACCEPT | 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;' |
| HTTP_ACCEPT_CHARSET | 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' |
| HTTP_ACCEPT_ENCODING | 'gzip' |
| HTTP_ACCEPT_LANGUAGE | 'en-us,en;q=0.5' |
| HTTP_CACHE_CONTROL | 'no-cache' |
| HTTP_CONNECTION | 'close' |
| HTTP_HOST | 'test.matienzo.org' |
| HTTP_PRAGMA | 'no-cache' |
| HTTP_USER_AGENT | 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)' |
| PATH | '/bin:/usr/bin:/sbin:/usr/sbin' |
| PATH_INFO | '/search/("blue' |
| PATH_TRANSLATED | '/home/matienzo/test.matienzo.org/search/("blue' |
| QUERY_STRING | '' |
| REDIRECT_SCRIPT_URI | 'http://test.matienzo.org/zgw/search/("blue' |
| REDIRECT_SCRIPT_URL | '/zgw/search/("blue' |
| REDIRECT_STATUS | '200' |
| REDIRECT_UNIQUE_ID | '4AznEtBxmw4AAHEzSvQAAAAK' |
| REDIRECT_URL | '/zgw/search/("blue' |
| REMOTE_ADDR | '38.103.63.60' |
| REMOTE_PORT | '45382' |
| REQUEST_METHOD | 'GET' |
| REQUEST_URI | '/zgw/search/("blue' |
| SCRIPT_FILENAME | '/home/matienzo/test.matienzo.org/zgw/zgw.py' |
| SCRIPT_NAME | '/zgw/zgw.py' |
| SCRIPT_URI | 'http://test.matienzo.org/zgw/search/("blue' |
| SCRIPT_URL | '/zgw/search/("blue' |
| SERVER_ADDR | '208.113.145.77' |
| SERVER_ADMIN | 'webmaster@test.matienzo.org' |
| SERVER_NAME | 'test.matienzo.org' |
| SERVER_PORT | '80' |
| SERVER_PROTOCOL | 'book" or "blaue buch") and wittgenstein HTTP/1.1' |
| SERVER_SIGNATURE | '' |
| SERVER_SOFTWARE | 'Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2' |
| UNIQUE_ID | '4AznEtBxmw4AAHEzSvQAAAAK' |
| wsgi.errors | <fcgi.OutputStream object at 0x408e62cc> |
| wsgi.input | <fcgi.InputStream object at 0x408e628c> |
| wsgi.multiprocess | True |
| wsgi.multithread | True |
| wsgi.run_once | False |
| wsgi.url_scheme | 'http' |
| wsgi.version | (1, 0) |
You're seeing this error because you have web.internalerror
set to web.debugerror. Change that if you want a different one.