Thanks, Keymone.  Actually when it was improperly configured on my TxD 
account, I would get stacktraces just from requiring it.  But yes, you 
are right that the problem usually comes down to RubyInline.

Sean

Keymone wrote:
> i had some issues with image_science too but mostly. you better
> they were related to RubyInline. Check if your RubyInline gem installed
> properly and working. it can silently quit when it does not found
> INLINEDIR or HOME in your ENVironment
>
> P.S. require 'image_science' gives you true if it finds the gem installed
> but does not telling you anything if something goes wrong. try after
> require 'image_science' put
>   
>>> ImageScience
>>>       
> if you will see uninitialized constant ImageScience then gem requirement
> failed for some reasons.
>
> On 8/9/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>   
>> Login to your account and try this:
>>
>> $ irb -rubygems
>>     
>>>> require 'image_science'
>>>>         
>> See if that produces an error.  If it does, contact your administrator.
>>
>> Sean
>>
>> David Piehler wrote:
>>     
>>> David Piehler wrote:
>>>
>>>       
>>>> I just switched from Radiant 0.6.1 full-install to Radiant 0.6.2 on
>>>>         
>> gem.
>>     
>>>> Locally everything worked fine, but on the live server the Page
>>>> Attachments extension won't upload image files (JPG and PNG tested).
>>>> Text files and 1MB+ PDFs work fine, but images are a no-go.
>>>>
>>>> The server has the image_science gem for processing images, but NOT
>>>> RMagick or ImageMagick. Here is the log output:
>>>>
>>>> TypeError (Unknown file format):
>>>>
>>>>         
>> /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
>>     
>>>> `with_image'
>>>>
>>>>         
>> /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
>>     
>>>> `with_image'
>>>>
>>>>         
>> /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu.rb:317:in
>>     
>>>> `with_image'
>>>>
>>>>         
>> /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:21:in
>>     
>>>> `process_attachment'
>>>>     /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.2
>>>>         
>> /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in
>>     
>>>> `send'
>>>>     /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.2
>>>>         
>> /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in
>>     
>>>> `callback'
>>>> ...
>>>> ...
>>>>
>>>>         
>>> All directory permissions are set properly, but I'm still getting the
>>> error. I'm wondering if it is a bug with image_science (1.1.1, 1.1.0),
>>> as another Radiant site of mine running a frozen 0.6.1 with
>>> image_science 1.1.3 is uploading images and creating thumbnails just
>>> fine.
>>>
>>> Any ideas?
>>>
>>>       
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>>     
>
>
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to