{"action":"created","issue":{"url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/4","repository_url":"https://api.github.com/repos/emory-libraries/eulexistdb","labels_url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/4/comments","events_url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/4/events","html_url":"https://github.com/emory-libraries/eulexistdb/issues/4","id":157048060,"number":4,"title":"xmlrpclib does not support extended types and this may cause XML-RPC calls to fail when unmarshalling return values","user":{"login":"lddubeau","id":1963493,"avatar_url":"https://avatars.githubusercontent.com/u/1963493?v=3","gravatar_id":"","url":"https://api.github.com/users/lddubeau","html_url":"https://github.com/lddubeau","followers_url":"https://api.github.com/users/lddubeau/followers","following_url":"https://api.github.com/users/lddubeau/following{/other_user}","gists_url":"https://api.github.com/users/lddubeau/gists{/gist_id}","starred_url":"https://api.github.com/users/lddubeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lddubeau/subscriptions","organizations_url":"https://api.github.com/users/lddubeau/orgs","repos_url":"https://api.github.com/users/lddubeau/repos","events_url":"https://api.github.com/users/lddubeau/events{/privacy}","received_events_url":"https://api.github.com/users/lddubeau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-26T18:26:53Z","updated_at":"2016-05-27T16:59:16Z","closed_at":null,"body":"Let me first make clear that the problem is not in `eulexistdb` itself but this is a problem that users of `eulexistdb` may encounter. So I'm posting here so that others who may run into the issue can (hopefully) readily figure out what is going on.\r\n\r\nThe problem is that eXist returns XML-RPC types that `xmlrpclib` does not support. The issue has been reported on the Python side:\r\n\r\n* https://bugs.python.org/issue26873\r\n* https://bugs.python.org/issue26885\r\n\r\nAnd patches have been submitted but it is unclear when a fix will land in released versions of Python.\r\n\r\nI encountered the problem while doing XML-RPC calls through the `server` field of `ExistDB` objects. Calling the XML-RPC method `removeGroup`, for instance, will result in this error:\r\n\r\n    xmlrpclib.ResponseError: ResponseError(\"unknown tag u'ex:nil'\",)\r\n\r\nSince this failure is not an option for me, I inspected the patches submitted in the Python bug reports listed above and created a runtime patch that allows my code to work. I could contribute it to `eulexistdb` if desirable.\r\n\r\n(I know about `sm:create-group`, `sm:delete-group`, etc. I decided against using them for now.)"},"comment":{"url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/comments/222199148","html_url":"https://github.com/emory-libraries/eulexistdb/issues/4#issuecomment-222199148","issue_url":"https://api.github.com/repos/emory-libraries/eulexistdb/issues/4","id":222199148,"user":{"login":"lddubeau","id":1963493,"avatar_url":"https://avatars.githubusercontent.com/u/1963493?v=3","gravatar_id":"","url":"https://api.github.com/users/lddubeau","html_url":"https://github.com/lddubeau","followers_url":"https://api.github.com/users/lddubeau/followers","following_url":"https://api.github.com/users/lddubeau/following{/other_user}","gists_url":"https://api.github.com/users/lddubeau/gists{/gist_id}","starred_url":"https://api.github.com/users/lddubeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lddubeau/subscriptions","organizations_url":"https://api.github.com/users/lddubeau/orgs","repos_url":"https://api.github.com/users/lddubeau/repos","events_url":"https://api.github.com/users/lddubeau/events{/privacy}","received_events_url":"https://api.github.com/users/lddubeau/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T16:59:16Z","updated_at":"2016-05-27T16:59:16Z","body":"Ok, I'm busy with things other than eXist-db right at the moment but I should be able to get something together next week."}}
{"actor":{"display_login":"lddubeau"}}