[Ogden] A few Og NameError bugs

0 views
Skip to first unread message

Matthew B Gardner

unread,
Dec 27, 2007, 7:47:37 PM12/27/07
to ogden-de...@rubyforge.org
Hello, I've been using Og via darcs through the Nitro Project repo, and I'm
encountering NameError bugs that weren't there as of a few weeks ago on my
standalone application (Og only, not Nitro). These bugs also don't seem to
bother my Nitro application and it runs fine. I guess my first question is,
should I be grabbing Og somewhere other than through the Nitro Project now?

Here are the bugs...I'd sent them to the Nitro list too, but didn't receive
any replies and thought maybe they should be coming here? Thanks in advance
for any help.

** The first NameError was in lib/og/validation.rb, where the Og module wasn't
being declared prior to Og::Mixin -- I just threw module Og; end right before
it and that went away.

** The current NameError is this:

Caught NameError: undefined local variable or method `attributes' for
YAML::YPath:Class
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/util/ann_attr.rb:51:in
`serializable_attributes'
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:192:in
`manageable?'
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:222:in
`manageable_classes'
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:218:in
`manageable_classes'
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:239:in
`manage_classes'
/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/main.rb:192:in `setup'
./lib/core/world.rb:65:in `og_connect'


My version is 0.50.0. Is there some version update out there that I need to
grab? I'm assuming that these errors would have already been caught if they
were in everyones version.

-Matt
_______________________________________________
Ogden-developers mailing list
Ogden-de...@rubyforge.org
http://rubyforge.org/mailman/listinfo/ogden-developers

Trans

unread,
Dec 27, 2007, 8:19:34 PM12/27/07
to ogden-de...@rubyforge.org

Reporting those bugs to the Nitro list was the right thing to do. And
I will fix them ASAP. As I fix bugs in Og, I try to port them over to
Ogden, though I'm a little behind right now.

Note, that Og in the Nitro darcs repo is the official version and will
remain so for the time being. But basically it will become a "tagged"
version (0.50) very soon, so only important bug fixes will be applied
to it. Ogden OTOH is a major improvement project that will soon take
on changes that won't be 100% API compatible with the original Og
(albeit it will still be very close to the original).

So for Nitro use, stick with Nitro's repo. If you are interested in
using Og independent of Nitro then Ogden would be the better choice,
but it will be a few months before it will be "api settled".

T.

Reply all
Reply to author
Forward
0 new messages