Displaying 20 results from an estimated 6000 matches similar to: "Not able to read the content of the file."
2008 Jun 25
2
[LLVMdev] LLVM inquiry
Hi
This is Gaurav Khanna, from MacResearch.org - a community for
scientists that use the Mac and related hardware for research. One
service we perform for the community is supply g77 & gfortran
compilers for Mac OS X (which are not supplied by Apple).
We are interested in the progress made by LLVM and have some quick
questions. We'd appreciate any comments you can make.
1) What is the
2007 Feb 06
2
Which method to use to get content from index with a_a_f?
Hi everybody,
After staring at the a_a_f API for quite sometime now, I decided it''s
time to ask...
Which method should I use to get content from the index without using
highlight? Consider the following controller action:
def preview
if params[:search].blank? # normal case
@text = @myfile. # which method do I use here to get the :text from
the index???
else # if we come from
2007 Apr 18
1
[Bridge] connecting PDA (wlan) to Linux laptop with bridged connections (eth + wlan) ...
Hi All,
After hours of reading and trials, I got the following setup working...
1. Dell Axim X30 PocketPC with 802.11b wireless using DHCP with Open WEP
-- successfully connected to -->
2. Laptop with DLink Airplus DWL-650+ PCMCIA wireless with ndiswrapper
v1.1 driver with network bridge (wired + wireless) and running a DHCP
server listening on interface br0 (eth0 + wlan0)
Here is the
2016 May 29
1
How to find variable names from LLVM IR?
If I have an operand as a Value from an instruction like: Value* V =
opnd->get(); and I am sure this is a variable, I want to know the variable
name (in source code) for this Value object. I am doing it like this:
const Function* Func;
if (const Argument* Arg = dyn_cast<Argument>(V))
{
Func =
2011 Sep 22
1
XCP 1.1 error: Error code: INVALID_SOURCE
Hello,
When trying to start VM I am getting the following error:
# ---
[root@xcp-dev01 ~]# xe vm-start uuid=f535e5bd-6540-3745-d494-14f776da85e5
Error code: INVALID_SOURCE
Error parameters: Unable to access a required file in the specified
repository: file:///tmp/cdrom-repo--2OF-Z/install.amd/xen/vmlinuz., ,
# ---
I have used last xen server documentation to prepare the VM installation
from
2003 Sep 04
1
darwin build with latest gcc from apple
we are trying to adapt the configure in order to work with latest
gcc3.3 (from apple) and g77 3.4 (from
http://gravity.psu.edu/~khanna/hpc.html )
At the moment there is no need to define the __DEBUGGING__ but there is
still a problem with the -lcc_dynamic
does any of you know how to check for this library and explain why we
see -lcc_dynamic often passed as an ld flag.
Where to find doc on
2003 Apr 25
2
Open an r+b file connection on Windows
I am trying to open an existing binary file, seek to a position in the
middle, and then write one byte, while keeping the already existing data
after that byte. It seems to me that I am unable to open a connection to a
binary file in both read and write mode. I can open the "r+b" binary file
connection and seek around, but I can't write to the file. And looking at
the function
2013 Jan 29
1
points rejected as lying outside the specified window
Hello,
I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online:
library(spatstat)
library(maps)
library(maptools)
NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2006 Jun 07
2
Xen problem in AMD Athelon(tm) XP 2400+
Hi,
I have the following configuration for Xen 3.0
OS: Fedora core 5.0
Processor: AMD Athelon(tm ) XP 2400+
RAM: 1GB
I have installed the following RPM into this machine.
xen-3.0.1-4.i386
kernel-xen0-2.6.15-1.2054_FC5.i686
kernel-xenU-2.6.15-1.2054_FC5.i686
After rebooting the machine..i have choose the Domain0 option to boot in
domain0.
But it show''s some hardware
2003 Nov 10
3
Reading an upper triangular matrix
Hola!
I have data in the form of a symmetric distance matrix, in the file I
have recorded only the upper triangular part, with diagonal. The
matrix is 21x21, and the file have row and col names, and some other
information. I am trying to read with the following code (I tried
many variations on it, but all give the same error). The items in the
data file is delimited by white space.
(Part
2007 Apr 14
3
HiddenStore option may be useful
I'm missing a HiddenStore option in OpenSSH, known from some ftp-server
implementations like ProFTPd.
Consider the following scenario:
- A process PROCA is frequently polling the directory for a file called
myfile.txt
- Someone transfers this file via sftp or scp to the directory
- While transfer is going on and the file is not completely written,
PROCA reads in the file and removes is
2011 Feb 16
2
[LLVMdev] verbosity while invoking clang
I am working on implementing a new target for llvm.
So far (to make debugging easier), I was compiling a C code into 2 steps:
1) generate the llvm file:
clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll
2) generate the assembly file using
llc -march=mytarget myfile.ll
Sometimes, I add some verbosity for the 2nd command like "-print-after-all".
Now, I'd like to
2011 Feb 16
0
[LLVMdev] verbosity while invoking clang
On Feb 16, 2011, at 11:08 AM, Damien Vincent wrote:
> I am working on implementing a new target for llvm.
> So far (to make debugging easier), I was compiling a C code into 2 steps:
> 1) generate the llvm file:
> clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll
> 2) generate the assembly file using
> llc -march=mytarget myfile.ll
>
> Sometimes, I add
2008 Oct 03
1
Problems with Share Modes "fill_share_mode_lock failed"
Hi, my details:
Server: 3.2.3
Client: win2k8
When I try list contents of a shared directory through an ASP script
(win2k8 is the client), it's take much time and on samba I saw many
times (4 times for each file) the same error: "fill_share_mode_lock
failed"
I tried "shares mode = No" but no success
It's the log:
...:49, 3]
2009 Jun 18
1
Problem reading from a file
Hi all,
I have written a function
cluster_compare(myfile, mclfile)
I called it giving names of files in the working directory (I see them with
dir()). I get
Error in file("myfile", "r") : cannot open the connection
In addition: Warning message:
In file("myfile", "r") :
cannot open file 'myfile': No such file or directory
I tried even calling
2003 May 20
1
R in BATCH mode
Dear all,
In R<=1.6.2 I usually used the following code (in DOS prompt) to run R in
batch mode
C:\documents> Rcmd BATCH myfile.R
and I could see the results (including warning messages) in the file
myfile.Rout
In R.1.7.0 I'm experiencing the followings:
(1) even if I type "Rcmd BATCH myfile.R myfile.Rout",
no file myfile.Rout is created, but just a "&1" file
2012 Mar 06
2
closing file with close(file) *silently*
Hi All,
I am writing a function that reads a file in
myfile = file('myfile.raw', 'rb')
.
.
.
.
.
close(myfile)
No matter what, I get the warning
Warning message:
closing unused connection 3 (myfile.raw)
Since the whole thing is in a function, I'd like to avoid unecessary noise for the user, and I'd like to kill the warning -- without having to mess with global options.
2008 Nov 13
4
Moving a file with Puppet
I wanted to move a file from one directory to another because my co-
worker didn''t like where it was being put by puppet. I went into
puppet and changed the name parameter of the the file directive. I
then created a new file directive to delete the old file, but I was
wondering if there was a better way to do this.
So, just to clarify, I went from:
file {"myfile":
name
2005 May 19
1
Loading a dynamic library
Hi,
I'm trying to load a .dll library into R 2.1.0 on Windows using the
"dyn.load" function. The library is compiled with gcc 3.3.3 on cygwin
1.5.16.
I compile and link:
$ gcc -c myfile.cpp -o myfile.o [HRT]
$ gcc -shared myfile.o -o myfile.dll [HRT]
I then type, in the R console,
> dynload("myfile.dll")[HRT]
And R hangs.
Any help appreciated.
Thanks.
Will
2011 Jan 21
1
Reading gz compressed csv file - 'incomplete line found'
Hi all,
I am trying to download, decompress and read a csv file. My code:
myurl <-
"ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE24729/GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
myfile <- "GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
download.file(myurl, destfile=myfile, mode="w")
#
mycon <- gzcon(gzfile(myfile,