search for: filelist

Displaying 20 results from an estimated 320 matches for "filelist".

2004 Apr 21
2
Resizing a ListCtrl
...ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing I''ve noticed - this seems to be ignored in the example below: @fileList.set_column_width(0, LIST_AUTOSIZE_USEHEADER) Cheers, Assaph p.s. I''m using ruby 1.8.1 (2003-12-25) [i386-mswin32] with the latest wxruby (0.3.0). This has also happened with wxRuby 0.2.0. # BEGIN CODE require ''wxruby'' include Wx class MainFrame < Frame def i...
2015 Feb 27
2
yum causing RPC timed out?
...at localhost ~]# yum --disablerepo=epel --disablerepo=rpmforge provides '*/applydeltarpm' do_ypcall: clnt_call: RPC: Timed out do_ypcall: clnt_call: RPC: Timed out http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2: [Errno 12] Timeout on http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2: (28, 'Resolving timed out after 30385 milliseconds') Trying other mirror. do_ypcall: clnt_call: RPC: Timed out...
2015 Feb 27
0
yum causing RPC timed out?
...he upstream for the repo? How do I find a working upstream? More info from command execution: do_ypcall: clnt_call: RPC: Timed out do_ypcall: clnt_call: RPC: Timed out http://mirror.supremebytes.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2: [Errno 12] Timeout on http://mirror.supremebytes.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2: (28, 'Resolving timed out after 30384 milliseconds') Trying other mirror. One of the configured repo...
2007 Nov 15
1
program I used to test xattrs
...<sys/stat.h> #include <sys/time.h> #include <attr/xattr.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <dirent.h> #include <unistd.h> static int get_dir_list(char *dir, char ***filelist) { struct dirent **namelist; int n = 0, temp, i = 0, size = 0; struct stat buf; temp = n = scandir(dir, &namelist, NULL, alphasort); if (n < 0) { perror("scandir"); return -1; } if (n == 2) { while (n--) free(namelist[n]); free(namelist); return n; } /* we...
2003 Feb 12
2
Filelist caching
Hi, I've noticed every time someone does an rsync-request on my ftp-site (which also provides rsync as mirror method), rsyncd creates a filelist. This is a quite IO and CPU intensive procedure, especially for things mirrors like FreeBSD with lots of little files. I was wondering... is there a way to cache that filelist? Our mirrors are updated once, or twice a day, it could speed up downloads when I create a filelist everytime we've m...
2012 Jun 18
1
Changing many csv files using apply?
Dear all, I have many csv files whose contents I want to change a bit en masse. So far, I've written code that can change them in a for loop, like so: # Subset of files in the folder I want to change subset = "somestring" # Retrieve list of files to change filelist=list.files() filelist = filelist[grep(subset, filelist)] for(i in 1:length(filelist)){ setwd(readdir) temp = read.csv(filelist[i],as.is = T, strip.white = T) >whatever I want to do to temp setwd(writedir) write.table(temp, file = filelist[i], sep = ",", col....
2009 Feb 19
2
read.table : how to condition on error while opening file?
...read.table in a loop, to read in multiple files. The problem is that when a file is missing there is an error message and the loop is broken; what I'd like to do is to test for the error and simply do "next" instead of breaking the loop. Anybody knows how to do that? Example: filelist <- c("file1.txt", "file2.txt", "file3.txt") for (i in 1:3) { if (read.table(filelist[i]) == ERROR LOADING FILE) { # this is where I do not know how to write the condition print(paste("error opening file ", filelist[i], sep="")) n...
2003 Jan 04
4
filelist calculation algoritm
HI all, efficiency question for VERY low bandwith networks Suppose I know the list of files that are changed What is the most efficient way to make rsync sync this list. Currently I use --include-from --exclude to generate a 'filelist' but I suspect that client and/or server exchange the list of files in the module to be synced. this traffic can be avoided since the include-from points to FILE names and not FILE patterns Suggestions ? W
2013 Aug 14
1
Mirror failure
Hi, all. I was getting: `http://mirror01.th.ifl.net/epel/6/x86_64/repodata/c60f7c3ee6f9a4902d5ce9dd181a84ca684bba1a1df1c612702c7c6760a04645-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror01.th.ifl.net'" Trying other mirror. ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/repodata/c60f7c3ee6f9a4902d5ce9dd181a84ca684bba1a1df1c612702c7c6760a04645-filelists.sqlite.bz2:...
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
...9;'reverse_scaffold'' I have created the models/controllers/views for my existing Oracle tables. All seems to work well, using /model/index, /model/show for most of my tables, *except* when one of the tables contains a Oracle ''date'' column, for example when going to ~/filelists/show/959: ActiveRecord::StatementInvalid in FilelistsController#show ArgumentError: invalid date: SELECT * FROM filelist WHERE (filelist.fllid = 959) I already tried updating the record with NULL values for the date columns, or with actual valid date values, but ActiveRecord *or* OracleEnhancedA...
2009 Mar 23
2
Looping of read.table and assignment
...h the help of textbooks and the internet, but it only seems to read in the final data file over and over again. For example, when I type:> table_1951 I get the same values in the table as when I type> table_2000 despite the values in the source tables being different: year <- 1951:2000 filelist <- paste("C:\\Documents and Settings\\Data\\table_",year,".txt", sep="") filelist # Code seems to operate successfully up to this point for (i in filelist) { for (iyear in 1951:2000) { assign(paste("table_",iyear, sep=""),read.table...
2010 Feb 19
3
Plotting multiple table automatically
Hi All, I have a slight issue getting R to plot a series of tables automatically. Essentially I have a series of tables that I wish to plot. They are named on_2, on_3 etc. based on the file name when they were read in. I have filelist <- list.files() to give me list of the table names. I wish to plot each table, so I was thinking along some kind of for loop as below: for (i in 1:Number_Files) { plot(filelist[1]) } With a few other bits a pieces, however obviously this tries to plot the character string in filelist, any idea...
2002 Aug 16
1
performance problems while building the filelist...
...S machines in our branch offices and this NAS machines are connecting to the ProLiant server to replicate the date it holds - approx. amount of files on the Proliant server = 26000 Files (~6gb) Here?s the problem: - the Proliant server HDDs are overloaded when more than 3 NAS machines creating the filelists before they start to replicate. - if all 68 machines are connecting it takes 4 hours (!) before all machines got their filelists and start to replicate :-( possible solutions (except upgrading the cache memory of the HDD controller)??? has somebody a idea? can we precompile the filelist and hold...
2005 May 23
3
filelist caching optimization proposal
Hi, As a gentoo-user i frequently run the emerge sync command, which in turn does a rsync with the mainserver. The 'problem' is that the portage directory tree contains about 19.000 directories and 96.000 files. So building the filelist takes a pretty long time, because of the many disk accesses that are neccesary. On the server side the disk-io problem is probably less worse since after the first time the whole tree is cached in the OS disk cache. (but still a lot of cpu resources in all the syscalls i think) My idea is to c...
2008 Aug 19
1
rsync --delete problem with accent characters on Mac OS X HFS
...The Linux is a Debian 4.0 with ext3 filesystem (UTF-8) $ rsync --version rsync version 3.0.2 protocol version 30 The Mac OS X is a 10.5 Leopard with HFS+ (UTF-8) $ /sw/bin/rsync --version rsync version 3.0.3 protocol version 30 (fink version) I have many accents in my filenames: $ ls -l | tee filelist total 12 -rw-r----- 1 tamas users 3 2008-08-19 14:19 ?rv?zt?r? t?k?rf?r?g?p.rtf -rw-r----- 1 tamas users 4 2008-08-19 14:19 ?let.txt -rw-r----- 1 tamas users 0 2008-08-20 00:00 filelist -rw-r----- 1 tamas users 5 2008-08-19 14:19 k?rte.rtf $ file filelist filelist: UTF-8 Unicode text The first syn...
2007 Dec 26
1
scope of plugns
After more than one hour of countless tries, I ask myself a simple question : On what items are plugins supposed to execute ? I''ve tried to create a filelist plugin which, for a page, displays all file in the same directory (a rather old school view of website, where each directory contains an entry point). But, whatever I try, my plugin code is never invoked, and my page content is never transformed. Here is my page index.page --- title: Tout le dum...
2009 Mar 27
2
Assignment to variables fails to loop
...gainst further errors. The code as it stands, is as follows: # READ IN FILES FROM DISK # File names have two variable parts: creating a 'file index' is a two-step process index <- expand.grid(year = sprintf("%04d", seq(1986, 1995)), month = sprintf("%02d", 1:12)) filelist <- paste("C:\\Documents and Settings\\Data\\comp_runoff_hd_", paste(index$year, index$month, sep=''), '.asc', sep='') filelist # Assign file names to individual objects with variable name components for (i in filelist) { assign(paste("Fekete_&...
2004 Sep 03
1
more filelist --stats
The attached diff causes rsync to show how much time it spends on building and sending its filelist. I'd appreciate if you could consider this change for inclusion in a future release. -------------- next part -------------- diff -ru rsync-2.6.3pre1/flist.c rsync-2.6.3pre1+tykhe/flist.c --- rsync-2.6.3pre1/flist.c 2004-08-12 14:20:07.000000000 -0400 +++ rsync-2.6.3pre1+tykhe/flist.c 2004-09-...
2007 Apr 09
7
RCov results seem to include the spec files
...ov page at http://rspec.rubyforge.org/tools/rcov.html and decided to add it to my project. My rakefile looks like this: require "rake" require "spec/rake/spectask" desc "Run all specs with RCov" Spec::Rake::SpecTask.new("spec:rcov") do |t| t.spec_files = FileList["spec/**/*_spec.rb"] t.rcov = true end When I run rake spec:rcov, it runs the specs using RCov and generates the reports, but it''s including all my spec files as well. At the very bottom I''ll see stuff like spec/models/user_spec.rb 89 73 100.0% it even in...
2011 Dec 11
3
Latest yum update cr (6.1?)
...... ---> Package xorg-x11-drv-xgi.x86_64 0:1.6.0-7.el6_1.1 will be an update --> Running transaction check ---> Package perl-CGI.x86_64 0:3.51-119.el6_1.1 will be installed http://mirror.centos.org/centos/6/cr/x86_64/repodata/21176588c0c317c0b6933f0c0d113263fbb2ff3f6f7bff60cbdff730a38c1db4-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: failure: repodata/21176588c0c317c0b6933f0c0d113263fbb2ff3f6f7bff60cbdff730a38c1db4-filelists.sqlite.bz2 from cr: [Errno 256] No more mirrors to try. You could try using --skip-br...