Displaying 20 results from an estimated 68 matches for "error2".
Did you mean:
error
2011 Oct 13
1
delete columns which partially match expression
...So, for example in the below table, I'd like to delete all columns which
contain the expression "Error". That is, R should delete column C and E from
my data. Any ideas?
A B C D E
12 33 Error1 71 Error2
Cheers, S.B.
[[alternative HTML version deleted]]
2005 May 20
1
chan_capi error2
Good day all
I get chan_capi 0.3.5 and I got the patch but when I try make it gives
this error
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file in string; inserted '"'
{standard input}:447: Warning: .stabs: missing comma
make: *** [chan_capi.o] Error 2
please help
Do I need a patch for asterisk 1.0.7
2018 Oct 30
1
Re: [PATCH nbdkit 4/4] Add floppy plugin.
...esn't guarantee that, but no
sane implementation of strcmp() would change errno during a string compare)
>>> +
>>> + if (lstat (d->d_name, &statbuf) == -1) {
>>> + nbdkit_error ("stat: %s/%s: %m", dir, d->d_name);
>>> + goto error2;
>>> + }
However, errno is undefined if lstat() succeeds. If it fails, you don't
call readdir() again; but if it succeeds, you cannot rely on libc having
left errno == 0.
>>> +
>>> + /* Directory. */
>>> + if (S_ISDIR (statbuf.st_mode)) {
>>...
2015 Mar 13
2
[PATCH] part-list: add support for show partition type
...pe = 1;
+ break;
}
- r->guestfs_int_partition_list_len = nr_rows;
- r->guestfs_int_partition_list_val =
- malloc (nr_rows * sizeof (guestfs_int_partition));
- if (r->guestfs_int_partition_list_val == NULL) {
- reply_with_perror ("malloc");
- goto error2;
+
+ if (start == 0) {
+ reply_with_error ("parted output has no \"Number\" line");
+ return NULL;
+ }
+
+ for (row = start; lines[row] != NULL; ++row)
+ if (STREQ (lines[row], "")) {
+ end = row;
+ break;
}
- /* Now parse the lines. */...
2015 Jun 18
1
Re: [PATCH v4 2/3] do_btrfs_subvolume_list: fix a bad return value
...or it as you do in (1) above,
with no need to switch from malloc to calloc.
The other alternative is to use more labels for error conditions in a
symmetric way, like:
ptr1 = malloc (...);
if (ptr1 == NULL)
goto error1;
ptr1->subptr1 = malloc (...);
if (ptr1->subptr1 == NULL)
goto error2;
ptr1->subptr2 = malloc (...);
if (ptr1->subptr2 == NULL)
goto error3;
...
error3:
free (ptr1->subptr1);
error2:
free (ptr1);
error1:
...
--
Pino Toscano
2018 Oct 30
2
Re: [PATCH nbdkit 4/4] Add floppy plugin.
...) {
> + if (strcmp (d->d_name, ".") == 0 ||
> + strcmp (d->d_name, "..") == 0)
> + continue;
> +
> + if (lstat (d->d_name, &statbuf) == -1) {
> + nbdkit_error ("stat: %s/%s: %m", dir, d->d_name);
> + goto error2;
> + }
> +
> + /* Directory. */
> + if (S_ISDIR (statbuf.st_mode)) {
> + if (visit_subdirectory (dir, d->d_name, &statbuf, di, floppy) == -1)
> + goto error2;
> + }
> + /* Regular file. */
> + else if (S_ISREG (statbuf.st_mode)) {
>...
2020 Apr 28
2
[PATCH nbdkit] server: Fix parameters of lock_request, unlock_request
Patch itself is not controversial.
However I do wonder if we want to change all these constructs so that
instead of using #ifdef we use something like:
if (HAVE_PIPE2) {
// normal path
}
else {
// fallback
}
(It wouldn't actually work as written above because HAVE_PIPE2 is not
always defined, but you get the idea.)
This would allow us to test that the fallback paths still
2020 Apr 28
0
[PATCH nbdkit] server: Fix parameters of lock_request, unlock_request on fallback path.
...* non-atomicity okay.
*/
assert (thread_model <= NBDKIT_THREAD_MODEL_SERIALIZE_ALL_REQUESTS);
- lock_request (NULL);
+ lock_request ();
if (pipe (conn->status_pipe)) {
perror ("pipe");
- unlock_request (NULL);
+ unlock_request ();
goto error2;
}
if (set_nonblock (set_cloexec (conn->status_pipe[0])) == -1) {
perror ("fcntl");
close (conn->status_pipe[1]);
- unlock_request (NULL);
+ unlock_request ();
goto error2;
}
if (set_nonblock (set_cloexec (conn->status_pipe[1]))...
2015 Mar 13
0
Re: [PATCH] part-list: add support for show partition type
...gt; - r->guestfs_int_partition_list_len = nr_rows;
> - r->guestfs_int_partition_list_val =
> - malloc (nr_rows * sizeof (guestfs_int_partition));
> - if (r->guestfs_int_partition_list_val == NULL) {
> - reply_with_perror ("malloc");
> - goto error2;
> +
> + if (start == 0) {
> + reply_with_error ("parted output has no \"Number\" line");
> + return NULL;
> + }
> +
> + for (row = start; lines[row] != NULL; ++row)
> + if (STREQ (lines[row], "")) {
> + end = row;
> +...
2004 Oct 09
2
inst directory
R CMD check on a Windows system, halts with the following;
installing inst files
FIND: Parameter format not correct
make[2]: *** [C:/AlgDesign/AlgDesign.Rcheck/AlgDesign/inst]Error 2
make[1] *** [all] Error 2
make: *** [pkg-AlgDesign] Error2
*** Installation of AlgDesign failed ****
The inst directory contains the sub directory doc with a pdf and dvi
file. Any sub directory in inst seems to cause this problem. The check
was OK prior to 1.9.0.
What has changed? If it is in the R documentation, I have missed it.
--
Bob Wheeler ---...
1998 Oct 07
2
R-beta: R0.62.3 installation on RedHat 5.0
...make[3]: Leaving directory '/usr/local/R-0.62.3/src/main'
make[2]: *** [build] Error 2
make[2]: Leaving directory '/usr/local/R-0.62.3/src'
make[1]: *** [R] Error 2
make[1]: Leaving directory '/usr/local/R-0.62.3'
make: *** [all] Error2
What's wrong?
Hannu Kahra
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the s...
2018 Oct 30
0
Re: [PATCH nbdkit 4/4] Add floppy plugin.
...(d->d_name, ".") == 0 ||
> >+ strcmp (d->d_name, "..") == 0)
> >+ continue;
> >+
> >+ if (lstat (d->d_name, &statbuf) == -1) {
> >+ nbdkit_error ("stat: %s/%s: %m", dir, d->d_name);
> >+ goto error2;
> >+ }
> >+
> >+ /* Directory. */
> >+ if (S_ISDIR (statbuf.st_mode)) {
> >+ if (visit_subdirectory (dir, d->d_name, &statbuf, di, floppy) == -1)
> >+ goto error2;
> >+ }
> >+ /* Regular file. */
> >+ else i...
2008 Jun 15
1
multilevel basic lme question
...school_A, school_B)
> mydata
School_A and school_B are two different school characteristics, math is an individual score for each subject and sex is also an individual characteristic.
Now i want to specify in R the following equations:
math=a +b *sex +error1
a= aa+ bb*school_A+ cc*school_B+ error2
b= aaa+ bbb*school_A+ ccc*school_B+ error3
but i don't know how. I searched nabble but could not find anything.
Thank you and have a great day ahead
[[alternative HTML version deleted]]
2009 Dec 25
1
checking package errors-'require' calls not declared and no visible global function definition
Hi,
I got two errors after i checking my package. The errors are as follows,
Error1:
* checking for unstated dependencies in R code ... WARNING
'library' or 'require' calls not declared from:
boot np
Error2:
* checking R code for possible problems ... NOTE
myfunction: no visible global function definition for 'npudensbw'in the np
package
In "myfunction", i have two requires "require(boot)" and "require(np)",
but i have stated them in the DESCRIPTION file using...
2009 Jun 12
0
Rise Of Legends and Other Games errors
...1000 times...
The Rise Of Nations: Rise Of Legends, runs normally.... But when I'm going to put the serial number a window open calling for the PID GENERATOR... I check it and the pidgen.dll is Ok........
Now, this error appears in the 2 games:
[Image: http://img248.imageshack.us/img248/2513/error2.png ] (http://img248.imageshack.us/i/error2.png/)
I use Ubuntu 9.04.
2005 Oct 17
1
Redhat 9 Samba + LDAP PDC ./smbldap-populate issue
...an unusal problem or missing
packages on my system.
ERROR1:
[root@Tini-Svr1 sbin]# service ldap restart
Stopping slapd: [FAILED]
Starting slapd: Unrecognized database type (bdb)
[FAILED]
ERROR2:
[root@Tini-Svr1 sbin]# ./smbldap-populate -a root -k 0 -m 0
Can't locate Convert/ASN1.pm in @INC (@INC contains: /opt/IDEALX/sbin/
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/li...
2013 Feb 02
0
VAR simulation help
...estimation. The
problem is given above in the image. Assume that the errors are iid and
normally distributed. Here the number of observations x1=x2=64.
I've written the code below. Not sure if it is correct.
pi=matrix(c(0.9,0.1,-0.1,0.7),nrow=2,ncol=2)
# errors
error1=rnorm(64,mean=0,sd=1)
error2=rnorm(64,mean=0,sd=1)
#variables x1 and x2
x1=sample(64)
x2=sample(64)
#VAR simulation#
obs = 64
set.seed(123)
E=matrix(c(error1,error2),nrow=2,ncol=64)
pi=matrix(c(0.9,0.1,-0.1,0.7),nrow=2,ncol=2)
X=matrix(c(x1,x2),nrow=2,ncol=64)
for (i in 2:obs) {
X[,i] = pi%*%X[,i-1]+E[,i]
}
I would app...
2015 Aug 22
2
SSE return w/ elf64 ABI
...register
return with SSE disabled");
lib/Target/X86/X86ISelLowering.cpp:2107: report_fatal_error("SSE
register return with SSE disabled");
lib/Target/X86/X86ISelLowering.cpp:2261: report_fatal_error("SSE
register return with SSE disabled");
test/CodeGen/X86/nosse-error2.ll:4:; NOSSE: {{SSE register return with SSE
disabled}}
test/CodeGen/X86/nosse-error1.ll:4:; NOSSE: {{SSE register return with SSE
disabled}}
Thanks for your time,
Tyler Hardin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-...
2020 Apr 09
0
[PATCH nbdkit v2 3/3] tmpdisk: Implement this plugin using fileops.
...", dir);
- goto error;
+ goto error0;
}
if (asprintf (&disk, "%s/disk", dir) == -1) {
nbdkit_error ("asprintf: %m");
- goto error;
+ goto error1;
}
/* Now run the mkfs command. */
if (run_command (disk) == -1)
- goto error;
+ goto error2;
/* The external command must have created the disk, and then we must
* find the true size.
@@ -325,29 +273,14 @@ tmpdisk_open (int readonly)
flags = O_RDONLY | O_CLOEXEC;
else
flags = O_RDWR | O_CLOEXEC;
- h->fd = open (disk, flags);
- if (h->fd == -1) {
+ fd = open...
2019 Apr 10
0
Unable to upload printer drivers
...-
> Van: Bernhard Dick [mailto:bernhard at bdick.de]
> Verzonden: woensdag 10 april 2019 15:55
> Aan: L.P.H. van Belle
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> Hoi Louis,
>
> Am 10.04.2019 um 14:19 schrieb L.P.H. van Belle:
> > Kan you pm me the error2.xml, its the list removes the attachements.
> sure, its attached to this mail now.
>
> Regards
> Bernhard
> >
> > Greetz,
> >
> > Louis
> >
> >
> >> -----Oorspronkelijk bericht-----
> >> Van: samba [mailto:samba-bounce...