# Buggy code
def _process_command_phase(self, phase, command, command_type=None, gcode=None):
    if self.isStreaming() or phase not in ("queuing", "queued", "sending", "sent"):
        return command, command_type, gcode

    if gcode is None:
        gcode = gcode_command_for_cmd(command)

    # send it through the phase specific handlers provided by plugins
    for name, hook in self._gcode_hooks[phase].items():
        try:
            hook_result = hook(self, phase, command, command_type, gcode)
        except:
            self._logger.exception(
                "Error while processing hook {name} for phase {phase} and command {command}:".format(
                    **locals()
                )
            )
        else:
            command, command_type, gcode = self._handle_command_handler_result(
                command, command_type, gcode, hook_result
            )
            if command is None:
                # hook handler return None as command, so we'll stop here and return a full out None result
                return None, None, None

    # if it's a gcode command send it through the specific handler if it exists
    if gcode is not None:
        gcodeHandler = "_gcode_" + gcode + "_" + phase
        if hasattr(self, gcodeHandler):
            handler_result = getattr(self, gcodeHandler)(command, cmd_type=command_type)
            command, command_type, gcode = self._handle_command_handler_result(
                command, command_type, gcode, handler_result
            )

    # send it through the phase specific command handler if it exists
    commandPhaseHandler = "_command_phase_" + phase
    if hasattr(self, commandPhaseHandler):
        handler_result = getattr(self, commandPhaseHandler)(
            command, cmd_type=command_type, gcode=gcode
        )
        command, command_type, gcode = self._handle_command_handler_result(
            command, command_type, gcode, handler_result
        )

    # finally return whatever we resulted on
    return command, command_type, gcode


# Traceback (SerialException)
2017-04-21 15:27:24,022 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2017-04-21 15:27:24,022 - octoprint.server - INFO - OctoPrint 1.3.2 (master branch)
2017-04-21 15:27:24,024 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 15:27:24,024 - octoprint.server - INFO - ------------------------------------------------------------------------------
2017-04-21 15:27:24,020 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 15:27:26,280 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 15:27:26,280 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes
2017-04-21 15:27:26,284 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)
2017-04-21 15:27:26,292 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 15:27:26,293 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2017-04-21 15:27:26,299 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2017-04-21 15:27:26,302 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2017-04-21 15:27:26,315 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2017-04-21 15:27:26,812 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _http._tcp
2017-04-21 15:27:26,822 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _octoprint._tcp
2017-04-21 15:27:26,825 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for SSDP
2017-04-21 15:27:27,048 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json
2017-04-21 15:27:27,095 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2017-04-21 15:27:27,352 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.25s
2017-04-21 15:27:30,941 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 15:27:30,942 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 15:27:35,507 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages/, --user flag needed => no, virtual env => yes
2017-04-21 15:27:39,930 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-04-21 15:27:39,967 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.1.240/'}
2017-04-21 15:27:48,626 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://aneta6printer.ddns.net/'}
2017-04-21 15:27:52,177 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://77.21.237.14/'}
2017-04-21 15:35:45,895 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.180
2017-04-21 15:35:56,165 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.180
2017-04-21 15:35:56,728 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.180
2017-04-21 15:36:09,852 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.180
2017-04-21 16:01:57,028 - tornado.access - WARNING - 405 PROPFIND /webdav/ (127.0.0.1) 3.44ms
2017-04-21 16:15:18,724 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:21:49,172 - octoprint.server.api.system - INFO - Performing command for custom:pon: printer_on.sh
2017-04-21 16:22:15,825 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 16:22:16,669 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:22:31,581 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-21 16:23:33,511 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:23:33,764 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 16:23:34,141 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json
2017-04-21 16:23:44,806 - octoprint.server.api.system - INFO - Performing command for core:restart: sudo service octoprint restart
2017-04-21 16:23:44,988 - octoprint.server - INFO - Shutting down...
2017-04-21 16:23:45,270 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2017-04-21 16:23:45,272 - octoprint.events - INFO - Event loop shut down
2017-04-21 16:23:45,282 - octoprint.server - INFO - Goodbye!
2017-04-21 16:23:47,346 - octoprint.server - INFO - ******************************************************************************
2017-04-21 16:23:47,346 - octoprint.server - INFO - Starting OctoPrint 1.3.2 (master branch)
2017-04-21 16:23:47,347 - octoprint.server - INFO - ******************************************************************************
2017-04-21 16:23:47,421 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:23:48,950 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 12 hook handlers
2017-04-21 16:23:48,977 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:23:49,221 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 12 hook handlers
2017-04-21 16:23:49,227 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2017-04-21 16:23:49,229 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2017-04-21 16:23:49,352 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2017-04-21 16:23:51,573 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 16:23:53,823 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 16:23:53,823 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes
2017-04-21 16:23:53,826 - octoprint.plugin.core - INFO - Initialized 15 plugin implementation(s)
2017-04-21 16:23:53,835 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 16:23:53,836 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2017-04-21 16:23:53,842 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2017-04-21 16:23:53,845 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2017-04-21 16:23:53,858 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2017-04-21 16:23:54,142 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _http._tcp
2017-04-21 16:23:54,153 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _octoprint._tcp
2017-04-21 16:23:54,155 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for SSDP
2017-04-21 16:23:54,175 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2017-04-21 16:23:54,187 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2017-04-21 16:23:54,294 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.1.240/'}
2017-04-21 16:23:55,759 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:23:58,088 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 16:24:09,300 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://aneta6printer.ddns.net/'}
2017-04-21 16:24:12,414 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:24:14,044 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://77.21.237.14/'}
2017-04-21 16:24:51,673 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:24:51,932 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 15 mixin implementations, 12 hook handlers
2017-04-21 16:24:51,934 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
| !Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 16:24:59,700 - octoprint.server.api.system - INFO - Performing command for core:restart: sudo service octoprint restart
2017-04-21 16:24:59,817 - octoprint.server - INFO - Shutting down...
2017-04-21 16:24:59,922 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2017-04-21 16:24:59,924 - octoprint.events - INFO - Event loop shut down
2017-04-21 16:24:59,932 - octoprint.server - INFO - Goodbye!
2017-04-21 16:25:01,925 - octoprint.server - INFO - ******************************************************************************
2017-04-21 16:25:01,926 - octoprint.server - INFO - Starting OctoPrint 1.3.2 (master branch)
2017-04-21 16:25:01,926 - octoprint.server - INFO - ******************************************************************************
2017-04-21 16:25:01,997 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:25:03,495 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 16:25:03,521 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 16:25:03,764 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 16:25:03,769 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2017-04-21 16:25:03,772 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2017-04-21 16:25:03,896 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2017-04-21 16:25:06,110 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 16:25:08,302 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 16:25:08,303 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes
2017-04-21 16:25:08,309 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)
2017-04-21 16:25:08,325 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 16:25:08,327 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2017-04-21 16:25:08,338 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2017-04-21 16:25:08,344 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2017-04-21 16:25:08,370 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2017-04-21 16:25:08,984 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _http._tcp
2017-04-21 16:25:08,995 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _octoprint._tcp
2017-04-21 16:25:08,997 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for SSDP
2017-04-21 16:25:09,016 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2017-04-21 16:25:09,029 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2017-04-21 16:25:09,138 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.1.240/'}
2017-04-21 16:25:12,050 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:25:17,808 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://aneta6printer.ddns.net/'}
2017-04-21 16:25:21,302 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://77.21.237.14/'}
2017-04-21 16:29:37,270 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 16:29:42,435 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 16:30:02,258 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-21 16:55:19,772 - octoprint.server.api.system - INFO - Performing command for custom:poff: printer_off.sh
2017-04-21 16:55:22,224 - octoprint.server.api.system - INFO - Performing command for custom:streamoff: sudo service webcamd stop
2017-04-21 16:55:24,082 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:01:30,014 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:01:40,756 - octoprint.server.api.system - INFO - Performing command for custom:streamoff: sudo service webcamd stop
2017-04-21 18:01:42,797 - octoprint.server.api.system - INFO - Performing command for custom:streamon: sudo service webcamd start
2017-04-21 18:01:48,867 - octoprint.server.api.system - INFO - Performing command for custom:pon: printer_on.sh
2017-04-21 18:02:03,864 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:02:04,619 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:02:18,608 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-21 18:19:57,705 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:19:58,117 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M20
| Recv: Begin file list
| Recv: End file list
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:19:58,152 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: End file list
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:19:58,203 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:19:58,225 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:19:58,248 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:20:56,338 - octoprint.plugins.detailedprogress - INFO - Printing stopped. Detailed progress stopped.
2017-04-21 18:20:58,132 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:20:58,156 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:20:58,180 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:20:58,207 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:20:58,232 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:21:06,703 - octoprint.server.api.system - INFO - Performing command for core:reboot: sudo shutdown -r now
2017-04-21 18:21:06,826 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:21:06,910 - octoprint.server - INFO - Shutting down...
2017-04-21 18:21:07,297 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2017-04-21 18:21:07,299 - octoprint.events - INFO - Event loop shut down
2017-04-21 18:21:07,312 - octoprint.server - INFO - Goodbye!
2017-04-21 18:21:13,679 - octoprint.server - INFO - ******************************************************************************
2017-04-21 18:21:13,681 - octoprint.server - INFO - Starting OctoPrint 1.3.2 (master branch)
2017-04-21 18:21:13,681 - octoprint.server - INFO - ******************************************************************************
2017-04-21 18:21:13,858 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 18:21:16,096 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 18:21:16,138 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 18:21:16,380 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 18:21:16,385 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2017-04-21 18:21:16,392 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2017-04-21 18:21:16,517 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2017-04-21 18:21:27,780 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 18:21:29,988 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 18:21:29,989 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes
2017-04-21 18:21:29,994 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)
2017-04-21 18:21:30,002 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 18:21:30,004 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2017-04-21 18:21:30,016 - octoprint.filemanager - INFO - Added 1 items from storage type "local" to analysis queue
2017-04-21 18:21:30,015 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:21:30,019 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2017-04-21 18:21:30,075 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2017-04-21 18:21:30,603 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _http._tcp
2017-04-21 18:21:30,626 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _octoprint._tcp
2017-04-21 18:21:30,629 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for SSDP
2017-04-21 18:21:30,675 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2017-04-21 18:21:30,709 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2017-04-21 18:21:30,910 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.1.240/'}
2017-04-21 18:21:31,408 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1492798893152 (127.0.0.1) 344.99ms
2017-04-21 18:21:32,436 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1492798894523 (127.0.0.1) 15.22ms
2017-04-21 18:21:33,098 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798895160 (127.0.0.1) 40.95ms
2017-04-21 18:21:33,468 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1492798895556 (127.0.0.1) 13.01ms
2017-04-21 18:21:34,173 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798896222 (127.0.0.1) 54.93ms
2017-04-21 18:21:35,262 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798897292 (127.0.0.1) 65.54ms
2017-04-21 18:21:36,320 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798898375 (127.0.0.1) 49.83ms
2017-04-21 18:21:37,405 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798899428 (127.0.0.1) 49.79ms
2017-04-21 18:21:38,470 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798900519 (127.0.0.1) 42.89ms
2017-04-21 18:21:39,583 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798901592 (127.0.0.1) 61.48ms
2017-04-21 18:21:40,946 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798902696 (127.0.0.1) 285.00ms
2017-04-21 18:21:41,920 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798903967 (127.0.0.1) 55.22ms
2017-04-21 18:21:43,147 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798905039 (127.0.0.1) 52.81ms
2017-04-21 18:21:44,210 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798906260 (127.0.0.1) 53.27ms
2017-04-21 18:21:45,279 - tornado.access - WARNING - 404 GET /cached.gif?_=1492798907329 (127.0.0.1) 49.96ms
2017-04-21 18:21:45,349 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://aneta6printer.ddns.net/'}
2017-04-21 18:21:46,465 - octoprint.server.views - INFO - Found path / in cache (key: ui:_default:http://192.168.1.240/:de), signaling as cached
2017-04-21 18:21:50,121 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://77.21.237.14/'}
2017-04-21 18:21:50,900 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:21:57,550 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Osveshenie_ver2.0.gcode finished, needed 27.53s
2017-04-21 18:23:06,042 - octoprint.server.api.system - INFO - Performing command for custom:pon: printer_on.sh
2017-04-21 18:23:07,812 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:23:08,546 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:23:22,401 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-21 18:23:50,289 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:23:50,652 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:19.3 /0.0 B:20.0 /0.0 @:0 B@:0
| Send: M20
| Recv: Begin file list
| Recv: End file list
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:23:50,678 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: End file list
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:23:50,701 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:23:50,723 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:23:50,745 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:24:50,672 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:24:50,698 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:24:50,722 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:24:50,746 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:24:50,771 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:25:50,681 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:25:50,706 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:25:50,733 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:25:50,759 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:25:50,784 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:26:06,247 - octoprint.plugins.detailedprogress - INFO - Printing stopped. Detailed progress stopped.
2017-04-21 18:26:14,127 - octoprint.plugins.detailedprogress - INFO - Printing stopped. Detailed progress stopped.
2017-04-21 18:26:19,796 - tornado.access - WARNING - 409 POST /api/printer/sd (127.0.0.1) 25.04ms
2017-04-21 18:26:23,142 - tornado.access - WARNING - 409 POST /api/printer/sd (127.0.0.1) 24.71ms
2017-04-21 18:26:25,458 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:26:26,203 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:26:50,698 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:26:50,724 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:26:50,748 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:26:50,773 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:26:50,797 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 4
| Last lines in terminal:
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Recv: ok
| Send: N1 M115*39
| Recv: ok
| Send: N2 M110 N0*127
| Recv: ok
| Send: N3 M140 S100.000000*73
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
2017-04-21 18:27:04,315 - octoprint.server.api.system - INFO - Performing command for core:restart: sudo service octoprint restart
2017-04-21 18:27:04,499 - octoprint.server - INFO - Shutting down...
2017-04-21 18:27:04,507 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2017-04-21 18:27:04,512 - octoprint.events - INFO - Event loop shut down
2017-04-21 18:27:04,518 - octoprint.server - INFO - Goodbye!
2017-04-21 18:27:06,476 - octoprint.server - INFO - ******************************************************************************
2017-04-21 18:27:06,477 - octoprint.server - INFO - Starting OctoPrint 1.3.2 (master branch)
2017-04-21 18:27:06,477 - octoprint.server - INFO - ******************************************************************************
2017-04-21 18:27:06,546 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 18:27:08,028 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 18:27:08,054 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2017-04-21 18:27:08,296 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 12 hook handlers
2017-04-21 18:27:08,301 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2017-04-21 18:27:08,306 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2017-04-21 18:27:08,429 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2017-04-21 18:27:10,647 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2017-04-21 18:27:12,854 - octoprint.util.pip - INFO - Version of pip is 9.0.1
2017-04-21 18:27:12,855 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages, --user flag needed => no, virtual env => yes
2017-04-21 18:27:12,858 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)
2017-04-21 18:27:12,866 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
|  Cyborg Theme (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cyborgtheme
|  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
|  DisplayProgress (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayprogress
|  Fullscreen Plugin (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/softwareupdate
|  Status Line (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/status_line
|  Title Status (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_title_status
|  Touchtest Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_touchtest
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/virtual_printer
2017-04-21 18:27:12,867 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2017-04-21 18:27:12,879 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:27:12,892 - octoprint.filemanager - INFO - Added 1 items from storage type "local" to analysis queue
2017-04-21 18:27:12,901 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2017-04-21 18:27:12,937 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2017-04-21 18:27:13,378 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _http._tcp
2017-04-21 18:27:13,403 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for _octoprint._tcp
2017-04-21 18:27:13,406 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Anet A6" for SSDP
2017-04-21 18:27:13,436 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2017-04-21 18:27:13,460 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2017-04-21 18:27:13,633 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.1.240/'}
2017-04-21 18:27:14,881 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:27:26,176 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://aneta6printer.ddns.net/'}
2017-04-21 18:27:30,771 - octoprint.server - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://77.21.237.14/'}
2017-04-21 18:27:37,226 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-21 18:27:39,606 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Osveshenie_ver2.0.gcode finished, needed 26.73s
2017-04-21 18:35:17,587 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:35:18,022 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-21 18:35:25,876 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Osveshenie_ver2.0.gcode finished, needed 7.85s
2017-04-21 18:36:18,528 - octoprint.server.api.system - INFO - Performing command for custom:poff: printer_off.sh
2017-04-21 18:36:20,835 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/util/comm.py", line 1792, in _readline
    ret = self._serial.readline()
  File "build/bdist.linux-armv7l/egg/serial/serialposix.py", line 475, in read
    raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2017-04-21 18:36:24,367 - octoprint.server.api.system - INFO - Performing command for custom:loff: light_off.sh
2017-04-21 18:36:25,966 - octoprint.server.api.system - INFO - Performing command for custom:loff: light_off.sh
2017-04-21 18:36:27,614 - octoprint.server.api.system - INFO - Performing command for custom:streamoff: sudo service webcamd stop
2017-04-21 18:36:31,133 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 18:58:48,671 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-21 18:59:43,260 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-21 21:55:44,334 - tornado.access - WARNING - 404 GET //README (127.0.0.1) 11.25ms
2017-04-21 21:55:44,911 - tornado.access - WARNING - 404 GET /horde//README (127.0.0.1) 9.29ms
2017-04-21 21:55:45,489 - tornado.access - WARNING - 404 GET /horde2//README (127.0.0.1) 9.39ms
2017-04-21 21:55:46,077 - tornado.access - WARNING - 404 GET /horde3//README (127.0.0.1) 9.15ms
2017-04-21 21:55:46,650 - tornado.access - WARNING - 404 GET /horde-3.0.9//README (127.0.0.1) 9.23ms
2017-04-21 21:55:47,215 - tornado.access - WARNING - 404 GET /Horde//README (127.0.0.1) 9.32ms
2017-04-21 23:59:26,784 - tornado.access - WARNING - 404 GET http://httpheader.net/ (127.0.0.1) 13.14ms
2017-04-22 01:39:14,764 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-22 01:39:16,403 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.26s
2017-04-22 01:39:17,554 - octoprint.server.api.system - INFO - Performing command for custom:pon: printer_on.sh
2017-04-22 01:39:23,703 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239
2017-04-22 01:39:24,565 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.239
2017-04-22 01:39:43,023 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-22 01:40:04,883 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Staubkappe_V3.gcode
2017-04-22 01:43:52,420 - octoprint.util.comm - INFO - Finished in 227.410 s. Approx. transfer rate of 123.526 lines/s or 8.095 ms per line
2017-04-22 01:43:52,425 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Staubkappe_V3.gcode
2017-04-22 01:43:58,341 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Staubkappe_V3.gcode finished, needed 5.92s
2017-04-22 01:46:56,867 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-22 01:46:57,289 - octoprint.util.comm - WARNING - Printer requested line 1 but no sufficient history is available, can't resend. Printer requested line 1, current line is 28094, line history has 50 entries.
2017-04-22 01:46:57,291 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 28094
| Last lines in terminal:
| Send: M105
| Recv: ok T:18.6 /0.0 B:19.3 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:18.6 /0.0 B:19.3 /0.0 @:0 B@:0
| Send: M20
| Recv: Begin file list
| Recv: End file list
| Recv: ok
| Send: N28092 M110 N0*124
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N28093 M140 S100.000000*74
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Printer requested line 1 but no sufficient history is available, can't resend
| Changing monitoring state from 'Sending file to SD' to 'Error: Printer requested line 1 but no sufficient history is available, can't resend'
2017-04-22 01:46:57,292 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-22 01:47:05,121 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Osveshenie_ver2.0.gcode finished, needed 7.83s
2017-04-22 01:49:06,992 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin SkyNet3D-v2.3.1 (Github)"
2017-04-22 01:49:22,138 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Fan.gcode
2017-04-22 01:49:35,799 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Fan.gcode finished, needed 13.66s
2017-04-22 01:57:58,473 - octoprint.util.comm - INFO - Finished in 516.314 s. Approx. transfer rate of 120.967 lines/s or 8.267 ms per line
2017-04-22 01:58:30,403 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-22 01:58:30,959 - octoprint.util.comm - WARNING - Printer requested line 1 but no sufficient history is available, can't resend. Printer requested line 1, current line is 62460, line history has 50 entries.
2017-04-22 01:58:30,962 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Osveshenie_ver2.0.gcode
2017-04-22 01:58:30,977 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 1, current line = 62460
| Last lines in terminal:
| Send: M105
| Recv: ok T:18.6 /0.0 B:19.3 /0.0 @:0 B@:0
| Send: M105
| Recv: ok T:18.6 /0.0 B:19.3 /0.0 @:0 B@:0
| Send: M20
| Recv: Begin file list
| Recv: End file list
| Recv: ok
| Send: N62458 M110 N0*112
| Recv: ok
| Send: M28 /osvesh~1.gco
| Recv: echo:Now fresh file: /osvesh~1.gco
| Recv: Writing to file: /osvesh~1.gco
| Changing monitoring state from 'Operational' to 'Sending file to SD'
| Recv: ok
| Send: N62459 M140 S100.000000*70
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 0
| Recv: Resend: 1
| Printer requested line 1 but no sufficient history is available, can't resend
| Changing monitoring state from 'Sending file to SD' to 'Error: Printer requested line 1 but no sufficient history is available, can't resend'
2017-04-22 01:58:38,837 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Osveshenie_ver2.0.gcode finished, needed 7.88s
2017-04-22 02:02:43,342 - tornado.access - WARNING - 409 POST /api/files/sdcard (127.0.0.1) 446.15ms
2017-04-22 02:09:47,172 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.239


# Fixed code
def _process_command_phase(self, phase, command, command_type=None, gcode=None):
    if (self.isStreaming() and self.isPrinting()) or phase not in (
        "queuing",
        "queued",
        "sending",
        "sent",
    ):
        return command, command_type, gcode

    if gcode is None:
        gcode = gcode_command_for_cmd(command)

    # send it through the phase specific handlers provided by plugins
    for name, hook in self._gcode_hooks[phase].items():
        try:
            hook_result = hook(self, phase, command, command_type, gcode)
        except:
            self._logger.exception(
                "Error while processing hook {name} for phase {phase} and command {command}:".format(
                    **locals()
                )
            )
        else:
            command, command_type, gcode = self._handle_command_handler_result(
                command, command_type, gcode, hook_result
            )
            if command is None:
                # hook handler return None as command, so we'll stop here and return a full out None result
                return None, None, None

    # if it's a gcode command send it through the specific handler if it exists
    if gcode is not None:
        gcodeHandler = "_gcode_" + gcode + "_" + phase
        if hasattr(self, gcodeHandler):
            handler_result = getattr(self, gcodeHandler)(command, cmd_type=command_type)
            command, command_type, gcode = self._handle_command_handler_result(
                command, command_type, gcode, handler_result
            )

    # send it through the phase specific command handler if it exists
    commandPhaseHandler = "_command_phase_" + phase
    if hasattr(self, commandPhaseHandler):
        handler_result = getattr(self, commandPhaseHandler)(
            command, cmd_type=command_type, gcode=gcode
        )
        command, command_type, gcode = self._handle_command_handler_result(
            command, command_type, gcode, handler_result
        )

    # finally return whatever we resulted on
    return command, command_type, gcode