search for: process_fil

Displaying 19 results from an estimated 19 matches for "process_fil".

Did you mean: process_file
2011 Feb 18
1
why 'Template missing' error with form_tag?
ROR newbie here... I''m trying to build a form to upload a CSV file, then parse and store the data. I have debugged this code up this point, but now when I browse to my csv file, and click Upload, I get this error: "Missing template uploads/process_file.html.erb in view path..." Here is my view (in /uploads/new.html.erb) <% form_tag ({:action => ''process_file''}, :multipart => true) do %> <%= file_field_tag ''file'' %> <p> <%= submit_tag "Upload"...
2005 Aug 31
1
MDAC not installing
...a heads up, I've had equal failure using winetools in regards to MDAC. So far, I've tried a version of MDAC 2.6 as well as 2.8 and 2.8 SP1. Here is the output I get in the console when attempting to install: ###### fixme:setupapi:SetupAddInstallSectionToDiskSpaceListA Stub fixme:cabinet:process_files (basecab == ^0x7c5629e0): Memory leak. fixme:setupapi:SETUPX_CreateStandardLDDs LDID_SRCPATH: what exactly do we have to do here ? fixme:setupapi:GenInstall16 unsupported flag: GENINSTALL_DO_REGSRCPATH fixme:setupapi:vcpUICallbackProc16 (0xf740, 0705, 0000, 00000000, 7bcc633c) - semi-stub fixme:s...
2005 Oct 27
1
MDAC not installing
I am writing about the post [Wine] MDAC not installing With the following entry: ###### fixme:setupapi:SetupAddInstallSectionToDiskSpaceListA Stub fixme:cabinet:process_files (basecab == ^0x7c5629e0): Memory leak. fixme:setupapi:SETUPX_CreateStandardLDDs LDID_SRCPATH: what exactly do we have to do here ? fixme:setupapi:GenInstall16 unsupported flag: GENINSTALL_DO_REGSRCPATH fixme:setupapi:vcpUICallbackProc16 (0xf740, 0705, 0000, 00000000, 7bcc633c) - semi-stub fixme:s...
2012 Dec 02
1
Problem with figures
...{figure} \end{document} --------------------------------------------------------------------------------- I got "... ! ==> Fatal error occurred, no output PDF file produced! label: fig1 (with options) List of 3 $ eval: logi TRUE $ echo: logi FALSE $ dev : chr "tikz" Error in process_file(text, output) : Quitting from lines 6-8: (test_Rnw.Rnw) Error in getMetricsFromLatex(TeXMetrics) : TeX was unable to calculate metrics for the following string or character: hwy Common reasons for failure include: * The string contains a character which is special to LaTeX unless esc...
2005 Oct 20
2
MDAC 2.6/2.8 On wine-20050930
...e end it roll back everything and reject the installation here's the debug message on wine fixme:setupapi:GenInstall16 unsupported flag: GENINSTALL_DO_CFGAUTO fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet "C:\\windows\\temp\\IXP001.TMP\\msvcrt.CAB" fixme:cabinet:process_files (basecab == ^0x7cd53260): Memory leak. fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet "C:\\windows\\temp\\IXP001.TMP\\mtxfiles.CAB" fixme:cabinet:process_files (basecab == ^0x7cd53040): Memory leak. fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet &...
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
...${dep_list}default_initramfs + elif [ -f "$1" ]; then is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')" if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then cpio_file=$1 @@ -210,6 +207,15 @@ input_file() { fi } +# input file/dir - process it +process_file() { + if [ -z ${print_header} ]; then + ${dep_list}header "$1" + fi + print_header=y + input_file "$1" "$2" +} + prog=$0 root_uid=0 root_gid=0 @@ -245,21 +251,17 @@ while [ $# -gt 0 ]; do root_gid="$1" shift ;; - "-d") # display de...
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
...me) *What i was trying to do here, was to process the files and create the new XLS file after both of the XLSX files were uploaded:* require ''roo'' require ''spreadsheet'' require ''creek'' class UploadFiles < ActiveRecord::Base after_commit :process_files attr_accessible :inventory, :material_list has_one :inventory has_one :material_list has_attached_file :inventory, :url=>"/:current_user/inventory", :path=>":rails_root/tmp/users/uploaded_files/inventory/inventory.:extension" has_attached_file :material_list,...
2006 Oct 10
1
data streaming using SFTP
Sorry to interrupt, just a quick question... I need to find out if openssh has any functions that would read some memory chuck and transfer that chunk over SSH ( what I mean here is SFTP), except that I don't want it to open a file and read it and transfer it since there will not be enough storage space to store files. Therefore I need to have some functions that would stream the data as they
2008 Jan 28
9
Nested matchers
We''re encountering a failure with Mocha 0.5.6. We had this expectation: game_version.expects(:attributes=).with(:game_file => kind_of(GameFile), :game_id => @game.id) This expectation was passing with 0.5.5, but fails with 0.5.6. I added this test to parameter_matcher_acceptance_test.rb, which passes in 0.5.5 and fails in 0.5.6 def test_should_match_nested_parameters
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
...then + if [ -f "$1" ]; then is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')" if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then cpio_file=$1 @@ -257,8 +238,6 @@ while [ $# -gt 0 ]; do ;; *) case "$arg" in - "-d") process_file "$arg" "$#" - ;; "-"*) unknown_option ;; *) process_file "$arg" "$#" diff --git a/usr/Kbuild b/usr/Kbuild index e338cf9..bc50c48 100644 --- a/usr/Kbuild +++ b/usr/Kbuild @@ -53,14 +53,14 @@ ##### # Generate the initramfs cpio a...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...f [ -f "$1" ]; then - ${dep_list}header "$1" is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')" if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then cpio_file=$1 @@ -214,6 +192,15 @@ input_file() { fi } +# input file/dir - process it +process_file() { + if [ -z ${print_header} ]; then + ${dep_list}header "$1" + fi + print_header=y + input_file "$1" "$2" +} + prog=$0 root_uid=0 root_gid=0 @@ -249,27 +236,29 @@ while [ $# -gt 0 ]; do root_gid="$1" shift ;; - "-d") # display de...
2017 Dec 06
2
FW: R-devel error
....code) params.src = if (group_pattern(chunk.begin)) { stringr::str_trim(gsub(chunk.begin, "\\1", g[1])) } else "" parse_block(g[-1], g[1], params.src) } else parse_inline(g, patterns)}) > 7: split_file(lines = text) > 8: process_file(text, output) > 9: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, encoding = encoding) > 10: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv()) > 11: vweave_rmarkdown(...) > 12: engine$weave(file, quiet = quiet, encodin...
2017 Dec 05
2
FW: R-devel error
I am resubmitting this bug report but with additional information. I am running this with windows 10: w64-mingw32 with R Under development (unstable) (2017-12-04 r73829). I build 'httk' from the command prompt using 'R CMD build httk' after installing the required packages. Then when the vignettes are being created, it crashes. Today I installed the latest versions of Rtools,
2015 Apr 01
0
Asterisk 13.3.0 compiled with clang on FreeBSD crashes
...ped) root at asterisk:~ # I used gdb, to get some backtrace data: (gdb) bt #0 0x0000000803261970 in strcasecmp_l () from /lib/libc.so.7 #1 0x0000000000532926 in media_info_cmp () #2 0x0000000000459bdc in internal_ao2_traverse () #3 0x0000000000459f49 in __ao2_find () #4 0x0000000000533bdf in process_file () #5 0x00000000005330cc in media_index_update () #6 0x00000000005890a2 in update_index_cb () #7 0x0000000000459bdc in internal_ao2_traverse () #8 0x0000000000459925 in __ao2_callback () #9 0x0000000000588ea9 in ast_sounds_reindex () #10 0x00000000005890ca in ast_sounds_index_init () #11 0x00...
2007 Jan 17
2
Using IO.popen to capture stderr?
Hello, I''m trying to write a utility to run an external process and capture it''s stderr. It seems that IO.popen only lets me read the stdout. Any tips for how to read stderr? Mike snippet of code... def process_file(filename) @filename = filename puts "Processing: " + @filename cmdline = "ffmpeg -i " + @filename ffmpeg = IO.popen(cmdline, "w+") ffmpeg.close_write result = ffmpeg.gets result.each do |line| puts "Line from ffmpeg: " + lin...
2017 Dec 06
0
FW: R-devel error
...tterns$chunk.code) params.src = if (group_pattern(chunk.begin)) { stringr::str_trim(gsub(chunk.begin, "\\1", g[1])) } else "" parse_block(g[-1], g[1], params.src) } else parse_inline(g, patterns)}) 7: split_file(lines = text) 8: process_file(text, output) 9: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, encoding = encoding) 10: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv()) 11: vweave_rmarkdown(...) 12: engine$weave(file, quiet = quiet, encoding = enc) 13: doTryCatc...
2017 Dec 06
0
FW: R-devel error
...group_pattern(chunk.begin)) { >> stringr::str_trim(gsub(chunk.begin, "\\1", g[1])) } >> else "" parse_block(g[-1], g[1], params.src) } else >> parse_inline(g, patterns)}) >> 7: split_file(lines = text) >> 8: process_file(text, output) >> 9: knitr::knit(knit_input, knit_output, envir = envir, quiet = >> quiet, encoding = encoding) >> 10: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir >> = globalenv()) >> 11: vweave_rmarkdown(...) >> 12: engine$...
2013 Nov 15
1
Inconsistent results between caret+kernlab versions
I'm using caret to assess classifier performance (and it's great!). However, I've found that my results differ between R2.* and R3.* - reported accuracies are reduced dramatically. I suspect that a code change to kernlab ksvm may be responsible (see version 5.16-24 here: http://cran.r-project.org/web/packages/caret/news.html). I get very different results between caret_5.15-61 +
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: