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

Search found 217 matches

by MrFlibble
Mon Apr 22, 2024 8:10 pm
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 69245

Re: [Beta] Release of Telescope 2.0

Do not worry. The starter has a list of OXPs - after all it knows what is installed, required, conflicting etc. Does it have a list of OXPs from the last use of starter? Some of us manipulate other OXPs locally, or use the built-in manager from time-to-time. I confess I rarely use the starter to la...
by MrFlibble
Mon Apr 22, 2024 7:21 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 10293

Re: [WIP] new GUI for debug console

This seems to work well for the Linux app switcher etc. in python 3 It doesn't have any effect with python 2.7, where the xbm fallback still shows. I used to the 'overkill' 256x256 icon, for the sheer joy of it. It also works with pyinstaller, as long as --add-binary "OoJSC256x256.png:." i...
by MrFlibble
Mon Apr 22, 2024 6:56 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 10293

Re: [WIP] new GUI for debug console

I think I cracked the Linux icon on alt-tab etc.

It may even work with pyinstaller. I'll have a crack and report finding momentarily.
by MrFlibble
Mon Apr 22, 2024 6:42 pm
Forum: Expansion Pack
Topic: [WIP] new GUI for debug console
Replies: 103
Views: 10293

Re: [WIP] new GUI for debug console

--icon works for Window & MacOS but not Linux Indeed there is no --icon option in pyinstaller on Linux. This article may be helpful there. See Kibi's answer. It describes 'normal' way to realise desktop icons for apps in most Linux DE. https://stackoverflow.com/questions/75375906/can-pyinstalle...
by MrFlibble
Mon Apr 22, 2024 5:26 pm
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 69245

Re: [Beta] Release of Telescope 2.0

D'oh! :oops: was the same file as before! Once more from the top: https://www.dropbox.com/scl/fi/7f5hi7jfj4zxxspzn8t3x/collect_shipdataMrFlibble.py?rlkey=muu5l5jknzpgm1tfmq9i8d50q&dl=0 Looking at the original OXZ, it's as if the directories have no timestamps. Current time is used. After puttin...
by MrFlibble
Mon Apr 22, 2024 3:42 pm
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 69245

Re: [Beta] Release of Telescope 2.0

Whoops! Do I understand correctly that before starting Oolite, it is advisable to run a python script (especially if we don't know whether such a script has run since the last time OXPs were installed/uninstalled)? IF you've installed some fancy non-standard ships, IF you use telescope's 3D view an...
by MrFlibble
Mon Apr 22, 2024 2:03 am
Forum: Expansion Pack
Topic: [Beta] Release of Telescope 2.0
Replies: 134
Views: 69245

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

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

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

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

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

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

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

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

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...