Giter VIP home page Giter VIP logo

Comments (15)

corizzi avatar corizzi commented on August 31, 2024

Hi @adogliotti,

What I understand is that the service has failed because an error while communicating with the yocto. Then the PC has remained ON and restarted 25 min later according to the Power-Cycling. That's why the sequence time is 17:26:48 : 17:25:00 + boot time

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

Thanks Alex. The ting is that in the next sequence it happened again, but this time the PC has not turned off after the 25 min so it remained on the whole time and of course it did not take any more measurements.
It seems that nobody else had this issue...
Do you have an idea what could be the problem with the communication with the Yocto?

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

Do you have any logs to share for this last one please ?

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

I was about to write th logs...

Just to make a resume of the problem found (find below the log):

  • Sequence starting at 17:00 failed -> init error:Invalid WebSocket header (ytcp:2985)
  • it boots (pc? Yocto?) -> -- Boot 4992ee488119417f880ab28497d489c7 --
  • Sequence re-starts 17:17
  • After Line 2 there is an error -> init error:hub not ready (yapi:3201) and exits during Line 3
    mar 04 17:22:33 iafe1-pc run_service.sh[765]: Hysptar scheduled job exited with code 1
  • Boots again (-- Boot ef80d5aca9164b7a8202f94f9b94eb56 --)
  • Re-starts sequence at 17:26 which ends correctly at 17:25
  • Then at 18:01 started again but failed -> init error:Invalid WebSocket header (ytcp:2985)
  • No further attempts were made and the PC stayed ON until we arrived to the lab.
----------------
mar 04 17:00:55 iafe1-pc systemd[1]: Started Hypernets Sequence Service.
mar 04 17:00:55 iafe1-pc run_service.sh[943]: Waiting for yoctopuce...
mar 04 17:00:55 iafe1-pc run_service.sh[943]: Ok !
mar 04 17:01:14 iafe1-pc run_service.sh[952]: init error:Invalid WebSocket header (ytcp:2985)
mar 04 17:01:14 iafe1-pc systemd[1]: hypernets-sequence.service: Main process exited, code=exited, status=1/FAILURE
mar 04 17:01:14 iafe1-pc systemd[1]: hypernets-sequence.service: Failed with result 'exit-code'.
-- Boot 4992ee488119417f880ab28497d489c7 --
mar 04 17:17:16 iafe1-pc systemd[1]: Started Hypernets Sequence Service.
mar 04 17:17:17 iafe1-pc run_service.sh[765]: Waiting for yoctopuce...
mar 04 17:17:19 iafe1-pc run_service.sh[765]: .
mar 04 17:17:20 iafe1-pc run_service.sh[765]: .
mar 04 17:17:22 iafe1-pc run_service.sh[765]: .
mar 04 17:17:23 iafe1-pc run_service.sh[765]: .
mar 04 17:17:25 iafe1-pc run_service.sh[765]: .
mar 04 17:17:26 iafe1-pc run_service.sh[765]: .
mar 04 17:17:28 iafe1-pc run_service.sh[765]: .
mar 04 17:17:29 iafe1-pc run_service.sh[765]: .
mar 04 17:17:31 iafe1-pc run_service.sh[765]: .
mar 04 17:17:32 iafe1-pc run_service.sh[765]: .
mar 04 17:17:34 iafe1-pc run_service.sh[765]: .
mar 04 17:17:35 iafe1-pc run_service.sh[765]: .
mar 04 17:17:37 iafe1-pc run_service.sh[765]: .
mar 04 17:17:38 iafe1-pc run_service.sh[765]: .
mar 04 17:17:40 iafe1-pc run_service.sh[765]: .
mar 04 17:17:41 iafe1-pc run_service.sh[765]: .
mar 04 17:17:43 iafe1-pc run_service.sh[765]: .
mar 04 17:17:44 iafe1-pc run_service.sh[765]: .
mar 04 17:17:46 iafe1-pc run_service.sh[765]: .
mar 04 17:17:47 iafe1-pc run_service.sh[765]: .
mar 04 17:17:49 iafe1-pc run_service.sh[765]: .
mar 04 17:17:50 iafe1-pc run_service.sh[765]: .
mar 04 17:17:52 iafe1-pc run_service.sh[765]: .
mar 04 17:17:53 iafe1-pc run_service.sh[765]: .
mar 04 17:17:55 iafe1-pc run_service.sh[765]: .
mar 04 17:17:56 iafe1-pc run_service.sh[765]: .
mar 04 17:17:58 iafe1-pc run_service.sh[765]: .
mar 04 17:18:00 iafe1-pc run_service.sh[765]: .
mar 04 17:18:00 iafe1-pc run_service.sh[765]: Ok !
mar 04 17:18:03 iafe1-pc run_service.sh[765]: Sleeping 30s... (old firmware issue)
mar 04 17:18:33 iafe1-pc run_service.sh[765]: hypernets/resources/sequences_samples/sequence_water_1_STD.csv
mar 04 17:18:35 iafe1-pc run_service.sh[1228]: SWIR:False, park:False
mar 04 17:18:35 iafe1-pc run_service.sh[1228]: Getting SN
mar 04 17:18:35 iafe1-pc run_service.sh[1228]: SN : * instrument -> 120251
mar 04 17:18:35 iafe1-pc run_service.sh[1228]:      * visible    -> 17962
mar 04 17:18:35 iafe1-pc run_service.sh[1228]: #Env:        timestamp        rh_temp        rh_RH        pressure_temp        pressure        ambient_t        swir_body_t        swir_sink_t        e_common_3v3        e_mcu_3v3        e_cam_3v3        u_common_3v3        u_mcu_3v3        u_cam_3v3        i_common_3v3        i_mcu_3v3        i_cam_3v3        e_swir_12v        e_mux_12v        e_vnir_5v        e_input_12v        u_swir_12v        u_mux_12v        u_vnir_5v        u_input_12v        i_swir_12v        i_mux_12v        i_vnir_5v        i_input_12v
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: == [Line 1] ============================================================
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: Position : 34°32'40.298"S 58°26'25.411"W
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: Datetime : 2021/03/04 17:18:36
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: --> Sun Position  (azimuth : 325.05, zenith : 33.03)
mar 04 17:18:48 iafe1-pc run_service.sh[1228]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: --> Converted Position (pan : 235.05 / sun ; tilt :180.00)
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: offset_tilt : 0
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: offset_pan: -10
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: --> [Mode : vis | Action : irr | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: --> [1 2 0 0] x 3
mar 04 17:18:48 iafe1-pc run_service.sh[1228]: Env:        2021-03-04 17:18:44        28.54        11.4        28.24        1016.9        28.56        -999.90        -999.90        5.15        4.05        0.93        3.51        3.51        3.51        0.11        0.11        0.01        0.06        6.38        8.14        25.25        11.59        11.59        4.98        11.22        0.00        0.05        0.15        0.20
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: Saved to DATA/CUR20210304T171833/RADIOMETER/01_001_0090_2_0180_128_08_0000_03_0000.spe.
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: Last AIT-VNIR is now : 32768
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: == [Line 2] ============================================================
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: Position : 34°32'40.342"S 58°26'25.387"W
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: Datetime : 2021/03/04 17:20:32
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: --> Sun Position  (azimuth : 324.27, zenith : 33.26)
mar 04 17:20:33 iafe1-pc run_service.sh[1228]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: --> Converted Position (pan : 234.27 / sun ; tilt :180.00)
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: offset_tilt : 0
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: offset_pan: -10
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: --> [1 0 32768 0] x 3
mar 04 17:20:33 iafe1-pc run_service.sh[1228]: Env:        2021-03-04 17:20:29        29.26        11.1        28.87        1017.8        29.20        -999.90        -999.90        16.92        14.80        1.57        3.51        3.51        3.51        0.12        0.10        0.01        0.30        21.82        29.61        88.39        11.59        11.60        4.98        11.33        0.00        0.06        0.15        0.19
mar 04 17:22:32 iafe1-pc run_service.sh[1228]: [INFO]        [2021-03-04T17:18:33] Creating serial port (baud=115200, portname=/dev/radiometer0)
mar 04 17:22:32 iafe1-pc run_service.sh[1228]: [INFO]        [2021-03-04T17:18:33] Got serial port
mar 04 17:22:32 iafe1-pc run_service.sh[1228]: [INFO]        [2021-03-04T17:18:33] Created driver instance 0x55786b4ca540
mar 04 17:22:32 iafe1-pc run_service.sh[1228]: init error:hub not ready (yapi:3201)
mar 04 17:22:33 iafe1-pc run_service.sh[1228]: Saved to DATA/CUR20210304T171833/RADIOMETER/01_002_0090_2_0180_128_00_0000_03_0000.spe.
mar 04 17:22:33 iafe1-pc run_service.sh[1228]: Last AIT-VNIR is now : 32768
mar 04 17:22:33 iafe1-pc run_service.sh[1228]: == [Line 3] ============================================================
mar 04 17:22:33 iafe1-pc run_service.sh[1228]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:22:33 iafe1-pc run_service.sh[765]: Hysptar scheduled job exited with code 1
mar 04 17:22:33 iafe1-pc systemd[1]: hypernets-sequence.service: Main process exited, code=exited, status=1/FAILURE
mar 04 17:22:33 iafe1-pc systemd[1]: hypernets-sequence.service: Failed with result 'exit-code'.
-- Boot ef80d5aca9164b7a8202f94f9b94eb56 --
mar 04 17:26:06 iafe1-pc systemd[1]: Started Hypernets Sequence Service.
mar 04 17:26:06 iafe1-pc run_service.sh[975]: Waiting for yoctopuce...
mar 04 17:26:08 iafe1-pc run_service.sh[975]: .
mar 04 17:26:09 iafe1-pc run_service.sh[975]: .
mar 04 17:26:11 iafe1-pc run_service.sh[975]: .
mar 04 17:26:12 iafe1-pc run_service.sh[975]: .
mar 04 17:26:14 iafe1-pc run_service.sh[975]: .
mar 04 17:26:15 iafe1-pc run_service.sh[975]: .
mar 04 17:26:16 iafe1-pc run_service.sh[975]: Ok !
mar 04 17:26:17 iafe1-pc run_service.sh[975]: Sleeping 30s... (old firmware issue)
mar 04 17:26:47 iafe1-pc run_service.sh[975]: hypernets/resources/sequences_samples/sequence_water_1_STD.csv
mar 04 17:26:50 iafe1-pc run_service.sh[1183]: SWIR:False, park:False
mar 04 17:26:50 iafe1-pc run_service.sh[1183]: Getting SN
mar 04 17:26:50 iafe1-pc run_service.sh[1183]: SN : * instrument -> 120251
mar 04 17:26:50 iafe1-pc run_service.sh[1183]:      * visible    -> 17962
mar 04 17:26:50 iafe1-pc run_service.sh[1183]: #Env:        timestamp        rh_temp        rh_RH        pressure_temp        pressure        ambient_t        swir_body_t        swir_sink_t        e_common_3v3        e_mcu_3v3        e_cam_3v3        u_common_3v3        u_mcu_3v3        u_cam_3v3        i_common_3v3        i_mcu_3v3        i_cam_3v3        e_swir_12v        e_mux_12v        e_vnir_5v        e_input_12v        u_swir_12v        u_mux_12v        u_vnir_5v        u_input_12v        i_swir_12v        i_mux_12v        i_vnir_5v        i_input_12v
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: == [Line 1] ============================================================
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: Position : 34°32'40.326"S 58°26'25.34"W
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:26:51
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 321.82, zenith : 34.04)
mar 04 17:26:52 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 231.82 / sun ; tilt :180.00)
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : irr | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: --> [1 2 0 0] x 3
mar 04 17:26:52 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:26:49        29.55        11.3        29.21        1019.4        29.60        -999.90        -999.90        3.94        3.04        0.77        3.51        3.51        3.51        0.12        0.11        0.01        0.05        4.98        6.11        19.22        11.59        11.59        4.98        11.36        0.00        0.05        0.15        0.20
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_001_0090_2_0180_128_08_0000_03_0000.spe.
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 32768
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: == [Line 2] ============================================================
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: Position : 34°32'40.196"S 58°26'25.218"W
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:28:52
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 321.06, zenith : 34.30)
mar 04 17:28:54 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 231.06 / sun ; tilt :180.00)
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: --> [1 0 32768 0] x 3
mar 04 17:28:54 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:28:50        30.16        10.9        29.69        1019.9        30.18        -999.90        -999.90        17.39        15.32        1.51        3.51        3.51        3.51        0.12        0.10        0.01        0.32        21.70        30.69        90.54        11.59        11.59        4.98        11.34        0.00        0.05        0.15        0.18
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_002_0090_2_0180_128_00_0000_03_0000.spe.
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 32768
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: == [Line 3] ============================================================
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Position : 34°32'40.253"S 58°26'25.178"W
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:30:34
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 320.42, zenith : 34.53)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 230.42 / sun ; tilt :180.00)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 1 | total time : 0 ms]
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_003_0090_2_0180.jpg.
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: == [Line 4] ============================================================
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Position : 34°32'40.247"S 58°26'25.17"W
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:30:42
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 320.37, zenith : 34.54)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 230.37 / sun ; tilt :140.00)
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : rad | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: --> [1 1 0 0] x 3
mar 04 17:30:52 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:30:51        30.46        10.9        30.06        1021.0        30.53        -999.90        -999.90        31.30        27.62        2.67        3.51        3.50        3.51        0.12        0.11        0.01        0.62        38.87        55.23        162.78        11.59        11.59        4.98        11.34        0.00        0.04        0.15        0.20
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_004_0090_2_0140_128_16_0000_03_0000.spe.
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: == [Line 5] ============================================================
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: Position : 34°32'40.231"S 58°26'25.164"W
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:30:59
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 320.26, zenith : 34.58)
mar 04 17:31:03 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 230.26 / sun ; tilt :140.00)
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: --> [1 0 2048 0] x 3
mar 04 17:31:03 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:31:01        30.49        10.9        30.03        1021.0        30.40        -999.90        -999.90        32.42        28.64        2.74        3.51        3.51        3.51        0.12        0.11        0.01        0.65        40.47        57.27        168.92        11.59        11.59        4.98        11.33        0.00        0.05        0.15        0.19
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_005_0090_2_0140_128_00_0000_03_0000.spe.
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: == [Line 6] ============================================================
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Position : 34°32'40.224"S 58°26'25.174"W
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:31:10
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 320.20, zenith : 34.60)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 230.20 / sun ; tilt :140.00)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 1 | total time : 0 ms]
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_006_0090_2_0140.jpg.
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: == [Line 7] ============================================================
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 40.00)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Position : 34°32'40.217"S 58°26'25.17"W
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:31:19
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 320.14, zenith : 34.62)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 230.14 / sun ; tilt :40.00)
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : rad | IT 0 ms] x 6 | total time : 0 ms]
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: --> [1 1 0 0] x 6
mar 04 17:31:38 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:31:36        30.56        10.9        30.10        1021.0        30.60        -999.90        -999.90        36.81        32.25        3.38        3.51        3.51        3.51        0.12        0.11        0.01        0.74        45.69        64.38        190.58        11.59        11.59        4.98        11.33        0.00        0.04        0.15        0.19
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_007_0090_2_0040_128_16_0000_06_0000.spe.
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: == [Line 8] ============================================================
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 40.00)
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: Position : 34°32'40.232"S 58°26'25.159"W
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:31:53
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.93, zenith : 34.70)
mar 04 17:31:54 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.93 / sun ; tilt :40.00)
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: --> [1 0 2048 0] x 3
mar 04 17:31:54 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:31:51        30.63        10.9        30.14        1021.4        30.71        -999.90        -999.90        38.49        33.78        3.47        3.51        3.51        3.50        0.12        0.10        0.01        0.78        47.97        67.45        199.68        11.59        11.59        4.98        11.35        0.00        0.05        0.15        0.20
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_008_0090_2_0040_128_00_0000_03_0000.spe.
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: == [Line 9] ============================================================
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 40.00)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Position : 34°32'40.247"S 58°26'25.16"W
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:32:02
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.88, zenith : 34.72)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.88 / sun ; tilt :40.00)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 1 | total time : 0 ms]
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_009_0090_2_0040.jpg.
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: == [Line 10] ============================================================
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Position : 34°32'40.26"S 58°26'25.163"W
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:32:08
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.84, zenith : 34.73)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.84 / sun ; tilt :140.00)
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : rad | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: --> [1 1 0 0] x 3
mar 04 17:32:27 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:32:26        30.71        10.8        30.20        1021.3        30.87        -999.90        -999.90        42.73        37.38        3.98        3.51        3.51        3.51        0.12        0.11        0.01        0.87        53.17        74.57        221.15        11.59        11.59        4.98        11.34        0.00        0.04        0.15        0.18
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_010_0090_2_0140_128_16_0000_03_0000.spe.
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: == [Line 11] ============================================================
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: Position : 34°32'40.228"S 58°26'25.153"W
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:32:35
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.67, zenith : 34.79)
mar 04 17:32:36 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.67 / sun ; tilt :140.00)
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: --> [1 0 2048 0] x 3
mar 04 17:32:36 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:32:31        30.71        10.8        30.20        1021.1        30.72        -999.90        -999.90        43.29        37.90        4.01        3.51        3.51        3.50        0.11        0.10        0.01        0.88        54.08        75.59        224.33        11.59        11.59        4.98        11.34        0.00        0.05        0.15        0.19
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_011_0090_2_0140_128_00_0000_03_0000.spe.
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 2048
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: == [Line 12] ============================================================
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 140.00)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Position : 34°32'40.222"S 58°26'25.152"W
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:32:44
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.62, zenith : 34.81)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.62 / sun ; tilt :140.00)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 1 | total time : 0 ms]
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_012_0090_2_0140.jpg.
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: == [Line 13] ============================================================
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Position : 34°32'40.22"S 58°26'25.156"W
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:32:52
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.57, zenith : 34.83)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.57 / sun ; tilt :180.00)
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : irr | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: --> [1 2 0 0] x 3
mar 04 17:33:00 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:32:57        30.70        10.8        30.22        1021.5        30.71        -999.90        -999.90        46.45        40.47        4.50        3.51        3.51        3.51        0.11        0.11        0.01        0.94        57.85        80.68        239.93        11.59        11.59        4.98        11.31        0.00        0.04        0.15        0.20
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_013_0090_2_0180_128_08_0000_03_0000.spe.
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 16384
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: == [Line 14] ============================================================
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: Position : 34°32'40.166"S 58°26'25.172"W
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:33:55
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 319.19, zenith : 34.97)
mar 04 17:33:57 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 229.19 / sun ; tilt :180.00)
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: --> [Mode : vis | Action : bla | IT 0 ms] x 3 | total time : 0 ms]
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: --> [1 0 16384 0] x 3
mar 04 17:33:57 iafe1-pc run_service.sh[1183]: Env:        2021-03-04 17:33:52        30.77        10.7        30.30        1021.7        30.63        -999.90        -999.90        52.61        46.10        4.83        3.51        3.51        3.51        0.12        0.10        0.01        1.09        65.54        91.93        272.60        11.59        11.59        4.98        11.35        0.00        0.04        0.15        0.19
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_014_0090_2_0180_128_00_0000_03_0000.spe.
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Last AIT-VNIR is now : 16384
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: == [Line 15] ============================================================
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : 90.00 / sun ; zenith : 180.00)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Position : 34°32'40.146"S 58°26'25.165"W
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:34:47
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 318.87, zenith : 35.09)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]:  -- Afternoon : -90 (=counter-clockwise)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 228.87 / sun ; tilt :180.00)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 1 | total time : 0 ms]
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_015_0090_2_0180.jpg.
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: == [Line 16] ============================================================
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Requested Position (azimuth : -1.00 / sun ; zenith : -1.00)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Position : 34°32'40.178"S 58°26'25.166"W
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Datetime : 2021/03/04 17:34:58
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Sun Position  (azimuth : 318.80, zenith : 35.11)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Special position : point to the sun
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> Converted Position (pan : 318.80 / sun ; tilt :144.89)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: offset_tilt : 0
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: offset_pan: -10
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: --> [Mode : non | Action : pic | IT 0 ms] x 0 | total time : 0 ms]
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: Saved to DATA/CUR20210304T172648/RADIOMETER/01_016_-001_2_-001.jpg.
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: [INFO]        [2021-03-04T17:26:48] Creating serial port (baud=115200, portname=/dev/radiometer0)
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: [INFO]        [2021-03-04T17:26:48] Got serial port
mar 04 17:35:11 iafe1-pc run_service.sh[1183]: [INFO]        [2021-03-04T17:26:48] Created driver instance 0x557fb0730540
mar 04 17:35:11 iafe1-pc run_service.sh[975]: Success
mar 04 17:35:14 iafe1-pc run_service.sh[975]: Option : Keep PC OFF
mar 04 17:35:14 iafe1-pc systemd[1]: hypernets-sequence.service: Succeeded.
-- Boot 0b29605aa9964031aff15518fb9122ba --
mar 04 18:01:34 iafe1-pc systemd[1]: Started Hypernets Sequence Service.
mar 04 18:01:34 iafe1-pc run_service.sh[1004]: Waiting for yoctopuce...
mar 04 18:01:34 iafe1-pc run_service.sh[1004]: Ok !
mar 04 18:01:53 iafe1-pc run_service.sh[1013]: init error:Invalid WebSocket header (ytcp:2985)
mar 04 18:01:53 iafe1-pc systemd[1]: hypernets-sequence.service: Main process exited, code=exited, status=1/FAILURE
mar 04 18:01:53 iafe1-pc systemd[1]: hypernets-sequence.service: Failed with result 'exit-code'. 

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

Could this be related to Joel's comment? #19

from hypernets_tools.

jkuusk avatar jkuusk commented on August 31, 2024

No errors were reported in situation described in #19. The relay switching command was blocking for 17 minutes and the sequence continued normally after that. There were no "init errors" and the yoctopuce did not reboot. I've seen this 2 or 3 times since mid-January.

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

@adogliotti Tell me if I am wrong but you are using the firmware 44118 ?

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

No, we are using 43942. We saw there is a new version, but we did not update it. Should we do it?

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

Even if this issue is not necessary related to the firmware. I would say yes. In addition I will update the yoctopuce communication in a way to catch more error of that kind and try to make it more reliable.

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

OK. We updated the firmware (now 44118).

We noticed there is an update available of the VirtualHub (44029), current 40924. Should this also be updated?

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

As we are done with the configuration of the card. We don't need anymore the virtualhub (it aims to drive devices through USB only). So it is not necessary to upgrade it.
About that can you report on the following command please ?
journalctl -eu yvirtualhub

from hypernets_tools.

adogliotti avatar adogliotti commented on August 31, 2024

virtualhub.log

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

So the virtualhub is still running for nothing on your system. You can disable it :

sudo systemctl disable yvirtualhub

from hypernets_tools.

estefipiegari avatar estefipiegari commented on August 31, 2024

We left the system measuring on monday and tuesday. We encountered the same error as last week, and the computer remained turned on after the last measure so it did not continue with the schedule.

mar 09 20:00:42 iafe1-pc systemd[1]: Started Hypernets Sequence Service.
mar 09 20:00:42 iafe1-pc run_service.sh[930]: Waiting for yoctopuce...
mar 09 20:00:42 iafe1-pc run_service.sh[930]: Ok !
mar 09 20:01:01 iafe1-pc run_service.sh[942]: init error:Invalid WebSocket header (ytcp:2985)
mar 09 20:01:01 iafe1-pc systemd[1]: hypernets-sequence.service: Main process exited, code=exited, status=1/FAILURE
mar 09 20:01:01 iafe1-pc systemd[1]: hypernets-sequence.service: Failed with result 'exit-code'.

Before that, we found something uncommon in the run_service.sh, it took like 18 minutes to start the sequence.

mar 09 17:01:23 iafe1-pc run_service.sh[927]: .
mar 09 17:01:23 iafe1-pc run_service.sh[927]: Ok !
mar 09 17:18:25 iafe1-pc run_service.sh[927]: Sleeping 30s... (old firmware issue)
mar 09 17:18:55 iafe1-pc run_service.sh[927]: hypernets/resources/sequences_samples/sequence_water_1_STD.csv
mar 09 17:18:58 iafe1-pc run_service.sh[1368]: SWIR:False, park:True
mar 09 17:18:58 iafe1-pc run_service.sh[1368]: Getting SN
mar 09 17:18:58 iafe1-pc run_service.sh[1368]: SN : * instrument -> 120251

from hypernets_tools.

corizzi avatar corizzi commented on August 31, 2024

Hi @estefipiegari, it seems that the last problem you reported is similar to the issue #19 .
For the main topic (ytcp:2985) I will try to figure out how to catch those network errors through the code.
Thanks

from hypernets_tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.