This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
missing sources
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"
That is a bug that will be fixed in the next update I will publish this afternoon (EU time).

Forum Jump:

Users browsing this thread: 1 Guest(s)