Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 101 102 [103] 104 105 ... 140
1531
Applications / Re: Subversion 1.14.0
« on: July 29, 2020, 09:39:00 am »
Hi Andreas,

Hi Paul, it looks like you've packed the same svn.exe as before. (I've renamed them for this:)

Code: [Select]
epm: I:\Download\connect > svn-2020-07-24.exe --version
svn, version 1.14.0 (r1876290)
   compiled Jul 24 2020, 19:07:05 on i386-pc-os2-emx

epm: I:\Download\connect > svn-2020-07-28.exe --version
svn, version 1.14.0 (r1876290)
   compiled Jul 24 2020, 19:07:05 on i386-pc-os2-emx

Needless to say: It behaves the same as the old version.

The 'compiled' flag is set by configure - it's not a true compile date/time....


1532
Applications / Re: Subversion 1.14.0
« on: July 28, 2020, 11:26:23 am »
Hi Andreas,

For the editor issue - http://smedley.id.au/tmp/subversion-1.14.0-os2-20200728.zip should work the same as  1.7.21

For the other items, I need to find some spare time to investigate.

Cheers,

Paul

1533
Applications / Re: Subversion 1.14.0
« on: July 24, 2020, 12:00:00 pm »
It built quicker than I thought.... http://smedley.id.au/tmp/subversion-1.14.0-os2-20200724.zip

I didn't have time to confirm it fixes the wildcard issues, but I'm hoping....

1534
Applications / Re: Subversion 1.14.0
« on: July 24, 2020, 11:42:14 am »
if run under sh, does the shell do the expansion and then work?
Just tested and expansion does occur under sh (as the shell is doing the expansion then).

Still timeouts. Still it should be built with wildcard support.

Problem solved. I've been building debug builds. My debug ldflags omitted -Zwild-args for some reason. Fixed now and rebuilding.

I have things to do this evening, so will upload it in the morning (my time).

Cheers,

Paul

1535
Applications / Re: Subversion 1.14.0
« on: July 23, 2020, 09:05:21 am »
A sample from Lewis always times out here, at least your latest stopped the APR timeout spam.
Code: [Select]
svn list -v --search "*.dlg" --search "*.rc" http://svn.netlabs.org/repos/cwmmclasses/branches/v2.9/classes/res/en/

This is potentially due to lack of wildcard support. Will try relinking with -Zarg-wilds tonight

1536
Applications / Re: Subversion 1.14.0
« on: July 19, 2020, 07:44:16 am »
Seems to be working fine here. Didn't do a checkout but rather an upgrade. Add, revert, status, diff, commit all work.

Thanks Dave!

Some know issues so far:
- passwords echo to screen
- some screen output is messed up - looks line line break issues maybe...

1537
Applications / Re: Subversion 1.14.0
« on: July 19, 2020, 01:18:57 am »
Hi Andreas,

Note: you'll need to run 'svn upgrade' to upgrade the working copy to the metadata format used by 1.14.0

I suggest taking a backup first just in case there are bugs in 1.14.0 that cause you to need to revert back to 1.7.x

Cheers,

Paul

1538
Applications / Subversion 1.14.0
« on: July 18, 2020, 11:23:54 am »
Hi guys,

I finally got a newer SVN client that 1.7.21 working on OS/2

Tested is the ability to retrieve repositories from http and https repositories and to commit simple changes.

That's about the extent of my current testing :)

For anyone feeling brave - http://smedley.id.au/tmp/subversion-1.14.0-os2-20200718.zip

Feedback appreciated

Cheers,

Paul

1539
Hardware / Re: Odroid H2+
« on: July 16, 2020, 05:12:35 am »
Hey Neil

Arca Noae doesn't list support for the network.

https://www.arcanoae.com/wiki/multimac/

I think BSD doesn't have this network driver either, so that doesn't look promising.

https://www.xigmanas.com/forums/viewtopic.php?t=15326

Thanks - I found the same in regard to FreeBSD after posting. It seems there is an OpenBSD driver - but I have no idea how similar OpenBSD and FreeBSD drivers are.

1540
Programming / Re: Python 3.x?
« on: July 15, 2020, 11:13:39 pm »
FYI I installed it using pip... Suggest you install pip using the instructions at https://pip.pypa.io/en/stable/installing/

Then you can install things with 'python3 \python38\bin\pip install speedtest-cli'

1541
Programming / Re: Python 3.x?
« on: July 15, 2020, 10:09:32 am »
New _ssl.pyd at http://smedley.id.au/tmp/_ssl.zip

Copy it over the top of the one in \python38\lib\python3.8\lib-dynload

Cheers,

Paul

1542
Programming / Re: Python 3.x?
« on: July 15, 2020, 05:25:27 am »
Hi Dariusz,

1) speedtest execution
Attempting to execute the speedtest script I get the following error msg:

Code: [Select]
  File "G:\code\tools\python38\Lib\python3.8/site.py", line 178
    file=sys.stderr)
        ^
SyntaxError: invalid syntax

So it feels like maybe the unix vs os2 path separator is getting in the way? I took a stab at this just by converting my python environment setup cmd to use '/' instead of '\', but that made no difference.

Since the cmd driven approach did not seem to work I took to just executing the speedtest dirctly by passing the script and the input params into python3.exe:

Code: [Select]
[G:\util\misc]\code\tools\python38\bin\python3 speedtest-cli --server 20916
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
: unable to get local issuer certificate (_ssl.c:1108)>

In this case it would appear I hit some sort of certificate issue.

2nd issue is definitely certificate related. If you unzip http://smedley.id.au/tmp/certs.zip in the root of the drive you're trying to run python3 from, it will find the certs.
Code: [Select]
Retrieving speedtest.net configuration...
Testing from Aussie Broadband (61.245.145.183)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Telstra (Adelaide) [0.14 km]: 20.047 ms
Testing download speed..........................................................
......................
Download: 106.66 Mbit/s
Testing upload speed............................................................
..........................................
Upload: 11.41 Mbit/s
I'll try and fix it to use the @unixroot location - I just need to work out if it's getting this path from ssl or from python somewhere...

Cheers,

Paul

1543
Hardware / Odroid H2+
« on: July 15, 2020, 01:04:21 am »
Hi All,

Any thoughts on the likelihood of getting ArcaOS to boot on an Odroid H2+? https://www.hardkernel.com/shop/odroid-h2plus/

Issues I see:
- No CSM support (conformed on forums), so would need access to a UEFI build of ArcaOS
- possibly no NIC support - not sure if the RTL8125B is supported by the ArcaOS drivers - given the references to adding missing linux drivers, I suspect this is a newer chipset.

However - it does have SATA ports in addition to NVMe.

Not quite as small as a RasPi at 110mm x 110mm x 47mm but still would be pretty cool if it worked.

I'm tempted to order one and see how I go, given that I can always redeploy for other purposes within my home LAN if needs be.

Cheers,

Paul

1544
Programming / Re: Python 3.x?
« on: July 14, 2020, 11:21:17 pm »
Hi Dariusz,

Initial build:
http://smedley.id.au/tmp/python-3.8.3-os2-20200711.zip

Currently expects to be installed in /python38 - it should be possible to move it provided PYTHONPATH & PYTHONHOME are set appropriately...

Alright, so I set this up in a separate code\tools directory on my machine (to prevent any conflict with the RPM 2.7 stuff), here is what my environment config cmd file looks like:

Code: [Select]
@ECHO OFF
mode 80,60
SET MAIN=G:\code\tools\python38

rem *************************************************
rem Python 3.8 for OS/2 environment variable settings
rem *************************************************

REM change PATH below unless using default YUM/RPM install in \usr\bin
SET PATH=%MAIN%\bin;%PATH%

REM change LIBPATH to pull in the python3.8 specific DLLs
SET BEGINLIBPATH=%MAIN%\bin;

SET PYTHONHOME=%MAIN%
SET PYTHONPATH=%MAIN%\Lib\python3.8;%MAIN%\Lib\python3.8\plat-os2knix;%MAIN%\Lib\python3.8\lib-dynload;%MAIN%\Lib\python3.8\site-packages

if $%1$==$$ goto end
start python3 %1 %2 %3 %4 %5 %6 %7 %8 %9
exit
:end

So a couple of issues to report:

1) speedtest execution
Attempting to execute the speedtest script I get the following error msg:

Code: [Select]
  File "G:\code\tools\python38\Lib\python3.8/site.py", line 178
    file=sys.stderr)
        ^
SyntaxError: invalid syntax

So it feels like maybe the unix vs os2 path separator is getting in the way? I took a stab at this just by converting my python environment setup cmd to use '/' instead of '\', but that made no difference.

Since the cmd driven approach did not seem to work I took to just executing the speedtest dirctly by passing the script and the input params into python3.exe:

Code: [Select]
[G:\util\misc]\code\tools\python38\bin\python3 speedtest-cli --server 20916
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
: unable to get local issuer certificate (_ssl.c:1108)>

In this case it would appear I hit some sort of certificate issue.

Any ideas Paul? I did not try anything else since this speed test is a pretty good excercise and if I could get it working with 3.8 that would be a pretty good test.

2) python3 invocation from CLI
The python3 environment seems to start up, but I absolutely can not type anything into the window itself. Can't even CTRL-C out of it, the only way is to kill it:

Code: [Select]
[G:\code\tools\python38\bin]python3
Python 3.8.3 (default, Jul 11 2020, 10:35:02)
[GCC 9.2.0] on os2knix
Type "help", "copyright", "credits" or "license" for more information.
>>>

Not sure what to make of that one.

For 1) - I'll investigate locally, for 2) see https://www.os2world.com/forum/index.php/topic,2484.msg27230.html#msg27230

Cheers

Paul

1545
Programming / Re: Python 3.x?
« on: July 13, 2020, 02:16:59 am »
For me, it's for Samba 4. Currently for configuring and building the file server, but potentially to build the management utils that rely on python 3.x

Pages: 1 ... 101 102 [103] 104 105 ... 140