Re: Is there a problem with FordEvents and latest Sierra????
Re: Is there a problem with FordEvents and latest Sierra????
- Subject: Re: Is there a problem with FordEvents and latest Sierra????
- From: Brian Christmas <email@hidden>
- Date: Fri, 18 Aug 2017 21:34:24 +1000
G’day all
Shane, thank you for the code, and advice.
Sorry about delaying in answering. Family visited, Grandkids staying.
I ran your sample code, and it ran flawlessly.
I accordingly simplified my own code, but with the same error.
testing Shane's script *** -[AppDelegate NSLog]: unrecognized selector sent to
object <AppDelegate @0x61000022ff00: OSAID(4) ComponentInstance(0xdf0000)>
error number -10000 p = 101
So, I believe it’s something to do with the way I’m setting up the myDict
dictionary. It runs fine on first pass, when there’s no entries in each of the
two tables, but errors as soon as I add an entry.
All the variables are saved OK on first pass, including for the two variables
representing the Array Controllers, (jobINKey, jobOUTKey), which save OK as
‘{}’..
On looking at the log, my belief is that the variable for the Cicle images
might be to blame. I cannot find anything in ‘Explored’ on saving variables
representing images, (‘SENT’, & ‘Started’), so don’t know if or what approach
I should take, to test for both save and read. The ‘JobINKey’ is the only key
that’s different between saving with empty tables, and trying to save with
single line entry Table.
property redCircle : missing value
property greenCircle : missing value
property plainCircle : missing value
I imagine I’d convert the variables to text, and reset on reading the .plist,
but am following your suggestion not to guess what I’m doing. Is there a magic
approach? Haven’t had time to Google, to be honest.
Regards
Santa
The log….
2017-08-18 21:04:31.831427+1000 Mail Manager Production Reporter[25484:6239999]
{
daysToRemoveKey = 4;
jobINKey = (
{
BarcodeName = "20170814002039Z-29";
JobDetails = "Accounts file could not be read.";
JobINTime = "2017-08-18 11:04:28 +0000";
JobOUTTime = "";
SENT = "<NSImage 0x61800007fec0 Name=PlainCircle Size={11.52,
11.52} Reps=(\n \"NSBitmapImageRep 0x6180000aafe0 Size={11.52, 11.52}
ColorSpace=sRGB IEC61966-2.1 colorspace BPS=8 BPP=32 Pixels=24x24 Alpha=YES
Planar=NO Format=2 CurrentBacking=<CGImageRef: 0x6180001c4560>
CGImageSource=0x618000032580\"\n)>";
Started = "<NSImage 0x61800007fec0 Name=PlainCircle Size={11.52,
11.52} Reps=(\n \"NSBitmapImageRep 0x6180000aafe0 Size={11.52, 11.52}
ColorSpace=sRGB IEC61966-2.1 colorspace BPS=8 BPP=32 Pixels=24x24 Alpha=YES
Planar=NO Format=2 CurrentBacking=<CGImageRef: 0x6180001c4560>
CGImageSource=0x618000032580\"\n)>";
imageHeight = 0;
imageWidth = 0;
}
);
jobOUTKey = (
);
saveToAccountancyPathKey = "";
stationNameKey = "";
unitsOfMeasurementKey = "";
usesMeasurementsKey = false;
}
(lldb)
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden