question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maybe this is obvious, but I need to install apache for the web interface to work, right? I’ve followed the readme steps and I get nothing from localhost:8080.

After installing Apache, I get:

root@raspberrypi:~/silvia-pi# ./silvia-pi.py
Starting Scheduler thread...
Starting PID thread...
Starting HE Control thread...
Starting REST Server thread...
Starting Watchdog...
./silvia-pi.py:67: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(conf.he_pin, GPIO.OUT)
Bottle v0.13-dev server starting up (using CherootServer())...
Listening on http://0.0.0.0:8080/
Hit Ctrl-C to quit.
root@raspberrypi:~/silvia-pi# 

and then it exits back to the command line and still nothing on localhost:8080. Am I missing some steps?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
frequency17commented, Feb 3, 2021

Everything came back alive except for the PID.

For subsequent readers, I the code should be: print(p.is_alive()) print(h.is_alive()) print(r.is_alive()) print(s.is_alive())

0reactions
frequency17commented, Feb 3, 2021

And actually having the PID not hooked up is why this was exiting. The while line is: while p.is_alive() and h.is_alive() and r.is_alive() and s.is_alive():

When i removed the p.is_alive(), the page loaded. Thanks for the help troubleshooting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Web Interface and How to Access It? - Diib
Your web interface is your client user interface enabling you to connect to your access server through your VPN connection. This is how...
Read more >
Web User Interface - an overview | ScienceDirect Topics
A Web user interface or Web app allows the user to interact with content or software running on a remote server through a...
Read more >
Definition of Web interface | PCMag
(2) A programming interface that applications use to access services in a Web server. See Web services and API.
Read more >
What is a web interface? - YouTube
The changes in design patterns that have led to the rise of web apps have been accompanied by changes to the way that...
Read more >
Web User Interface | Technology Glossary Definitions - G2
A web user interface permits users to interact with software and other content running through a web browser. The interface is a connection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found