Octoprint broke in middle of job

Discussion in 'Calibration, Help, and Troubleshooting' started by Henry feldman, Jun 19, 2016.

  1. Henry feldman

    Henry feldman Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    969
    Likes Received:
    389
    So was running along fine (well not fine printing wise, but I can't imagine poor adhesion and octoprint are linked) and when I canceled the job and came back to redo it, I could not log in. I get this in the log:

    Traceback (most recent call last):

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app

    response = self.full_dispatch_request()

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request

    rv = self.handle_user_exception(e)

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in handle_user_exception

    reraise(exc_type, exc_value, tb)

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request

    rv = self.dispatch_request()

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request

    return self.view_functions[rule.endpoint](**req.view_args)

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/server/api/settings.py", line 108, in getSettings

    "actions": s.get(["system", "actions"]),

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/settings.py", line 928, in get

    return self._get_value(path, **new_kwargs)

    File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/settings.py", line 884, in _get_value

    if key in config:

    TypeError: argument of type 'NoneType' is not iterable
     
  2. Henry feldman

    Henry feldman Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    969
    Likes Received:
    389
    Update, figured that out (not the why, but the what) which was config.yaml had "system: null", changed it to system: {} just to get started, and the error has gone away, but still can't log in and the title is "* undefined"? Here is the log now


    2016-06-19 22:17:15,666 - octoprint.server - INFO - Starting OctoPrint 1.2.13 (master branch)

    2016-06-19 22:17:15,687 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins and installed plugin packages...

    2016-06-19 22:17:16,308 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available

    2016-06-19 22:17:16,309 - octoprint.plugin.core - INFO - Found 14 plugin(s) providing 14 mixin implementations, 10 hook handlers

    2016-06-19 22:17:16,314 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...

    2016-06-19 22:17:16,336 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.

    2016-06-19 22:17:17,970 - octoprint.util.pip - INFO - Found pip at /home/pi/OctoPrint/venv/bin/pip, version is 8.1.2

    2016-06-19 22:17:18,059 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk

    2016-06-19 22:17:18,063 - octoprint.plugin.core - INFO - Initialized 14 plugin implementation(s)

    2016-06-19 22:17:18,068 - octoprint.plugin.core - INFO - 14 plugin(s) registered with the system:

    | Announcement Plugin (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/announcements

    | CuraEngine (<= 15.04) (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/cura

    | Custom Control Editor (0.2.1) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_customControl

    | Discovery (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/discovery

    | Plugin Manager (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/pluginmanager

    | Printer Stats (1.0.0) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_stats

    | Slack (0.2.2) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_slack

    | Software Update (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/softwareupdate

    | STL Viewer (0.3.1) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_stlviewer

    | System Command Editor (0.3.1) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_systemcommandeditor

    | Title Status (0.0.4) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_title_status

    | TouchUI (0.3.3) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_touchui

    | Virtual Printer (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/virtual_printer

    | Yamlpatcher (0.1.1) = /home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_yamlpatcher

    2016-06-19 22:17:18,069 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...

    2016-06-19 22:17:18,074 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue

    2016-06-19 22:17:18,077 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...

    2016-06-19 22:17:18,090 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...

    2016-06-19 22:17:18,466 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid

    2016-06-19 22:17:18,483 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on bigbox for SSDP

    2016-06-19 22:17:18,485 - octoprint.server - INFO - Listening on http://0.0.0.0:5000

    2016-06-19 22:17:18,531 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!

    2016-06-19 22:17:18,532 - octoprint.plugins.stats - INFO - Printer Stats

    2016-06-19 22:17:18,605 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'en', 'path': '/', 'base_url': 'http://192.168.1.23:5000/'}

    2016-06-19 22:17:20,160 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.4

    2016-06-19 22:17:24,417 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'en', 'path': '/', 'base_url': 'http://0.0.0.0:5000/'}

    2016-06-19 22:17:26,459 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.1.23:5000/'}
     
  3. orcinus

    orcinus Well-Known Member

    Joined:
    Oct 20, 2015
    Messages:
    127
    Likes Received:
    49
    Can't help with the breaking Octoprint, but for adhesion, give this a spin:
    http://uk.farnell.com/kontakt-chemie/plastik-70-400ml/lacquer-plastik-70-400ml/dp/2142396

    Very light coat (quick spray or two is enough).
    A can can last for up to a year. One coat will get you through 5-10 prints.
    Comes off the glass with isopropanol (harder) or acetone (easier).

    PLA at 50-55 deg C, ABS at 70-80 deg C.
    Don't go over 55 with PET or it will rip chunks of glass out.
     
  4. fpex

    fpex Well-Known Member

    Joined:
    Oct 18, 2015
    Messages:
    621
    Likes Received:
    58
    octoprint can get corrupted, it happens often enough to me.
    Secret is ... make always a backup of the SD card. So at least yu do not need to reconfig all the times ;-)
     
    Stian Indal Haugseth likes this.
  5. Henry feldman

    Henry feldman Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    969
    Likes Received:
    389
    It was XT, but I switched over to nylon anyway as I needed a different part for work today, and that stuck fine. I actually now have 4 glass plates each with appropriate adhesives. Not sure why that part was not sticking (and it was peeling up way, way up the part, like 30+ layers up)
     
  6. orcinus

    orcinus Well-Known Member

    Joined:
    Oct 20, 2015
    Messages:
    127
    Likes Received:
    49
    I find that when that happens it's sometimes a good idea to change the infill pattern.
    E.g. circular or hexagonal (if available).
     
  7. Henry feldman

    Henry feldman Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    969
    Likes Received:
    389
    It was actually a 100% infill (going for transparent)
     
  8. orcinus

    orcinus Well-Known Member

    Joined:
    Oct 20, 2015
    Messages:
    127
    Likes Received:
    49
    Not much that can help there.
    And likely to cause maximum stress when cooling.
     
  9. Henry feldman

    Henry feldman Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    969
    Likes Received:
    389
    Yeah, although my Nylon 910 print came out great. Going to try another this evening and then really stress test the part (this is a prototype medical device) by running it over with my car and then pulling one car with the other with it in the middle of the straps (this is a nylon part replacing a steel one, and nobody believes how strong nylon is). Should work easily, given my car is way less than the tensile strength.
     

Share This Page