{"action":"closed","issue":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/1036","labels_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1036/comments","events_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1036/events","html_url":"https://github.com/foosel/OctoPrint/issues/1036","id":103926797,"number":1036,"title":"no attribute _basefolder","user":{"login":"punkkeks","id":921462,"avatar_url":"https://avatars.githubusercontent.com/u/921462?v=3","gravatar_id":"","url":"https://api.github.com/users/punkkeks","html_url":"https://github.com/punkkeks","followers_url":"https://api.github.com/users/punkkeks/followers","following_url":"https://api.github.com/users/punkkeks/following{/other_user}","gists_url":"https://api.github.com/users/punkkeks/gists{/gist_id}","starred_url":"https://api.github.com/users/punkkeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punkkeks/subscriptions","organizations_url":"https://api.github.com/users/punkkeks/orgs","repos_url":"https://api.github.com/users/punkkeks/repos","events_url":"https://api.github.com/users/punkkeks/events{/privacy}","received_events_url":"https://api.github.com/users/punkkeks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/foosel/OctoPrint/labels/status:incomplete%20ticket","name":"status:incomplete ticket","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-30T14:19:09Z","updated_at":"2015-08-30T15:44:36Z","closed_at":"2015-08-30T15:44:35Z","body":"> AttributeError: 'PiAPl' object has no attribute '_basefolder'\r\n\r\nwhen I try to register an error_handler via `self.get_blueprint().app_errorhandler(500)(self.api_errorHandler)` the following exception occurs\r\n\r\n>Traceback (most recent call last):\r\n>  File \"/home/marcel/build/OctoPrint/src/octoprint/plugin/core.py\", line 660, in load_plugin\r\n>    plugin.load()\r\n>  File \"/home/marcel/studium/bachelor-thesis/piapl/octoprint_PiAPl/__init__.py\", line 8, in __plugin_load__\r\n>    p = PiAPl()\r\n>  File \"/home/marcel/studium/bachelor-thesis/piapl/octoprint_PiAPl/piapl.py\", line 30, in __init__\r\n>    self.get_blueprint().app_errorhandler(500)(self.api_errorHandler)\r\n>  File \"/home/marcel/build/OctoPrint/src/octoprint/plugin/types.py\", line 887, in get_blueprint\r\n>    kwargs = self.get_blueprint_kwargs()\r\n>  File \"/home/marcel/build/OctoPrint/src/octoprint/plugin/types.py\", line 909, in get_blueprint_kwargs\r\n>    static_folder = self.get_asset_folder()\r\n>  File \"/home/marcel/build/OctoPrint/src/octoprint/plugin/types.py\", line 162, in get_asset_folder\r\n>    return os.path.join(self._basefolder, \"static\")\r\n>AttributeError: 'PiAPl' object has no attribute '_basefolder'\r\n\r\n(Version: 1.3.0.dev286+g024cf88.dirty (devel branch))"}}