[Nitro] Last patch breaks Og.setup

Peter Abrahamsen rainhead at gmail.com
Mon Jan 2 01:31:40 EST 2006

George's last patch, 20051230113524 ("More Rdocs and small fixes here  
and there...") breaks Og.setup for very simple examples. George, did  
you run the tests?

The following script did not work until I unpulled the last patch:

 >>> foo.rb
#!/usr/bin/env ruby

$DBG = true

require '../nitro-clean/glycerin'
require 'nitro'
require 'og'
include Nitro

Og.setup( :store => :mysql, :name => 'cal', :user =>  
'nitro', :password => '2op1lot3')



D, [2006-01-01T22:30:52.344027 #31738] DEBUG -- : Using memory sessions.
I, [2006-01-01T22:30:52.631521 #31738]  INFO -- : Og uses the Mysql  
E, [2006-01-01T22:30:52.632242 #31738] ERROR -- : Og.setup had  
problems: TypeError => can't convert Symbol into String
E, [2006-01-01T22:30:52.632613 #31738] ERROR -- : #<TypeError: can't  
convert Symbol into String>
E, [2006-01-01T22:30:52.632903 #31738] ERROR -- : /home/peidran/nitro- 
clean/og/lib/og/store.rb:23:in `+'
/home/peidran/nitro-clean/og/lib/og/store.rb:23:in `for_name'
/home/peidran/nitro-clean/og/lib/og/manager.rb:46:in `initialize'
/home/peidran/nitro-clean/og/lib/og.rb:120:in `setup'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060102/234bd06f/attachment.bin 

More information about the Nitro-general mailing list