{"action":"created","issue":{"url":"https://api.github.com/repos/Capitains/MyCapytain/issues/167","repository_url":"https://api.github.com/repos/Capitains/MyCapytain","labels_url":"https://api.github.com/repos/Capitains/MyCapytain/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/Capitains/MyCapytain/issues/167/comments","events_url":"https://api.github.com/repos/Capitains/MyCapytain/issues/167/events","html_url":"https://github.com/Capitains/MyCapytain/issues/167","id":323247355,"number":167,"title":"example.py errors","user":{"login":"EliezerIsrael","id":226930,"avatar_url":"https://avatars2.githubusercontent.com/u/226930?v=4","gravatar_id":"","url":"https://api.github.com/users/EliezerIsrael","html_url":"https://github.com/EliezerIsrael","followers_url":"https://api.github.com/users/EliezerIsrael/followers","following_url":"https://api.github.com/users/EliezerIsrael/following{/other_user}","gists_url":"https://api.github.com/users/EliezerIsrael/gists{/gist_id}","starred_url":"https://api.github.com/users/EliezerIsrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliezerIsrael/subscriptions","organizations_url":"https://api.github.com/users/EliezerIsrael/orgs","repos_url":"https://api.github.com/users/EliezerIsrael/repos","events_url":"https://api.github.com/users/EliezerIsrael/events{/privacy}","received_events_url":"https://api.github.com/users/EliezerIsrael/received_events","type":"User","site_admin":false},"labels":[{"id":230589469,"url":"https://api.github.com/repos/Capitains/MyCapytain/labels/bug","name":"bug","color":"fc2929","default":true},{"id":230589474,"url":"https://api.github.com/repos/Capitains/MyCapytain/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"PonteIneptique","id":1929830,"avatar_url":"https://avatars1.githubusercontent.com/u/1929830?v=4","gravatar_id":"","url":"https://api.github.com/users/PonteIneptique","html_url":"https://github.com/PonteIneptique","followers_url":"https://api.github.com/users/PonteIneptique/followers","following_url":"https://api.github.com/users/PonteIneptique/following{/other_user}","gists_url":"https://api.github.com/users/PonteIneptique/gists{/gist_id}","starred_url":"https://api.github.com/users/PonteIneptique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PonteIneptique/subscriptions","organizations_url":"https://api.github.com/users/PonteIneptique/orgs","repos_url":"https://api.github.com/users/PonteIneptique/repos","events_url":"https://api.github.com/users/PonteIneptique/events{/privacy}","received_events_url":"https://api.github.com/users/PonteIneptique/received_events","type":"User","site_admin":false},"assignees":[{"login":"PonteIneptique","id":1929830,"avatar_url":"https://avatars1.githubusercontent.com/u/1929830?v=4","gravatar_id":"","url":"https://api.github.com/users/PonteIneptique","html_url":"https://github.com/PonteIneptique","followers_url":"https://api.github.com/users/PonteIneptique/followers","following_url":"https://api.github.com/users/PonteIneptique/following{/other_user}","gists_url":"https://api.github.com/users/PonteIneptique/gists{/gist_id}","starred_url":"https://api.github.com/users/PonteIneptique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PonteIneptique/subscriptions","organizations_url":"https://api.github.com/users/PonteIneptique/orgs","repos_url":"https://api.github.com/users/PonteIneptique/repos","events_url":"https://api.github.com/users/PonteIneptique/events{/privacy}","received_events_url":"https://api.github.com/users/PonteIneptique/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-15T14:37:47Z","updated_at":"2018-05-16T14:39:59Z","closed_at":null,"author_association":"NONE","body":"Running the code in example.py, as written, results in:\r\n\r\n```\r\n(<class 'MyCapytain.resources.collections.cts.XmlCtsEditionMetadata'>, ['book', 'poem', 'line'])\r\n  File \"/Users/levisrael/sefaria/s4all/data/Perseus/ocap.py\", line 13, in <module>\r\n    passage = resolver.getTextualNode(\"urn:cts:latinLit:phi1294.phi002.perseus-lat2\", subreference=\"2.72.1\")\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resolvers/cts/api.py\", line 56, in getTextualNode\r\n    retriever=self.endpoint\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resources/texts/remote/cts.py\", line 327, in __init__\r\n    super(CtsText, self).__init__(retriever=retriever, urn=urn, citation=citation, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resources/texts/remote/cts.py\", line 41, in __init__\r\n    super(__SharedMethod__, self).__init__(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resources/prototypes/text.py\", line 510, in __init__\r\n    super(CitableText, self).__init__(citation=citation, metadata=metadata, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resources/prototypes/text.py\", line 396, in __init__\r\n    self.urn = urn\r\n  File \"/usr/local/lib/python2.7/site-packages/MyCapytain/resources/prototypes/text.py\", line 418, in urn\r\n    raise TypeError()\r\nTypeError\r\n\r\nProcess finished with exit code 1\r\n```"},"comment":{"url":"https://api.github.com/repos/Capitains/MyCapytain/issues/comments/389543406","html_url":"https://github.com/Capitains/MyCapytain/issues/167#issuecomment-389543406","issue_url":"https://api.github.com/repos/Capitains/MyCapytain/issues/167","id":389543406,"user":{"login":"EliezerIsrael","id":226930,"avatar_url":"https://avatars2.githubusercontent.com/u/226930?v=4","gravatar_id":"","url":"https://api.github.com/users/EliezerIsrael","html_url":"https://github.com/EliezerIsrael","followers_url":"https://api.github.com/users/EliezerIsrael/followers","following_url":"https://api.github.com/users/EliezerIsrael/following{/other_user}","gists_url":"https://api.github.com/users/EliezerIsrael/gists{/gist_id}","starred_url":"https://api.github.com/users/EliezerIsrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliezerIsrael/subscriptions","organizations_url":"https://api.github.com/users/EliezerIsrael/orgs","repos_url":"https://api.github.com/users/EliezerIsrael/repos","events_url":"https://api.github.com/users/EliezerIsrael/events{/privacy}","received_events_url":"https://api.github.com/users/EliezerIsrael/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T14:39:59Z","updated_at":"2018-05-16T14:39:59Z","author_association":"NONE","body":"Ah! I'm sure Python 2.7 is the culprit.  I'll give it a try on Python 3. "}}
{"actor":{"display_login":"EliezerIsrael"}}