{"action":"created","issue":{"url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/639","labels_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/639/comments","events_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/639/events","html_url":"https://github.com/getpelican/pelican-plugins/issues/639","id":124589515,"number":639,"title":"pelican_comment_system: python3 compatability","user":{"login":"dirk-olmes","id":429878,"avatar_url":"https://avatars.githubusercontent.com/u/429878?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-olmes","html_url":"https://github.com/dirk-olmes","followers_url":"https://api.github.com/users/dirk-olmes/followers","following_url":"https://api.github.com/users/dirk-olmes/following{/other_user}","gists_url":"https://api.github.com/users/dirk-olmes/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-olmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-olmes/subscriptions","organizations_url":"https://api.github.com/users/dirk-olmes/orgs","repos_url":"https://api.github.com/users/dirk-olmes/repos","events_url":"https://api.github.com/users/dirk-olmes/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-olmes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-02T12:50:50Z","updated_at":"2016-01-06T10:09:32Z","closed_at":null,"body":"I'm running pelican on python3 and recently discovered pelican_comment_system. But it seems the code does not work on python3:\r\n\r\n  File \"/pelican-env/pelican-plugins/pelican_comment_system/pelican_comment_system.py\", line 22, in <module>\r\n    from . comment import Comment\r\nSystemError: Parent module '' not loaded, cannot perform relative import\r\n\r\nConverting the relative imports to \"normal\" imports works fine. But I guess that would break python2 compatability ..."},"comment":{"url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/comments/169283154","html_url":"https://github.com/getpelican/pelican-plugins/issues/639#issuecomment-169283154","issue_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/639","id":169283154,"user":{"login":"Scheirle","id":4129744,"avatar_url":"https://avatars.githubusercontent.com/u/4129744?v=3","gravatar_id":"","url":"https://api.github.com/users/Scheirle","html_url":"https://github.com/Scheirle","followers_url":"https://api.github.com/users/Scheirle/followers","following_url":"https://api.github.com/users/Scheirle/following{/other_user}","gists_url":"https://api.github.com/users/Scheirle/gists{/gist_id}","starred_url":"https://api.github.com/users/Scheirle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scheirle/subscriptions","organizations_url":"https://api.github.com/users/Scheirle/orgs","repos_url":"https://api.github.com/users/Scheirle/repos","events_url":"https://api.github.com/users/Scheirle/events{/privacy}","received_events_url":"https://api.github.com/users/Scheirle/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T10:09:32Z","updated_at":"2016-01-06T10:09:32Z","body":"pelican_comment_system should work with python 2 and 3 (on my system it does; Pelican 3.6.3; Python 3.4.3 and 2.7.6).\r\nThe referenced line was added for python 3 support.\r\n\r\nThe Question is why in your case the Parent module is not loaded.\r\nDo you execute/access the pelican_comment_system directly?\r\n\r\n"}}