[Radiant] rake radiant:extensions:gallery:install fails with radiant-0.9.1

2010-07-31 Thread Martin Stabenfeldt
Hi,

Have any other experienced problems installing the gallery extension
with Radiant 0.9.1 ?
Any tips on how to fix it or which Radiant/extension version that is compatible?

$  git clone git://github.com/technoweenie/attachment_fu.git
vendor/plugins/attachment_fu
$  git clone git://github.com/hairballopolis/radiant-gallery.git
vendor/extensions/gallery
$  cd vendor/extensions/gallery
$  git checkout 0.8.1
$  cd ../../../
# Attachement_fu installed
$ rake radiant:extensions:gallery:install --trace
(in /Users/martin/Work/christianbielke.no)
** Invoke radiant:extensions:gallery:install (first_time)
** Invoke radiant:extensions:gallery:create_config_file (first_time)
** Execute radiant:extensions:gallery:create_config_file
mkdir -p /Users/martin/Work/christianbielke.no/config/extensions/gallery
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `to_sym' for nil:NilClass
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in
`method_missing'
/Users/martin/Work/christianbielke.no/vendor/extensions/gallery/app/models/gallery_item.rb:17
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in
`load_without_new_constant_marking'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in
`load_file'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
`new_constants_in'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in
`load_file'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in
`require_or_load'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in
`load_missing_constant'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in
`const_missing'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in
`const_missing'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in
`send'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in
`const_missing'
/Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:55:in
`init'
/Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:54:in
`class_eval'
/Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:54:in
`init'
/Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:38:in
`activate'
/opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/extension.rb:86:in
`activate'
--
Martin Stabenfeldt
Tlf: +47 93441707


Re: [Radiant] rake radiant:extensions:gallery:install fails with radiant-0.9.1

2010-07-31 Thread Chris Boone
Hi Martin.

On Sat, Jul 31, 2010 at 2:14 AM, Martin Stabenfeldt
 wrote:
>
> Have any other experienced problems installing the gallery extension
> with Radiant 0.9.1 ?

I just recently upgraded a site to 0.9.1 (from 0.6.something - whew,
that was fun) and upgraded the gallery extension as part of that
process. I had some trouble getting everything lined up just right,
but didn't run into the problem you're seeing, and did get everything
working right in the end.

> Any tips on how to fix it or which Radiant/extension version that is 
> compatible?
>
> $  git clone git://github.com/technoweenie/attachment_fu.git
> vendor/plugins/attachment_fu
> $  git clone git://github.com/hairballopolis/radiant-gallery.git
> vendor/extensions/gallery
> $  cd vendor/extensions/gallery
> $  git checkout 0.8.1

Looks like you're checking out the wrong tag. Should be 0.9.1, to
match up with the Radiant version - not 0.8.1.

Try that, and see how it goes.

Good luck,
Chris