Displaying 20 results from an estimated 2000 matches similar to: "I need some help with OptionsParser"
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''
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 Sep 16
4
"Not Implemented" doesn''t show
I''m going through Peepcode''s Rspec Basics for an overview.
He''s just doing a simple spec:
class PeepCode
end
describe PeepCode do
it "should be awsome" do
end
end
So running spec spec/simple_spec.rb should produce according to his screen
cast:
1 example, 0 failures, 1 not implemented
but I only recieve:
1 example, 0 failures
Also spec
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
2007 Nov 19
1
Capistrano in InstaRails bombs?
Following the book, I try:
cap --apply-to C:\CapPlanner\trunk\Source capplanner
And get in reply:
C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1443:in `complete'':
invalid option: --apply-to (OptionParser::InvalidOption)
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`catch''
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`complete''
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 |
2020 Feb 19
2
Poor write performance with golang binding
Hi,
I scribbled a simple guestfs based program called guestfs-xfer with
following synopsis:
Usage: guest-xfer [options] [op] [diskimage]
op = [ls|cat|write]
options:
-d, --guestdevice DEV guest device
--blocksize BS blocksize [default: 1048576]
-o, --offset OFF offset [default: 0]
So eg. `cat /dev/urandom | guest-xfer -d /dev/sda
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
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
2024 Jun 05
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
Add a 'private dir' to your smb.conf matching where your Samba packages
are putting 'private'.
Andrew Bartlett
On Wed, 2024-06-05 at 17:13 +0300, Omnis ludis - games via samba wrote:
> I tried to run with this command, but I get an error./chgtdcpass --
> configfile=/opt/samba/etc/smb.confmodule samba_dsdb initialization
> failed : No such objectUnable to load modules for
2006 Mar 08
0
script/console custom prompt
Hi,
I''m not able to use a custom prompt with script/console. I can''t seem to
change the prompt once I''m inside irb. I can only change by passing in
the --prompt arg to irb. However, it seems script/console has the simple
prompt hardcoded in the script. I hacked the script a little and it
seems to work, but I''m sure there is a more elegant way to do it.
2011 Jan 26
0
[Rails 2.3.10] uninitialized constant ActionController::AbstractResponse
I am testing some code under 2.3.10 ( w ruby 1.8.7) and when trying
only to start the console , I get the error :
=====
/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in
`load_missing_constant'':NameError: uninitialized constant
ActionController::AbstractResponse
ruby-1.8.7-p330 :001 >
I cannot see what happen in any log ... where or how can i get some
info on the
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 Feb 08
1
optparse::parse_args, using equals sign or not
Hi
We've found that when using parse_args(..., positional_arguments=FALSE),
it is permissible to invoke our script with either "--myfoo=bar" or
"--myfoo bar"; that is, whether or not the equals sign is present makes
no difference, and in fact both usage forms are demonstrated in the
optparse vignette.
However, we've found that when using parse_args(...,
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
This sets up ovirt-agent to start as a daemon along with dbomatic,
taskomatic etc. While this is not ready for prime time I think it
should be ok as you still require a valid, authenticated, connection
to qpidd to access it.
Signed-off-by: Ian Main <imain at redhat.com>
---
installer/modules/ovirt/manifests/ovirt.pp | 6 +++
ovirt-server.spec.in | 5 ++
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single
feature. In particular, the cucumber Textmate bundle was not working
so I traced it back and discovered that I could not run single files
or features from the command line either. My setup has the following
line in cucumber.yml
default: -r features/support/env.rb -r features/support/plain.rb -r
features/steps
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