Search found 313 matches

by MrFlibble
Sat Apr 20, 2024 7:17 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 19782

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: 19782

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: 19782

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: 19782

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: 19782

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: 19782

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: 19782

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: 122
Views: 25208

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: 19782

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: 19782

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: 402
Views: 28971

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: 19782

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...
by MrFlibble
Fri Apr 19, 2024 9:28 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 19782

Re: [WIP] new GUI for debug console

For the python 2, due to the [...] File "DebugConsole.py", line 2829, 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.Valu...
by MrFlibble
Fri Apr 19, 2024 6:41 pm
Forum: Discussion
Topic: Feudal Systems
Replies: 122
Views: 25208

Re: Feudal Systems

The "Station at the end of the universe" from save in flight is a thing at a distance, but that thing is more logical.. a station. Does it have a space bar? And that famous restaurant? I didn't find them by the normal means. PS.target.explode() sadly yields no barrels of Pan-Galactic Garg...
by MrFlibble
Fri Apr 19, 2024 6:31 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 19782

Re: [WIP] new GUI for debug console

This looks really good, however I'm struggling to make it run on LinuxMint 21.3 here four years on. Using the same pyenv as works for the 1.5 console, which is a python 2.7 venv with twisted etc, I get a connect followed by disconnect straight away. Listening on port 8563. Use Up and Down arrows to ...