Whonix gateway anon connection wizard failed when Sandbox 1 is set in torrc

Qubes os whonix gateway, direct connection. No proxy,no bridge.
Sandbox 1 is set in torrc file according to whonix gateway hardening tutorial.

Anon Connection Wizard reports
“Tor failed to (re)start.
Job for tor@default.service failed because the control process exited with error code.
Error code: 1
Often, this is because your torrc file(s) has corrupted settings.
…”

systemctl status tor@default.service reports

“tor@default.service - Anonymizing overlay network for TCP
Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/tor@default.service.d
└─30_clean-torrc-d-on-reload.conf, 30_qubes.conf, 40_obfs4proxy-workaround.conf, 40_qubes.conf, 50_controlsocket-workaround.conf
Active: failed (Result: exit-code) since [time]
Process: 1787 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCESS)
Process: 1789 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 --verify-config (code=exited, status=0/SUCCESS)
Process: 1793 ExecStart=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 (code=exited, status=1/FAILURE)
Process: 1799 ExecStartPost=/bin/kill -HUP ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 1793 (code=exited, status=1/FAILURE)”

journalctl -xe reports
"[time] host systemd[1]: tor@default.service: Can’t open PID file /run/tor/tor.pid (yet?) after start-post: No such file or directory
[time] host systemd[1]: tor@default.service: Main process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: Debian -- User Support
An ExecStart= process belonging to unit tor@default.service has exited.

The process’ exit code is ‘exited’ and its exit status is 1.
[time] host systemd[1]: tor@default.service: Daemon never wrote its PID file. Failing.
[time] host systemd[1]: tor@default.service: Failed with result ‘exit-code’.
Subject: Unit failed
Defined-By: systemd
Support: Debian -- User Support

The unit tor@default.service has entered the ‘failed’ state with result ‘exit-code’.
[time] host audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=tor@default comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=
[time] host systemd[1]: Failed to start Anonymizing overlay network for TCP.
Subject: A start job for unit tor@default.service has failed
Defined-By: systemd
Support: Debian -- User Support

A start job for unit tor@default.service has finished with a failure.

The job identifier is 1545 and the job result is failed.
[time] host audit[2756]: USER_ACCT pid=2756 uid=1000 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_tally2,pam_permit acct=“user” exe=“/usr/bin
[time] host audit[2756]: USER_CMD pid=2756 uid=1000 auid=4294967295 ses=4294967295 subj==unconfined msg='cwd=”/home/user" cmd=6A6F75726E616C63746C202D7865 terminal=pts/2 res=succes
[time] host audit[2756]: CRED_REFR pid=2756 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=pam_tally2,pam_wheel,pam_permit acct=“root” exe=“/usr
[time] host sudo[2756]: user : TTY=pts/2 ; PWD=/home/[username] ; USER=root ; COMMAND=/usr/bin/journalctl -xe
[time] host audit[2756]: USER_START pid=2756 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:session_open grantors=pam_permit,pam_unix acct=“root” exe=”/usr/bin/s
[time] host sudo[2756]: pam_unix(sudo:session): session opened for user root by (uid=0)tor@default.service - Anonymizing overlay network for TCP
Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/tor@default.service.d
└─30_clean-torrc-d-on-reload.conf, 30_qubes.conf, 40_obfs4proxy-workaround.conf, 40_qubes.conf, 50_controlsocket-workaround.conf
Active: failed (Result: exit-code) since [time]
Process: 1787 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCESS)
Process: 1789 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 --verify-config (code=exited, status=0/SUCCESS)
Process: 1793 ExecStart=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 (code=exited, status=1/FAILURE)
Process: 1799 ExecStartPost=/bin/kill -HUP ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 1793 (code=exited, status=1/FAILURE)"