Sdwdate-gui not running on qubes 4.3

I am not seeing the workstation connect alongside the sdwdate padlock in systray. I have edited /usr/local/etc/sdwdate-gui.d/50_user.conf with gateway=name_of_gw. I tried to execute sdwdate-gui manually and got the following

sdwdate-gui                  
[workstation user ~]% main: ERROR: Configuration file parsing failed!
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sdwdate_gui/sdwdate_gui_client.py", line 640, in main
    parse_config_files()
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sdwdate_gui/sdwdate_gui_shared.py", line 91, in parse_config_files
    ConfigData.conf_dict = strict_config_parser.parse_config_files(
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        conf_item_list=ConfigData.conf_dir_list,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        conf_schema=ConfigData.conf_schema,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        defaults_dict=ConfigData.defaults_dict,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/strict_config_parser/strict_config_parser.py", line 95, in parse_config_files
    new_config_dict: dict[str, Any] = tomllib.load(f)
                                      ~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 66, in load
    return loads(s, parse_float=parse_float)
  File "/usr/lib/python3.13/tomllib/_parser.py", line 102, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.13/tomllib/_parser.py", line 326, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
                      ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 369, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
                 ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 649, in parse_value
    raise suffixed_err(src, pos, "Invalid value")
tomllib.TOMLDecodeError: Invalid value (at line 1, column 9)
main: ERROR: Configuration file parsing failed!
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sdwdate_gui/sdwdate_gui_server.py", line 1159, in main
    parse_config_files()
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sdwdate_gui/sdwdate_gui_shared.py", line 91, in parse_config_files
    ConfigData.conf_dict = strict_config_parser.parse_config_files(
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        conf_item_list=ConfigData.conf_dir_list,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        conf_schema=ConfigData.conf_schema,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        defaults_dict=ConfigData.defaults_dict,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/strict_config_parser/strict_config_parser.py", line 95, in parse_config_files
    new_config_dict: dict[str, Any] = tomllib.load(f)
                                      ~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 66, in load
    return loads(s, parse_float=parse_float)
  File "/usr/lib/python3.13/tomllib/_parser.py", line 102, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.13/tomllib/_parser.py", line 326, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
                      ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 369, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
                 ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/tomllib/_parser.py", line 649, in parse_value
    raise suffixed_err(src, pos, "Invalid value")
tomllib.TOMLDecodeError: Invalid value (at line 1, column 9)
1 Like

Something to do with new python versions? I checked qvm tags, they’re all there.

1 Like
## NOTE: String MUST be quoted.

Use:

gateway="name_of_gw"
2 Likes

A post was split to a new topic: Whonix-Firewall firewall_mode=