whonixsetup (CLI)

https://github.com/Whonix/whonixsetup as standalone:

│ python3 -c 'from anon_connection_wizard import tor_status; tor_status.set_enabled()'                                                         │
│ returned exit code 1, which means failed to enable Tor.                                                                                      │
│                                                                                                                                              │
│ Error messages are as follows:                                                                                                               │
│ Traceback (most recent call last):                                                                                                           │
│   File "<string>", line 1, in <module>                                                                                                       │
│ ImportError: No module named 'anon_connection_wizard'                                                                                        │
│                                                                                                                                              │
│ If some dependencies are missing (for example, cannot import name 'tor_status'):                                                             │
│     sudo apt-get install anon-connection-wizard

It doesn’t have a dependency on anon-connection-wizard. And now with tor-control-panel vs anon-connection-wizard, something to keep in mind.

//cc @iry @troubadour @Algernon

I wonder why whonixsetup has a dependency on msgcollector? Doesn’t seem required?

https://github.com/Whonix/whonixsetup/commit/d3859d495dff15e81874d711cf76089892c4b858

https://github.com/Whonix/whonixsetup/commit/cba0e3fb25298fbbc316ea5a1f5351acea38180d

https://github.com/Whonix/whonixsetup/commit/b4bda7d96683e3b2506c7369088bd30c296b60b2

1 Like

https://github.com/Whonix/whonixsetup/commit/88bf5b067f77ccd9b56406efb5881a91fba295c7

1 Like

Let’s put merging whonixsetup into whonix-setup-wizard on hold so we have separated CLI and GUI packages. //cc @iry


These are the 3 occurrences of using tor_status in whonixsetup which causes a dependency on tor-control-panel.

https://github.com/Whonix/whonixsetup/blob/master/usr/lib/whonixsetup_/ft_m_1#L83

https://github.com/Whonix/whonixsetup/blob/master/usr/lib/whonixsetup_/ft_m_1#L88

https://github.com/Whonix/whonixsetup/blob/master/usr/lib/whonixsetup_/ft_m_2#L68

Could you move the code required to remove the dependency into anon-shared-helper-scripts please? @troubadour

whonixsetup currently does not work at all, neither disabling nor enabling Tor does anything.