Ankündigung

Einklappen
Keine Ankündigung bisher.

error installing SmartHomeNG

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    error installing SmartHomeNG

    Sorry, utter newbie that does not speak german:

    System: Raspberry Pi 4b, clean install of latest raspbian (Bullseye).
    Post install I used raspi-config to change password, update raspi-config, change locale (norwegian), changed graphic memory (to 256), maxed disk size.
    Then I followed the install instruction in SmartHomeNG's userguide, until it ends with an error:

    Code:
    python3 bin/smarthome.py
    
    test_requirements: 'ephem' not installed. Minimum v3.7 needed
    test_requirements: 'holidays' not installed. Minimum v0.9.11 needed
    test_requirements: 'iowait' not installed, any version needed
    test_requirements: 'portalocker' not installed, any version needed
    test_requirements: 'python-dateutil' not installed. Minimum v2.5.3 needed
    test_requirements: 'ruamel.yaml' not installed. Minimum v0.15.78 needed
    test_requirements: 'xmltodict' not installed, any version needed
    
    Installing core requirements for the current user, please wait...
    python_bin_path=/usr/bin
    > using PIP command: '/usr/bin/pip3'
    Traceback (most recent call last):
    File "/usr/local/smarthome/bin/smarthome.py", line 116, in <module>
    core_reqs = shpypi.test_core_requirements(logging=False, pip3_command=args.pip3_command)
    File "/usr/local/smarthome/lib/shpypi.py", line 245, in test_core_requirements
    if self.install_requirements('core', logging, pip3_command):
    File "/usr/local/smarthome/lib/shpypi.py", line 390, in install_requirements
    with open(pip_log_name, 'w', encoding='utf8') as outfile:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/smarthome/var/log/pip3_outout.log'
    Any clues on how to get it up and running?

    #2
    It is likely that the sub-directory ./var/log/... does not exist. This is a known bug and it is fixed in develop branch.

    Kommentar


      #3
      So, just make it and ignore? or do I need to change to development branch?
      Zuletzt geändert von TimoNoNo; 17.12.2021, 19:47.

      Kommentar


        #4
        no. it is not adviseable for a beginner to switch to develop unless you are an expierenced python developer or can at least help yourself.

        Kommentar


          #5
          kinda figured that one out.
          I did try make the folder manually, and redid the libraries (pip3 install -r requirements/base.txt --user).
          ..and it runs! ..at least the GUI does, until I mess things up.

          Thanks!

          It's kinda strange SmartHomeNG isn't more popular, the little I've seen of it so far is amazing.

          Kommentar


            #6
            There are plenty of alternatives like HomeAssist, OpenHAB, Edomi, Linknx, FHEM, ioBroker. The mass media has it's favourites.

            If you think the system could be right for you you could create a norwegian version ;-)

            Kommentar

            Lädt...
            X