OctoPrint webpage freezes (Setup on a Raspberry Pi running Raspbian)

Delfin
  • OctoPrint webpage freezes (Setup on a Raspberry Pi running Raspbian) Delfin

    I have been using a software called OctoPrint that allows you to control your printer in your Browser. For sake of simplicity I have used Octopi, a preinstalled image with OctoPrint, but now I would like to make some changes, and I decided to build OctroPrint by myself, the instructions for building it are here: https://github.com/foosel/OctoPrint/wiki/Setup-on-a-Raspberry-Pi-running-Raspbian. The problem is that when I follow the first commands:

    sudo apt-get update
    sudo apt-get upgrade
    cd ~
    sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
    git clone https://github.com/foosel/OctoPrint.git
    cd OctoPrint
    virtualenv venv
    ./venv/bin/pip install pip --upgrade
    ./venv/bin/python setup.py install
    mkdir ~/.octoprint
    sudo usermod -a -G tty pi
    sudo usermod -a -G dialout pi
    

    And then I start the octoprint server

     ~/OctoPrint/venv/bin/octoprint
    

    The webpage of Octoprint freezes

    enter image description here

    I don't know if this is fixed in later commands, but I would like to get a sense of how all fits together before continue. It doesn't look that is the browser (I am capable to visit other websites without any problems), so is maybe Octoprint? How can I fix this? Did anyone have this problem before? Thanks in advance


    The output in the console is:

    2016-07-11 03:09:19,442 - octoprint.server - INFO - Starting OctoPrint 1.2.13 (master branch)
    2016-07-11 03:09:19,502 - 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-07-11 03:09:20,522 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
    2016-07-11 03:09:20,524 - octoprint.plugin.core - INFO - Found 6 plugin(s) providing 6 mixin implementations, 3 hook handlers
    2016-07-11 03:09:20,533 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
    2016-07-11 03:09:20,536 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
    2016-07-11 03:09:23,615 - octoprint.util.pip - INFO - Found pip at /home/pi/OctoPrint/venv/bin/pip, version is 8.1.2
    2016-07-11 03:09:23,620 - octoprint.plugin.core - INFO - Initialized 6 plugin implementation(s)
    2016-07-11 03:09:23,625 - octoprint.plugin.core - INFO - 6 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
    |  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
    |  Software Update (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/softwareupdate
    |  Virtual Printer (bundled) = /home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.2.13-py2.7.egg/octoprint/plugins/virtual_printer
    2016-07-11 03:09:23,628 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
    2016-07-11 03:09:23,639 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
    2016-07-11 03:09:23,644 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
    2016-07-11 03:09:23,660 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
    2016-07-11 03:09:24,082 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on raspberrypi for SSDP
    2016-07-11 03:09:24,095 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
    2016-07-11 03:09:24,135 - octoprint.server - INFO - Listening on http://0.0.0.0:5000
    2016-07-11 03:09:24,602 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.43s
    2016-07-11 03:09:25,271 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'en', 'path': '/', 'base_url': 'http://0.0.0.0:5000/'}
    2016-07-11 03:09:59,143 - octoprint.server.util.sockjs - INFO - New connection from client: 127.0.0.1
    2016-07-11 03:09:59,884 - octoprint.plugins.cura - INFO - Path to CuraEngine has not been configured yet or does not exist (currently set to None), Cura will not be selectable for slicing
    

  • Is it the Raspberry Pi that locks up, or just the webpage? If the whole thing becomes unresponsive I would consider reviewing your overclocking settings. If you've set one of the higher overclocking values in the config script, this can often lead to random lockups. If you don't see the config script every time you boot the Pi, you can access it by typing the following into a terminal window.

    sudo raspi-config
    

    You can find out how to change the overclocking settings from the config script in this guide

Tags
prusa-i3 octoprint raspberry-pi
Related questions and answers
  • I have a RAMPS 1.4 and an Arduino Mega 2560. The problem is with 100k NTC thermistor. I've tested it with a multimeter, it results in ~122kΩ. I am using Marlin 1.0.2 (latest stable). I am using an MK8 extruder and do not receive temperature readings from the thermo-sensor - no matter how I connect it. However, on APrinter firmware it works flawlessly. In configuration.h, I have tried most of the options, but found "1" is the best one for me. Executing m105 on Marlin, I get following result: ok T:0.0 /0.0 B:0.0 /0.0 T0:0.0 /0.0 @:0 [email protected]:0 On APrinter, the result is different: ok B

  • I'm trying to line up the physical print bed of my printer (Printrbot Simple Metal) to the virtual print area of the slicer (Cura). So far, they've never been properly aligned. It was never that big a problem because, worst case scenario, my print would simply not be dead-center on the bed. But I've decided to try and fix it. Here are pictures of a test model in Cura, and the resulting physical... would be set by the Marlin firmware (EEPROM?). But I also need to be able to do a little offset tweaking on the software side for when I need to replace the BuildTak mat. Edit: I tried M206 (home

  • in step per second per step instead of step per second per second, and is therefore increased exponentially instead of linear. I have found this article that explains in mathematical terms how one can achieve a linear increase with a stepper motor but I have not managed to translate that into my python code. I would highly appreciate it if someone could help me with this and I think it would be very useful for people using steppers on the Raspberry Pi in general (I have only found a solution for the Arduino here Thank you very much in advance.

  • . I am keen to buy an aluminium PCB heatbed for my P3Steel v.4 printer, which has a larger build area of 200 mm x 300 mm. So, after some searching, I found this MK2A: MK2A 300x200mm Aluminum Heated... not sure if this should be a separate question) I would have also asked whether aluminium PCB heatbeds are worth the additional cost, over standard PCB heatbeds, but for the slightly less common... 12V/24V Perfect for Prusa i3 3D Printer. Note: this is not a shopping question, I am merely providing a background to my questions. While the RepRap wiki is full of information, the information can

  • to taking suggestions. He wants to get the printer running smoothly for patrons. I submitted a file with my own base with supports made in Sketchup. But, the tech guy said he needs to set the printer to create it's own base and supports. Additional info: When I printed it by letting Makerbot create the base and supports, it came out to be 1 3/4" as shown here: https://flic.kr/p/EashnD Printer..., it has to be 2 inches across. https://flic.kr/p/EtdM6s Here is the printer: https://flic.kr/p/E5F1M6 I used a website to convert the DAE file exported from Sketchup to an STL file

  • I am trying to use my M3D printer that doesn't work with my Linux computer. I have been told that OctoPi would make it work. My current setup is: Raspberry 2 without WiFi, with OctoPi running Keyboard and touchscreen connected to the Raspberry A .obj file located in /home/pi/ on the Raspberry I don't know anything about OctoPi, but it seems to be created to use as a print server connected by WiFi. My question is: how can I use it locally, directly on my Raspberry? NOTE: I can only use my Raspberry in command line for the moment, but if required I can install lightdm to display stuff.

  • I'm trying to set up OctoPrint on my Linux Ubuntu 16.04 desktop to work with my Micro3D printer. The printer works fine on Mac and Windows: I've installed OctoPrint with the M3D Fio Plugin Manager. I can see the files in ~/.octoprint/ fine and I can even turn the printer fan on/off, move the extruder, etc. through OctoPrint: But when I press the blue "Print button", there is no response. Also the files in the "upload" section are greyed out. Must I download a slicing program or something? I'm new with 3D printing in general but not with Linux. Grateful for help!

  • Z offset incorrect MOTIVECODEX

    , so this works also. But when I slice with Repetier host 1.6.2 with latest slicer / curaengine, it does not go down 0.4 mm before starting to print. I've set first layer to 0.2mm, but when it starts printing the first layer, it goes from 0.4 (after home Z is on 0.4) to 0.6 instead of 0.2! ... How to fix this? Gcode start: ;Generated with Cura_SteamEngine 15.01 ; Default start code G28 ; Home... in marlin when printing! I'm trying to use Cura 2.1 because it's newer, but I do not get the print usb option in Cura 2.1 :/ UPDATE 2: I just don't get it, it was printing very nice the first 4 layers

  • haven't checked in the section, logically analyzing, is the wires going from the board to the motors themselves, but based on the following, I don't believe that is the issue. (Although I have been...Background: I just successfully installed a RepRapDiscount Full Graphic Display on my Prusa i3; and in doing so, I've upgraded all of the firmware to the latest version of Marlin, 1.1.0-RC7. With my... differently, but essentially everything works except the Z-Axis. Problem: The one issue that I seem to be having is with any kind of movement with the Z-Axis. When it moves, whether from the LCD

Data information