{"action":"created","issue":{"url":"https://api.github.com/repos/faassen/bowerstatic/issues/48","labels_url":"https://api.github.com/repos/faassen/bowerstatic/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/faassen/bowerstatic/issues/48/comments","events_url":"https://api.github.com/repos/faassen/bowerstatic/issues/48/events","html_url":"https://github.com/faassen/bowerstatic/issues/48","id":54364550,"number":48,"title":"Python 3 compatibility still needs work","user":{"login":"sloat","id":216078,"avatar_url":"https://avatars.githubusercontent.com/u/216078?v=3","gravatar_id":"","url":"https://api.github.com/users/sloat","html_url":"https://github.com/sloat","followers_url":"https://api.github.com/users/sloat/followers","following_url":"https://api.github.com/users/sloat/following{/other_user}","gists_url":"https://api.github.com/users/sloat/gists{/gist_id}","starred_url":"https://api.github.com/users/sloat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloat/subscriptions","organizations_url":"https://api.github.com/users/sloat/orgs","repos_url":"https://api.github.com/users/sloat/repos","events_url":"https://api.github.com/users/sloat/events{/privacy}","received_events_url":"https://api.github.com/users/sloat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T19:24:59Z","updated_at":"2015-01-14T19:41:39Z","closed_at":"2015-01-14T19:41:39Z","body":"Got the following error trying out BowerStatic with Python 3.4.2:\r\n\r\n    Traceback (most recent call last):\r\n    File \"run.py\", line 1, in <module>\r\n        from app import app\r\n    File \"/Users/matt/py-stuff/someproject/app/__init__.py\", line 60, in <module>\r\n        bower = bowerstatic.Bower()\r\n    File \"/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/core.py\", line 18, in __init__\r\n        self._renderer = Renderer()\r\n    File \"/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py\", line 8, in __init__\r\n        self.register('.js', render_js)\r\n    File \"/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py\", line 16, in register\r\n        self._renderers[ext] = make_renderer(renderer)\r\n    File \"/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py\", line 35, in make_renderer\r\n        if isinstance(renderer, basestring):\r\n    NameError: name 'basestring' is not defined\r\n\r\nIt can be worked-around for the time being by monkey-patching renderer.py:\r\n\r\n    import bowerstatic\r\n    bowerstatic.renderer.basestring = str\r\n"},"comment":{"url":"https://api.github.com/repos/faassen/bowerstatic/issues/comments/69977839","html_url":"https://github.com/faassen/bowerstatic/issues/48#issuecomment-69977839","issue_url":"https://api.github.com/repos/faassen/bowerstatic/issues/48","id":69977839,"user":{"login":"faassen","id":327472,"avatar_url":"https://avatars.githubusercontent.com/u/327472?v=3","gravatar_id":"","url":"https://api.github.com/users/faassen","html_url":"https://github.com/faassen","followers_url":"https://api.github.com/users/faassen/followers","following_url":"https://api.github.com/users/faassen/following{/other_user}","gists_url":"https://api.github.com/users/faassen/gists{/gist_id}","starred_url":"https://api.github.com/users/faassen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faassen/subscriptions","organizations_url":"https://api.github.com/users/faassen/orgs","repos_url":"https://api.github.com/users/faassen/repos","events_url":"https://api.github.com/users/faassen/events{/privacy}","received_events_url":"https://api.github.com/users/faassen/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:41:39Z","updated_at":"2015-01-14T19:41:39Z","body":"Thanks for reporting this! I just released a 0.8.1 that should fix the Python 3 issue.\r\n"}}