Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Phyton installieren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Phyton installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Gorcon last edited by

      @gorcon sagte in Phyton installieren:

      Ich gehe davon aus das mir das bald auf die Füße fällt. Da muss wohl die DreamScreenComander.py angepasst werden.

      Ja, python2 ist schon länger tot.

      G 1 Reply Last reply Reply Quote 0
      • G
        Gorcon @Thomas Braun last edited by

        @thomas-braun
        bis vor kurzem funktionierte alles noch wunderbar. seit dem update auf die neue Version ging nichts mehr.
        Ich habe mir einen Wolf gesucht woran das lag.
        Neu ist halt nicht immer besser.

        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active last edited by Thomas Braun

          @gorcon

          Man kann halt nicht ollen Code für immer und ewig in der Distribution halten. Insbesondere nicht, wenn die Version schon geraume Zeit abgekündigt worden ist. Irgendwann zieht die Karawane halt weiter.

          Wie 2015 angekündigt, endet der Support für Python 2 am 31. Dezember 2019

          Also MEHR als genug Zeit da seinen Kram auf den aktuellen Stand zu bringen.

          Sunsetting Python 2

          We are volunteers who make and take care of the Python programming language. We have decided that January 1, 2020, was the day that we sunset Python 2. That means that we will not improve it anymore after that day, even if someone finds a security problem in it. You should upgrade to Python 3 as soon as you can.

          Quelle: https://www.python.org/doc/sunset-python-2/

          G 1 Reply Last reply Reply Quote 0
          • G
            Gorcon @Thomas Braun last edited by

            @thomas-braun
            Das Update hat ja die Probleme erst verursacht. und wenn es keine neuen Programmversionen von DreamScreenComander.py gibt muss man halt die nehmen die da sind.

            Ich lasse das erstmal so, besser gehts halt nicht.

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Gorcon last edited by Thomas Braun

              @gorcon

              Was auch immer das ist. Muss der Programmierer halt seinen Code auf python3 portieren. Die Abkündigung von python2 war Jahre im Voraus bekannt.

              Ist das der Kram?

              https://github.com/genesisfactor/DreamScreenCommander/issues/3

              chasehobbs created this issue in genesisfactor/DreamScreenCommander

              open Python3 Support #3

              OliverIO G 2 Replies Last reply Reply Quote 0
              • SBorg
                SBorg Forum Testing Most Active @Gorcon last edited by

                @gorcon
                ...wobei der Fehler einfach selbst zu fixen ist. In Python3 ist "print" eine Funktion und keine Anweisung mehr, wie dies vorher der Fall war.
                Deshalb ist

                print "This has an error in your IP's length"
                

                falsch und muss als Funktion in Zeile 161 aufgerufen werden:

                print("This has an error in your IP's length")
                
                1 Reply Last reply Reply Quote 0
                • OliverIO
                  OliverIO @Thomas Braun last edited by

                  @thomas-braun
                  der author wird es gemäß issue nicht mehr machen, da er das nicht mehr testen kann.

                  also challenge für jemand der das testen kann:
                  fork auf github aufmachen
                  skript anpassen
                  testen
                  auf github aktualisieren
                  und ein pull request aufmachen

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @OliverIO last edited by

                    @oliverio dann sollte auch gleichzeitig das Readne angepasst werden 😂

                    You will need some sort of local front end for yourself, like Openhab, Window Speech Marcos, a Harmony remote control, keyboard marcos, or some event based scripts

                    oder ein eindeutiger Kommentar mit Hinweis auf ioB

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gorcon @Thomas Braun last edited by

                      @thomas-braun sagte in Phyton installieren:

                      Ist das der Kram?

                      Nein.

                      Das hier:
                      https://github.com/avwuff/DreamScreenControl

                      OliverIO 1 Reply Last reply Reply Quote 0
                      • OliverIO
                        OliverIO @Gorcon last edited by OliverIO

                        @gorcon
                        das ist aber ein c# projekt und kein python
                        das von @thomas-braun gepostete projekt passt auch wegen der erwähnten code zeile in der fehlermeldung besser

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Gorcon @OliverIO last edited by Gorcon

                          @oliverio
                          Wird aber mit Phyton gestartet!

                          python /home/pi/Dreamscreen/DreamScreenComander.py -m 1
                          

                          bzw.

                          python /home/pi/Dreamscreen/DreamScreenComander.py -m 0
                          

                          etwas anderes gab es nicht als ich das Installiert hatte, ist ja noch nicht lange her.

                          Nachtrag: Das war der falsche Link von mir. hierr das Script:
                          https://raw.githubusercontent.com/genesisfactor/DreamScreenCommander/master/DreamScreenComander.py

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Gorcon last edited by

                            @gorcon sagte in Phyton installieren:

                            Das war der falsche Link von mir.

                            passt!

                            @gorcon sagte in Phyton installieren:

                            hierr das Script:

                            über das redrn wir hier ja schon

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gorcon last edited by

                              @homoran
                              Weil oben steht es wäre kein Phyton. 😉

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @Gorcon last edited by

                                @gorcon sagte in Phyton installieren:

                                @homoran
                                Weil oben steht es wäre kein Phyton. 😉

                                ist ja auch python!

                                aber du liest schon, was wir schreiben?

                                @gorcon sagte in Phyton installieren:

                                Das hier:
                                https://github.com/avwuff/DreamScreenControl

                                @oliverio sagte in Phyton installieren:

                                ist aber ein c# projekt und kein python

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  Gorcon @Homoran last edited by

                                  @homoran
                                  Dann weis ich nicht was Du meinst.
                                  Wenns kein Phyton ist aber eine Phyton Endung hat und mit Phyton gestartet wird, was soll es dann sonst sein?

                                  Es funktioniert und alles ist gut.

                                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Gorcon last edited by

                                    @gorcon

                                    KEIN Python, sondern C#:
                                    https://github.com/avwuff/DreamScreenControl

                                    Python2:
                                    https://github.com/genesisfactor/DreamScreenCommander

                                    Die Projekte heißen ja auch anders.

                                    1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Gorcon last edited by

                                      @gorcon sagte in Phyton installieren:

                                      Dann weis ich nicht was Du meinst.

                                      das merke ich!

                                      die Aussage, dass es kein Python skript ist, bezieht sich auf deinen ersten Link vor deinem Nachtrag, von dem du insistiert hast, es sei das von dir verwendete

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      544
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      5
                                      18
                                      1114
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo