1 (edited by joe 2010-10-31 10:38:43)

Topic: Error message

I got this attached error message, when I accidentially wrote (-a)^(0.5), as a costum function, and "a" was a positive number. After this I was unable to open the program. I've tried something similar before, but it has always worked just closing and then opening the program again, this time though I had to uninstall and reinstall the program. I don't know if it's information you could use er already know, but it would sure be nice, if Grapher would just print a warning instead of shutting down(: Apart from that, I'm very impressed with the program, and how light it is, and I must say I havn't been able to find any program, that can do what this program does.

Post's attachments

Attachment icon error.bmp 90.12 kb, 609 downloads since 2010-10-31 

Re: Error message

I have tried to reproduce the error without success. It does look a little strange, because as you say it should not be necessary to reinstall Graph, and the error message you got should not be possible.

It would be great if you can tell me exactly how to reproduce the problem.

Re: Error message

Actually, I can't reproduce the error now either, but I can reproduce other errors that I've seen many times before, when I did following:
The case was this: (4b^2-12ac)^(0.5)
What happened was, that I made the base lower than zero, and this resulted in what I've attached as the First error (which I know is supposed to be displayed).
For example I would change the value of "c", so that 4b^2 < 12ac. I should tell you though that the actual values you see in Custom Functions.bmp is very different from the values I had used when I wrote about the error I described in the first message i posted, and sadly I haven't got the original data. Nevertheless when I've now tried to reproduce the original error I've experienced another weird thing.
For example I change c=(-1/30) to c=30, and I, of course, receive the first error. Then I click OK in the error-box and Annuller (Cancel) in the Custom Functions-box, and obviously nothing has changed from this.
Then I go to the Custom Functions-box where all my values are back to normal since I clicked Cancel and I can conclude that whatever change I make here (in this case I just added the constant n=2), I'm stopped by the second error, and I have to close and open the program to be able to make changes in the Custom Functions-box again.
I also noticed that if I didn't close and just repeated clicking OK in the Custom Functions-box the error message sometimes changes in the last part of the phrase as in Second error(2). And actually if I repeat clicking OK also this Third error pupped up one time randomly. The digits in the last part of Second error and Second error(2) also changes randomly to for example:
00000065
0000001C
and maybe others (I know it may not seem like it but I also do stuff apart from crash-testing), and will sometimes shut down when I do it long enough, just leaving me with the usual Windows-error that asks if I want to report the error to Microsoft. Usually though I see the error displayed in Second error.bmp when I repeat clicking OK. I'm testing as I sit here and this fourth error also just pupped up randomly:

Fejl 75: Ugyldigt navn %s til brugerdefineret funktion eller konstant.
Navne på brugerdefinerede funktioner og konstanter skal begynde med et bogstav og må kun indeholde bogstaver og tal. Du kan ikke bruge navne, som allerede er tildelt indbyggede funktioner og konstanter.

Just so you are still following me all these messages are displayed, while c=30, and I keep click OK ignoring the first message that actually tells me what the problem is. Therefore even though it's normal errors they should be displayed at this time. Finally I got this last error that I've also seen before, which actually closes the program completely and by this I mean it closes every grf window open at the time. I'll send it in the next message along with the .grf I'm working with.

Post's attachments

Attachment icon Costum Functions.bmp 503.66 kb, 599 downloads since 2010-10-31 

Attachment icon First error.bmp 95.21 kb, 577 downloads since 2010-10-31 

Attachment icon Second error(2).bmp 171.79 kb, 566 downloads since 2010-10-31 

Attachment icon Second error.bmp 172.81 kb, 556 downloads since 2010-10-31 

Attachment icon Third error.bmp 77.32 kb, 558 downloads since 2010-10-31 

Re: Error message

I just noticed that I can't even save my work or close the program even if only the First error that is supposed to show, pups up, and this implies that I have to copy-paste, the entire plot to antoher grf window, then save that one and then close the program from Joblisten (Ctrl + Alt + Del). This Last error has also just shown up, specificly when i try to close the program or save my work, in both cases this error is eventually replaced with Error.bmp and the program will close. So as it is now, I usually save before changing my custom functions. I'm rarely bothered by any of this, but I really like this program and I'm glad if i can be of any help improving it. I used another computer when the error that I posted in the first message were displayed, so i will do some more testing on that one, when I have the opportunity.

I hope some of this information is usefull, even though I've not been able to reproduce the first described error.

Jeg skriver iøvrigt udelukkende på engelsk endnu, fordi andre skal kunne forstå det. Jeg antager du er dansker siden det er en .dk side og dit navn antyder det?

Post's attachments

Attachment icon Error.bmp 73.28 kb, 577 downloads since 2010-11-01 

Attachment icon Graph plot.grf 4.71 kb, 587 downloads since 2010-11-01 

Attachment icon Last error.bmp 74.26 kb, 613 downloads since 2010-11-01 

Re: Error message

Thanks a lot for the improved error description. I will look into these and try to fix them. I am not home the rest of the week, so it might be a while before I get back to you.

By the way, have you tried the beta version of Graph 4.4? Some of the problems you experience might have been fixed already.

And yes, I am Danish. smile
But as you said, it is probably best to keep the language in English if possible so other have a chance to comment.

Re: Error message

I just thought of the same thing yesterday, so I'll check if that's the case.
Vi snakkes(;

Re: Error message

I have now managed to reproduce the described problem with Graph 4.3. Fortunately it seems to have been solved already in the beta version of Graph 4.4 as I cannot reproduce it with the beta version.

Re: Error message

Problems solved.

thanks