Bug #1772
gmn-dev getCapabilities() returning file not found
100%
History
#1 Updated by Rob Nahf over 13 years ago
- Category set to d1_mn_GMN
- Assignee set to Roger Dahl
https://gmn-dev.test.dataone.org/mn/node
returns a n html exception instead of a dataone exception (ServiceFailure?)
IOError at /node
[Errno 2] No such file or directory: '/var/local/dataone/mn_generic/service/stores/static/nodeRegistry.xml'
Request Method: GET
Request URL: https://gmn-dev.test.dataone.org/mn/node
Django Version: 1.3
Exception Type: IOError
Exception Value:
[Errno 2] No such file or directory: '/var/local/dataone/mn_generic/service/stores/static/nodeRegistry.xml'
Exception Location: /var/local/dataone/mn_generic/service/../service/mn/views.py in node, line 341
#2 Updated by Roger Dahl over 13 years ago
- Status changed from New to Closed
I had neglected to copy the static Node document over to the server and, because GMN is running in debug mode on the test machines, it returned a Django exception page instead of a DataONE generic ServiceFailure. I've also improved the error message on the ServiceFailure for this situation.