Git Product home page Git Product logo

Comments (7)

precision avatar precision commented on May 3, 2024

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.

thomasdlap avatar thomasdlap commented on May 3, 2024

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

image


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.

thomasdlap avatar thomasdlap commented on May 3, 2024

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()

image

from octoprint-ledstripcontrol.

thomasdlap avatar thomasdlap commented on May 3, 2024

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.

precision avatar precision commented on May 3, 2024

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.

Jrami608 avatar Jrami608 commented on May 3, 2024

Any updates on this? I am having the same issue and can't figure it out.

from octoprint-ledstripcontrol.

precision avatar precision commented on May 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.