Recent Posts

Pages: [1] 2 3 ... 10
1
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Dave Yeo on Today at 12:25:28 am »
Ok, thanks
2
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Steven Levine on April 27, 2025, 11:10:14 pm »
The hashbang spec would apply if you ran the script from a hashbang aware shell.

ANPM always invokes the scripts via the python command line and forces 2.7 to be used.  The relevant code is at:

  PyExec.VRX:63
      ADDRESS CMD '@python2.7.exe' full_cmd '2>&1 |RXQUEUE' listqueue
3
I appreciate what you are doing to make a Warpstock presentation.

OK, picture I am on Linux or Windows, and I'm running ArcaOS inside a VirtualBox session. I'm also running a web browser on the host platform. Inside that web browser, I have dozens or even hundreds of tabs open. Those tabs are running diverse web applications, such as office suites, email clients and database front ends.

From time to time, the web browser is going to call a native app. I want it to be possible to configure that native app to be an OS/2 app running in the ArcaOS session. I also want the OS/2 WPURL object to open a web page on the host in a reasonable way. These two capabilities shouldn't be difficult, but do require some specific OS/2 customization.

This should have been easy with DSOM. I'm sorry DSOM went away or we would already have these capabilities.
4
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Dave Yeo on April 27, 2025, 08:33:57 pm »
ANPM comes with Python2 scripts to begin with.
Are you sure about that? I thought that everything had been updated to python3. Looking, all the scripts simply call python, "#! /usr/bin/python -tt", which here is,
Code: [Select]
W:\usr\bin>python --version
Python 3.9.21

5
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Lars on April 27, 2025, 07:36:47 pm »
ANPM comes with Python2 scripts to begin with.
6
Internet / Re: Arca Noae should be directly involved in web browser development efforts
« Last post by JTA on April 27, 2025, 07:29:38 pm »
Winflector has server running on the AToF HostOS (as a service), and the native client running on some other OS where you want the windows apps to be displayed, in a native OS window frame. Don't know what the internal protocol is, but it works very well on AToF solutions, whereas RDP implementations caused me varying levels of grief.

Where there isn't a dedicated OS native client, Winflector also supports any browser with minimal capabilities (html 5, iirc), and our old OS/2 firefox fits this need. So, you can send any Window app, even 64-bit, over to the OS/2 vm.

Luckily, Winflector offers a free license, so it's pretty much available to all. I've asked them to build an OS/2 native 32-bit client, via their forums. AN could possibly help with this, and I've asked unofficially for them to push from their side, but ... no visible progress at either end.
7
JTA!

...With a HostOS (Windows/Linux), virtualization (Virtualbox), and Winflector (pipe 64-bit apps directly into OS/2), all running on a single modern hardware platform (laptop/desktop, i7, 32gb ram, ssd's), there are no OS/2 problems of any kind. The trend of use can be reversed, and made upward again...

Great post...I'm particularly interested in Winflector as I've been using Thinstuff for a while now which relies on the RDP protocol to share individual apps. On our end I use FreeRDP, and that works very well indeed.

Having said that, Thinstuff does not support Win10, and so there is a definite end-of-the-road there, and by the looks of it Winflector certainly does.

Looking at Winflector site though they talk about using "client" to connect to the hosted Apps, so what does that look like on our OS/2 platform? Is that RDP still?

Thanks,
-Dariusz
8
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Dave Yeo on April 27, 2025, 05:49:48 pm »
You have already identified the problem: your python.exe is the same as python3.9.exe.
Just copy python2.7.exe over python.exe and you are fine.

That's only a good solution if you want to usually use Python2. Other solutions include using the full name, python2.7.exe instead of python2.7 or python2. I think our system doesn't like the multiple dots in the executable name. Another solution is to use sh to launch the python2/python3 script as it seems to get it right.
As for removing python2, it is different enough from python3 it is likely worth keeping it around as there are lots of python2 scripts still out there. I also suspect that there are dependencies between the two in the RPM environment.
9
... any and all "problems" you have with OS/2 (4.52) or ArcaOS, on any hardware you currently run these OS's on. It can be any hardware (device driver), software (apps), os (4.52 or ArcaOS), etc.

Examples (recently seen on the forums):
  - can't run a modern 64-bit browser inside of 32-bit OS/2 or ArcaOS, while OS is booted up standalone on modern hardware with tons of ram; a modern 64-bit browser is a must when trying to work in any OS.
  - compiler time (long-running compile jobs), trying to squeeze everything into a single OS/2 ram-limited environment

I want to ensure I've both correctly characterized the problems, and that any solution I come up with does indeed solve those problems.

We don't know everyone else's particular "pain points" ... please list yours, anything you can think of, if you can spare some time!
10
Setup & Installation / Re: PYTHON - v2 vs v3 and dependencies...
« Last post by Lars on April 27, 2025, 05:34:42 pm »
You have already identified the problem: your python.exe is the same as python3.9.exe.
Just copy python2.7.exe over python.exe and you are fine.
Pages: [1] 2 3 ... 10