Ah! Got it. Thanks. Easier to see with mid-afternoon coffee than it was with last night's grog.
Here's the output from the pyenv python 2.7 venv. Font face is evidently not coming from ~/GNUstep/Applications/Oolite/AddOns/Basic-debug.oxp/Config/debugConfig.plist. It's set to Courier_New there, I also tried Courierz_New in case only the first alphanumeric portion of the string was being used.
Code: Select all
$ python DebugConsole.py
font-face: Courier
font-size: 12
dump-stack-for-errors: true
dump-stack-for-warnings: true
show-console-on-error: True
show-console-on-log: False
show-console-on-warning: True
show-error-locations: true
show-error-locations-during-console-eval: false
general-background-color: [1.0, 1.0, 1.0, 1.0]
general-foreground-color: [0.0, 0.0, 0.0, 1.0]
command-background-color: [0.88, 0.88, 1.0, 1.0]
error-background-color: [1.0, 0.75, 0.75, 1.0]
exception-background-color: [1.0, 0.75, 0.9166666, 1.0]
warning-background-color: [1.0, 1.0, 0.75, 1.0]
command-error-background-color: [1.0, 0.88, 0.88, 1.0]
command-exception-background-color: [1.0, 0.75, 0.9166666, 1.0]
command-result-background-color: [0.8, 1.0, 0.8, 1.0]
macro-error-background-color: [1.0, 0.88, 0.88, 1.0]
macro-expansion-background-color: [0.94, 0.94, 1.0, 1.0]
macro-expansion-foreground-color: [0.3333333, 0.3333333, 0.3333333, 1.0]
macro-info-background-color: [0.8, 1.0, 0.8, 1.0]
macro-warning-background-color: [1.0, 1.0, 0.88, 1.0]
unknown-macro-background-color: [1.0, 1.0, 0.88, 1.0]
Unhandled Error
Traceback (most recent call last):
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/internet/tcp.py", line 243, in doRead
return self._dataReceived(data)
File "/home/user/.pyenv/versions/2.7.18/envs/Oolite-Debug/lib/python2.7/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/home/user/Oolite-scripts/OoliteDebugConsole2/ooliteConsoleServer/PropertyListPacketProtocol.py", line 111, in dataReceived
self.__dispatchPacket()
File "/home/user/Oolite-scripts/OoliteDebugConsole2/ooliteConsoleServer/PropertyListPacketProtocol.py", line 154, in __dispatchPacket
self.plistPacketReceived(plist)
File "/home/user/Oolite-scripts/OoliteDebugConsole2/ooliteConsoleServer/OoliteDebugConsoleProtocol.py", line 127, in plistPacketReceived
self.__noteConfigurationPacket(packet)
File "/home/user/Oolite-scripts/OoliteDebugConsole2/ooliteConsoleServer/OoliteDebugConsoleProtocol.py", line 222, in __noteConfigurationPacket
self.delegate.loadConfig(self.__configuration)
File "DebugConsole.py", line 270, in loadConfig
app.initClientSettings(config)
File "DebugConsole.py", line 2830, in initClientSettings
self.setFontFace(value, plist=True, skipUpdate='font-size' in settingsKeys)
File "DebugConsole.py", line 2770, in setFontFace
self.updateFontBox(self.fontList.index(face))
exceptions.ValueError: 'Courier' is not in list
I'd be honoured to... if my brain can grok it.