[Nitro] Og NameError

Trans transfire at gmail.com
Thu Dec 27 23:47:38 EST 2007



On Dec 27, 8:32 am, Matthew B Gardner <weat... at speakeasy.net> wrote:
> 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'

I though I already fixed this, but maybe George hasn't had the chance
to apply the patch. The solution is simply that #attributes should be
#instance_attributes.

T.


More information about the Nitro-general mailing list