[photodesk] Re: Photodesk bug on Pi4?

  • From: "george greenfield" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "george.greenfieldbt" for DMARC)
  • To: photodesk@xxxxxxxxxxxxx
  • Date: Tue, 20 Oct 2020 12:09:20 +0100

In message <141e284f-fe4b-a2b4-edcd-f268b961cce5@xxxxxxxxxxxx>
          "David J. Ruck" <druck@xxxxxxxxxxxx> wrote:

Hi David,

Nice to hear from you. I didn't find the Freelists site particularly 
user-friendly, and wondered if I'd ever hear from anyone on the list!

On 19/10/2020 22:56, george greenfield (Redacted sender
george.greenfieldbt for DMARC) wrote:
I'm running Photodesk 3.14 on a Pi4. If I Menu 'Preferences' and attempt
to adjust the Image Cache size, Photodesk crashes with an irrecoverable
error, and has to be quit. Is this a known bug, and if so is there any
workaround?

As a matter of interest, how much memory does the Pi4 have?

4GB

Also is it set up to use a Dynamic Area or the Wimpslot?

WimpSlot -min 1228K -max 1228K

(The value of Photodesk$DynamicAreaSize in !Run)

256

For your info, I've attached !Run as a textfile.

Also, I've actually solved the issue in question by hand-editing 
Photodesk's Resources.User.Preference file to up the Image Cache to 
200000K.

George

Cheers
---David


-- 
George

Reply to: george.greenfieldbt@xxxxxxxxxxxxxx
| PhotoDesk 3.14 !Run file
| ========================
| (c) spacetech 1996, 4D 2008-16

| Check for at least RISC OS 3.5
RMEnsure UtilityModule 3.50 Error This application is only suitable for use 
with RISC OS 3.50 or later versions
IF "<Wimp$ScrapDir>"="" THEN Error The !Scrap application needs to be available 
on your hard disc before this program will run.

Set Photodesk$Dir <Obey$Dir>
Set P$D <Obey$Dir>
WimpSlot -min 32K -max 32K

Run <Photodesk$Dir>.TaskEnsure Photodesk
Run <Photodesk$Dir>.TaskEnsure PhotoDesk
Run <PhotoDesk$Dir>.TaskEnsure PhDeskDMO

Set Photodesk$VMDir <Wimp$ScrapDir>
|Set Photodesk$VMDir <Photodesk$Dir>

|For networked or locked machines with resources held in !PDres...
|Set Photodesk$Resources <PDres$Dir>.Resources

|For resources held within !Photodesk...
Set Photodesk$Resources <Photodesk$Dir>.Resources

Set Photodesk$Options -s 1

| Maximum size of the Image Cache dynamic area in MB
| if not overloaded from PD preferences.
| 0 for no DA; Image Cache in Wimp slot
Set PhotoDesk$DynamicAreaSize 256

IF "<TWAIN$Path>"<>"" THEN RMLoad <Photodesk$Dir>.Modules.TwainPDIF

Run <Photodesk$Dir>.ResrcBoot

|The following sets variable PDterr with the current territory number as
|string; defaults to 1 if an approbiate dir is not found within
|<Photodesk$Dir>.Resources.Territory. An amended utility ind could look for
|<Photodesk$Resources>.Territory.<PDterr>.Templates|Messages.
|At present this is only used in !RunImage
Run <Photodesk$Dir>.Utilities.SterrStr
|
Iconsprites <Photodesk$Dir>.!Sprites22
Iconsprites <Photodesk$Dir>.Icons

|Ensure there are no Mods left from an interrupted session (dt 2008)
IFthere <Photodesk$VMDir>.Photodesk2.Clipboard! Then Obey 
<Photodesk$Dir>.KillPDmods

RMEnsure UtilityModule  4.42 RMEnsure CallASWI 0.03 RMLoad 
System:Modules.CallASWI
RMEnsure UtilityModule  4.42 RMEnsure CallASWI 0.03 Error This application 
requires CallASWI 0.03 or later
RMEnsure FPEmulator     4.03 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator     4.03 Error This application requires FPEmulator 4.03 or 
later
RMEnsure SharedCLibrary 5.34 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.34 Error This application requires SharedCLibrary 
5.34 or later
RMEnsure PhotoCD        0.23 RMLoad <Photodesk$Dir>.Modules.PhotoCD
RMEnsure ColourPicker   0.14 RMLoad <Photodesk$Dir>.Modules.Picker
RMLoad <Photodesk$Dir>.Modules.Photodesk

WimpSlot -min 1228K -max 1228K

Run <Photodesk$Dir>.!Runimage %*0

Other related posts: