Paid project: Open source GAE blobstore upload feature in web2py

143 views
Skip to first unread message

anandvc

unread,
Jul 11, 2011, 3:02:35 AM7/11/11
to web2py-users
Hello Web2py Wizards,

I'm making a site using Web2py where vendors upload their product
images. The site is deployed on Google App Engine (GAE). The problem
I'm facing is that web2py image uploads on GAE only support files of
upto 1 mb by default. I currently do not have the in-depth knowledge
of web2py and python to modify the form generated by the crud.create()
method so that it supports GAE Blobstore which can store files larger
than 1 mb on GAE.

I would like to pay someone to add this feature in web2py and release
it as open source. It has to be plug and play, i.e. the crud.create
generated form should know (or have a parameter) that tells it that
this form is hosted on app engine and automatically it should store
all files using the blobstore API, even if they are smaller than 1 mb,
because then even larger files can be uploaded.

Also, I would like the form view generated to have an Ajax-based or
Flash-based upload widget with a progress bar and support multiple
uploads, either in a queue or in-parallel.

All this should happen without me having to change my currently simple
code where the model has a bunch of fields of type upload along with
other fields for product description, controller has a form=
crud.create() line and the view has {{=form}}.

Please provide your price+time quotes here in the comments and a link
to your profile elsewhere where I can get in touch with you to get
this going. Thank you!

Regards,

- Anand

http://anandvc.com

anandvc

unread,
Jul 12, 2011, 1:14:52 AM7/12/11
to web2py-users
No takers yet? If you're not comfortable putting a quote here, please
email me your quote directly at my first name dot my last name at
gmail.com.

Thank you!

- Anand Chhatpar

Anthony

unread,
Jul 12, 2011, 1:22:57 AM7/12/11
to web...@googlegroups.com
You can also try contacting some of the folks listed on http://www.experts4solutions.com/.

On Tuesday, July 12, 2011 1:14:52 AM UTC-4, anandvc wrote:
No takers yet? If you're not comfortable putting a quote here, please
email me your quote directly at my first name dot my last name at
gmail.com.

Thank you!

 - Anand Chhatpar


Massimo Di Pierro

unread,
Jul 12, 2011, 1:42:35 AM7/12/11
to web2py-users
This is a complex issue. The GAE blobstore has a workflow that
requires the uploaded file to go through its own form generated by the
blobstore API. That is different that web2py forms. You can use it but
you have to use the API.
Anyway, open a ticket on google code and I will look more into this
asap.

anandvc

unread,
Jul 12, 2011, 2:25:14 AM7/12/11
to web2py-users
Thank you so much! I just added this:
http://code.google.com/p/web2py/issues/detail?id=335

- Anand

On Jul 12, 10:42 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:

Martín Mulone

unread,
Jul 12, 2011, 6:42:39 AM7/12/11
to web...@googlegroups.com

howesc

unread,
Jul 12, 2011, 8:54:52 PM7/12/11
to web...@googlegroups.com, mar...@tecnodoc.com.ar
my comments are at the bottom of the slice that Martin linked above.  I'm using (perhaps a variant of) the code on www.elizabethscanvas.org.  i don't know of a good way to package it with web2py, but feel free to try the slice and let me know where it is broken.

for starmakerstudios.com i need to integrate that blob upload for profile pictures, so i'll be in that code again in the next week or two, let's get it cleaned up and shared!!

Anand, if we get this working for you feel free to just contribute your cash to web2py. ;)

christian

anandvc

unread,
Jul 13, 2011, 9:01:04 AM7/13/11
to web2py-users
Thank you, Martin and Christian, for working on this! Of course, I
would gladly donate to web2py, as I have also offered in the google
code ticket that I created.

I'll keep following this thread for any updates that you can share.
Thank you, once again!

- Anand

On Jul 13, 5:54 am, howesc <how...@umich.edu> wrote:
> my comments are at the bottom of the slice that Martin linked above.  I'm
> using (perhaps a variant of) the code onwww.elizabethscanvas.org.  i don't
Reply all
Reply to author
Forward
0 new messages