Blobstore upload with empty file

4 views
Skip to first unread message

Hazzadous

unread,
Jan 3, 2010, 5:02:35 PM1/3/10
to Google App Engine
Having a little trouble using blobstore when file form fields are
empty. I'm getting "Server Error" and nothing useful by the way of
debugging from this error or in the logs. Handler as per
http://codepad.org/TKnI0WuQ and live version at
http://rafikirecords-sandbox.appspot.com/upload_form

Can anyone point to a possible resolution to this problem?

Andy Lo-A-Foe

unread,
Jan 4, 2010, 5:24:13 AM1/4/10
to Google App Engine
Hi,

Perhaps use Javascript to make sure the form is filled in before
allowing the POST?

Regards,
Andy

On Jan 3, 11:02 pm, Hazzadous <ha...@microwayes.net> wrote:
> Having a little trouble using blobstore when file form fields are
> empty.  I'm getting "Server Error" and nothing useful by the way of

> debugging from this error or in the logs.  Handler as perhttp://codepad.org/TKnI0WuQand live version athttp://rafikirecords-sandbox.appspot.com/upload_form

Andy Lo-A-Foe

unread,
Jan 5, 2010, 5:37:32 PM1/5/10
to Google App Engine
You can use JavaScript to check if the file form field is filled in
before submitting.

Regards,
Andy

On Jan 3, 11:02 pm, Hazzadous <ha...@microwayes.net> wrote:

> Having a little trouble using blobstore when file form fields are
> empty.  I'm getting "Server Error" and nothing useful by the way of

> debugging from this error or in the logs.  Handler as perhttp://codepad.org/TKnI0WuQand live version athttp://rafikirecords-sandbox.appspot.com/upload_form

Hazzadous

unread,
Jan 20, 2010, 2:52:30 PM1/20/10
to Google App Engine
Sorry, missed these updates. Yes, I am currently selection form
action based on if any file fields are non empty. JavaScript, as you
allude to.

On Jan 5, 10:37 pm, Andy Lo-A-Foe <andy.loa...@gmail.com> wrote:
> You can use JavaScript to check if the file form field is filled in
> before submitting.
>
> Regards,
> Andy
>
> On Jan 3, 11:02 pm, Hazzadous <ha...@microwayes.net> wrote:
>
>
>
> > Having a little trouble using blobstore when file form fields are
> > empty.  I'm getting "Server Error" and nothing useful by the way of

> > debugging from this error or in the logs.  Handler as perhttp://codepad.org/TKnI0WuQandlive version athttp://rafikirecords-sandbox.appspot.com/upload_form

Reply all
Reply to author
Forward
0 new messages