similar to: Anyone able to get attachment_fu (s3) working with OCS Solutions?

Displaying 20 results from an estimated 30000 matches similar to: "Anyone able to get attachment_fu (s3) working with OCS Solutions?"

2007 Sep 03
0
Attachment_fu won't upload images to S3 on Windows XP?
I''ve been slugging through Google posts on why attachment_fu doesn''t want to upload the entire image file to S3 on a Windows XP machine and fine no conclusions as to what I should do? Here is a link with many suggestions. I''ve tried all of them and none work for me. http://www.ruby-forum.com/topic/99870 I try .png, .jpeg and .gif and they all simply put a ghost file up
2008 Nov 11
1
attachment_fu, aws-s3 and backgroundrb
Hi, I''m using attachment_fu to store files on amazon s3. A background job is currently performing the upload and I''m having a strange issue where the very first file uploaded/created (attachment_fu uploads when creating the object) does not get uploaded. The db information is all all good. The model and attachment model associated with it are saved to the db, but the file is
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there, I''d like to use RMagick to watermark an image in the tmp directory before Attachment_fu saves it to Amazon S3. I took a look at the callbacks available in attachment_fu. There''s an ''after_attachment_saved'' method but this would be too late, and a ''before_thumbnail_saved'' but this is no good because it''s for thumbnails. I
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
Hi, Im developing an image upload using pothoven-attachment_fu (3.2.8) and aws-s3 (0.6.3). I want to store my files in Amazon S3. I follow all the instructions using attachment_fu and s3 my model has_attachment :content_type => :image, :storage => :s3, :max_size => 1.megabyte, :thumbnails => { :thumb =>
2007 Dec 11
1
attachment_fu and virtual hosts on S3
Hey, I''ve gotten attachment_fu working well with Amazon S3. The only problem is that I don''t know how to generate public URLs that contain my much-cooler virtual S3 host names, e.g. ''images.mydomain.com'' with the plugin. Attachment_fu has a '':server'' configuration option, which will change ''s3.amazonaws.com'' to whatever
2008 Feb 02
1
attachment_fu stopped uploading files to S3
Hey everyone, I''ve been using attachment_fu to upload large media files to S3 with great success in my rails application. However, it has recently stopped uploading. My app appears to be uploading to somewhere, as my browser is displaying a ''sending request to..." status message for about the right length of time. The records are also created in my application database.
2010 Apr 24
2
problem using attachment_fu with S3
Hi, My S3 bucket is located in the US I have attachment_fu working when using file system storage I have sw-swf upload plugin working with my S3 account but I can not get attachment_fu to work with S3 storage. the error I get is : AWS::S3::RequestTimeout in Upload filesController#create Your socket connection to the server was not read from or written to within the timeout period. Idle
2007 Dec 18
2
attachment_fu and S3 -- cannot download file correctly
I don''t know why this isn''t working. If I download a word doc that I uploaded, all I get is the S3 file path in the document. If I access the s3 file path directly in my browser, it downloads the file correctly. Here is my controller method: def download @curriculum = @school.curriculums.find(params[:id]) send_data @curriculum.attachment.public_filename, :filename
2010 Apr 03
0
Change from attachment_fu db BLOB to Paperclip S3
Hi: I have moved from using attachment_fu with files stored in the DB to Paperclip using S3. The trick now is to migrate the files from the DB to S3. I have tried a few methods like: SThreeFile.create(:file => AttachmentFuFile.first.data) and @attachment = AttachmentFuFile.first SThreeFile.create(:file => ActionController::Streaming.send_data @attachment.data, :filename =>
2008 Sep 02
4
Attachment_fu, Paperclip, & S3
For various reasons, I made a git branch and installed Paperclip in place of attachment_fu. Paperclip works great except that images seem to have lost some quality; edges have gone a little too jaggy to be able to drop attachment_fu just yet. After a post on the Paperclip Google Group, someone suggested the :convert_options could be passed additional attributes, like ''quality'',
2007 Apr 18
3
nil.symbolize_keys -- error with attachment_fu
I''ve spent at least 2 hours on this one problem. On my local machine in my controller I have this: def new @page_title = "New User" @user = User.new @photo = Photo.new end All is good. Now, on the remote server I get an error when accessing the ''new'' view. If I remove @photo = Photo.new from the controller then the error goes away. This same error
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this... >From mongrel.log /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/ transactions.rb:85:in `transaction'': Transaction aborted (ActiveRecord::Transactions::TransactionError) from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ configurator.rb:293:in `call'' from
2007 Sep 18
2
Making attachment_fu polymorphic
I am working on a small model mixin called attachment_kung to make attachment_fu polymorphic, so you no longer need a different table and Model class for every associated attachment (Productimage, Ad_doc, etc). All you really need is one model and table to handel all your attachments - in some cases, anyway. I have the code working, but have run into one small hitch that I can''t seem to
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but I''ve been having a terrible time trying to figure out an issue when using "update_attributes". I''m storing files on the file system rather than in a database. It seems that when "update_attributes" is called with a new file, upload_data= tries to copy a file that
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything works perfectly except the thumbnail column in my DB is alwas NULL. I''m using S3 as my storage system. Anyone else having this issue with thumbnails? has_attachment :content_type => :image, :storage => :s3, :max_size => 500.kilobytes, :resize_to =>
2007 Jun 29
1
attachment_fu validation error
I have this class: class Logo < ActiveRecord::Base has_one :something has_attachment :content_type => :image, :storage => :db_file, :max_size => 500.kilobytes :thumbnails => {:web => ''150x100'', :pdf => ''150x100''}, :processor =>
2008 Dec 05
0
Asterisk, OCS and Caller-ID
Hello Everyone, We've connected OCS to Asterisk via OpenSips, and the voice functionality is working fine. I was wondering if anyone out there who has implemented a similar system would be willing to share any information on how they have implemented this, specifically with regards to URI numbering on the OCS side. So far, we've done this: 1. Extensions in * are 4-digit, and the
2007 Sep 09
4
Images larger than 40k uploaded with attachment_fu won't display
I have a problem displaying images when using attachment_fu. When I try to display the image, only about 40k appears in the browser, and with some images even that much is not visible (just garbage when I view source). I can display images smaller than 40k correctly. I''m storing the images in the database (mysql) and haven''t tried storing in the file system to see if that works
2011 Nov 15
1
Adding power devices support to OCS Inventory NG
Dear OCS fellows, I've been thinking about working on adding power devices knowledge to OCS for years. Following the last Ubuntu Developer Summit, I know have an "excuse" to do so: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-cloud-power-management My below proposition is related to the above blueprint. So please keep in mind that the target is also to be able to
2007 Mar 09
0
Merb + attachment_fu
Merbists, I saw a note in the attachment_fu source code regarding supporting Merb[1] as well as a post on the Caboose forum[2]. Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle uploads for a Rails app? I''ve hacked together something, but it''s not pretty. Besides fixing the TODO mentioned in the attachment_fu source code to support Merb