Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling /api/state with no printer attached causes server 500. #679

foofoodog opened this issue Dec 13, 2014 · 1 comment


None yet
2 participants
Copy link

commented Dec 13, 2014

Running this from source with no printer attached. Might not be a valid scenario. Still, the thing blows up and all other code in that routine has "is not None" checks so I figure it is an omission.

Need to check self._temp is not None before iterating tool in self._temp.keys() in getCurrentTemperatures.

if self._temp is not None:
    for tool in self._temp.keys():

@GitIssueBot I love cookies


This comment has been minimized.

Copy link

commented Jan 12, 2015

Fixed via backported commit from devel branch (please mention the branch/version next time, thanks), see 684d12e

@foosel foosel closed this Jan 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.