RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Community Support →

Mixing with the wrong sort

Subscribe to Mixing with the wrong sort 2 posts, 2 voices

 
Jan 21, 2021 6:30pm
Avatar John Rickman (71) 259 posts

Yesterday, SiteMatch failed to finish loading on my ARMX6.
After a power Power off and a good night’s sleep the problem persisted.

With the help of Reporter I have traced the problem to a clash of names.

After SiteMatch reads in the site data it issues a *sort command to sort the data by date. SiteMatch is expecting the *sort command to be actioned by Martin Avison’s ArmSort.
However, on my machine it tries to use the sort from !CoreUtils and goes into a loop.


…..
Trace @ ¦ ENDPROC
Trace @ ¦ENDPROC
Trace @ ENDPROC
17:38:19.33 Sort P% cpath$() cstamp%(e) csize%(e)
17:38:19.33 WimpSlot -min 381k
17:38:19.33 Run SCSI::SSD.$.Apps.Utilities.!CoreUtils.sort
P% cpath$() cstamp%(e) csize%(e)
17:38:19.34 RMEnsure SharedUnixLibrary 1.07
…..

I don’t know the best way to fix this apart from uninstalling !CoreUtils, but then !Bash would have to go as well as it is not a lot of good on its own.

 
Jan 21, 2021 10:18pm
Avatar Martin Avison (27) 1081 posts

That prompted me to investigate what official allocations I had for ArmSort. It was originally written in 1990 when I replaced my BBC with a super fast RiscPC! I have found an Allocations file and an acceptance email, dated 2005, which includes the entry for a StarCmd of Sort. So I can claim that ArmSort has the moral high ground. It is used in many applications – including SiteMatch.

However, that does not solve your problem. Can the author of CoreUtils change the name of the command used? Is there any way to direct a command to a particular module? Is there any other way?

Reply

To post replies, please first log in.

Forums → Community Support →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

Community-provided support for all users of RISC OS.

Voices

  • John Rickman (71)
  • Martin Avison (27)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys