search for: withtimeout

Displaying 7 results from an estimated 7 matches for "withtimeout".

Did you mean: with_timeout
2017 Nov 27
2
withTimeout bug, it does not work properly with nlme anymore
Hello, I was relying on withTimeout (from R.utils) to help me stop nlme when it ?hangs?. However, recently this stopped working. I am pasting a reproducible example below: withTimeout should stop nlme after 10 seconds but the code will generate data for which nlme does not converge (or takes too long) and withTimeout does not stop...
2018 Jan 30
0
withTimeout bug, it does not work properly with nlme anymore
>>>>> Ramiro Barrantes <ramiro at precisionbioassay.com> >>>>> on Mon, 27 Nov 2017 21:02:52 +0000 writes: > Hello, I was relying on withTimeout (from R.utils) to help > me stop nlme when it ?hangs?. However, recently this > stopped working. I am pasting a reproducible example > below: withTimeout should stop nlme after 10 seconds but > the code will generate data for which nlme does not > converge (or t...
2017 Nov 26
0
withTimeout does not timeout nlme anymore
Hello, I was relying on withTimeout (from R.utils) to help me stop nlme when it ?hangs?. However, recently this stopped working. I am pasting a reproducible example below: withTimeout should stop nlme after 10 seconds but in this example it does not. I tried this both on a linux (64 bit, CentOS 7, R 3.4.1, nlme 3.1-131 R.util 2.6)...
2008 Mar 30
1
Can anyone help me withTimeout error in rails 2.0.2
Hello, I have been trying since long to send a mail thorough rails.. Previously when I had rails version 1.2.5 the sending mails worked fine. But now when i try to send a mail in rails 2.0.2 I always get timeout error Execution expired. Though i am able to catch the error I cannot understand why the error is generated in rails 2.0.2 and not in rails 1.2.5. Please advice me how can i fix the
2019 May 22
1
make running on.exit expr uninterruptible
...is possible to interrupt this function such that cntr_f is incremented while cntr_on.exit is not (you might need to adjust timeout_upper to trigger the error on your machine): timeout_upper <- 0.00001 repeat { cntr_f <- 0L cntr_on.exit <- 0L # timeout code borrowed from R.utils::withTimeout but with setTimeLimit() # (correctly) place inside tryCatch (otherwise timeout can occur before it can # be caught) and with time limit reset before going into the error handler res_list <- lapply(seq(0, timeout_upper, length.out = 1000), function(timeout) { on.exit({ setTimeLimi...
2019 May 03
1
Strange error messages from parallel::mcparallel family under 3.6.0
...ut whether I had been doing something wrong all this time and R 3.6.0 has exposed it, or whether something else is going on. # Background # Ultimately, what I want to do is to be able to set a time limit for an expression to be evaluated that would be enforced even inside compiled code. (R.utils::withTimeout() uses base::setTimeLimit(), which can only enforce within R code.) # Implementation # The approach that my implementation, statnet.common::forkTimeout() (source attached for convenience), uses is to call mcparallel() to evaluate the expression in a child process, then mccollect() with wait=FALSE...
2013 May 27
1
Empty buffer on encoder write byte
...d char *payloadOutput, opus_int32 payloadLength) { // Send the audio data through UDP socket. NSData *audioData = [NSData dataWithBytes:payloadOutput length:payloadLength]; [_socket sendData:audioData toHost:RTC_SERVER_HOST port:RTC_MEDIA_SERVER_PORT withTimeout:PACKET_TIMEOUT tag:AUDIO_DATA_TAG]; free(pcmInput); pcmInput = NULL; }]; } }]; The following is the backtrace: * thread #6: tid = 0x231f, 0x00180506 RTCClient`ec_enc_carry_out(_this=0x04232238, _c=61) + 42 at entenc.c:62, stop reason = EXC...