Displaying 20 results from an estimated 3309 matches for "caught".
2019 Sep 15
2
REprintf could be caught by tryCatch(message)
...apping of R C funs to corresponding R functions is as follows.
error -> stop
warning -> warning
REprintf -> message
Rprintf -> cat
Rprint/cat is of course not an exception, I listed it just for completeness.
The inconsistency I would like to report is about REprintf. It cannot
be caught by tryCatch(message). Warnings are errors are being caught
as expected.
Is there any chance to "fix"/"improve" REprintf so tryCatch(message)
can catch it?
So in the example below catch(Cmessage()) would behave consistently to
R's catch(message("a"))?
Regards,
Jan...
2019 Sep 15
2
[External] REprintf could be caught by tryCatch(message)
...s claim
> is made somewhere in R documentation please report it a a bug.
>
> > Rprintf -> cat
> >
> > Rprint/cat is of course not an exception, I listed it just for completeness.
> > The inconsistency I would like to report is about REprintf. It cannot
> > be caught by tryCatch(message). Warnings are errors are being caught
> > as expected.
> >
> > Is there any chance to "fix"/"improve" REprintf so tryCatch(message)
> > can catch it?
>
> No: this is behaving as intended.
>
> Best,
>
> luke
>
>...
2017 Dec 01
3
tryCatch in on.exit()
...function, since the one from the on.exit has
already been dealt with? Currently the outer tryCatch gets
the error from the on.exit expression.
xx <- function() {
on.exit(tryCatch(
expr = stop("error in xx's on.exit"),
error=function(e) {
cat("xx's on.exit caught error: <<", conditionMessage(e), ">>\n",
sep="")
}))
stop("error in body of xx")
}
zz <- tryCatch(xx(), error=function(e)paste("outer tryCatch caught error
<<", conditionMessage(e), ">>", sep=""))
#xx&...
2019 Sep 15
0
[External] REprintf could be caught by tryCatch(message)
...e cat with file = stderr(). If this claim
is made somewhere in R documentation please report it a a bug.
> Rprintf -> cat
>
> Rprint/cat is of course not an exception, I listed it just for completeness.
> The inconsistency I would like to report is about REprintf. It cannot
> be caught by tryCatch(message). Warnings are errors are being caught
> as expected.
>
> Is there any chance to "fix"/"improve" REprintf so tryCatch(message)
> can catch it?
No: this is behaving as intended.
Best,
luke
> So in the example below catch(Cmessage()) would be...
2019 Sep 16
0
[External] REprintf could be caught by tryCatch(message)
...e somewhere in R documentation please report it a a bug.
>>
>>> Rprintf -> cat
>>>
>>> Rprint/cat is of course not an exception, I listed it just for completeness.
>>> The inconsistency I would like to report is about REprintf. It cannot
>>> be caught by tryCatch(message). Warnings are errors are being caught
>>> as expected.
>>>
>>> Is there any chance to "fix"/"improve" REprintf so tryCatch(message)
>>> can catch it?
>>
>> No: this is behaving as intended.
>>
>> Be...
2010 Apr 29
1
Aide error "Caught SIGBUS/SEGV"
...me results.
The second time, I added the -V flag, but that didn't give me anything
useful. The system is currently running CentOS 5.3.
Nothing on the system has changed recently (that I am aware of). The
Aide database hasn't been updated in a few months.
This is the error I am seeing:
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was
running?
Caught SIGBUS/SEGV. Exiting
I tried Googling for it, but didn't find anything helpful.
Any ideas?
--
Bowie
2009 Mar 10
4
[LLVMdev] C++ Exception Handling Problem
...native functions can throw exceptions. However, I don't
actually want to handle these exceptions in the JITted functions. There are
already try/catch blocks in place in the C++ function that calls the JITted
functions.
The problem I run into is that when exceptions are thrown, they aren't
caught anywhere. My program crashes with an error message: "terminate called
after throwing an instance of 'RunError'". Where RunError is the exception
type. Hence, the exceptions aren't getting caught where they should be.
What I'd like to know is how I can fix this situation,...
2015 Oct 19
3
[Bug 11561] New: [PATCH] Show progress information when SIGINFO is caught on platforms that have it
https://bugzilla.samba.org/show_bug.cgi?id=11561
Bug ID: 11561
Summary: [PATCH] Show progress information when SIGINFO is
caught on platforms that have it
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: des at des.no...
2012 Jul 20
2
Bug#682202: xcp-squeezed not started on boot
...thread_zero||watchdog] (Re)starting xapi...
Jul 20 09:02:35 h09 xapi: [error|h09|0 thread_zero|Registering SR plugins D:ec9f329de969|sm_exec] Not scanning /var/lib/xcp/sm for SM backends: directory does not exist
Jul 20 09:02:35 h09 xapi: [error|h09|75|scan one D:ba7e1b263c64|xapi] Caught exception attempting an SR.scan: INTERNAL_ERROR: [ Not_found ]
Jul 20 09:02:35 h09 xapi: [ warn|h09|0 thread_zero|server_init D:65ec2f79406b|startup] task [initialising storage] exception: Api_errors.Server_error("SESSION_INVALID", _)
Jul 20 09:02:35 h09 xapi: [ warn|h09|0...
2011 Mar 02
2
*** caught segfault *** when using impute.knn (impute package)
hi,
i am getting an error when calling the impute.knn
function (see the screenshot below).
what is the problem here and how can it be solved?
screenshot:
##################
*** caught segfault ***
address 0x513c7b84, cause 'memory not mapped'
Traceback:
1: .Fortran("knnimp", x, ximp = x, p, n, imiss = imiss, irmiss,
as.integer(k), double(p), double(n), integer(p), integer(n), PACKAGE
= "impute")
2: knnimp.internal(x, k, imiss, irmiss, p, n,...
2017 Oct 26
2
<p>R encountered a fatal error. </p> The session was terminated. + *** caught illegal operation ***
Dear all,
I just installed the "Short Summer" R update last week. Now, my R Studio doesn't open anymore!
--> <p>R encountered a fatal error. </p> The session was terminated.
and my R terminal doesn't close properly
--> *** caught illegal operation ***
I restarted my Mac OS Sierra 10.12.6 and reinstalled both R 3.4.2 and the latest R studio but the problem persists.
How can that issue be solved?
Thanks in advance for your a precious help!
All the best from Switzerland,
Klaus
[[alternative HTML version deleted]]
2011 Mar 03
3
top and allocation issues
In a context where exceptions are caught, I ran
the fragment:
cerr << "allocating" << endl;
char* arr[100];
for (int jj = 0; jj < 10; ++jj)
{
cerr << "jj = " << jj << endl;
arr[jj] = new char[2000000000];
sleep (30);
}
sleep (10);
for (int jj =...
2017 Oct 26
0
<p>R encountered a fatal error. </p> The session was terminated. + *** caught illegal operation ***
...all,
>
> I just installed the "Short Summer" R update last week. Now, my R Studio
> doesn't open anymore!
>
> --> <p>R encountered a fatal error. </p> The session was terminated.
>
> and my R terminal doesn't close properly
>
> --> *** caught illegal operation ***
>
> I restarted my Mac OS Sierra 10.12.6 and reinstalled both R 3.4.2 and the
> latest R studio but the problem persists.
>
> How can that issue be solved?
>
> Thanks in advance for your a precious help!
>
> All the best from Switzerland,
>
> K...
2009 Jun 18
1
validObject throws non-caught error when slot doesn't exist
I have been retooling an S4 class definition to include another slot and
have found that the methods::validObject function (defined in
methods/R/SClasses.R) in R-devel throws an error that isn't caught
internally (and thus not controllable by 'test' argument) when
retrieving a non-existent slot. The offending line of code is shown below:
> validObject
function (object, test = FALSE, complete = FALSE)
{
...
for (i in seq_along(slotTypes)) {
classi <- slotTypes[[i]]...
2012 May 27
2
Setting Up A Rails App With Passenger
...normal operations
[Mon May 28 08:16:28 2012] [notice] Graceful restart requested, doing
restart
[Mon May 28 08:16:28 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/
5.3.10-1ubuntu3.1 with Suhosin-Patch Phusion_Passenger/3.0.12
configured -- resuming normal operations
[Mon May 28 08:20:40 2012] [notice] caught SIGTERM, shutting down
[Mon May 28 08:20:41 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/
5.3.10-1ubuntu3.1 with Suhosin-Patch Phusion_Passenger/3.0.12
configured -- resuming normal operations
[Mon May 28 08:21:03 2012] [error] [client 127.0.0.1] File does not
exist: /var/www/favicon.ico
[Mon May 28 0...
2012 Dec 14
0
[Bug 9502] New: Deamon deadlock at stop (SIGINT caught)
https://bugzilla.samba.org/show_bug.cgi?id=9502
Summary: Deamon deadlock at stop (SIGINT caught)
Product: rsync
Version: 3.0.7
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: jurij at ocslab.com
QAContac...
2013 Dec 08
1
The error we caught said '407 "authenticationrequired"' during module install behind proxy
...s-razor ~]# puppet module install saz/dnsmasq --force
Notice: Preparing to install into /etc/puppetlabs/puppet/modules ...
Notice: Downloading from https://forge.puppetlabs.com ...
Error: Could not connect to https://forge.puppetlabs.com
There was a network communications problem
The error we caught said ''407 "authenticationrequired"''
Check your network connection and try again
setting the values http_proxy_host and http_proxy_port inside puppet.conf
doesnt help either, as there is a no way I can set username and password
there.
Is there a workaround for t...
2009 Mar 10
0
[LLVMdev] C++ Exception Handling Problem
...eptions. However, I don't
> actually want to handle these exceptions in the JITted functions. There are
> already try/catch blocks in place in the C++ function that calls the JITted
> functions.
>
> The problem I run into is that when exceptions are thrown, they aren't
> caught anywhere. My program crashes with an error message: "terminate called
> after throwing an instance of 'RunError'". Where RunError is the exception
> type. Hence, the exceptions aren't getting caught where they should be.
does this happen in the non-jit context. For exa...
2010 Mar 25
1
*** caught segfault *** address 0x18, cause 'memory not mapped'
Hello R Community,
I've been run the following codes. However, I've been getting an
unusual segfault
that I'm unable to trace its origin. Please give me a light to
decipher the "caught segfault"
Thanks for you attention.
Bernardo.
> options(STERM='iESS', editor='emacsclient')
> rm(list = ls())
> > source("fgenIGLD.R") #RNG of IGLD(mu,b,sigma)
> > source("fsYUTH.R") #the fucntions Y,U,Tbbarran and H ne...
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...--git a/src/test/functional/host_controller_test.rb b/src/test/functional/host_controller_test.rb
index caf198d..dc9891c 100644
--- a/src/test/functional/host_controller_test.rb
+++ b/src/test/functional/host_controller_test.rb
@@ -23,7 +23,7 @@ require 'host_controller'
# Re-raise errors caught by the controller.
class HostController; def rescue_action(e) raise e end; end
-class HostControllerTest < Test::Unit::TestCase
+class HostControllerTest < ActionController::TestCase
fixtures :hosts, :pools, :privileges, :roles, :permissions
def setup
diff --git a/src/test/function...