Open Angrenost1 opened 1 month ago
Hello,
The error you see is a python3 message. Python3 requires parens where python2 did not.
I am not current with my knowledge about other PiClock repositories.
I see 3 options
Long time ago I did the first. No rocket science, but nowadays there might be another repo more current.
Ah, found one see SerBrynden repositories
Bert
@BertLindeman Thanks for your quick reply. Will have a look at the link you send.
@BertLindeman I used the for of Ser Brynden and I confirm that it is working brilliantly. I now only have to figure out how to reduce the speed of the weather radar. Again thanks for your suggestion!
which repository do you use? I assume PiClock (not PyClock3 as that is not yet ready). In PyQtPiClock.py
I see:
try:
Config.radar_refresh
except AttributeError:
Config.radar_refresh = 10 # minutes
So there is in the config:
metric = 0 # 0 = English, 1 = Metric
radar_refresh = 10 # minutes
weather_refresh = 30 # minutes
That should get you off ;-)
Bert
Hello n0bel, First, I think you PiClock really rocks. I am trying to install it on my Raspberry Pi model 4B with Raspbian Bullseye installed (the Pi would not start up with Stretch). I followed all command, but when I try to start the PiClock with the command "sh start.sh -n -s" I receive an error below. I really hope you can help me to solve. Regards Remco
Error
root@PiClock:~/PiClock# sh startup.sh -n -s Disabling screen blanking.... No protocol specified xset: unable to open display ":0" No protocol specified xset: unable to open display ":0" No protocol specified xset: unable to open display ":0" Setting sound to max (assuming Monitor Tv controls volume).... Checking for NeoPixels Ambilight... Starting NeoPixel Ambilight Service... Checking for GPIO Buttons... Starting gpio-keys Service... Checking for Temperature Sensors... gpio memmap: Operation not permitted Starting PiClock.... logging to screen. File "/root/PiClock/Clock/PyQtPiClock.py", line 1642 print "map base url: " + self.baseurl ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("map base url: " + self.baseurl)?