Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Search found 226 matches

by MrFlibble
Sun Apr 21, 2024 12:04 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

On it now.
by MrFlibble
Sat Apr 20, 2024 11:20 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

But put aside, so far I see all that you need is a repository. If that one shall be in the OoliteProject organization I am not privileged enough to set it up for you. On the other hand it already exists: https://github.com/OoliteProject/oolite-debug-console . All you'd need to do is create a branch...
by MrFlibble
Sat Apr 20, 2024 9:27 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

I'd stop bothering completely. Here an excerpt from Wikipedia : Since 27 June 2023, Python 3.8 is the oldest supported version of Python (albeit in the 'security support' phase), due to Python 3.7 reaching end-of-life. Alas quite a few folk don't care to have 'latest' python, especially not system-...
by MrFlibble
Sat Apr 20, 2024 7:17 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

Does Python 2.x matter at all? AFAIK it is no longer supported and you'd have to apply increasing amounts of magick to have it installed. I'd agree that going forward there's no point in writing new 2.7 code. Might as well leave Python 2 compatibility intact where it exists in older projects. Those...
by MrFlibble
Sat Apr 20, 2024 6:22 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

I've uploaded the simple fixed version. OoDebugConsole2-01.zip.

By the time the upload site expires it, I'd hope it to have been superseded. The patches above will do the trick anyway.
by MrFlibble
Sat Apr 20, 2024 5:57 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

My minimum change to get it working on 3.10. In ooliteConsoleServer/PropertyListPacketProtocol.py # self.transport.write(hdr) self.temp=bytes(hdr) self.transport.write(self.temp) To also optionally get rid of two warns. Edit DebugConsole.py line 295 and change both "is not" to != if app.to...
by MrFlibble
Sat Apr 20, 2024 5:13 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

So, we can make the existing version function adequately in python 2.7 on linux, without changing any of it, and doing userland config tweaks. In fact, if the default were to not use the debug config plist, then it'd work directly. Wanting to have it run on 3.10, I've just 2to3'd a version, and pree...
by MrFlibble
Sat Apr 20, 2024 3:25 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

It works (for python 2.7) if I set a font in DebugConsole, uncheck "Use Oolite plist for local font/colors", and save settings. The only errors I see now are:- DebugConsole: ERROR Uunsupported var show-console-on-error: True, type: <type 'bool'> DebugConsole: ERROR Uunsupported var show-co...
by MrFlibble
Sat Apr 20, 2024 2:58 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

Just drilled in a little. Got it surrounded. if key == 'font-face': if 'Family' not in self.loadedConfig or override: print('\nbazinga! 1') self.setFontFace(value, plist=True, skipUpdate='font-size' in settingsKeys) print('\nbazinga! 2') self.settings[ key ] = value elif key == 'font-size': ... macr...
by MrFlibble
Sat Apr 20, 2024 2:08 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

The function initClientSettings starts around line 2808 with the for loop around 2826 - place line just before for loop. print('\n'.join(['{}: {}'.format(key, value) for key, value in pairs.items() if key != 'default-macros'])) I just want to verify your plist is getting thru, narrow down the possi...
by MrFlibble
Sat Apr 20, 2024 4:41 am
Forum: Discussion
Topic: Feudal Systems
Replies: 116
Views: 18100

Re: Feudal Systems

Note to self: Investigate LRS and work out how to nerf it. Nooo! please don't. It's been de-fanged enough with the multi-hop being b0rked already. Debug toolz it is! I find bugz fast, and no using it when playing for fun. Mucha handy! No breaka da groovy gear pleeze!! And THAT is the last time I wi...
by MrFlibble
Sat Apr 20, 2024 4:34 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

I was getting 'Palatino' is not in list Barking up a similar tree I'll wager! If that's not it, I'll need more information. Place the following line before the 'for' loop in initClientSettings: Which is where? In addition to stderr output, send along your debugConfig.plist file and the latest Debug...
by MrFlibble
Sat Apr 20, 2024 12:33 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

Been following you & Commander_X's post. I can't type that fast I keep having to start over. I searched & the only occurance of "Courier" wrt debug console is in Oolite\AddOns\Basic-debug.oxp\Config\debugConfig.plist and it will be overwritten each time you install a new dev versi...
by MrFlibble
Fri Apr 19, 2024 11:52 pm
Forum: Expansion Pack
Topic: Planetfall 2.0 (apparently)
Replies: 375
Views: 10395

Re: Planetfall 2.0 (probably)

This is weird. If you're only using the DM, there shouldn't have been an issue, because the DM doesn't add version numbers to it's downloads. Had you used OoliteStarter at all, at some point in the past? Yes, now and then. The mists are clearing about the interactions there now. Thanks. I'll know t...
by MrFlibble
Fri Apr 19, 2024 11:48 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13485

Re: [WIP] new GUI for debug console

The absence of 'Courier' in the .py file seems to happen because it's being picked from a plist file in the Debug OXP. E.g. in my instance, in Config/debugConfig.plist at line 165 there is font-face = "Courier"; I chopped that over to Courier_New, and still get: exceptions.ValueError: 'Co...