1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED No connection to host after update

Discussion in 'Software Support' started by the_stig, 2 May 2016.

  1. the_stig

    the_stig New Member

    Messages:
    23
    Hardware:
    RPi2
    Ok, here we go: Did a clean Raspian install, after that HyperCon install of hyperion, updated hyperion.config.json. And: weird colours on TV and log tells me failed status:

    Code:
    SSH Traffic:
    ssh connected
    ssh out:     cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out:     Last-modified header missing -- time-stamps turned off.
    ssh out:     2016-05-03 17:44:07 URL:https://raw.githubusercontent.com/hyperion-project/hyperion/master/bin/install_hyperion.sh [12835/12835] -> "install_hyperion.sh" [1]
    ssh in:     *******************************************************************************
    ssh in:     This script will install/update Hyperion ambilight
    ssh in:     Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in:     *******************************************************************************
    ssh in:     ---> Stop Hyperion, if necessary
    ssh in:     ---> Install/Update Hyperion dependencies (This may take a while)
    ssh in:     ---> Raspberry Pi found, but SPI is not ready, we write "dtparam=spi=on" to /boot/config.txt
    ssh in:     ---> Backup Hyperion configuration(s), if present
    ssh in:     ---> Downloading the appropriate Hyperion release
    ssh out:     2016-05-03 17:44:56 URL:http://netcologne.dl.sourceforge.net/project/hyperion-project/release/hyperion_rpi2.tar.gz [1599540/1599540] -> "-" [1]
    ssh in:     ---> Restore Hyperion configuration(s), if present
    ssh in:     ---> Installing systemd script
    ssh in:     ---> Starting Hyperion
    ssh in:     *******************************************************************************
    ssh in:     Hyperion Installation/Update finished!
    ssh in:     Please download the latest HyperCon version to benefit from new features!
    ssh in:     To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in:     Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in:     Please reboot your Raspberry Pi, we inserted dtparam=spi=on to /boot/config.txt
    ssh in:     *******************************************************************************
    ssh in:     Rebooting now, we added dtparam=spi=on to config.txt
    ssh disconnected
    ssh connected
    sftp Send Hyperion Config - Sourcepath: , Targetpath: /opt/hyperion/config/, Filename: hyperion.config.json
    ssh out:     sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/dev/null ; sudo /sbin/initctl stop hyperion 2>/dev/null
    ssh out:     sudo systemctl start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start hyperion 2>/dev/null
    ssh out:     hyperion-remote  -c ff4e5e
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c e3ff75
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 00ff1b
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 00ff25
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 00ff26
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c daffd7
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c b4ecff
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 5faeff
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 4493ff
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     hyperion-remote  -c 3b86ff
    ssh in:     hyperion-remote:
    ssh in:         version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:         build time: Apr 29 2016 12:48:41
    ssh out:     Unable to connect to host
    ssh out:     sudo journalctl -u hyperion.service 2>/dev/null
    ssh in:     -- Logs begin at Tue 2016-05-03 17:45:00 UTC, end at Tue 2016-05-03 17:46:32 UTC. --
    ssh in:     May 03 17:45:02 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:45:02 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:45:03 raspberrypi hyperiond[343]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:45:03 raspberrypi hyperiond[343]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:45:03 raspberrypi hyperiond[343]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: HYPERION INFO: ColorTransform 'default' => [0; 45]
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: HYPERION INFO: ColorCorrection 'default' => [0; 45]
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: HYPERION INFO: ColorAdjustment 'default' => [0; 45]
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: LEDDEVICE INFO: configuration:
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: {
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: "colorOrder" : "rgb",
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: "name" : "MyHyperionConfig",
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: "output" : "/dev/spidev0.0",
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: "rate" : 1000000,
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: "type" : "ws2801"
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: }
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Creating linear smoothing
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Hyperion started and initialised
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: BLACKBORDER INFO: mode:default
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: started
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Json server created and started on port 19444
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Proto server created and started on port 19445
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: DISPMANXGRABBER INFO: Display opened with resolution: 720x480
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: BLACKBORDER INFO: mode:default
    ssh in:     May 03 17:45:04 raspberrypi hyperiond[343]: INFO: Frame grabber created and started
    ssh in:     May 03 17:45:05 raspberrypi hyperiond[343]: BORDER SWITCH REQUIRED!!
    ssh in:     May 03 17:45:05 raspberrypi hyperiond[343]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    ssh in:     May 03 17:45:07 raspberrypi hyperiond[343]: EFFECTENGINE INFO: effect finished
    ssh in:     May 03 17:46:02 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:02 raspberrypi hyperiond[343]: INFO: Application closed with code 0
    ssh in:     May 03 17:46:02 raspberrypi hyperiond[343]: EFFECTENGINE INFO: Cleaning up Python interpreter
    ssh in:     May 03 17:46:02 raspberrypi systemd[1]: Stopped Hyperion Systemd service.
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: what():  Failed to parse configuration: * Line 124, Column 1
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[844]: Missing '}' or object member name
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:06 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[858]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[858]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:46:06 raspberrypi hyperiond[858]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[858]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[858]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[858]: what():  Failed to parse configuration: * Line 124, Column 1
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[858]: Missing '}' or object member name
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: what():  Failed to parse configuration: * Line 124, Column 1
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[860]: Missing '}' or object member name
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: what():  Failed to parse configuration: * Line 124, Column 1
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[862]: Missing '}' or object member name
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: Hyperion Ambilight Deamon
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: Build Time: Apr 29 2016 12:49:00
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: what():  Failed to parse configuration: * Line 124, Column 1
    ssh in:     May 03 17:46:07 raspberrypi hyperiond[864]: Missing '}' or object member name
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service holdoff time over, scheduling restart.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: hyperion.service start request repeated too quickly, refusing to start.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Failed to start Hyperion Systemd service.
    ssh in:     May 03 17:46:07 raspberrypi systemd[1]: Unit hyperion.service entered failed state.
    
     
  2. the_stig

    the_stig New Member

    Messages:
    23
    Hardware:
    RPi2
    Ahhh...it was the "," again. Working now! Out of the box except the little typo! Nice!
     
    • Like Like x 1
  3. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Good to hear :thumbsup:, could you post you current HyperCon.dat file (when it saves the local config settings) :)
    Best guess right now is that it's because of multiple profiles as I tried it here with the Orbs and APA102 and the output was valid.
     
    • Thank you Thank you x 1
  4. the_stig

    the_stig New Member

    Messages:
    23
    Hardware:
    RPi2
    I deleted the second profile before. But still the additional "," in hyperion.config.json. Attached the HyperCon.dat (renamed to .zip as .dat wasn't allowed, so just rename it to check).
     

    Attached Files:

    • Like Like x 1
  5. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Zipped archive looks damaged in Winrar at least, could you reupload it?
     
  6. the_stig

    the_stig New Member

    Messages:
    23
    Hardware:
    RPi2
    I only renamed it, I didnt zip it. So simply remove the .zip in the end. Sorry for confusion.

    BTW: Colour calibration is just fantastic. Just done it. Piece of cake and result is impressing! Great work from you guys. Thanks again.
     
    • Like Like x 1
  7. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Ah right no problem :) , will check it now and see if we can duplicate the results.

    Awesome, still need to the recalibration here but good to hear the guides are nice and clear :D
     
  8. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Just checked it with that .dat config but not getting the extra ',' so suspect it might be Java version related or system perhaps (locale?).
    It was at line 124 right?

    @Brindosch any ideas on this?
     
  9. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    I could reconstruct it without a extra .dat, the "," is always appended in between 2, 3 (and so on) profiles. This is a bug.
    For now please remove every color calibration profile inside hypercon, just use one profile.
    Unbenannt.PNG
    Click on the delete button. Please use just one entry.
    I still don´t understand this feature anyway. It was initial made by tvdzwan back in 2013. the same story regards the indicies - i don´t get it working. Maybe we disable both options for now :D Until we know what it working here
     
    • Agree Agree x 1
  10. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    "," found and fixed. this code was not introduced from myself. a if/else seams to be no longer true. which activated it. I will disable the ui elements
     
    • Like Like x 1