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

Check current version times out #4

Open
victorevector opened this issue Jan 27, 2017 · 1 comment
Open

Check current version times out #4

victorevector opened this issue Jan 27, 2017 · 1 comment
Labels

Comments

@victorevector
Copy link

What did you do?

I clicked on "Check Update" button

What happened?

Got error message Unable to get printer's data

What did I expect to happen?

I expected a message telling me the update status of the installed firmware

@victorevector
Copy link
Author

This is the conditional block that is getting executed:

def on_printer_add_message(self, data):
        if time.time() - self.start_time > 30 or time.time() < self.start_time:
            self.printer_info = None
            self.printer_callback.on_printer_add_message = self.default_on_printer_add_message # Unregister callback
            self._send_status(status_type="check_update_status", status_value="error", status_description="Unable to get printer's data")
            self._logger.error(u"Unable to get printer's data")
            self._checking = False
            return
        ...
        ...
        ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant