Welcome, Guest. Please login or register.

Author Topic: New UHC Tools release  (Read 7060 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kolla

Re: New UHC Tools release
« Reply #14 from previous page: January 07, 2020, 06:09:15 AM »
We have changed UHCSearch to use HTTP, so now it should be as firewall friendly as possible.

It also supports sending the requests via a HTTP proxy by using the http_proxy ENV-variable.

Please report any issues you find.

Very cool, it works well for me now :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: New UHC Tools release
« Reply #15 on: January 07, 2020, 06:24:40 AM »
Code: [Select]
8.Ram Disk:> uhcstatus
UHC Revision: 4938182ec00a058d1b126b02a8b3a53218cdf600

Type:             ENV:               Value:
Location          UHCBIN             SYS:UHC/
Temp Location     UHC/TEMPDIR        T:
Reader            UHC/READER         RES MuchMore
Show Archiver     UHC/SHOWARCHIVER   No
Show DL Progress  UHC/SHOWPROGRESS   Yes
Aminet Mirror     UHC/AMINETMIRROR   de.aminet.net/aminet/

I noticed that aminetget and aminetextract now always resets ${UHC/AMINETMIRROR} to "de.aminet.net/aminet/" - the culprit being
Code: [Select]
IF "$UHC/AMINETMIRROR" EQ "*$UHC/AMINETMIRROR", which of course should be
Code: [Select]
IF "${UHC/AMINETMIRROR}" EQ "*${UHC/AMINETMIRROR}" like it is in aminetreadme

When debugging the above issue, I noticed that the SetFromCmd fails (or rather, creates unwanted output so that uhcget fails), when the shell is running with "set ech on" - perhaps a long talk with Thomas Richter about stdout vs stderr can enlighten you on how this can be fixed :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline patrikTopic starter

Re: New UHC Tools release
« Reply #16 on: January 07, 2020, 07:16:36 AM »

I noticed that aminetget and aminetextract now always resets ${UHC/AMINETMIRROR} to "de.aminet.net/aminet/" - the culprit being
Code: [Select]
IF "$UHC/AMINETMIRROR" EQ "*$UHC/AMINETMIRROR", which of course should be
Code: [Select]
IF "${UHC/AMINETMIRROR}" EQ "*${UHC/AMINETMIRROR}" like it is in aminetreadme

Fixed, thank you very much.

When debugging the above issue, I noticed that the SetFromCmd fails (or rather, creates unwanted output so that uhcget fails), when the shell is running with "set ech on" - perhaps a long talk with Thomas Richter about stdout vs stderr can enlighten you on how this can be fixed :)

Interesting - before the "set echo on" feature, I have not seen a use for not capturing everything. Right now SetFromCmd swallows everything to be consistent on all platforms, so it for example can be used to not show unwanted output on failure also on OS4, which we cannot mute otherwise (*>NIL: stderr redirection cannot be used, as that would break the scripts on for example 3.1).
« Last Edit: January 07, 2020, 07:17:13 AM by patrik »
 

Offline kolla

Re: New UHC Tools release
« Reply #17 on: January 08, 2023, 08:13:08 AM »
A bug report…

HTTP proxy by using the http_proxy ENV-variable.

This stopped working with "AsyncHTTPGet 0.84 ( 7.jan.23)", I now get "10.99.0.1:8888: Host name lookup failure (2)" when trying to download anything. Previous aget works fine.

Also a suggestion, in UHC-Startup…

Replace…

List UHC:UHC-User-Startup/ LFORMAT="Execute ${UHCBIN}UHC-User-Startup/%N" >T:UHC-User-Startup.temp

with (for example)…

List UHC:UHC-User-Startup FILES PAT "~(#?.info)" LFORMAT="Execute *"%P%N*"" >T:UHC-User-Startup.temp


Some editors leave .info files, and Execute doesn’t handle it well when told to execute them.
(and I don’t quite grasp why there would be any reason for not using %P?)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline patrikTopic starter

Re: New UHC Tools release
« Reply #18 on: January 16, 2023, 06:04:38 PM »
A bug report…

This stopped working with "AsyncHTTPGet 0.84 ( 7.jan.23)", I now get "10.99.0.1:8888: Host name lookup failure (2)" when trying to download anything. Previous aget works fine.

Thank you for reporting that so quickly! Fixed 2023-01-11, but could not respond until today.

Also a suggestion, in UHC-Startup…

Replace…

List UHC:UHC-User-Startup/ LFORMAT="Execute ${UHCBIN}UHC-User-Startup/%N" >T:UHC-User-Startup.temp

with (for example)…

List UHC:UHC-User-Startup FILES PAT "~(#?.info)" LFORMAT="Execute *"%P%N*"" >T:UHC-User-Startup.temp


Some editors leave .info files, and Execute doesn’t handle it well when told to execute them.
(and I don’t quite grasp why there would be any reason for not using %P?)

Great suggestion, I have changed that now :).
 

Offline kolla

Re: New UHC Tools release
« Reply #19 on: March 25, 2023, 07:40:34 AM »
Hello Patrik!

For a few weeks now, updates in Aminet has not been showing, that is, aminetrecent seem "stuck" with fe.lha as latest upload, and that was 2023-03-02. I've just been taking it for granted that someone else would report this, cannot believe I'm the only one who regularly check for aminet updates using UHC :)

Using latest uhc-tools (according to uhcupdate)
I see that aminetrecent uses ${UHC/SEARCHURL}, which is uhc.driar.se/uhcsearch - if I remove the var, an "aminetrecent" reinstates it.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline patrikTopic starter

Re: New UHC Tools release
« Reply #20 on: April 01, 2023, 09:12:23 AM »
Hello Patrik!

For a few weeks now, updates in Aminet has not been showing, that is, aminetrecent seem "stuck" with fe.lha as latest upload, and that was 2023-03-02. I've just been taking it for granted that someone else would report this, cannot believe I'm the only one who regularly check for aminet updates using UHC :)

Using latest uhc-tools (according to uhcupdate)
I see that aminetrecent uses ${UHC/SEARCHURL}, which is uhc.driar.se/uhcsearch - if I remove the var, an "aminetrecent" reinstates it.

Fixed, thank you very much for the report!

The reinstating is intentional, it is designed to be able to sort itself out so to say. Both search mirrors were affected by the issue btw, so using the next uhc.megaburken.net/uhcsearch would not have helped.
 

Offline kolla

Re: New UHC Tools release
« Reply #21 on: April 04, 2023, 12:25:11 AM »
What if uhc-tools came with a simlle (eh) tool for quickly reporting bugs/problems? :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS