I think it almost works. :) The uploaded files were redirected to the
gallery_images table, but when I try to display them using the
download function, the app can't retrieve them. I get the following
error:
Traceback (most recent call last):
File "/base/data/home/apps/scalpellino-manufactory/
3
hmm. a GAE thing. I think it is fixed now. One more test please.
On Oct 2, 11:44 am, István Gazsi wrote:
> I have tried it on GAE, but it looks like it uses the gallery table
> instead of the gallery_images table, so the uploaded files are not
> redirected to the other db table.
>
> On Oct 1, 9:5
I have tried it on GAE, but it looks like it uses the gallery table
instead of the gallery_images table, so the uploaded files are not
redirected to the other db table.
On Oct 1, 9:58 pm, István Gazsi wrote:
> It's great now it works! :) Thank you very much. I will test it on GAE
> as soon as I c
I'd like to second that comment - and add patient community and lead
architect to it too!
On Oct 1, 1:47 pm, István Gazsi wrote:
> Thanks Massimo, you're working really fast! And by the way web2py has
> the most user-friendly developers and community I have ever seen. :)
It's great now it works! :) Thank you very much. I will test it on GAE
as soon as I can and I'll post the results here.
Have a nice day!
István
On Oct 1, 9:18 pm, mdipierro wrote:
> Now I think I fixed it. This time I tried it. Please double check.
> Notice you can have a single table with all
Now I think I fixed it. This time I tried it. Please double check.
Notice you can have a single table with all your files and more than
one record from different tables use that as uploadfield.
Massimo
On Oct 1, 1:29 pm, István Gazsi wrote:
> I've made a little mistake, because I added the uploa
I've made a little mistake, because I added the uploadfield option to
another field, but it didn't cause any problem. But it looks like when
I upload a file into the redirected field (the one with the
uploadfield option) web2py still doesn't create a new record in the
gallery_images table, and it c
one more try please
On Oct 1, 11:52 am, István Gazsi wrote:
> I forgot to mention that I inserted a record into the gallery table. :)
I forgot to mention that I inserted a record into the gallery table. :)
Now I can insert records, but after that no new record appears in the
gallery_images table, and when I try to load the thumbnails via the
download function (with attachment=False) I get the following error:
Traceback (most recent call last):
File "/home/istvan/Documents/Mercurial/web2py-trunk-te
can you please try again from trunnk
On Oct 1, 10:25 am, István Gazsi wrote:
> Thank you!
>
> I've tested it, but when I try to insert a record to the db (on my
> machine not on GAE), get the following error:
>
> Traceback (most recent call last):
> File "/home/istvan/Documents/Mercurial/web2py
Thank you!
I've tested it, but when I try to insert a record to the db (on my
machine not on GAE), get the following error:
Traceback (most recent call last):
File "/home/istvan/Documents/Mercurial/web2py-trunk-test/gluon/
restricted.py", line 188, in restricted
exec ccode in environment
I have not tested it yet so perhaps you can help me.
In trunk
db.define_table('imagestore',
Field('name','upload',uploadfield='myblob'),
Field('myblob','blob'))
db.define_table('car'
Field('name')
Field('image','upload',uploadfield=db.imagestore.name))
notice car.image points to imag
Thanks Massimo, you're working really fast! And by the way web2py has
the most user-friendly developers and community I have ever seen. :)
It should be possible to re-write store() and retrieve() in sql.py to
do this. I will look into it.
Massimo
On Oct 1, 7:40 am, István Gazsi wrote:
> Thanks for the quick reply! I have a database table which stores the
> title, the thumbnail, and the full size version of an image among
> other th
Thanks for the quick reply! I have a database table which stores the
title, the thumbnail, and the full size version of an image among
other things. When I load 25 records from this table to a gallery, the
GAE loads the whole records and it consumes a lot of IO.
Can you recommend something about h
GAE does not support selecting parts of a record. We could filter out
the data at the web2py level but why? You already downloaded more than
you need and filtering would just consume cycles. The solution it not
to use fields you do not need.
If the problem is SQLTABLE, you can filter fields with
S
17 matches
Mail list logo