Displaying 20 results from an estimated 10000 matches similar to: "parse():ing a unclosed string"
2010 Dec 25
4
[ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority
Bugs item #28801, was opened at 2010-12-25 11:02
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85
Category: win32-process
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Rafa? Michalski (royaltm)
Assigned to: Nobody (None)
Summary: unclosed handle in Process.setpriority/getpriority
Initial Comment:
Using
2020 Jan 24
3
R package builder silently continues after unclosed brace
If you start a function in one file but don't close it, the package
will still build if you manage to close it in a later file. Like so:
a.R
b.R
c.R
a.R:
function_a <- function(){
print("this is function_a")
}
b.R:
function_b <- function(){
print("unclosed function_b")
# no closing }
c.R:
function_c <- function(){
print("function_c will be part of
2020 Jan 25
0
R package builder silently continues after unclosed brace
R CMD build does not actually run any R code, it just puts the files
together into a .tar.gz archive.
R CMD INSTALL will run the R code, and fail.
Gabor
On Sat, Jan 25, 2020 at 4:59 PM Andy Manka <andy.manka at gmail.com> wrote:
>
>
> If you start a function in one file but don't close it, the package
> will still build if you manage to close it in a later file. Like so:
2011 Jul 14
1
SQldf with sqlite and H2
SQldf with sqlite and H2
I have a large csv file (about 2GB) and wanted to import the file into R and do some filtering and analysis. Came across sqldf ( a great idea and product) and was trying to play around to see what would be the best method of doing this. csv file is comma delimited with some columns having comma inside the quoation like this "John, Doe".
I tried this first
2011 Aug 03
2
Malformed CSV Error
Hello,
I am getting error :-
#<CSV::MalformedCSVError: Unclosed quoted field on line 1892.>.
I have following code :-
--------------------------------------------------
@parsed_file =
CSV.open("#{RAILS_ROOT}/private/sales_report_files/#{@file_folder}/#{@sub_file_folder}/#{@file_name.filename}",''r'',:col_sep
=>?\t)
@parsed_file.each_with_index do |row, index|
2006 Apr 10
2
X-HTMLifying Code
This falls into the category of "wonder if anyone''s done this"?
The site I''m working on now has affiliate sponsors who provide link HTML.
Almost all of it violates some W3C spec for XHTML, the primary offenders
being capitalized tag names and unclosed tags like IMG. They also include
ampersands as query-string separators, which also offends the W3C Validator.
Has
2009 Jun 17
12
FasterCVS and Rails
Hello all,
I''m trying to import some csv data (that has latin characters) using
faster csv but I keep getting a MalformedCSVError:
"Unclosed quoted field on line 1."
"/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in
`shift''"
I''ve tested the same code outside of the Rails application an it works
fine.
Can anyone help me?
Here is
2008 Mar 21
2
Editplus bug?
As this is my first post here, I'd like to thank you all for your hard work on Wine. It's great having CS2 working so well.
I just installed Editplus in wine and have noticed an issue int he syntax highlighting.
An opening quote changes the text color and closing it ends the syntax highlight. However opening a quote and hitting return also ends the syntax highlighting even if the quote
2013 Mar 04
0
[PATCH 2/2] Btrfs: fix unclosed transaction handler when the async transaction commitment fails
If the async transaction commitment failed, we need close the
current transaction handler, or the current transaction will be
blocked to commit because of this orphan handler.
We fix the problem by doing sync transaction commitment, that is
to invoke btrfs_commit_transaction().
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/ioctl.c | 4 ++++
1 files changed, 4
2011 Aug 18
0
[PATCH 3/3] Btrfs: fix unclosed transaction handle in btrfs_cont_expand()
The function - btrfs_cont_expand() forgot to close the transaction handle before
it jump out the while loop. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/inode.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 634dd797..ee57b40 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3510,15
2001 Mar 17
0
OpenSSH_2.5.1p2 hang on log out due to unclosed file handles in forked process
OpenSSH folks,
We're run into a problem with OpenSSH_2.5.1p2 servers that
we didn't see before, and I can't reproduce with OpenSSH_2.3.0p1
servers. (OpenSSH_2.3.0p1 seems to work correctly)
We're seeing this bug on Solaris 2.7 and on Linux 2.2.15 machines.
Basically, if you log into a machine, fork a process that leaves
stdout, stderr, or stdin open, and try to log out of that
2018 Mar 05
2
Unclosed parenthesis in grep.Rd
Lines 129-131:
\code{grep(value = FALSE)} returns a vector of the indices
of the elements of \code{x} that yielded a match (or not, for
\code{invert = TRUE}. This will be an integer vector unless the input
There should be a closing parenthesis after \code{invert = TRUE}
2024 Apr 08
2
Exceptional slowness with read.csv
I solved the mystery, but not the problem. The problem is that there's
an unclosed quote somewhere in those 5 additional records I'm trying to
access. So read.csv is reading million-character fields. It's slow at
that. That mystery solved.
However, the the problem persists: how to fix what is obvious to the
naked eye - a quote not adjacent to a comma - but that read.csv can't
2018 Mar 05
1
Unclosed parenthesis in grep.Rd
There are probably more unmatched parentheses around:
detect <- function(file) {
text <- paste(readLines(file), collapse = "")
nchar(gsub("[^(]", "", text)) != nchar(gsub("[^)]", "", text))
}
docs <- list.files("r-source-trunk/src/library",
pattern = "\\.Rd$",
full.names =
2014 Dec 11
0
SUGGESTION: Force install.packages() to use ASCII encoding when parse():ing code?
On 11/12/2014 12:59 PM, Henrik Bengtsson wrote:
> SUGGESTION:
> Would it make sense if install.packages() and friends always use an
> "ascii"(*) encoding when parse():ing R package source code files?
I think that would be a step backwards. It would be better to accept
other encodings. As an English speaker this isn't a big deal to me, but
users of other languages may
2020 Mar 20
1
Issue with Wordpress in HTTPS and Icecast Stream URL in HTTP
Hello Chip,
I have no error in my file. I also test my previous XML file that was
working and it say the same error : line 1: syntax error near unexpected
token `newline'
/usr/local/etc/icecast.xml: line 1: `<icecast>'
BR,
Ceelo
On Fri, Mar 20, 2020 at 3:27 PM Chip <chiapas at aktivix.org> wrote:
> Syntax error in your conf file.
>
> Check it from the command
2017 Nov 05
3
[PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions.
These safe wrappers around Pervasives.open_in and Pervasives.open_out
ensure that exceptions escaping cannot leave unclosed files.
---
common/mlstdutils/std_utils.ml | 39 ++++++++++++++++++++--------------
common/mlstdutils/std_utils.mli | 12 +++++++++++
common/mltools/tools_utils.ml | 39 +++++++++++++++++-----------------
dib/dib.ml | 9 ++++----
2002 Jan 23
1
Question about substitute (and eval, parse and deparse)
I would like to define a function at run-time, but I just can't make it
work (please don't question why I want to do this, because that would be
too much to explain). For example, I want to define the the following
function
foo <- function(x) {
cat("Function", "foo", "was called with argument", x, ".\n")
}
However, I would like to
2006 Oct 06
0
DBI, RMySQL, RSQLite updated
Hello all,
Just uploaded to CRAN updates for RSQLite, RMySQL, and DBI.
The primary svn repository for these packages is now hosted by the
Gentleman Lab in Seattle and our group is working with David James to
help with maintenance. Details on the updates are below.
RMySQL_0.5-9.tar.gz
* Fixed unclosed textConnections
RSQLite_0.4-4.tar.gz
* Upgraded to SQLite 3.3.7
* Default when
2006 Oct 06
0
DBI, RMySQL, RSQLite updated
Hello all,
Just uploaded to CRAN updates for RSQLite, RMySQL, and DBI.
The primary svn repository for these packages is now hosted by the
Gentleman Lab in Seattle and our group is working with David James to
help with maintenance. Details on the updates are below.
RMySQL_0.5-9.tar.gz
* Fixed unclosed textConnections
RSQLite_0.4-4.tar.gz
* Upgraded to SQLite 3.3.7
* Default when