Open echo1483 opened 2 years ago
That is already fixed in the development branch. https://github.com/bk1285/rpi_wordclock/issues/177
This Branch needs python3. So i think you need to update the whole installation or merge this changes manually.
Reicht es wenn ich das rpi_wordclock Verzeichnis neu kopiere. Danke für die Antwort.
Is it enough if I copy the rpi_wordclock directory again. Thanks for the answer.
Entweder du kopierst dir die Änderungen aus folgendem Commit manuell in das Verzeichnis:
https://github.com/FrankX0/rpi_wordclock/commit/0edce92307fefca6f44287f07e958324d2fa055c
Oder du benutzt den development Brand auf Python3 Basis. Was hier genau zu tun ist ist hier genau beschrieben: https://github.com/bk1285/rpi_wordclock/tree/develop
Im Grunde ist damit vieles einfacher und du bekommst die neuesten Updates. Der Mehraufwand lohnt sich also.
Alles nach Anleitung verändert, nun bekomme ich diesen Fehler????
~ $ sudo python3 /home/pi/rpi_wordclock/wordclock.py File "/home/pi/rpi_wordclock/wordclock.py", line 114 print('Running plugin ' + self.plugins[self.plugin_index].name + '.') ^ TabError: inconsistent use of tabs and spaces in indentation
Bist du auf dem richtigen Branch unterwegs ?
Hast du den Befehl ausgeführt :
git checkout --track origin/develop
Ansonsten bitte mal im Verzeichnis /home/pi/rpi_wordclock/
folgende Befehle eingeben:
git status
und git remote -v
und mir hier die Ausgabe reinschreiben.
Außerdem noch python3 --version
Danke für deine Hilfe, ich selbst habe keinen Schimmer in Richtung Raspberry. Hier die Befehle, sagen mir nichts.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Feb 8 19:24:06 2022 from 192.168.178.29 pi@raspberrypi:~ $ git checkout --track origin/develop fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git pi@raspberrypi:~ $ cd ~/rpi_wordclock pi@raspberrypi:~/rpi_wordclock $ git status fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git pi@raspberrypi:~/rpi_wordclock $ git remote -v fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git pi@raspberrypi:~/rpi_wordclock $ python3 --version Python 3.5.3 pi@raspberrypi:~/rpi_wordclock $
Okay jetzt bin ich ein bisschen ratlos. Wie hast du denn den code auf den Raspberry gebracht ? Unter dem Link https://github.com/bk1285/rpi_wordclock/tree/develop ist doch eine Schritt für Schritt Anleitung mit Befehlen . Wurden dort alle Befehle richtig ausgeführt ?
Ein bisschen einlesen muss man sich schon. Zumindest was Git macht sollte man schon verstanden haben.
Einfach mal hier einlesen: https://ubuntu.com/tutorials/command-line-for-beginners#1-overview https://rogerdudler.github.io/git-guide/
Ich habe alle Befehle wie dort beschrieben eingegeben. Ab hier bekomme ich Probleme:
pi@raspberrypi:~/rpi_wordclock $ git clone https://github.com/bk1285/rpi_wordclock.git Klone nach 'rpi_wordclock' ... remote: Enumerating objects: 4788, done. remote: Counting objects: 100% (1823/1823), done. remote: Compressing objects: 100% (1523/1523), done. remote: Total 4788 (delta 433), reused 1640 (delta 294), pack-reused 2965 Empfange Objekte: 100% (4788/4788), 30.00 MiB | 1.17 MiB/s, Fertig. Löse Unterschiede auf: 100% (2292/2292), Fertig. Checke Dateien aus: 100% (245/245), Fertig.
Nu kommt die Fehlermeldung.
pi@raspberrypi:~/rpi_wordclock $ git checkout --track origin/develop fatal: Kein Git-Repository (oder irgendein Elternverzeichnis): .git
Liegt es an meine Raspian Version?
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Macht es Sinn alles zu löschen und eine neu Raspbian-Version aufzuspielen. Und welche Version sollte ich dann nehmen. Mein Raspberry Pi Zero W ist einer der ersten Generation.
Okay dann bitte folgendes ausführen (nacheinander):
cd ~
sudo rm -Rf rpi_wordclock
git clone https://github.com/bk1285/rpi_wordclock.git
cd rpi_wordclock
git checkout --track origin/develop
Dann sollte es klappen mit python3 wordclock.py
Wenn das alle nicht klappt macht eine neue Raspbian Version Sinn ja.
Ich bin auf Buster unterwegs
Haut nicht hin wieder Fehler.
pi@raspberrypi:~ $ cd ~ pi@raspberrypi:~ $ sudo rm -Rf rpi_wordclock pi@raspberrypi:~ $ git clone https://github.com/bk1285/rpi_wordclock.git Klone nach 'rpi_wordclock' ... remote: Enumerating objects: 4788, done. remote: Counting objects: 100% (1823/1823), done. remote: Compressing objects: 100% (1523/1523), done. remote: Total 4788 (delta 433), reused 1640 (delta 294), pack-reused 2965 Empfange Objekte: 100% (4788/4788), 30.00 MiB | 1.34 MiB/s, Fertig. Löse Unterschiede auf: 100% (2292/2292), Fertig. Checke Dateien aus: 100% (245/245), Fertig. pi@raspberrypi:~ $ cd rpi_wordclock pi@raspberrypi:~/rpi_wordclock $ git checkout --track origin/develop Branch develop konfiguriert zum Folgen von Remote-Branch develop von origin. Zu neuem Branch 'develop' gewechselt
pi@raspberrypi:~/rpi_wordclock $ python3 wordclock.py
Traceback (most recent call last):
File "wordclock.py", line 17, in
Hast du Raspbian Buster Lite drauf ? Ich denke ich lösche alles und baue alles neu auf. Schade meine Uhr läuft wenn ich mich nicht irre seit 2019 ohne große Probleme.
Ja Buster Lite. kannst es aber auch mal mit dem neusten (bullseye) probieren.
echo1483 @.***> schrieb am Di. 8. Feb. 2022 um 21:10:
Haut nicht hin wieder Fehler.
@.:~ $ cd ~ @.:~ $ sudo rm -Rf rpi_wordclock @.:~ $ git clone https://github.com/bk1285/rpi_wordclock.git Klone nach 'rpi_wordclock' ... remote: Enumerating objects: 4788, done. remote: Counting objects: 100% (1823/1823), done. remote: Compressing objects: 100% (1523/1523), done. remote: Total 4788 (delta 433), reused 1640 (delta 294), pack-reused 2965 Empfange Objekte: 100% (4788/4788), 30.00 MiB | 1.34 MiB/s, Fertig. Löse Unterschiede auf: 100% (2292/2292), Fertig. Checke Dateien aus: 100% (245/245), Fertig. @.:~ $ cd rpi_wordclock @.***:~/rpi_wordclock $ git checkout --track origin/develop Branch develop konfiguriert zum Folgen von Remote-Branch develop von origin. Zu neuem Branch 'develop' gewechselt
@.:/rpi_wordclock $ python3 wordclock.py Traceback (most recent call last): File "wordclock.py", line 17, in import wordclock_interfaces.web_interface as wciweb File "/home/pi/rpi_wordclock/wordclock_interfaces/web_interface.py", line 4, in from flask_restx import Api, Resource, fields File "/usr/local/lib/python3.5/dist-packages/flask_restx/init.py", line 4, in from . import fields, reqparse, apidoc, inputs, cors File "/usr/local/lib/python3.5/dist-packages/flask_restx/reqparse.py", line 19, in from .model import Model File "/usr/local/lib/python3.5/dist-packages/flask_restx/model.py", line 21, in from jsonschema import Draft4Validator File "/usr/local/lib/python3.5/dist-packages/jsonschema/init.py", line 56 raise AttributeError(f"module {name} has no attribute {name}") ^ SyntaxError: invalid syntax @.:/rpi_wordclock $
Hast du Raspbian Buster Lite drauf ? Ich denke ich lösche alles und baue alles neu auf. Schade meine Uhr läuft wenn ich mich nicht irre seit 2019 ohne große Probleme.
— Reply to this email directly, view it on GitHub https://github.com/bk1285/rpi_wordclock/issues/218#issuecomment-1033016682, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAGU3KJKZSLTYYVUDA52LLU2F2CPANCNFSM5NZT3T6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Sie läuft wieder, mit Buster Lite gabs Probleme. Beim neuen Bullseye Lite lief die Installation wie von selbst. Also bei Probleme alles formatieren und nach dieser Anleitung vorgehen. https://github.com/bk1285/rpi_wordclock/tree/develop
Vielen Dank phenze echo aus NRW (Kempen)
Super freut mich!
Hallo, meine Wordclock läuft schon lange ohne Probleme. Seit gestern kann ich nicht mehr über den Browser auf die Uhr zugreifen. Wer weis Rat. Danke
Hello, my word clock has been running without problems for a long time. Since yesterday I can no longer access the watch via the browser. Who knows advice. thank you
Fehler / error
Control Colors fa fa-question-circle The Raspberry Wordclock fa fa-link Project page fa fa-users Contributors fa fa-cogs API of this clock fa fa-caret-left fa fa-circle fa fa-caret-right