I don't have any experience with the Gallery extension.

Does it expect that an asset manager will exist or does it do that itself?
You can tell radiant 1.0 to ignore the clipped extension by adding it
to config.ignored_extensions
Radiant 1.1 removes extensions from being loaded by default and
requires that you explicitly add them yourself.

On Sun, Aug 5, 2012 at 12:07 PM, Horst Rischbode <ho...@horibo.de> wrote:
> Hello,
>
> I made a fresh install of Radiant 1.0.1 and added the Gallery Extension
> (https://github.com/hairballopolis/radiant-gallery). Gallery Extension seems
> to conflict with the built in asset manager. Plugin attachment_fu must be in
> plugin-directory for Gallery Extension.
>
> Here is what I get when I try to create an asset from admin interface:
>
> /!\ FAILSAFE /!\  2012-08-05 15:37:30 +0200
>   Status: 500 Internal Server Error
>   can't convert nil into Integer
>
> /home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in
> `sprintf'
>
> /home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in
> `make_tmpname'
>     /home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tmpdir.rb:132:in
> `create'
>
> /home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tempfile.rb:134:in
> `initialize'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in
> `new'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in
> `block in parse_multipart'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in
> `loop'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in
> `parse_multipart'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:268:in
> `parse_multipart'
>
> /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:146:in
> `POST'
> [...]
>
> As far as I understand the asset manager uses Paperclipped. But it seems to
> call attachment_fu?
>
> Did anybody succeed in installing Gallery Extension on Radiant 1.0.1? Any
> hints what I am doing wrong?
>
> Thanks in advance
> Horst



-- 
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338

Reply via email to