On branch dev, commit 0b6a5ec62ba18efe7d3deb43e833b5c37c8361d5. When calling api.call("GET", "/records/search/xml") from the UI-server, I get a 500 on the server:
PROCESSING EXCEPTION
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__getslice__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__unicode__', '__weakref__', 'args', 'body', 'message', 'status']
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Library/SMART/smart_server/smart/views/smarthacks.py", line 275, in record_search_xml
record_list = Record.search_records(q)
File "/Library/SMART/smart_server/smart/models/records.py", line 37, in search_records
ids = parse_rdf(c.sparql(query))
File "/Library/SMART/smart_server/smart/triplestore/triplestore.py", line 42, in sparql
return super(TripleStore, self).sparql(query)
File "/Library/SMART/smart_server/smart/triplestore/sesame.py", line 74, in sparql
"Accept" : "application/rdf+xml, application/sparql-results+json"}, data)
File "/Library/SMART/smart_server/smart/triplestore/sesame.py", line 37, in _request
return utils.url_request(url, method, headers, data)
File "/Library/SMART/smart_server/smart/lib/utils.py", line 162, in url_request
return url_request_execute(req)
File "/Library/SMART/smart_server/smart/lib/utils.py", line 196, in url_request_execute
raise URLFetchException(r.status, data)
URLFetchException
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/django/core/servers/basehttp.py", line 283, in run
self.result = application(self.environ, self.start_response)
File "/Library/Python/2.7/site-packages/django/contrib/staticfiles/handlers.py", line 68, in __call__
return self.application(environ, start_response)
File "/Library/Python/2.7/site-packages/django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Library/SMART/smart_server/smart/views/smarthacks.py", line 275, in record_search_xml
record_list = Record.search_records(q)
File "/Library/SMART/smart_server/smart/models/records.py", line 37, in search_records
ids = parse_rdf(c.sparql(query))
File "/Library/SMART/smart_server/smart/triplestore/triplestore.py", line 42, in sparql
return super(TripleStore, self).sparql(query)
File "/Library/SMART/smart_server/smart/triplestore/sesame.py", line 74, in sparql
"Accept" : "application/rdf+xml, application/sparql-results+json"}, data)
File "/Library/SMART/smart_server/smart/triplestore/sesame.py", line 37, in _request
return utils.url_request(url, method, headers, data)
File "/Library/SMART/smart_server/smart/lib/utils.py", line 162, in url_request
return url_request_execute(req)
File "/Library/SMART/smart_server/smart/lib/utils.py", line 196, in url_request_execute
raise URLFetchException(r.status, data)
URLFetchException
[05/Jul/2012 19:47:05] "GET /records/search/xml HTTP/1.1" 500 1830
On branch
dev
, commit0b6a5ec62ba18efe7d3deb43e833b5c37c8361d5
. When callingapi.call("GET", "/records/search/xml")
from the UI-server, I get a 500 on the server: