2019-11-20, 02:52 AM
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/installSources.py", line 24, in main
conf2 = Conf()
File "/usr/lib/python3/dist-packages/openplotterSettings/conf.py", line 24, in __init__
if self.user == 'root': self.user = os.path.expanduser(os.environ["SUDO_USER"])
File "/usr/lib/python3.7/os.py", 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/installSources.py", line 95, in main
except Exception as e: print(_('FAILED: ')+str(e))
NameError: name '_' is not defined"
"Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/openplotterSettings/installSources.py", line 24, in main
conf2 = Conf()
File "/usr/lib/python3/dist-packages/openplotterSettings/conf.py", line 24, in __init__
if self.user == 'root': self.user = os.path.expanduser(os.environ["SUDO_USER"])
File "/usr/lib/python3.7/os.py", 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/installSources.py", line 95, in main
except Exception as e: print(_('FAILED: ')+str(e))
NameError: name '_' is not defined"