missing sources - Printable Version

+- OpenMarine (
+-- Forum: OpenPlotter (
+--- Forum: General discussion (
+--- Thread: missing sources (/showthread.php?tid=2095)

missing sources - moonman - 2019-11-20

Fresh install of 2.0 on Ubuntu. Followed install directions to a T.   However, upon launching Openplotter Settings and trying to add the missing sources (via "Add Sources" tab), the following error is returned, and the repos are not added. What am I doing wrong?

"Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/openplotterSettings/", line 24, in main
    conf2 = Conf()
  File "/usr/lib/python3/dist-packages/openplotterSettings/", line 24, in __init__
    if self.user == 'root': self.user = os.path.expanduser(os.environ["SUDO_USER"])
  File "/usr/lib/python3.7/", line 679, in __getitem__
    raise KeyError(key) from None
KeyError: 'SUDO_USER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/settingsSourcesInstall", line 11, in <module>
    load_entry_point('openplotterSettings==2.0', 'console_scripts', 'settingsSourcesInstall')()
  File "/usr/lib/python3/dist-packages/openplotterSettings/", line 95, in main
    except Exception as e: print(_('FAILED: ')+str(e))
NameError: name '_' is not defined"

RE: missing sources - Sailoog - 2019-11-20

That is a bug that will be fixed in the next update I will publish this afternoon (EU time).