Comments (7)
I have no experience with TouchUI so I'm a shooting in the dark here. Are there anything in ~/.octoprint/logs/octoprint.log?
The plugin itself doesn't add anything to the UI so I don't think it could be something there. But can you get to a javascript console in TouchUI?
from octoprint-ledstripcontrol.
Thanks for the quick response @precision
Heres a dump of the .octoprint/logs/octoprint.log, I've also included a screenshot as to what im currently seeing when trying to log into Octoprint ui. Note that removing the LEDStripControl config in
~/.octoprint/config.yaml will fix the problem
2019-02-25 22:26:45,251 - octoprint.startup - INFO - ******************************************************************************
2019-02-25 22:26:45,253 - octoprint.startup - INFO - Starting OctoPrint 1.3.10
2019-02-25 22:26:45,254 - octoprint.startup - INFO - ******************************************************************************
2019-02-25 22:26:45,328 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2019-02-25 22:26:45,405 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin pack$
2019-02-25 22:26:48,062 - octoprint.plugin.core - INFO - Found 17 plugin(s) providing 17 mixin implementations, 21 hook handlers
2019-02-25 22:26:48,191 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2019-02-25 22:26:48,314 - octoprint.server - INFO - Intermediary server started
2019-02-25 22:26:48,314 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin pack$
2019-02-25 22:26:48,905 - octoprint.plugin.core - INFO - Found 17 plugin(s) providing 17 mixin implementations, 21 hook handlers
2019-02-25 22:26:48,948 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2019-02-25 22:26:49,610 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2019-02-25 22:26:49,693 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2019-02-25 22:26:53,455 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2019-02-25 22:26:55,521 - octoprint.util.pip - INFO - Version of pip is 9.0.3
2019-02-25 22:26:55,523 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-02-25 22:26:55,524 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-02-25 22:26:55,529 - octoprint.plugin.core - INFO - Initialized 17 plugin implementation(s)
from octoprint-ledstripcontrol.
After doing some more debugging, not really sure what im doing but having fun :)
The below line self._pigpiod = pigpio.pi() is where i hang up as far as i can tell, If i comment out this line the debugger is able to proceed
if self._pigpiod is None:
self._pigpiod = pigpio.pi()
from octoprint-ledstripcontrol.
Looking into the docs of http://abyz.me.uk/rpi/pigpio/python.html#pigpio.pi
if I specify the ip address and port, it seems to resolve the issue
self._pigpiod = pigpio.pi('192.168.0.13', '8080')
from octoprint-ledstripcontrol.
Huh that is strange.. By default it should connect to 'localhost'. Is it possible that you don't have localhost in /etc/hosts?
from octoprint-ledstripcontrol.
Any updates on this? I am having the same issue and can't figure it out.
from octoprint-ledstripcontrol.
Can one of you paste in the output of
host localhost && cat /etc/hosts
And assuming this is octopi (if not you'll need to substitute the path to your virtualenv)
source ~/oprint/bin/activate && pip list
from octoprint-ledstripcontrol.
Related Issues (20)
- Problem LEDStripControl
- KeyError: 'w' HOT 7
- Plugin does not save\function HOT 13
- adressable leds HOT 1
- add a button on octopi page to light on/off the led HOT 1
- Cannot trigger with M150 command (Prusa I3 Mk2s) HOT 9
- M150 Codes Ignored By Terminal HOT 2
- Help HOT 1
- Cabling + Compatibility Ender 3 HOT 9
- Just a simple white LED strip HOT 3
- Orange Pi Support HOT 4
- Wrong link for pigpiod.
- After updating to newest octoprint version - only HOT 13
- After install, Octoprint can't start up HOT 5
- Documentation link not working HOT 2
- Not running consistently HOT 8
- Not an actual issue, more of a question. HOT 1
- Plug-in enables two lights per one M150 command HOT 3
- Settings will not save and octo hangs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-ledstripcontrol.