Displaying 20 results from an estimated 1000 matches similar to: "Problems creating a new volume"
2012 May 06
0
storage-pools and volumes
hi,
i am trying to create a domain using libvirt 0.9.4 python api and i can't find any information on how to use the libvirt python api with linux logical volumes
http://libvirt.org/guide/html-single/#Application_Development_Guide-Device_Config-Disks is TBD
i figured out that i need to use defineXML to create a domain, however for the disk part in the xml, i am not sure if i need to create
2013 Nov 23
0
Re: [R-SIG-Mac] morley object?
Hi Ann
Looks like a typo - I see "moreley.tab" that should be "morley.tab".
Works for me after correcting that.
> filepath <- system.file("data", "moreley.tab", package="datasets")
> filepath
[1] ""
>
> filepath <- system.file("data", "morley.tab", package="datasets")
> filepath
[1]
2007 Jun 29
1
R CMD build with mingw and msys (PR#9766)
Full_Name: Steffen
Version: 2-5-0
OS: Windows
Submission from: (NULL) (192.124.243.162)
Hi,
the R CMD build script is using
if($WINDOWS) {
## workaround for paths in Cygwin tar
$filepath =~ s+^([A-Za-z]):+/cygdrive/\1+;
}
which does not work if the build environment is a MINGW.
I have added the patch below,
Yours,
Steffen
$ diff -u build build.orig
--- build
2012 May 08
2
creation of storage volume fails
hi,
i am getting this error below when i try to create a storage volume:
? ? libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0)
AttributeError: class virStoragePool has no attribute 'CreateXML'
my code is:
xmldesc="xml description of storage volume which i got from sudo virsh vol-dumpxml"
#get a storage pool object to use in creating a volume
2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
The following is a patch (svn diff) for the R CMD build script that
calculates exclude patterns after the tar/untar step rather than before. The
perl find() function, used in the calculation of the exclude patterns,
ignores symlinks, which meant that directory symlinks were not considered
for exclusion. Since the tar/untar step resolves (copies) symlinks, this
works around that limitation.
2020 Oct 29
0
[External] Something is wrong with the unserialize function
Thanks for the report. Will look into it when I get a chance unless
someone else gets there first.
A simpler reprex:
## create and serialize a memmory-mapped file object
filePath <- "x.dat"
con <- file(filePath, "wrb")
writeBin(rep(0.0,10),con)
close(con)
library(simplemmap)
x <- mmap(filePath, "double")
saveRDS(x, file = "x.Rds")
## in a
2005 Oct 29
1
dyn.load() error: bad external relocation length
R-helpers,
Is there an easy way to call an external (C) program using .C or .Call
without including the code in a package. I know how to do it using
system(), but that doesn't seem to be a permanent or portable solution.
Initially I tried:
.Call('filepath.to.c.function', arg1)
and got this error:
Error in .Call("filepath.to.c.function", "arg1", :
2023 Dec 30
3
Help request: Parsing docx files for key words and appending to a spreadsheet
An update: Running this block of code:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <- "Now they want us to charge our electric cars from litter
bins.docx"
#full_filename <- paste0(filepath, filename)
full_filename <- paste(filepath, filename, sep="/")
if (!file.exists(full_filename)) {
?
2020 Oct 29
0
[External] Something is wrong with the unserialize function
I found that also; fixed in r79386 in the trunk. Will port to R-patched
shortly.
Best,
luke
On Thu, 29 Oct 2020, Martin Morgan wrote:
> This
>
> Index: src/main/altrep.c
> ===================================================================
> --- src/main/altrep.c (revision 79385)
> +++ src/main/altrep.c (working copy)
> @@ -275,10 +275,11 @@
> SEXP psym =
2023 Dec 30
2
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Eric
Thanks for that. That seems to fix one problem (the lack of a
separator), but introduces a new one when I complete the function Calum
proposed:Error in docx_summary() : argument "x" is missing, with no default
The whole code so far looks like this:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <-
2020 Oct 29
2
[External] Something is wrong with the unserialize function
This
Index: src/main/altrep.c
===================================================================
--- src/main/altrep.c (revision 79385)
+++ src/main/altrep.c (working copy)
@@ -275,10 +275,11 @@
SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
SEXP class = LookupClass(csym, psym);
if (class == NULL) {
- SEXP pname = ScalarString(PRINTNAME(psym));
+ SEXP pname =
2013 May 30
1
Need help with file corruption issue
Hi all,
I've run into an issue and am wondering if folks can give some advice
on how to resolve it.
Basically Samba appears to be getting confused, providing some other
file's contents.
Initially I saw this on a Windows host that has mounted a share from
CentOs, but I've been able to repro it on the CentOs host using a
self-mount.
Here's my test script:
#!/usr/bin/perl
use
2012 Oct 05
2
Using variables from different environments in one function
Dear R-community,
I have been experiencing this issue with functions within a function and
I can kind of feel where the problem is (environments, closures etc),
but I don't manage to solve it.
I will sketch it with an example:
#We have two simple "inner" functions:
############## INNER FUNCTION1 #################
innerfunction1<-function()
{
ab<-a+b
2009 Feb 07
0
[LLVMdev] 2.5 prerelease: configure script doesn't have an option to disable GoogleTest
I haven't scheduled time to investigate this yet. My guess is that
GoogleTest config is getting confused on Microsoft vs POSIX mkdir when
going through autoconf:
llvm[3]: Compiling gtest-filepath.cc for Release-Asserts build
g:\mingw32\bin\../lib/gcc/mingw32/4.2.1-dw2/../../../../include/io.h: In
member function 'bool testing::internal::FilePath::CreateFolder() const':
2017 Sep 18
0
[PATCH v9 7/7] New tool: virt-builder-repository
virt-builder-repository allows users to easily create or update
a virt-builder source repository out of disk images. The tool can
be run in either interactive or automated mode.
---
.gitignore | 3 +
builder/Makefile.am | 85 +++++-
builder/repository_main.ml | 589 ++++++++++++++++++++++++++++++++++++
builder/test-docs.sh | 2
2004 Apr 26
1
Setting "default_mail_env" Why is index->mailbox_path empty?
I now have
default_mail_env = mbox:~/mail:INBOX=:/var/spool/mail/%u
I now getting:
Apr 26 15:55:32 jedrik imap(mclay): open() failed with mbox file : No such file or directory
I tracked down where the error message is getting generated and added
some more printing:
In mbox-index.c I added:
int mbox_set_syscall_error(struct mail_index *index, const char *function)
{
i_assert(function !=
2017 Oct 05
0
[PATCH v11 6/6] New tool: virt-builder-repository
virt-builder-repository allows users to easily create or update
a virt-builder source repository out of disk images. The tool can
be run in either interactive or automated mode.
---
.gitignore | 3 +
builder/Makefile.am | 86 +++++-
builder/repository_main.ml | 597 ++++++++++++++++++++++++++++++++++++
builder/test-docs.sh | 2
2017 Sep 12
0
[PATCH v8 7/7] Add a virt-builder-repository tool
virt-builder-repository allows users to easily create or update
a virt-builder source repository out of disk images. The tool can
be run in either interactive or automated mode.
---
.gitignore | 3 +
builder/Makefile.am | 89 +++++-
builder/repository_main.ml | 590 ++++++++++++++++++++++++++++++++++++
builder/test-docs.sh | 2
2010 Aug 19
1
texi2dvi: option "clean" also deletes the generated pdf file
Dear expeRts,
below are two examples of using texi2dvi. The problem becomes clear from the
second example: on cleaning, texi2dvi also deletes the generated .pdf file.
Is there a solution?
Cheers,
Marius
## Example 1: texi2dvi cleans fine, without deleting the generated .pdf
require(tools)
sink(file="myLaTeXFile1.tex")
cat("\\documentclass{article}\n")
2017 Feb 15
2
Asan self host problems: Failed to deallocate
I wish there was something like the line in config.log that would show the
CMake command, but instead I can at least show you the CMakeCache files for
my release build and asan build (attached to this email).
No lld, so far as I know - believe I'm using gold at the moment for both
builds.
Did just reproduce this with a clean release build and a clean asanified
build from that. Same errors. I