Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Activity (RSS)

Friday, November 27 2009
1 Error When Using Paperclip and S3 was updated
  • Matt Darby
    • Tag cleared.
    by Matt Darby at 12:34 AM

    Can you comment out lines 68 and 71-73 in scribd_fu.rb, restart your app and try again? Does it produce an error? What is it?

Thursday, November 26 2009
1 Error When Using Paperclip and S3 was updated
  • egenial
    • Assigned user set to Matt Darby
    by egenial at 9:28 PM

    I'm having a similar problem, I'm using version 2.0.5 of scribd_fu. If I do not use the amazon, and write local files, works just fine.

    ScribdFu::ScribdFuUpload...

Monday, November 23 2009
Updated gemspec once again http://git... was committed by Matt Darby at 11:31 PM
Added forgotten hidden files http://g... was committed by Matt Darby at 11:31 PM
Updated README http://github.com/mdar... was committed by Matt Darby at 11:27 PM
Updated gemspec http://github.com/mda... was committed by Matt Darby at 11:27 PM
Updated to use Jeweler http://github.... was committed by Matt Darby at 11:27 PM
Version bump to 0.0.0 http://github.c... was committed by Matt Darby at 11:27 PM
Saturday, November 21 2009
6 Attachment_Fu and CloudFront was updated
5 Issues with .doc(x)/.pdf from Windows was updated
  • Matt Darby
    • State changed from open to resolved
    by Matt Darby at 10:06 AM

    IIRC this was resolved offline and I forgot to close the ticket. Please reply if I'm wrong.

Bumped version number http://github.c... was committed by Matt Darby at 9:57 AM
Added support for Amazon CloudFront S... was committed by devender at 9:56 AM
Tuesday, October 20 2009
5 Issues with .doc(x)/.pdf from Windows was updated
  • Justin
    Justin commented at 7:27 PM

    It's the conversion process that fails.

    • Upload using sribd_fu from windows box: Conversion fails
    • Upload using sribd_fu from linux box: Conversion succeeds
    • Uplo...
  • Matt Darby
    Matt Darby commented at 6:53 PM

    Are you getting any error? Does the upload fail or the conversion process? Have you tried removing the begin/rescue block in #upload and seeing what happens?

    I'...

  • Justin
    Justin commented at 6:06 PM

    I suppose that's possible; however, it seems odd that it would work when running the server from one OS and not another.

    Is it possible that windows is passing ...

  • Matt Darby
    • State changed from new to open
    by Matt Darby at 5:02 PM

    This appears to be an existing issue with Scribd's conversion process, not scribd_fu? Scribd_fu just uploads your document to Scribd and provides easy access to...

  • Justin
    Justin created the ticket at 4:48 PM

    Doc/PDF uploads do not work from Windows environment -- no issues when server is running on Linux.

    I'm experiencing the same issues as documented here:

    http://...

Saturday, October 17 2009
Updated README with updated installat... was committed by Matt Darby at 9:09 PM
Saturday, July 11 2009
4 Background processing was updated
  • Matt Darby
    • State changed from open to wontfix
    by Matt Darby at 10:21 AM
Saturday, June 27 2009
4 Background processing was updated
  • Matt Darby
    • State changed from new to open
    by Matt Darby at 12:08 AM

    This would be highly background processor dependent... I'm not super keen on the idea as Scribd is usually really fast in processing smaller (somewhat normal si...

Wednesday, May 06 2009
4 Background processing was updated
  • Tim S
    • Assigned user set to Matt Darby
    by Tim S at 11:58 AM
Tuesday, May 05 2009
4 Background processing was created
  • Tim S
    Tim S created the ticket at 10:28 AM

    Is there a way (or could there be a way!) to have the Scribd processing moved into being a background job, using something like the bj plugin?

Sunday, April 12 2009
Refactored #load_ipaper_document to b... was committed by Matt Darby at 7:27 PM
3 Limit of one document per scribd_user was updated
  • Matt Darby
    • State changed from new to resolved
    by Matt Darby at 7:26 PM

    Again, good catch. Removed memoization in ScribdFu::load_ipaper_document. Fix is in 2.0.4.

  • Paul Canavese
    Paul Canavese created the ticket at 5:12 PM

    There is a bug in load_ipaper_document, as the returned document is cached in @document in the class. This means that if one tries to load more than one documen...

2 Deleting non-existent iPaper document throws error was updated
  • Matt Darby
    • State changed from wontfix to resolved
    by Matt Darby at 7:23 PM

    Good point -- I never thought of that angle. I removed the begin/rescue block from @ScribdFu::load_ipaper_document@, and it will now return nil when the iPaper ...

  • Paul Canavese
    • Assigned user set to Matt Darby
    by Paul Canavese at 5:07 PM

    But what if content type is not scribdable (is not a supported content type)? Then the model is created without an ipaper id. When an attempt is made to delete ...

Tuesday, April 07 2009
2 Deleting non-existent iPaper document throws error was updated
  • Matt Darby
    • State changed from new to wontfix
    by Matt Darby at 7:18 PM

    Yep, this issue is base plugin independent. It's only concern is ScribdFu finding the associated iPaper document via Scribd's API. If the document isn't found, ...

  • shai.shefer (at gmail)
    shai.shefer (at gmail) commented at 7:13 PM

    Does the same thing happen when using attachment_fu? If so then I would keep it the same way if only for consistency and to make it easier for you. :)

    My initia...

  • Matt Darby
    Matt Darby commented at 6:35 PM

    Is it better to just return nil and log the rescue from Scribd?

    I'm leaning towards keeping the ScribdFuError in this circumstance. I think the end programmer s...

  • Matt Darby
    Matt Darby created the ticket at 6:11 PM

    If one tries to delete an has_ipaper_and_uses model and does not have an ipaper document set on it, an exception is thrown. This is because the ScribdFu::load_i...

Monday, April 06 2009
Tightened up #filepath, formatting ht... was committed by Matt Darby at 10:21 PM
Added #display_ipaper alt text spec h... was committed by Matt Darby at 10:21 PM
Tightened up #display_ipaper, added S... was committed by Matt Darby at 10:21 PM
1 Error When Using Paperclip and S3 was updated
  • shai.shefer (at gmail)
    • Assigned user cleared.
    by shai.shefer (at gmail) at 7:24 PM

    Yup - sorry about that.

    Started writing that comment before 7PM.

  • Matt Darby
    Matt Darby commented at 7:14 PM

    CGI::escape encodes the URL, whereas what we need is a simple gsub(' ', '%20')...

    
    >> Attachment.last.file_path
    => "https://s3.amazonaws.com/content.dynamixc...
  • shai.shefer (at gmail)
    shai.shefer (at gmail) commented at 7:12 PM

    Note / Update

    I've tried calling CGI::escape on the attribute.url and the provided link still doesn't seem to work with the Scribd uploader.

  • Matt Darby
    • State changed from open to resolved
    by Matt Darby at 7:04 PM

    Yep, looks spaces in the filename is what killed it. AttachmentFu modifies the filename on save, but Paperclip does not.

    Pushed out the 2.0.3 gem with the fix.

  • shai.shefer (at gmail)
    shai.shefer (at gmail) commented at 11:57 AM

    I should add that:

    
    https://s3.amazonaws.com/BUCKET/ATTRIBUTE/1/Focus%20on%20cash%20flow.doc
    

    IS accessible. So maybe there is just the need to sanitize the ...

2 earlier changes…
  • shai.shefer (at gmail)
    shai.shefer (at gmail) commented at 11:06 AM

    Sure.

    Here is my Paperclip snippet from my document model. The model itself is polymorphic.

    
    belongs_to :documentable, :polymorphic => true
    
    has_attached_fi...
  • Matt Darby
    • Tag set to aws, paperclip
    • State changed from new to open
    by Matt Darby at 7:54 AM

    Can you post your Paperclip model config? What does @model.paperclip_attribute.url return? Could it be that Paperclip is setup to tell AWS to make the S3 files ...

Sunday, April 05 2009
1 Error When Using Paperclip and S3 was created
  • shai.shefer (at gmail)
    shai.shefer (at gmail) created the ticket at 10:30 PM

    When using Paperclip and S3 for storage the following error appears:

    Sorry, but Document #9 could not be uploaded to Scribd

    
    /vendor/gems/mdarby-scribd_fu-2.0...
Home was created by Matt Darby in ScribdFu at 8:57 PM