search for: notimplementederror

Displaying 20 results from an estimated 35 matches for "notimplementederror".

2006 Apr 16
1
How to use ZenTest?
OK, supposedly it has Rdoc documentation but I couldn''t find it (not helped by the fact that I''ve never used offline rdocs so I don''t really know where to look). So, does anybody know how to use ZenTest effectively with Rails? I read all I could find on the web but nothing really illuminated for me. I''m trying to get into Test Driven Development (I have already
2004 Feb 01
2
test_services test case
...le" error message that was popping up on some systems. I couldn''t duplicate this on my XP Pro box, but it does show up on my Win2k box. Quick review - this is the test case from tc_service.rb def test_services assert_nothing_raised{ Service.services{ } } assert_raises(NotImplementedError){ Service.services } # no non-block a = [] Service.services{ |s| a.push(s) } assert_kind_of(Struct::Win32Service,a.first) end I added some more information to the error messages, and it turns out that the failure is caused by the call to OpenSCManager() in the services() functi...
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep getting the following error when I run "generate login Account": /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in `manifest'': No manifest for ''login'' generator. (NotImplementedError) from (eval):3:in `__send__'' from (eval):3:in `manifest'' from /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/commands.rb:41:in `invoke!'' from /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/scripts/../scripts.rb:31:in `run'' from ./gene...
2007 Apr 07
4
Error when starting Backgroundrb
Hi Folks, I want to set up backgroundrb on my laptop to do some tests. But when I run "scripts/background start" I get this error: ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/daemonize.rb:160:in `setsid'': the setsid() function is unimplemented on this machine (NotImplementedError) from ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/daemonize.rb:160:in `call_as_daemon'' from ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:191:in `start_proc'' from ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:2...
2019 Nov 23
3
[PATCH nbdkit] python: Pass memoryview to pwrite()
...24 | tr "\0" "U" > /var/tmp/disk.img $ cat zero.py import builtins def open(readonly):     return builtins.open("/dev/zero", "r+b") def get_size(h):     return 1024**3 def pwrite(h, buf, offset):     h.write(buf) def pread(h, count, offset):     raise NotImplementedError def close(h):     h.close() # Running nbdkit $ ./nbdkit -f -v python zero.py plugins/python/python.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/python/python.c b/plugins/python/python.c index 214fffb..2b4361a 100644 --- a/plugins/python/python.c +++ b/plugin...
2010 Sep 08
1
[LLVMdev] Adding a Buildbot Slave
How would I go about registering a machine with the LLVM buildbot as a build slave? I now have a fairly stable linux-x86_64 machine to add to the pool. -Dave
2008 Jan 17
1
Windows
Any plans to get version 1.0 working on Windows? I am getting : script/backgroundrb:24:in `fork'': fork() function is unimplemented on this machine (NotImplementedError) from script/backgroundrb:24 -- Aloha, Kevin English Honolulu, HI 808.271.5125 kenglish at gmail.com www.kenglish77.com
2006 Feb 17
1
IndexReader NotImplemented
Hi there, Sorry if this has come up before, but I couldn''t see it obviously addressed anywhere. There are a few methods in IndexReader that raise NotImplementedErrors. I''m specifically interested in get_term_vector, but there are a number of others. Is there anything specific holding these back, or would patches to implement them be accepted? Thanks, -- Alex
2006 Mar 26
1
add_primary_key Re: #3735
...We have a ticket for it[1], and I''ve attached a simple patch[2]. It works fine for mysql and postgres (8) and Rick is looking at sqlite. Could those of you who use the other database adapters please have a look? Before 1.1 is released we should either support add_primary_key, or raise NotImplementedError as appropriate. [1] http://dev.rubyonrails.org/ticket/3735 [2] http://dev.rubyonrails.org/attachment/ticket/3735/add_primary_key.diff -- Cheers Koz
2010 Jul 15
0
samba4 + OpenLDAP
...e "setup/provision", line 253, in <module> useeadb=eadb, next_rid=opts.next_rid) File "bin/python/samba/provision.py", line 1561, in provision provision_backend.post_setup() File "bin/python/samba/provisionbackend.py", line 86, in post_setup raise NotImplementedError(self.post_setup) NotImplementedError: <bound method OpenLDAPBackend.post_setup of <samba.provisionbackend.OpenLDAPBackend object at 0x9823a2c>> The command i use to provision is: setup/provision --realm=TEST.LOCAL --domain=TEST --server-role='domain controller' --ldap-backend-...
2010 Nov 15
1
Arel 2 isn't playing nice with my legacy tables
Specifically, it''s not playing nice with any type that it doesn''t recognize, eg. SET, ENUM, etc.. Just trying to start my Rails 3.0.2 app I get a NotImplementedError exception "Column type `` is not currently handled" on the first SET field it encounters. Am I missing something here? Should I be disabling Arel for legacy tables or something? Thanks, Jason -- You received this message because you are subscribed to the Google Groups "Ruby on R...
2010 Jul 27
2
Is possible to use samba4 and openldap without ldapi?
I want to use samba4 in a openldap multimaster enviroment, but my tests are going bad, this are the problems: - Provision is broken for openldap: NotImplementedError: <bound method OpenLDAPBackend.post_setup of <samba.provisionbackend.OpenLDAPBackend object at 0xb626194c> - When i try to run samba i get errors like this: samba -i -M single samba version 4.0.0alpha12-GIT-c75106f started. Copyright Andrew Tridgell and the Samba Team 1992-2010 ldb: mod...
2010 Apr 12
2
daemon() function is unimplemented
..." C:\Ruby19\rubyApps\bookmark_manager>ruby script/server -d => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/server.rb:62:in `dae mon'': daemon() function is unimplemented on this machine (NotImplementedError) from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/server. rb:62:in `<top (required)>'' from script/server:3:in `require'' from script/server:3:in `<main>'' " Could anybody suggest me what I''ve to do ? Many t...
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick most of the week. Thanks a million, Ola Bini, for implementing the Java code! Give it a go: Ruby: gem install RedCloth JRuby: jgem install RedCloth Let me know how it goes for you. Jason
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
...tial'' ./test/../lib/active_record/base.rb:429:in `find'' ./test/finder_test.rb:555:in `test_joins_dont_clobber_id'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/lib/mocha/test_case_adapter.rb:19:in `run'' 5) Error: test_select_rows(FinderTest): NotImplementedError: select_rows is an abstract method ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:34:in `select_rows'' ./test/finder_test.rb:608:in `test_select_rows'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/lib/mocha/test_case_adapter.rb:19:...
2007 Nov 21
3
Mongrel Timeout?
Hi, I am using a railsapp to call an external app and print some barcode-labels. My problem is, after a while there seems to be a timeout. Then I need to stop the Mongrel-Server and restart it. Below you can see the error message, when i stop the server. Has somebody seen this before? Greetings, Oli C:\etikett>mongrel_rails start -d -e production ** WARNING: Win32 does not support daemon
2006 Sep 25
5
Ruby LSAPI 1.9 + LSWS 2.2.2
Hi, If you have been using or evaluating LiteSpeed web server + Ruby LSAPI setup for Rails application, please make sure your are using the latest release, Ruby LSAPI 1.9 and LSWS 2.2.2. We have been fixing a few bugs that causes DB connection errors, incompatibilities with WEBrick/Mongrel and ruby process management issues, currently, all bug reported has been addressed in timely manner and
2006 Jan 19
2
Easy way to handle form input without a model class?
I have a couple forms that I''d like to be able to validate and automatically populate, but it shouldn''t be based on AR. In fact I often have a bunch of small forms that I can''t really justify writing a whole new model class for anyway. I''d like to validate the form input, and then use rails helpers to automatically populate the form if validations fail.
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error: MySQL server has gone away" error.. It comes from: /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''. I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql (2.7) gem
2012 Jun 01
1
[LLVMdev] Buildbot exception get_builddir?
Hi, I'm sure you have all seen this exception dozens of times, but I cannot figure out what it means and what I am doing wrong. As per suggestion of the list, I have put up a Mingw64 build slave and am frantically trying to get it to work. But the Waterfall display kindly informs me that "exception get_builddir" is the result of the attempt of building. I know I am doing