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

Search found 226 matches

by MrFlibble
Mon Apr 22, 2024 2:03 am
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 70834

Re: [Beta] Release of Telescope 2.0

Directory timestamps not though. Fixed - that's what I get trusting someone else's code in the wee hours. My generated OZXs had blank timestamps on the directories. Different story with python 2.7.18. Only because you ran the 3 version first. Both had the error but you didn't have a file to delete ...
by MrFlibble
Sun Apr 21, 2024 12:33 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

I think we are good that I try this on Github. At home I am running Ubuntu Desktop 22.04. On Github we also have Ubuntu 22.04 (I believe they strip off the desktop). Okay. I've tried this on a current Mint VM that doesn't do much dev, and a headless Deb11 that's used for very little. This bash buil...
by MrFlibble
Sun Apr 21, 2024 10:53 am
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 70834

Re: [Beta] Release of Telescope 2.0

I've got a new script just for you: https://www.dropbox.com/scl/fi/7f5hi7jfj4zxxspzn8t3x/collect_shipdataMrFlibble.py?rlkey=muu5l5jknzpgm1tfmq9i8d50q&dl=0 That worked using python3.10. All the file timestamps stayed intact bar the obvious one. Directory timestamps not though. Different story wi...
by MrFlibble
Sun Apr 21, 2024 10:25 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

$HOME/.local/bin/pyinstaller That is the location I saw printed on the screen when executing 'pip install pyinstaller'. I checked and it is a python script with this content: I guess you didn''t make the venv and enter it successfully then. The pip installs should end up in the venv, and not leak i...
by MrFlibble
Sun Apr 21, 2024 9:54 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

#!/bin/bash venv="$HOME/python3/pyinstaller" python3 -m venv "$venv" source "${venv}"/bin/activate pip install pyinstaller pip install twisted $HOME/.local/bin/pyinstaller --onefile DebugConsole.py --add-binary "oojsc.xbm:." --add-binary "OoJSC.ico:.&quo...
by MrFlibble
Sun Apr 21, 2024 8:05 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

...I can't recall if the venv needs recreating after adding python packages via apt. Easy enough to delete the venv directory and redo that part. (edit) Looks like I did a pip install twisted from inside the venv on mine. I may not have needed to as the system has it already. python3-tk is certainl...
by MrFlibble
Sun Apr 21, 2024 8:03 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

Using the system python 3.10, and not wanting to mess with my local setup by shoving things in willy-nilly with pip, I created a venv in a directory where I keep a heap of them. Activated it, and pip installed pyinstaller only in the venv. venv="$HOME/python3/pyinstaller" python3 -m venv ...
by MrFlibble
Sun Apr 21, 2024 8:00 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

1) How many of our OXPS actually use Python? Is it just Telescope (+Telescope Options?) and the Debug Console - or are there oo dles of them? The OXP's themselves don't use python at all. Telescope uses the OXP as a convenient place to hold a python script which is an external tool to do something ...
by MrFlibble
Sun Apr 21, 2024 7:26 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

I made a self-contained version with pyinstaller on Linux. Doddle. Should be fairly easy to churn out static versions for most OSes between us so the non-pythoners won't have to get involved. Would like to know more details on the Doddle part. Using the system python 3.10, and not wanting to mess w...
by MrFlibble
Sun Apr 21, 2024 7:00 am
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 70834

Re: [Beta] Release of Telescope 2.0

Attempting to use the collect_shipdata.py script. Totally ignorant as to whether it'll make any difference to the "no problem" I have. What, pray tell, is your "no problem"? I've got a new script just for you: https://www.dropbox.com/scl/fi/7f5hi7jfj4zxxspzn8t3x/collect_shipdata...
by MrFlibble
Sun Apr 21, 2024 5:40 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

Thanks cag. All good. Random hint. Some users may find this helpful. Assumes they either already use ssh, or are happy to add it. In this case, the game computer runs an ssh server for various reasons. File transfer, remote shell and this trick among them. Today, I'm testing the current DebugConsole...
by MrFlibble
Sun Apr 21, 2024 2:37 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

a line got duplicated: 298 & 299 there's an extra 'u' (my fault) in 2888: errmsg = 'Uunsupported var ... were you not going to change default value of 'Use Oolite Plist for local font/colors'? line 214 Dupe lines and extra u removed. Default changed. Hopefully I've tweaked the link to work for ...
by MrFlibble
Sun Apr 21, 2024 1:32 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

link to OoliteDebugConsole2-02.zip not working: ERR_ADDRESS_INVALID 1st one was: https://www.uploadlite.com/en/d/OoDebugConsole2-01 second one: https://uploadlite.com/d/OoliteDebugConsole2-02 hacking it to be the following worked https://www.uploadlite.com/en/d/OoliteDebugConsole2-02 Bizarre. It wo...
by MrFlibble
Sun Apr 21, 2024 1:01 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

I made a self-contained version with pyinstaller on Linux. Doddle. Should be fairly easy to churn out static versions for most OSes between us so the non-pythoners won't have to get involved. Currently the config/logs etc. all get spat out in the current directory, which can be annoying. Perhaps it ...
by MrFlibble
Sun Apr 21, 2024 12:34 am
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 13285

Re: [WIP] new GUI for debug console

OoliteDebugConsole2-02.zip

Hopefully I've (with the aid of ImageMagick) translated the newer ico into pngs correctly.

Re: Fonts. I'm not sure that's such a problem. I'll fire up a virgin setup when time permits, test it out, and come up with at least a predictable workaround.