• hpt and dbridge os2

    From Tommi Koivula@2:221/360 to Michael Pierce on Tue Feb 2 08:48:26 2021
    On 2.2.2021 1.33, Michael Pierce : All wrote:

    right now I am getting the following error message
    unzip: cannot find either C:DBINBOUND188f5900.tos or C:DBINBOUND188f5900.tos.zip
    my unpack statement looks like unpack "unzip -j -Loqq $a $f -d $p" 0 504b0304

    How is your "unixroot="? Try removing it before running hpt or setting it to point to some non-existing drive. By default Klibc tries to run 'unzip' via sh shell. Not via %COMSPEC%.

    'Tommi

    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Oli@2:280/464.47 to Tommi Koivula on Tue Feb 2 08:26:18 2021
    Tommi wrote (2021-02-02):

    On 2.2.2021 1.33, Michael Pierce : All wrote:

    right now I am getting the following error message
    unzip: cannot find either C:DBINBOUND188f5900.tos or
    C:DBINBOUND188f5900.tos.zip my unpack statement looks like unpack
    "unzip -j -Loqq $a $f -d $p" 0 504b0304

    How is your "unixroot="? Try removing it before running hpt or setting it to point to some non-existing drive. By default Klibc tries to run
    'unzip' via sh shell. Not via %COMSPEC%.

    Is this the reason why there are no "\" in the path?

    ---
    * Origin: . (2:280/464.47)
  • From Tommi Koivula@2:221/360 to Oli on Tue Feb 2 10:51:31 2021
    right now I am getting the following error message
    unzip: cannot find either C:DBINBOUND188f5900.tos or
    C:DBINBOUND188f5900.tos.zip my unpack statement looks like unpack
    "unzip -j -Loqq $a $f -d $p" 0 504b0304

    How is your "unixroot="? Try removing it before running hpt or setting it
    to point to some non-existing drive. By default Klibc tries to run 'unzip' via sh shell. Not via %COMSPEC%.

    Is this the reason why there are no "\" in the path?

    Yes.

    I spent some hours to find this out once in the past. ;)

    'Tommi

    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Kai Richter@2:240/77 to Michael Pierce on Wed Feb 3 09:21:30 2021
    Hello Michael!

    01 Feb 21, Michael Pierce wrote to All:

    right now I am getting the following error message
    unzip: cannot find either C:DBINBOUND188f5900.tos or C:DBINBOUND188f5900.tos.zip my unpack statement looks like unpack
    "unzip -j -Loqq $a $f -d $p" 0 504b0304

    any ideas??

    Replace unzip with echo and add a redirection >> show_the_real_thing.txt.
    Then replace echo with pwd to see the real working directory.
    Oh wait, pwd should be there where the txt file is found.

    A workaround would be to create a unzip.cmd script that set all path manually and use that unzip.cmd in the packer definition. Bad idea because other tools could fail with the broken path too.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Tommi Koivula@2:221/6 to Rick Smith on Wed Feb 3 10:49:08 2021
    On 2.2.2021 18.46, Rick Smith wrote:

    >> >> right now I am getting the following error message
    >> >> unzip: cannot find either C:DBINBOUND188f5900.tos or
    >> >> C:DBINBOUND188f5900.tos.zip my unpack statement looks like
    >> unpack
    >> >> "unzip -j -Loqq $a $f -d $p" 0 504b0304
    >>
    >> TK> How is your "unixroot="? Try removing it before running hpt or
    >> setting it
    >>
    >> Is this the reason why there are no "\" in the path?

    Did you mean changing in config.sys? We tried that it didnt change anything...

    No, just from the command line before running hpt.exe.
    I checked: set unixroot= does not help, but set unixroot=x: does help.

    I run in my tossing batch something like this:

    set unixroot=x:
    hpt toss

    That's how it works in my OS/2 (WSEB with libc066). Maybe the latest libc (in ArcaOS) works different?

    IIRC, from the Netlabs website I found that the order of searching shell is, first %UNIXROOT%\bin\sh, and then %COMSPEC% and so on. It was some years ago when I investigated this.

    'Tommi

    ---
    * Origin: nntp://news.fidonet.fi (2:221/6.0)
  • From Michael Pierce@1:105/81 to Kai Richter on Thu Feb 4 00:44:52 2021

    Hello Kai!

    01 Feb 21, Michael Pierce wrote to All:

    right now I am getting the following error message
    unzip: cannot find either C:DBINBOUND188f5900.tos or
    C:DBINBOUND188f5900.tos.zip my unpack statement looks like unpack
    "unzip -j -Loqq $a $f -d $p" 0 504b0304

    any ideas??

    Replace unzip with echo and add a redirection >>
    show_the_real_thing.txt. Then replace echo with pwd to see the real working directory. Oh wait, pwd should be there where the txt file is found.

    A workaround would be to create a unzip.cmd script that set all path manually and use that unzip.cmd in the packer definition. Bad idea
    because other tools could fail with the broken path too.

    Regards

    Kai

    Thank for that idea, I did create an unzip.cmd which then echo the cmdline to a log file...
    the problem, was not using \\ in the hptconfig
    I had C:\DB\INBOUND where it should have been C:\\DB\\INBOUND\\

    Thank you everyone for your help

    Michael

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Our Awesome Net - Portland, OR - awesome.abon.us (1:105/81)