bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 107 forks source link

Issue running wordclock.py #133

Closed basholtman closed 4 years ago

basholtman commented 4 years ago

Can anyone point me in the right direction, the strandtest.py is running fine al leds work. But when I try to run wordclock.py i'm getting the following messages. Untitled

I've no buttons attached to my clock and set gpio already to high, also already disabled my soundcard and running on a raspberry pi zero w. I'm quit new to programming so would need clear directions.

bk1285 commented 4 years ago

Hey @basholtman,

this seems to occur due to missing fonts. Try to rerun the commands below, as pointed out in the documentation: https://rpi-wordclock.readthedocs.io/en/master/doc_software_setup.html

sudo apt-get install python-pip python-scipy scons git swig ttf-freefont
sudo pip install pytz astral feedparser pillow svgwrite freetype-py netifaces monotonic flask-restplus

... where ttf-freefont and freetype-py should be the relevant packages to fix the error above...

Best, Bernd

basholtman commented 4 years ago

Hey Bernd thank you for the reply,

Untitled I have all the other packages and cant install ttf-freefont, am I missing something?

did in sudo apt-get update, still not running

Untitled1

plotaBot commented 4 years ago

Maybe it has to deal with the fact that you are using duster. For me, using stretch, every dependency needed installed fine. If you want to try stretch you can download it here.

basholtman commented 4 years ago

That's maybe something for when i'm further down the road with the issue plotabot.

Untitled3 Untitled4

Managed to install the mscorefonts, but still no luck on the ttf-freefont (Should work with duster according to Debian) and running the wordclock.py Any help would be greatly appreciated

basholtman commented 4 years ago

@plotaBot indeed ttf-freefonts does not install buster lite, it installs fine in stretch lite. Lets see if I can get the clock running on stretch.

basholtman commented 4 years ago

issue closed: this project runs fine on Raspbian stretch lite, but doesn't Raspbian buster lite due to the fact ttf-freefonts can't be installed. @bk1285 Might want to add that in the troubleshooting section or at main build page @ software setup