我一直在使用一个叫做OctoPrint的软件,它允许你在浏览器中控制你的打印机。为了简单起见,我使用了Octopi,这是一个预装的 OctoPrint 图像,但现在我想做一些改变,我决定自己构建 OctroPrint,构建说明在这里:https : //github.com/ foosel/OctoPrint/wiki/Setup-on-a-Raspberry-Pi-running-Raspbian。问题是,当我遵循第一个命令时:
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
然后我启动 octoprint 服务器
~/OctoPrint/venv/bin/octoprint
Octoprint 的网页卡住了
我不知道这是否在以后的命令中得到解决,但我想在继续之前了解所有这些是如何组合在一起的。它看起来不是浏览器(我可以毫无问题地访问其他网站),那么 Octoprint 可能是吗?我怎样才能解决这个问题?以前有人遇到过这个问题吗?提前致谢
控制台中的输出是:
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