{"action":"created","issue":{"url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/11","repository_url":"https://api.github.com/repos/lambdamusic/OntoSpy","labels_url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/11/comments","events_url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/11/events","html_url":"https://github.com/lambdamusic/OntoSpy/issues/11","id":172489258,"number":11,"title":"Example is not working - ","user":{"login":"burkesquires","id":881876,"avatar_url":"https://avatars.githubusercontent.com/u/881876?v=3","gravatar_id":"","url":"https://api.github.com/users/burkesquires","html_url":"https://github.com/burkesquires","followers_url":"https://api.github.com/users/burkesquires/followers","following_url":"https://api.github.com/users/burkesquires/following{/other_user}","gists_url":"https://api.github.com/users/burkesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/burkesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burkesquires/subscriptions","organizations_url":"https://api.github.com/users/burkesquires/orgs","repos_url":"https://api.github.com/users/burkesquires/repos","events_url":"https://api.github.com/users/burkesquires/events{/privacy}","received_events_url":"https://api.github.com/users/burkesquires/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T15:56:15Z","updated_at":"2016-08-23T22:08:51Z","closed_at":"2016-08-23T22:08:51Z","body":"Hello,\r\nI have installed onto spy on a Mac running 10.10.5. When I try calling \"ontospy http://purl.org/spar/frbr\" I get the following error:\r\nOntoSpy v1.6.8.3\r\nLocal library: '/Users/squiresrb/.ontospy/models/'\r\n------------\r\nYou passed the argument: <http://purl.org/spar/frbr>\r\nTraceback (most recent call last):\r\n  File \"/Users/squiresrb/anaconda/bin/ontospy\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/squiresrb/anaconda/lib/python3.5/site-packages/ontospy/ontospy.py\", line 235, in main\r\n    g = Graph(args[0])\r\n  File \"/Users/squiresrb/anaconda/lib/python3.5/site-packages/ontospy/core/graph.py\", line 82, in __init__\r\n    self.OWLTHING = OntoClass(rdflib.OWL.Thing, rdflib.OWL.Class, self.namespaces)\r\n  File \"/Users/squiresrb/anaconda/lib/python3.5/site-packages/ontospy/core/entities.py\", line 259, in __init__\r\n    self.slug = \"class-\" + str(self.id) + \"-\" + slugify(self.qname)\r\n  File \"/Users/squiresrb/anaconda/lib/python3.5/site-packages/ontospy/core/util.py\", line 856, in slugify\r\n    value = unicode(re.sub('[^\\w\\s-]', '', value).strip().lower())\r\n  File \"/Users/squiresrb/anaconda/lib/python3.5/re.py\", line 182, in sub\r\n    return _compile(pattern, flags).sub(repl, string, count)\r\nTypeError: cannot use a string pattern on a bytes-like object\r\n"},"comment":{"url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/comments/241896340","html_url":"https://github.com/lambdamusic/OntoSpy/issues/11#issuecomment-241896340","issue_url":"https://api.github.com/repos/lambdamusic/OntoSpy/issues/11","id":241896340,"user":{"login":"lambdamusic","id":3493663,"avatar_url":"https://avatars.githubusercontent.com/u/3493663?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdamusic","html_url":"https://github.com/lambdamusic","followers_url":"https://api.github.com/users/lambdamusic/followers","following_url":"https://api.github.com/users/lambdamusic/following{/other_user}","gists_url":"https://api.github.com/users/lambdamusic/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdamusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdamusic/subscriptions","organizations_url":"https://api.github.com/users/lambdamusic/orgs","repos_url":"https://api.github.com/users/lambdamusic/repos","events_url":"https://api.github.com/users/lambdamusic/events{/privacy}","received_events_url":"https://api.github.com/users/lambdamusic/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T22:08:51Z","updated_at":"2016-08-23T22:08:51Z","body":"Hi - thanks for bringing this up, that was a bug with Python3. \r\n\r\nI've fixed it in version 1.6.8.5 - just update the package e.g. ```pip install ontospy -U```"}}
{"actor":{"display_login":"lambdamusic"}}