Displaying 20 results from an estimated 2000 matches similar to: "optparse::parse_args, using equals sign or not"
2008 Jan 16
3
Application generation
Hi All,
Is anyone seeing this?
$ merb merb_paste
/usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:69:in
`parse_args'': uninitialized constant Merb::RELEASE (NameError)
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize''
from /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:67:in
`new''
from
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
On Thu, 6 Jun 2024 10:49:23 +0300
Omnis ludis - games via samba <samba at lists.samba.org> wrote:
> I added a private directory, but this did not fix the problem, and
> for some reason the other path still appears
> testparm -v | grep private
> Load smb config files from /opt/samba/etc/smb.conf
> Loaded services file OK.
> Weak crypto is allowed by GnuTLS (e.g. NTLM as a
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
here's the nuance, I just had to put this script in the samba folder,
because after assembly I do not find it in the samba folders, although this
script is in the source code, maybe I forgot to specify some keys before
assembly, but I would like to understand how in this in the script, just
hardcode the paths to the directories
my path
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
I added a private directory, but this did not fix the problem, and for some
reason the other path still appears
testparm -v | grep private
Load smb config files from /opt/samba/etc/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_ACTIVE_DIRECTORY_DC
Press enter to see a dump of your service definitions
private
2009 Sep 11
4
[LLVMdev] LLVM-GCC & GV zeroinitializers, 2.5 vs 2.6.
Hello folks,
I have a small piece of C code written like this:
typedef struct {
char a;
int b;
int c;
} foo;
foo myFoo[5] = {{0}};
With llvm-gcc 2.5, I get the following IR:
%struct.foo = type { i8, i32, i32 }
@myFoo = global [5 x %struct.foo] zeroinitializer, align 32
With the current 2.6, I get this:
%0 = type { i8, [11 x i8] }
2011 Dec 07
3
[Bug 1956] New: sftp segfaults in parse_args() when argv[0] is NULL
https://bugzilla.mindrot.org/show_bug.cgi?id=1956
Bug #: 1956
Summary: sftp segfaults in parse_args() when argv[0] is NULL
Classification: Unclassified
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
2011 Jul 23
1
call a function with explicitly not setting an argument
Is there a way to call a function, and explicitly set an argument to 'not
specified'? My situation is the following. I have a function which passes on
most of its arguments to another function. The second function, myfun2,
serializes all arguments and is out of my control.
myfun <- function(...){
return(myfun2(...));
}
now, the value for arguments of myfun are stored in variables.
2012 Feb 09
1
Autorun Picks Up Options
Hi,
I was trying to use the autorun feature of rspec but noticed that when I
run the command to kick off the ruby scripts it picks up the options that I
give to the command.
''myRubyBin -j optionValue''
This then fails with this error,
/usr/lib/ruby/1.8/optparse.rb:1448:in `complete''
:
invalid option: -j
(
OptionParser::InvalidOption
)
from
2007 Mar 01
4
RC1, Rails, and problems with multiple options in spec.opts
I am having inconsistent output with multiple options in the
spec.opts file. I can, for instance, pass --color or --colour, or,
separately, use --drb. But when combining them I get:
/opt/local/lib/ruby/1.8/optparse.rb:1381:in `complete'': invalid
option: --options --color --drb (OptionParser::InvalidOption)
from /opt/local/lib/ruby/1.8/optparse.rb:1379:in `catch''
2011 May 26
1
Is it possible to define a function's arguments via a wildcard in 'substitute()'?
Dear List,
just out of pure curiosity: is it possible to define a function via
'substitute()' such that the function's formal arguments are specified
by a "wildcard" that is substituted when the expression is evaluated?
Simple example:
x.args <- formals("data.frame")
x.body <- expression(
out <- myArg + 100,
return(out)
)
expr <-
2009 Sep 11
0
[LLVMdev] LLVM-GCC & GV zeroinitializers, 2.5 vs 2.6.
Hello Julien,
I think the reason for the change was because there is processor context information stored in the type in 2.6. The reason it's there is to support multicore JIT architecture.
--Sam
----- Original Message ----
> From: Julien Lerouge <jlerouge at apple.com>
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Sent: Thursday, September 10, 2009
2002 May 18
5
Length of a string
Hi,
Suppose I have created something like this in R:
foo <- "myfoo"
and I want to find out the number of character in foo (in other words, R
should return 5 since "myfoo" has 5 charactors.
How can I do it? I tried:
length(foo)
but it returned 1.
Cheers,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got
revision 2997, but the blasted thing just won''t run.
It is checked out to my /Users/zdennis/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle
When it runs I get the below error...
"textmate" is not a valid class name
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples.
The watir example works a little, but always chokes on the ''better
than fudge'' spec (failure output below). Also, is there any command
to pause the "browser"? If my connection slows, the test gets out of
whack.
The selenium example fails right away (output below). I do have the
0.9.0 selenium-rc
2005 Aug 25
1
"couldn't find function" error message in R 2.1.1
Dear R-help,
I have a home-made package works perfectly under R 1.9.1. Now I'm trying to
port it to R > 2.0. So I rebuild the package under R 2.1.1. It installs and
loads OK. But when I try to call some functions "myfoo" in this package, it
returns error message: "Couldn't find function myfoo". I checked all
available manuals, and didn't find any specific
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
Thanks for the help, it turned out to fix the script for changing the
password a little and the password was successfully changed, I recreated
the keytab and the error went away, it's very fine thanks again to everyone
for the help
??, 6 ???. 2024??. ? 11:29, Omnis ludis - games <sergey.gortinsc17 at gmail.com
>:
>
> here's the nuance, I just had to put this script in the
2011 Feb 26
0
[LLVMdev] LLVM IR Type System Rewrite
On Sat, Feb 26, 2011 at 10:25 PM, Chris Lattner <clattner at apple.com> wrote:
> Several people have been proding me to write up my thoughts on how to fix the IR type system for LLVM 3.0. Here are some (fairly stream of conscious) thoughts on the matter:
> http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt
>
> Comments welcome!
So struct types would unique by name. How
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
This enables the ability to take the ovirt-node-image iso and deploy it to an iscsi disk. It also provides a sample pxe configuration for booting based on the iscsi root device. Includes support for user/password as well as reverse chap user/password.
---
Makefile.am | 1 +
livecd-iso-to-iscsi | 201 ++++++++++++++++++++++++++++++++++++++++++++++
ovirt-node-image.spec.in |
2017 Oct 20
1
Rscript Bug Report (improper parsing of [args])
Hi,
A user of my `optparse` package discovered a bug in Rscript's parsing of
[args]. (https://github.com/trevorld/optparse/issues/24)
I've reproduced the bug on my machine including compiling and checking the
development version of R. I couldn't find a mention of it in the Bug
Tracker or New Features.
Can be minimally reproduced on the UNIX command line with following
commands:
2012 Mar 28
2
getopt does not work as expected!
I have the following script (also attached):
#!/usr/bin/Rscript
spec=matrix(c(
'verbose', 'v', 1, "integer",
'help' , 'h', 0, "logical"
),ncol=4, byrow=TRUE)
spec.dim=dim(spec)
spec.opt.long=spec[,1]
spec.opt.short=spec[,2]
spec.opt.l <- spec.dim[1]
infile <- "test.dat"
args=commandArgs(TRUE); l=length(args)
self =