Git Product home page Git Product logo

Comments (10)

ty-porter avatar ty-porter commented on September 22, 2024 1

This doesn't have anything to do with the scoreboard itself

You're bumping into issues with systemd to set up the service. I would recommend triple checking that the service is copied to lib/systemd/system and re-enabling the scoreboard service:

sudo systemctl enable mlb-led-scoreboard

Beyond that there's limited ability for us to troubleshoot for you.

from mlb-led-scoreboard.

pjockey avatar pjockey commented on September 22, 2024

have you tried to check and see if everything stuck. Check and see if the .service file was actually moved to /lib/systemd/system.

from mlb-led-scoreboard.

PHI34Halladay avatar PHI34Halladay commented on September 22, 2024

It is moved to /lib/systemd/system.

from mlb-led-scoreboard.

mike2me avatar mike2me commented on September 22, 2024

post screenshot of your script

from mlb-led-scoreboard.

PHI34Halladay avatar PHI34Halladay commented on September 22, 2024

This is how it looks like:
image

from mlb-led-scoreboard.

pjockey avatar pjockey commented on September 22, 2024

Do you have more than one board connected together?

This is my program start:
sudo python3 main.py --led-gpio-mapping=adafruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=2 --led-cols=64 --led-rows=32 --led-rgb-sequence=BGR --led-row-addr-type=3

Try running your program start from the command line and see what error are produced. Or try mine and see what happens. I'm acutally running a 128x64 board, but I changed the above to the 64x32.

from mlb-led-scoreboard.

PHI34Halladay avatar PHI34Halladay commented on September 22, 2024

Thanks for the response.
I'm running 4 panels (2x2) at once.

I will try our command tomorrow.

It works when I'm going like this:

  1. Command: cd mlb-led-scoreboard
  2. Command: sudo python3 main.py --[......]

But not when I'm doing this:

sudo python3 home/pi/mlb-led-scoreboard/main.py --[......]

Could this be connected with the autostart function?

from mlb-led-scoreboard.

PHI34Halladay avatar PHI34Halladay commented on September 22, 2024

Just saw that the file is owned by the user "pi". Could that me the mistake?

image

EDIT: Changed it to root, but that didn't solve my problem.

from mlb-led-scoreboard.

PHI34Halladay avatar PHI34Halladay commented on September 22, 2024

Newest error message:

image

from mlb-led-scoreboard.

bierbarrel avatar bierbarrel commented on September 22, 2024

I had that same issue today. I had not used the scoreboard this year yet. I only had 2 panels last year. I added 2 more panels this year and did a new reinstall of the software. I could get the board to work if I ran sudo py from the mlb-led-scoreboard but could never get it to run from the /lib/systemd/system/ directory. I used the "sudo service mlb-led-scoreboard status" command to see if the board was actually running. It turned out that my directory structure was wrong. In the mlb-led-scoreboard.service file. I chased this for a couple hours. When you make changes to the file you need to run the "systemctl daemon-reload" command and then "sudo systemctl enable mlb-led-scoreboard" command. Then reboot...at least that is what worked for me.

from mlb-led-scoreboard.

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.