Instance error

Mac OSX specific forum
WilliamL
Addict
Addict
Posts: 1224
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Instance error

Post by WilliamL »

Here's an odd one. I've spent a couple of hours trying to figure out what I could take out of my program to eliminate this error. I can load files all day, in my code, until I go to print out the file then I, after printing the image, if I try to load a file again I get this error (I've also managed to get an IMA error).
[15:55:53] [ERROR] [NSRectSet isDrawingToScreen]: unrecognized selector sent to instance 0x101988020
at the code line

Code: Select all

filename$=OpenFileRequester("Load .PChart file...","Linking Ovals.PChart","",0)
What is even odder is that if I click on a .txt file there is no problem but as soon as I click on a .pchart file I get the error (I haven't even hit the 'load' button yet!

if I take out his line, in the print routine (may have nothing to do with anything)

Code: Select all

tempimage=CopyImage(imageid,#PB_Any)
I can load files again. (of course print doesn't work now)

I know this isn't much to go on... but the program runs fine in 4.61x86...

Image
MacBook Pro-M1 (2021), Sonoma 14.4.1, PB 6.10LTS M1
Fred
Administrator
Administrator
Posts: 16690
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: 5.10b2 - instance error

Post by Fred »

Unfortunately it's very hard for us to work on such bug, as we don't have enough informations.
Fred
Administrator
Administrator
Posts: 16690
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: 5.10b2 - instance error

Post by Fred »

Any chance to get more precise report ?
WilliamL
Addict
Addict
Posts: 1224
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: 5.10b2 - instance error

Post by WilliamL »

I just tried the sequence that I reported above with 5.20b5x64 and got the same IMA error with three tries. It really is odd that the error appears when just clicking on the 'OpenFileRequester' window (and on a .pchart suffix). Ok, 4th try and a new error!
[ERROR] -[CFPrefsSearchListSource restoreGraphicsState]: unrecognized selector sent to instance 0x102116f30
I don't know what else to do so I hope this report helps. I know it's not much and I can live with it until it becomes more obvious.
MacBook Pro-M1 (2021), Sonoma 14.4.1, PB 6.10LTS M1
Fred
Administrator
Administrator
Posts: 16690
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: 5.10b2 - instance error

Post by Fred »

Unfortunately, we need more info to look at this issue
WilliamL
Addict
Addict
Posts: 1224
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: 5.10b2 - instance error

Post by WilliamL »

It's been too long. I must have found a work-around because I'm still using the program. I agree, it wasn't enough information to work with.
MacBook Pro-M1 (2021), Sonoma 14.4.1, PB 6.10LTS M1
Fred
Administrator
Administrator
Posts: 16690
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Instance error

Post by Fred »

Moved to OSX forum for reference if something similar happens
Post Reply