Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13373 > unrolled thread

limit exceeded

Started byaurora baccio <aurorabaccio@gmail.com>
First post2021-07-09 07:12 -0700
Last post2021-07-10 12:16 +0200
Articles 10 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  limit exceeded aurora baccio <aurorabaccio@gmail.com> - 2021-07-09 07:12 -0700
    Re: limit exceeded Franz Rachbauer <office@rachbauer.org> - 2021-07-09 17:25 +0200
      Re: limit exceeded aurora baccio <aurorabaccio@gmail.com> - 2021-07-09 08:40 -0700
        Re: limit exceeded Franz Rachbauer <office@rachbauer.org> - 2021-07-09 19:03 +0200
          Re: limit exceeded aurora baccio <aurorabaccio@gmail.com> - 2021-07-09 23:21 -0700
            Re: limit exceeded JohnMartens <martens@tennishulp.info> - 2021-07-10 08:41 +0200
              Re: limit exceeded aurora baccio <aurorabaccio@gmail.com> - 2021-07-10 03:20 -0700
                Re: limit exceeded aurora baccio <aurorabaccio@gmail.com> - 2021-07-11 00:58 -0700
                  Re: limit exceeded JohnMartens <martens@tennishulp.info> - 2021-07-11 13:36 +0200
            Re: limit exceeded Franz Rachbauer <office@rachbauer.org> - 2021-07-10 12:16 +0200

#13373 — limit exceeded

Fromaurora baccio <aurorabaccio@gmail.com>
Date2021-07-09 07:12 -0700
Subjectlimit exceeded
Message-ID<dbb39761-6f9f-42de-a5dd-f0dfe2c52e6an@googlegroups.com>
Good afternoon,
Sorry to bother you again.
what does the following error message mean?
limit exceedec
kid stack size limit exceeded
patients_brose:dispactch() line 8
Here is line 8 of the dispach method
nReturn := SUPER:Dispatch(oE)
This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
Thanks
Aurora Baccio

[toc] | [next] | [standalone]


#13374

FromFranz Rachbauer <office@rachbauer.org>
Date2021-07-09 17:25 +0200
Message-ID<sc9poo$e5g$1@gioia.aioe.org>
In reply to#13373
Hi Aurora,
please look at
https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1
It seems that app is in a loop.
Regards, Franz

Am 09.07.2021 um 16:12 schrieb aurora baccio:
> Good afternoon,
> Sorry to bother you again.
> what does the following error message mean?
> limit exceedec
> kid stack size limit exceeded
> patients_brose:dispactch() line 8
> Here is line 8 of the dispach method
> nReturn := SUPER:Dispatch(oE)
> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
> Thanks
> Aurora Baccio
> 

[toc] | [prev] | [next] | [standalone]


#13375

Fromaurora baccio <aurorabaccio@gmail.com>
Date2021-07-09 08:40 -0700
Message-ID<4c5dcb2d-5f2c-4596-bf66-0bc3db17c03bn@googlegroups.com>
In reply to#13374
Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto:
> Hi Aurora, 
> please look at 
> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1 
> It seems that app is in a loop. 
> Regards, Franz
> Am 09.07.2021 um 16:12 schrieb aurora baccio: 
> > Good afternoon, 
> > Sorry to bother you again. 
> > what does the following error message mean? 
> > limit exceedec 
> > kid stack size limit exceeded 
> > patients_brose:dispactch() line 8 
> > Here is line 8 of the dispach method 
> > nReturn := SUPER:Dispatch(oE) 
> > This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application. 
> > I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ? 
> > Thanks 
> > Aurora Baccio 
> >
I understand and the type of error and thank you.
I must also add that it is not reported in VOerrore.log.
but what does it mean :
You need to be throwing a calling stack on entry to where-ever this is
happening.
thanks
Aurora Baccio

[toc] | [prev] | [next] | [standalone]


#13376

FromFranz Rachbauer <office@rachbauer.org>
Date2021-07-09 19:03 +0200
Message-ID<sc9vgk$156h$1@gioia.aioe.org>
In reply to#13375
You have a function or event which calls itself in a loop
Ensure that your recursive code has a base case which is able to be met 
so it never loops.

global glExit := FALSE as logic
do while TRUE
    if glExit
       // Do something to exit loop
    endif
    glExit := TRUE
enddo

Am 09.07.2021 um 17:40 schrieb aurora baccio:
> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto:
>> Hi Aurora,
>> please look at
>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1
>> It seems that app is in a loop.
>> Regards, Franz
>> Am 09.07.2021 um 16:12 schrieb aurora baccio:
>>> Good afternoon,
>>> Sorry to bother you again.
>>> what does the following error message mean?
>>> limit exceedec
>>> kid stack size limit exceeded
>>> patients_brose:dispactch() line 8
>>> Here is line 8 of the dispach method
>>> nReturn := SUPER:Dispatch(oE)
>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
>>> Thanks
>>> Aurora Baccio
>>>
> I understand and the type of error and thank you.
> I must also add that it is not reported in VOerrore.log.
> but what does it mean :
> You need to be throwing a calling stack on entry to where-ever this is
> happening.
> thanks
> Aurora Baccio
> 

[toc] | [prev] | [next] | [standalone]


#13378

Fromaurora baccio <aurorabaccio@gmail.com>
Date2021-07-09 23:21 -0700
Message-ID<c4e9eadb-363f-493a-967e-ce3bd2469880n@googlegroups.com>
In reply to#13376
Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto:
> You have a function or event which calls itself in a loop 
> Ensure that your recursive code has a base case which is able to be met 
> so it never loops. 
> 
> global glExit := FALSE as logic 
> do while TRUE 
> if glExit 
> // Do something to exit loop 
> endif 
> glExit := TRUE 
> enddo
> Am 09.07.2021 um 17:40 schrieb aurora baccio: 
> > Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto: 
> >> Hi Aurora, 
> >> please look at 
> >> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1 
> >> It seems that app is in a loop. 
> >> Regards, Franz 
> >> Am 09.07.2021 um 16:12 schrieb aurora baccio: 
> >>> Good afternoon, 
> >>> Sorry to bother you again. 
> >>> what does the following error message mean? 
> >>> limit exceedec 
> >>> kid stack size limit exceeded 
> >>> patients_brose:dispactch() line 8 
> >>> Here is line 8 of the dispach method 
> >>> nReturn := SUPER:Dispatch(oE) 
> >>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application. 
> >>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ? 
> >>> Thanks 
> >>> Aurora Baccio 
> >>> 
> > I understand and the type of error and thank you. 
> > I must also add that it is not reported in VOerrore.log. 
> > but what does it mean : 
> > You need to be throwing a calling stack on entry to where-ever this is 
> > happening. 
> > thanks 
> > Aurora Baccio 
> >


thank you for your reply and example.
this is the code where the error is reported, line 8

1)METHOD Dispatch(oE) CLASS WindowPatients_Browse
2)	
3)	// this method is fundamental to handle all the events of the window of
4)	// membership keep it in mind !!!! is outstanding
5)	LOCAL nRETURN as int
6)	STATIC cLastKey := "" as STRING
7)
8)	nReturn := SUPER:Dispatch(oE)
9)
10)		IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer
11)			self:oDCCerca <> null_object .and. ; // the control has already been created	
12)			Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed
13)			cLastKey := FabAllTrim(self:oDCCerca:TEXTValue)   
14)			
15)			self:oSF_WindowPatients_Browse:Server:SetOrder(2)
16)			// execute the search
17)			self:oSF_WindowPatients_Browse:Server:Seek(cLastKey)
18)			
19)			IF self:oSF_FWindowPatients_Browse:Server:EOF
20)				Tone(800,3)
21)				self:oSF_FWindowPatients_Browse:Server:GOTOP()
22)			ENDIF
23)	
 24)       ENDIF
25)	RETURN nRETURN

I must then create a global variable glexit := false as logic
the control should be inserted where ?
Could you be more precise?
thanks
Aurora Baccio

[toc] | [prev] | [next] | [standalone]


#13379

FromJohnMartens <martens@tennishulp.info>
Date2021-07-10 08:41 +0200
Message-ID<scbfek$sff$1@dont-email.me>
In reply to#13378
I never use a timer in a dispatch. Maybe that's because there can be a 
new call tot the dispatch method where a new timer will be started.

I'm using SELF:RegisterTimer(1,FALSE) eg in the start of a longer method 
where you want to show progress indicator every second.

Using METHOD Timer() CLASS MyWindowClass will then handle the timer.
In this case I'm sure that there is only one timer up and running.

Other VO guru's will be able to give you more info but I think at my 
habit of setting timers has find it's origin 15+ yrs ago in some solid 
VO guru advice.

John



Op 10-7-2021 om 08:21 schreef aurora baccio:
> Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto:
>> You have a function or event which calls itself in a loop
>> Ensure that your recursive code has a base case which is able to be met
>> so it never loops.
>>
>> global glExit := FALSE as logic
>> do while TRUE
>> if glExit
>> // Do something to exit loop
>> endif
>> glExit := TRUE
>> enddo
>> Am 09.07.2021 um 17:40 schrieb aurora baccio:
>>> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto:
>>>> Hi Aurora,
>>>> please look at
>>>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1
>>>> It seems that app is in a loop.
>>>> Regards, Franz
>>>> Am 09.07.2021 um 16:12 schrieb aurora baccio:
>>>>> Good afternoon,
>>>>> Sorry to bother you again.
>>>>> what does the following error message mean?
>>>>> limit exceedec
>>>>> kid stack size limit exceeded
>>>>> patients_brose:dispactch() line 8
>>>>> Here is line 8 of the dispach method
>>>>> nReturn := SUPER:Dispatch(oE)
>>>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
>>>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
>>>>> Thanks
>>>>> Aurora Baccio
>>>>>
>>> I understand and the type of error and thank you.
>>> I must also add that it is not reported in VOerrore.log.
>>> but what does it mean :
>>> You need to be throwing a calling stack on entry to where-ever this is
>>> happening.
>>> thanks
>>> Aurora Baccio
>>>
> 
> 
> thank you for your reply and example.
> this is the code where the error is reported, line 8
> 
> 1)METHOD Dispatch(oE) CLASS WindowPatients_Browse
> 2)	
> 3)	// this method is fundamental to handle all the events of the window of
> 4)	// membership keep it in mind !!!! is outstanding
> 5)	LOCAL nRETURN as int
> 6)	STATIC cLastKey := "" as STRING
> 7)
> 8)	nReturn := SUPER:Dispatch(oE)
> 9)
> 10)		IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer
> 11)			self:oDCCerca <> null_object .and. ; // the control has already been created	
> 12)			Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed
> 13)			cLastKey := FabAllTrim(self:oDCCerca:TEXTValue)
> 14)			
> 15)			self:oSF_WindowPatients_Browse:Server:SetOrder(2)
> 16)			// execute the search
> 17)			self:oSF_WindowPatients_Browse:Server:Seek(cLastKey)
> 18)			
> 19)			IF self:oSF_FWindowPatients_Browse:Server:EOF
> 20)				Tone(800,3)
> 21)				self:oSF_FWindowPatients_Browse:Server:GOTOP()
> 22)			ENDIF
> 23)	
>   24)       ENDIF
> 25)	RETURN nRETURN
> 
> I must then create a global variable glexit := false as logic
> the control should be inserted where ?
> Could you be more precise?
> thanks
> Aurora Baccio
> 

[toc] | [prev] | [next] | [standalone]


#13381

Fromaurora baccio <aurorabaccio@gmail.com>
Date2021-07-10 03:20 -0700
Message-ID<a4d2e8cf-fd55-4584-b575-a6c24ecb8f29n@googlegroups.com>
In reply to#13379
Il giorno sabato 10 luglio 2021 alle 08:41:25 UTC+2 JohnMartens ha scritto:
> I never use a timer in a dispatch. Maybe that's because there can be a 
> new call tot the dispatch method where a new timer will be started. 
> 
> I'm using SELF:RegisterTimer(1,FALSE) eg in the start of a longer method 
> where you want to show progress indicator every second. 
> 
> Using METHOD Timer() CLASS MyWindowClass will then handle the timer. 
> In this case I'm sure that there is only one timer up and running. 
> 
> Other VO guru's will be able to give you more info but I think at my 
> habit of setting timers has find it's origin 15+ yrs ago in some solid 
> VO guru advice. 
> 
> John 
> 
> 
> 
> Op 10-7-2021 om 08:21 schreef aurora baccio:
> > Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto: 
> >> You have a function or event which calls itself in a loop 
> >> Ensure that your recursive code has a base case which is able to be met 
> >> so it never loops. 
> >> 
> >> global glExit := FALSE as logic 
> >> do while TRUE 
> >> if glExit 
> >> // Do something to exit loop 
> >> endif 
> >> glExit := TRUE 
> >> enddo 
> >> Am 09.07.2021 um 17:40 schrieb aurora baccio: 
> >>> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto: 
> >>>> Hi Aurora, 
> >>>> please look at 
> >>>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1 
> >>>> It seems that app is in a loop. 
> >>>> Regards, Franz 
> >>>> Am 09.07.2021 um 16:12 schrieb aurora baccio: 
> >>>>> Good afternoon, 
> >>>>> Sorry to bother you again. 
> >>>>> what does the following error message mean? 
> >>>>> limit exceedec 
> >>>>> kid stack size limit exceeded 
> >>>>> patients_brose:dispactch() line 8 
> >>>>> Here is line 8 of the dispach method 
> >>>>> nReturn := SUPER:Dispatch(oE) 
> >>>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application. 
> >>>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ? 
> >>>>> Thanks 
> >>>>> Aurora Baccio 
> >>>>> 
> >>> I understand and the type of error and thank you. 
> >>> I must also add that it is not reported in VOerrore.log. 
> >>> but what does it mean : 
> >>> You need to be throwing a calling stack on entry to where-ever this is 
> >>> happening. 
> >>> thanks 
> >>> Aurora Baccio 
> >>> 
> > 
> > 
> > thank you for your reply and example. 
> > this is the code where the error is reported, line 8 
> > 
> > 1)METHOD Dispatch(oE) CLASS WindowPatients_Browse 
> > 2) 
> > 3) // this method is fundamental to handle all the events of the window of 
> > 4) // membership keep it in mind !!!! is outstanding 
> > 5) LOCAL nRETURN as int 
> > 6) STATIC cLastKey := "" as STRING 
> > 7) 
> > 8) nReturn := SUPER:Dispatch(oE) 
> > 9) 
> > 10) IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer 
> > 11) self:oDCCerca <> null_object .and. ; // the control has already been created 
> > 12) Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed 
> > 13) cLastKey := FabAllTrim(self:oDCCerca:TEXTValue) 
> > 14) 
> > 15) self:oSF_WindowPatients_Browse:Server:SetOrder(2) 
> > 16) // execute the search 
> > 17) self:oSF_WindowPatients_Browse:Server:Seek(cLastKey) 
> > 18) 
> > 19) IF self:oSF_FWindowPatients_Browse:Server:EOF 
> > 20) Tone(800,3) 
> > 21) self:oSF_FWindowPatients_Browse:Server:GOTOP() 
> > 22) ENDIF 
> > 23) 
> > 24) ENDIF 
> > 25) RETURN nRETURN 
> > 
> > I must then create a global variable glexit := false as logic 
> > the control should be inserted where ? 
> > Could you be more precise? 
> > thanks 
> > Aurora Baccio 
> >

good morning,
thank you for your reply.
One question, the last one, and one request.
Can the error be due to the fact that the timer is not closed at the end of the procedure, so it always remains open?
the request: could you send me the methods you recommended for a test?
Thank you
Aurora Baccio

[toc] | [prev] | [next] | [standalone]


#13382

Fromaurora baccio <aurorabaccio@gmail.com>
Date2021-07-11 00:58 -0700
Message-ID<ae8ab22e-2b07-4f81-adf6-253f2c488717n@googlegroups.com>
In reply to#13381
Il giorno sabato 10 luglio 2021 alle 12:20:56 UTC+2 aurora baccio ha scritto:
> Il giorno sabato 10 luglio 2021 alle 08:41:25 UTC+2 JohnMartens ha scritto: 
> > I never use a timer in a dispatch. Maybe that's because there can be a 
> > new call tot the dispatch method where a new timer will be started. 
> > 
> > I'm using SELF:RegisterTimer(1,FALSE) eg in the start of a longer method 
> > where you want to show progress indicator every second. 
> > 
> > Using METHOD Timer() CLASS MyWindowClass will then handle the timer. 
> > In this case I'm sure that there is only one timer up and running. 
> > 
> > Other VO guru's will be able to give you more info but I think at my 
> > habit of setting timers has find it's origin 15+ yrs ago in some solid 
> > VO guru advice. 
> > 
> > John 
> > 
> > 
> > 
> > Op 10-7-2021 om 08:21 schreef aurora baccio: 
> > > Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto: 
> > >> You have a function or event which calls itself in a loop 
> > >> Ensure that your recursive code has a base case which is able to be met 
> > >> so it never loops. 
> > >> 
> > >> global glExit := FALSE as logic 
> > >> do while TRUE 
> > >> if glExit 
> > >> // Do something to exit loop 
> > >> endif 
> > >> glExit := TRUE 
> > >> enddo 
> > >> Am 09.07.2021 um 17:40 schrieb aurora baccio: 
> > >>> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto: 
> > >>>> Hi Aurora, 
> > >>>> please look at 
> > >>>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1 
> > >>>> It seems that app is in a loop. 
> > >>>> Regards, Franz 
> > >>>> Am 09.07.2021 um 16:12 schrieb aurora baccio: 
> > >>>>> Good afternoon, 
> > >>>>> Sorry to bother you again. 
> > >>>>> what does the following error message mean? 
> > >>>>> limit exceedec 
> > >>>>> kid stack size limit exceeded 
> > >>>>> patients_brose:dispactch() line 8 
> > >>>>> Here is line 8 of the dispach method 
> > >>>>> nReturn := SUPER:Dispatch(oE) 
> > >>>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application. 
> > >>>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ? 
> > >>>>> Thanks 
> > >>>>> Aurora Baccio 
> > >>>>> 
> > >>> I understand and the type of error and thank you. 
> > >>> I must also add that it is not reported in VOerrore.log. 
> > >>> but what does it mean : 
> > >>> You need to be throwing a calling stack on entry to where-ever this is 
> > >>> happening. 
> > >>> thanks 
> > >>> Aurora Baccio 
> > >>> 
> > > 
> > > 
> > > thank you for your reply and example. 
> > > this is the code where the error is reported, line 8 
> > > 
> > > 1)METHOD Dispatch(oE) CLASS WindowPatients_Browse 
> > > 2) 
> > > 3) // this method is fundamental to handle all the events of the window of 
> > > 4) // membership keep it in mind !!!! is outstanding 
> > > 5) LOCAL nRETURN as int 
> > > 6) STATIC cLastKey := "" as STRING 
> > > 7) 
> > > 8) nReturn := SUPER:Dispatch(oE) 
> > > 9) 
> > > 10) IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer 
> > > 11) self:oDCCerca <> null_object .and. ; // the control has already been created 
> > > 12) Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed 
> > > 13) cLastKey := FabAllTrim(self:oDCCerca:TEXTValue) 
> > > 14) 
> > > 15) self:oSF_WindowPatients_Browse:Server:SetOrder(2) 
> > > 16) // execute the search 
> > > 17) self:oSF_WindowPatients_Browse:Server:Seek(cLastKey) 
> > > 18) 
> > > 19) IF self:oSF_FWindowPatients_Browse:Server:EOF 
> > > 20) Tone(800,3) 
> > > 21) self:oSF_FWindowPatients_Browse:Server:GOTOP() 
> > > 22) ENDIF 
> > > 23) 
> > > 24) ENDIF 
> > > 25) RETURN nRETURN 
> > > 
> > > I must then create a global variable glexit := false as logic 
> > > the control should be inserted where ? 
> > > Could you be more precise? 
> > > thanks 
> > > Aurora Baccio 
> > >
> good morning, 
> thank you for your reply. 
> One question, the last one, and one request. 
> Can the error be due to the fact that the timer is not closed at the end of the procedure, so it always remains open? 
> the request: could you send me the methods you recommended for a test? 
> Thank you 
> Aurora Baccio

good Sunday,
first of all I would like to thank you for the help you have given me and the advice you have given me.
I think I have solved it. I will have the final test tomorrow morning, but all the tests seem to be positive.
The problem was in the failure to close the timer of the initial mask. Once this error has been corrected, everything seems to have settled down.
Thanks again for your help.
Aurora Baccio

[toc] | [prev] | [next] | [standalone]


#13383

FromJohnMartens <martens@tennishulp.info>
Date2021-07-11 13:36 +0200
Message-ID<scel4n$aun$1@dont-email.me>
In reply to#13382
Good to hear !!


Op 11-7-2021 om 09:58 schreef aurora baccio:
> Il giorno sabato 10 luglio 2021 alle 12:20:56 UTC+2 aurora baccio ha scritto:
>> Il giorno sabato 10 luglio 2021 alle 08:41:25 UTC+2 JohnMartens ha scritto:
>>> I never use a timer in a dispatch. Maybe that's because there can be a
>>> new call tot the dispatch method where a new timer will be started.
>>>
>>> I'm using SELF:RegisterTimer(1,FALSE) eg in the start of a longer method
>>> where you want to show progress indicator every second.
>>>
>>> Using METHOD Timer() CLASS MyWindowClass will then handle the timer.
>>> In this case I'm sure that there is only one timer up and running.
>>>
>>> Other VO guru's will be able to give you more info but I think at my
>>> habit of setting timers has find it's origin 15+ yrs ago in some solid
>>> VO guru advice.
>>>
>>> John
>>>
>>>
>>>
>>> Op 10-7-2021 om 08:21 schreef aurora baccio:
>>>> Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto:
>>>>> You have a function or event which calls itself in a loop
>>>>> Ensure that your recursive code has a base case which is able to be met
>>>>> so it never loops.
>>>>>
>>>>> global glExit := FALSE as logic
>>>>> do while TRUE
>>>>> if glExit
>>>>> // Do something to exit loop
>>>>> endif
>>>>> glExit := TRUE
>>>>> enddo
>>>>> Am 09.07.2021 um 17:40 schrieb aurora baccio:
>>>>>> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto:
>>>>>>> Hi Aurora,
>>>>>>> please look at
>>>>>>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1
>>>>>>> It seems that app is in a loop.
>>>>>>> Regards, Franz
>>>>>>> Am 09.07.2021 um 16:12 schrieb aurora baccio:
>>>>>>>> Good afternoon,
>>>>>>>> Sorry to bother you again.
>>>>>>>> what does the following error message mean?
>>>>>>>> limit exceedec
>>>>>>>> kid stack size limit exceeded
>>>>>>>> patients_brose:dispactch() line 8
>>>>>>>> Here is line 8 of the dispach method
>>>>>>>> nReturn := SUPER:Dispatch(oE)
>>>>>>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
>>>>>>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
>>>>>>>> Thanks
>>>>>>>> Aurora Baccio
>>>>>>>>
>>>>>> I understand and the type of error and thank you.
>>>>>> I must also add that it is not reported in VOerrore.log.
>>>>>> but what does it mean :
>>>>>> You need to be throwing a calling stack on entry to where-ever this is
>>>>>> happening.
>>>>>> thanks
>>>>>> Aurora Baccio
>>>>>>
>>>>
>>>>
>>>> thank you for your reply and example.
>>>> this is the code where the error is reported, line 8
>>>>
>>>> 1)METHOD Dispatch(oE) CLASS WindowPatients_Browse
>>>> 2)
>>>> 3) // this method is fundamental to handle all the events of the window of
>>>> 4) // membership keep it in mind !!!! is outstanding
>>>> 5) LOCAL nRETURN as int
>>>> 6) STATIC cLastKey := "" as STRING
>>>> 7)
>>>> 8) nReturn := SUPER:Dispatch(oE)
>>>> 9)
>>>> 10) IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer
>>>> 11) self:oDCCerca <> null_object .and. ; // the control has already been created
>>>> 12) Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed
>>>> 13) cLastKey := FabAllTrim(self:oDCCerca:TEXTValue)
>>>> 14)
>>>> 15) self:oSF_WindowPatients_Browse:Server:SetOrder(2)
>>>> 16) // execute the search
>>>> 17) self:oSF_WindowPatients_Browse:Server:Seek(cLastKey)
>>>> 18)
>>>> 19) IF self:oSF_FWindowPatients_Browse:Server:EOF
>>>> 20) Tone(800,3)
>>>> 21) self:oSF_FWindowPatients_Browse:Server:GOTOP()
>>>> 22) ENDIF
>>>> 23)
>>>> 24) ENDIF
>>>> 25) RETURN nRETURN
>>>>
>>>> I must then create a global variable glexit := false as logic
>>>> the control should be inserted where ?
>>>> Could you be more precise?
>>>> thanks
>>>> Aurora Baccio
>>>>
>> good morning,
>> thank you for your reply.
>> One question, the last one, and one request.
>> Can the error be due to the fact that the timer is not closed at the end of the procedure, so it always remains open?
>> the request: could you send me the methods you recommended for a test?
>> Thank you
>> Aurora Baccio
> 
> good Sunday,
> first of all I would like to thank you for the help you have given me and the advice you have given me.
> I think I have solved it. I will have the final test tomorrow morning, but all the tests seem to be positive.
> The problem was in the failure to close the timer of the initial mask. Once this error has been corrected, everything seems to have settled down.
> Thanks again for your help.
> Aurora Baccio
> 

[toc] | [prev] | [next] | [standalone]


#13380

FromFranz Rachbauer <office@rachbauer.org>
Date2021-07-10 12:16 +0200
Message-ID<scbs2v$1qrg$1@gioia.aioe.org>
In reply to#13378
My code only was an example to show you the logic, you should not use it 
as it is. It seems that METHOD Dispatch(oE) CLASS WindowPatients_Browse 
is called in a loop. You have to show why and where and then make an 
"emergency exit" which exits the loop.
Franz

Am 10.07.2021 um 08:21 schrieb aurora baccio:
> Il giorno venerdì 9 luglio 2021 alle 19:03:21 UTC+2 Franz Rachbauer ha scritto:
>> You have a function or event which calls itself in a loop
>> Ensure that your recursive code has a base case which is able to be met
>> so it never loops.
>>
>> global glExit := FALSE as logic
>> do while TRUE
>> if glExit
>> // Do something to exit loop
>> endif
>> glExit := TRUE
>> enddo
>> Am 09.07.2021 um 17:40 schrieb aurora baccio:
>>> Il giorno venerdì 9 luglio 2021 alle 17:25:16 UTC+2 Franz Rachbauer ha scritto:
>>>> Hi Aurora,
>>>> please look at
>>>> https://groups.google.com/g/comp.lang.clipper.visual-objects/c/EXM73l7bhyg?pli=1
>>>> It seems that app is in a loop.
>>>> Regards, Franz
>>>> Am 09.07.2021 um 16:12 schrieb aurora baccio:
>>>>> Good afternoon,
>>>>> Sorry to bother you again.
>>>>> what does the following error message mean?
>>>>> limit exceedec
>>>>> kid stack size limit exceeded
>>>>> patients_brose:dispactch() line 8
>>>>> Here is line 8 of the dispach method
>>>>> nReturn := SUPER:Dispatch(oE)
>>>>> This error occurs on only one of the five PCs running the same application, and only in one doctor's office. Nothing like this occurs on other PCs or in other doctors' offices using the same application.
>>>>> I assume this is an operating system problem. But I'm not sure. However, the pc has some office related problem. But again I am not sure. Could it have to do with centerdatawindow() ?
>>>>> Thanks
>>>>> Aurora Baccio
>>>>>
>>> I understand and the type of error and thank you.
>>> I must also add that it is not reported in VOerrore.log.
>>> but what does it mean :
>>> You need to be throwing a calling stack on entry to where-ever this is
>>> happening.
>>> thanks
>>> Aurora Baccio
>>>
> 
> 
> thank you for your reply and example.
> this is the code where the error is reported, line 8
> 
> 1)METHOD Dispatch(oE) CLASS WindowPatients_Browse
> 2)	
> 3)	// this method is fundamental to handle all the events of the window of
> 4)	// membership keep it in mind !!!! is outstanding
> 5)	LOCAL nRETURN as int
> 6)	STATIC cLastKey := "" as STRING
> 7)
> 8)	nReturn := SUPER:Dispatch(oE)
> 9)
> 10)		IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer
> 11)			self:oDCCerca <> null_object .and. ; // the control has already been created	
> 12)			Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed
> 13)			cLastKey := FabAllTrim(self:oDCCerca:TEXTValue)
> 14)			
> 15)			self:oSF_WindowPatients_Browse:Server:SetOrder(2)
> 16)			// execute the search
> 17)			self:oSF_WindowPatients_Browse:Server:Seek(cLastKey)
> 18)			
> 19)			IF self:oSF_FWindowPatients_Browse:Server:EOF
> 20)				Tone(800,3)
> 21)				self:oSF_FWindowPatients_Browse:Server:GOTOP()
> 22)			ENDIF
> 23)	
>   24)       ENDIF
> 25)	RETURN nRETURN
> 
> I must then create a global variable glexit := false as logic
> the control should be inserted where ?
> Could you be more precise?
> thanks
> Aurora Baccio
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web