Sharon and David,

On certain systems, I've had inconsistent success with uploads.  The 
crux of the matter seems to be that Ruby chooses, based on the file 
size, whether to store the buffer in a StringIO or in a Tempfile.  I 
most often get errors with StringIO.  Are the 'problem files' very small 
(i.e. under 10k)?

Sean
> Thanks David,
>
> At least I know it isn't just me now!  
>
> A couple of times I have found that uploading a "problem file" along
> with another couple of files sometimes seems to help, no idea why
> though. It doesn't seem to actually be a file specific problem as I have
> had files that wouldn't upload one day upload fine the next.  
>
> Sean I understand your point re standardisation and keeping the core
> radiant program from becoming bloated, but personally I think the
> page_attachment extension is a great idea (current problems
> notwithstanding) and would love to see it as part of the core program
>
> Sharon 
>
> Message: 4
> Date: Tue, 5 Jun 2007 21:36:25 +0200
> From: David Piehler <[EMAIL PROTECTED]>
> Subject: Re: [Radiant] Page_Attachments
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=utf-8
>
> I'm suddenly getting this same error with a PDF file I am trying to 
> attach. Other files (PDF, JPG, and TXT) have worked fine up until this 
> point and can be attached to the page, just not this specific PDF.
>
>
> This e-mail has been scanned for all viruses by MessageLabs.
> _______________________________________________
> 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