Re: [Radiant] gallery extension error
thanks guys for help! works fine*! cheers vinz* 2009/11/11 Haselwanter Edmund > > On 11.11.2009, at 10:23, Paul Ingles wrote: > > > I just had the same problem. You need to edit your config/ > > environment.rb file. Inside the config.after_initialize block, add the > > line: > > > > Radiant::Config["gallery.storage"] = "s3" > > > > That fixed it for me. > > It basically is the storage option of attachment_fu > > http://wiki.github.com/technoweenie/attachment_fu > > options are "db_file", "file_system" "db_file", and "s3" > > cu edi > -- > DI Edmund Haselwanter, edm...@haselwanter.com, > http://edmund.haselwanter.com/ > > > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] gallery extension error
On 11.11.2009, at 10:23, Paul Ingles wrote: > I just had the same problem. You need to edit your config/ > environment.rb file. Inside the config.after_initialize block, add the > line: > > Radiant::Config["gallery.storage"] = "s3" > > That fixed it for me. It basically is the storage option of attachment_fu http://wiki.github.com/technoweenie/attachment_fu options are "db_file", "file_system" "db_file", and "s3" cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] gallery extension error
thank's paul, but i don't work with the amazon s3-storage. i wan't to work local. any other's idea's? :) 2009/11/11 Paul Ingles > I just had the same problem. You need to edit your config/ > environment.rb file. Inside the config.after_initialize block, add the > line: > > Radiant::Config["gallery.storage"] = "s3" > > That fixed it for me. > > > On 11 Nov 2009, at 09:16, Emanuel Vinzent wrote: > > > hi > > > > i try to install the gallery-ext. > > > > vinz:dorfbrand vinz$ ./script/extension install gallery > > Initialized empty Git repository in > > /private/var/folders/-q/-qlnHoFOFbCCajjZzhXJDk+++TI/-Tmp-/ > > gallery/.git/ > > remote: Counting objects: 1039, done. > > remote: Compressing objects: 100% (523/523), done. > > remote: Total 1039 (delta 550), reused 850 (delta 440) > > Receiving objects: 100% (1039/1039), 307.03 KiB | 341 KiB/s, done. > > Resolving deltas: 100% (550/550), done. > > rake aborted! > > You have a nil object when you didn't expect it! > > The error occurred while evaluating nil.to_sym > > > > (See full trace by running task with --trace) > > rake aborted! > > You have a nil object when you didn't expect it! > > The error occurred while evaluating nil.to_sym > > > > (See full trace by running task with --trace) > > --- > > > > so i try this: > > > > vinz:dorfbrand vinz$ rake RAILS_ENV=development > > radiant:extensions:gallery:install --trace > > (in /Users/vinz/Sites/dorfbrand) > > ** 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/vinz/Sites/dorfbrand/config/extensions/gallery > > ** Invoke environment (first_time) > > ** Execute environment > > rake aborted! > > You have a nil object when you didn't expect it! > > The error occurred while evaluating nil.to_sym > > /Users/vinz/Sites/dorfbrand/vendor/extensions/gallery/app/models/ > > gallery_item.rb:17 > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:380:in > > `load_without_new_constant_marking' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:380:in > > `load_file' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:521:in > > `new_constants_in' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:379:in > > `load_file' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:259:in > > `require_or_load' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:425:in > > `load_missing_constant' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:80:in > > `const_missing' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:92:in > > `const_missing' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:98:in > > `send' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/dependencies.rb:98:in > > `const_missing' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/base.rb:2199:in > > `compute_type' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in > > `silence_warnings' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/base.rb:2195:in > > `compute_type' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/reflection.rb:156:in > > `send' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/reflection.rb:156:in > > `klass' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/reflection.rb:187:in > > `quoted_table_name' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/associations.rb:1413:in > > `configure_dependency_for_has_many' > > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > > activerecord/lib/active_record/associations.rb:823:in > > `has_many' > > (eval):3:in `has_many' > > --- > > > > the file gallery_item.rb:17 source > > > > has_attachment :storage => Radiant::Config["gallery.storage"].to_sym > > > > the attachement_fu plugin is in the plugin-directory. > > > > Any idea's? > > > > Cheers, vinz > > ___ > > Radiant mailing list
Re: [Radiant] gallery extension error
I just had the same problem. You need to edit your config/ environment.rb file. Inside the config.after_initialize block, add the line: Radiant::Config["gallery.storage"] = "s3" That fixed it for me. On 11 Nov 2009, at 09:16, Emanuel Vinzent wrote: > hi > > i try to install the gallery-ext. > > vinz:dorfbrand vinz$ ./script/extension install gallery > Initialized empty Git repository in > /private/var/folders/-q/-qlnHoFOFbCCajjZzhXJDk+++TI/-Tmp-/ > gallery/.git/ > remote: Counting objects: 1039, done. > remote: Compressing objects: 100% (523/523), done. > remote: Total 1039 (delta 550), reused 850 (delta 440) > Receiving objects: 100% (1039/1039), 307.03 KiB | 341 KiB/s, done. > Resolving deltas: 100% (550/550), done. > rake aborted! > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.to_sym > > (See full trace by running task with --trace) > rake aborted! > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.to_sym > > (See full trace by running task with --trace) > --- > > so i try this: > > vinz:dorfbrand vinz$ rake RAILS_ENV=development > radiant:extensions:gallery:install --trace > (in /Users/vinz/Sites/dorfbrand) > ** 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/vinz/Sites/dorfbrand/config/extensions/gallery > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.to_sym > /Users/vinz/Sites/dorfbrand/vendor/extensions/gallery/app/models/ > gallery_item.rb:17 > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:380:in > `load_without_new_constant_marking' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:380:in > `load_file' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:379:in > `load_file' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:259:in > `require_or_load' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:425:in > `load_missing_constant' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:80:in > `const_missing' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:92:in > `const_missing' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:98:in > `send' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:98:in > `const_missing' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/base.rb:2199:in > `compute_type' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in > `silence_warnings' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/base.rb:2195:in > `compute_type' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/reflection.rb:156:in > `send' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/reflection.rb:156:in > `klass' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/reflection.rb:187:in > `quoted_table_name' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/associations.rb:1413:in > `configure_dependency_for_has_many' > /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/ > activerecord/lib/active_record/associations.rb:823:in > `has_many' > (eval):3:in `has_many' > --- > > the file gallery_item.rb:17 source > > has_attachment :storage => Radiant::Config["gallery.storage"].to_sym > > the attachement_fu plugin is in the plugin-directory. > > Any idea's? > > Cheers, vinz > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman
[Radiant] gallery extension error
hi i try to install the gallery-ext. vinz:dorfbrand vinz$ ./script/extension install gallery Initialized empty Git repository in /private/var/folders/-q/-qlnHoFOFbCCajjZzhXJDk+++TI/-Tmp-/gallery/.git/ remote: Counting objects: 1039, done. remote: Compressing objects: 100% (523/523), done. remote: Total 1039 (delta 550), reused 850 (delta 440) Receiving objects: 100% (1039/1039), 307.03 KiB | 341 KiB/s, done. Resolving deltas: 100% (550/550), done. rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.to_sym (See full trace by running task with --trace) rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.to_sym (See full trace by running task with --trace) --- so i try this: vinz:dorfbrand vinz$ rake RAILS_ENV=development radiant:extensions:gallery:install --trace (in /Users/vinz/Sites/dorfbrand) ** 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/vinz/Sites/dorfbrand/config/extensions/gallery ** Invoke environment (first_time) ** Execute environment rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.to_sym /Users/vinz/Sites/dorfbrand/vendor/extensions/gallery/app/models/gallery_item.rb:17 /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/base.rb:2199:in `compute_type' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/base.rb:2195:in `compute_type' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:156:in `send' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:156:in `klass' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:187:in `quoted_table_name' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/associations.rb:1413:in `configure_dependency_for_has_many' /Users/vinz/.gem/ruby/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/associations.rb:823:in `has_many' (eval):3:in `has_many' --- the file gallery_item.rb:17 source has_attachment :storage => Radiant::Config["gallery.storage"].to_sym the attachement_fu plugin is in the plugin-directory. Any idea's? Cheers, vinz ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant