OS/2, eCS & ArcaOS - Technical > Applications

ANPM - YUM error. [Errno 256] No more mirrors to try

<< < (2/2)

Dariusz Piatkowski:

--- Quote from: JPM on February 16, 2023, 06:08:22 pm ---After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;


Anyone an idea?

--- End quote ---

Turn on the debug logging: use "/DEB" as a parameter, as per the ReadMe:


--- Quote ---...
PROGRAM PARAMETERS

/NOP  No Progress bar
   Disables display of progress bars.

/DUP  Show Duplicate packages
   Allows the display of duplicate packages (multiple architectures)
   in lists. (Normally, only those packages which most closely match
   the configured platform - i386, i686, pentium4 - or marked "noarch"
   are shown.)

/DEB  Debug
   Include more information in %LOGFILES%\ANPM.LOG (useful for troubleshooting)
...

--- End quote ---

Alex Taylor:

--- Quote from: JPM on February 16, 2023, 06:08:22 pm ---After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;

Anyone an idea?

--- End quote ---

I don't see any obvious reason for that crash. Are you, by any chance, running a non-default REXX interpreter (e.g. Object REXX), or a non-default system shell (e.g. 4OS/2)?

JPM:
Thank you for the answers. Here is the Debug Log:

----------[ ANPM 1.1 (202212271) started in debug mode: 17 Feb 2023 10:49:54 ]----------
[InitSpecialProcessing] Setting globals.!proclist_uri = "http://repos.arcanoae.com/anpm/pkgproc_url 2"
[InitSpecialProcessing] Setting globals.!needsboot = "libc libcx libgcc1 libgcc freetype fontconfig"
[InitSpecialProcessing] Setting globals.!priority1 = "libc libcx libgcc1 libgcc python2-rpm"
[InitSpecialProcessing] Setting globals.!priority2 = "python"
[InitSpecialProcessing] Setting globals.!priority3 = "rpm yum"
[InitSpecialProcessing] Setting globals.!priority4 = "os2-base"
[InitSpecialProcessing] Setting globals.!priority5 = "os2-mpts"

The same problem occurs with a fresh installation of ArcaOS 5.0.7.

Alex Taylor:

--- Quote from: JPM on February 17, 2023, 11:54:06 am ---Thank you for the answers. Here is the Debug Log:

----------[ ANPM 1.1 (202212271) started in debug mode: 17 Feb 2023 10:49:54 ]----------
[InitSpecialProcessing] Setting globals.!proclist_uri = "http://repos.arcanoae.com/anpm/pkgproc_url 2"
[InitSpecialProcessing] Setting globals.!needsboot = "libc libcx libgcc1 libgcc freetype fontconfig"
[InitSpecialProcessing] Setting globals.!priority1 = "libc libcx libgcc1 libgcc python2-rpm"
[InitSpecialProcessing] Setting globals.!priority2 = "python"
[InitSpecialProcessing] Setting globals.!priority3 = "rpm yum"
[InitSpecialProcessing] Setting globals.!priority4 = "os2-base"
[InitSpecialProcessing] Setting globals.!priority5 = "os2-mpts"

The same problem occurs with a fresh installation of ArcaOS 5.0.7.

--- End quote ---

Whatever is triggering this error, it doesn't seem to be coming from within ANPM. I can only surmise something is wrong on your system, but it's hard to say what. I suggest you open a ticket with Arca Noae, and include both the ANPM debug log, and (as per standard procedure) a TestLog of your system.

JPM:
Thanks, the problem seems to be with my installation on Parallels. It works on bare metal.

Navigation

[0] Message Index

[*] Previous page

Go to full version