In [1]: j.sal.ufw.enabled
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/usr/local/bin/js_shell in <module>()
----> 1 j.sal.ufw.enabled
/home/lkcl/src/core9/Jumpscale/core/JSBase.py in __getattribute__(self, name)
413 return instance
414 try:
--> 415 return object.__getattribute__(self, name)
416 except AttributeError as e:
417 z = e
/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/sal/ufw/UFWManager.py in enabled(self)
208 """
209 if self._enabled is None:
--> 210 self._load()
211 return self._enabled
212
/opt/code/github/threefoldtech/jumpscale_lib/JumpscaleLib/sal/ufw/UFWManager.py in _load(self)
173
174 def _load(self):
--> 175 rc, status = self._local.execute('ufw status numbered')
176 self._rules = []
177 for line in status.splitlines():
ValueError: too many values to unpack (expected 2)
ufw happens to be installed, however it is returning "Status: inactive".... oh, execute now has 3 args not 2.
ufw happens to be installed, however it is returning "Status: inactive".... oh, execute now has 3 args not 2.