Advertisement
miholeus

olap_webdav

Nov 13th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. EE
  2. ======================================================================
  3. ERROR: test_saiku_webdav.test_upload_datasource
  4. ----------------------------------------------------------------------
  5. Traceback (most recent call last):
  6. File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  7. self.test(*self.arg)
  8. File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.py", line 36, in test_upload_datasource
  9. webdav.upload('resources/test.sds', remote_path="datasources/test.sds")
  10. File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 155, in upload
  11. self._upload(f, remote_path)
  12. File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 160, in _upload
  13. self._send('PUT', remote_path, (200, 201, 204), data=fileobj)
  14. File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 100, in _send
  15. raise OperationFailed(method, path, expected_code, response.status_code)
  16. OperationFailed: Failed to upload "datasources/test.sds".
  17. Operation : PUT datasources/test.sds
  18. Expected code : 200 OK, 201 Created, 204 No Content
  19. Actual code : 500 Internal Server Error
  20. -------------------- >> begin captured logging << --------------------
  21. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
  22. requests.packages.urllib3.connectionpool: DEBUG: "PUT //saiku/repository/default/datasources/test.sds HTTP/1.1" 500 1039
  23. --------------------- >> end captured logging << ---------------------
  24.  
  25. ======================================================================
  26. ERROR: test suite for <module 'test_saiku_webdav' from '/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.pyc'>
  27. ----------------------------------------------------------------------
  28. Traceback (most recent call last):
  29. File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 228, in run
  30. self.tearDown()
  31. File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 351, in tearDown
  32. self.teardownContext(ancestor)
  33. File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 367, in teardownContext
  34. try_run(context, names)
  35. File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 471, in try_run
  36. return func()
  37. File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.py", line 28, in teardown_module
  38. webdav.delete('datasources/test.sds')
  39. File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 150, in delete
  40. self._send('DELETE', path, 204)
  41. File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 100, in _send
  42. raise OperationFailed(method, path, expected_code, response.status_code)
  43. OperationFailed: Failed to delete "datasources/test.sds".
  44. Operation : DELETE datasources/test.sds
  45. Expected code : 204 No Content
  46. Actual code : 500 Internal Server Error
  47. -------------------- >> begin captured logging << --------------------
  48. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (2): localhost
  49. requests.packages.urllib3.connectionpool: DEBUG: "DELETE //saiku/repository/default/datasources/test.sds HTTP/1.1" 500 1039
  50. --------------------- >> end captured logging << ---------------------
  51.  
  52. ----------------------------------------------------------------------
  53. Ran 1 test in 0.224s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement