[web2py] Re: Select specific fields on GAE

2010-10-03 Thread István Gazsi
is unsubscriptable István On Oct 2, 10:01 pm, mdipierro mdipie...@cs.depaul.edu wrote: hmm. a GAE thing. I think it is fixed now. One more test please. On Oct 2, 11:44 am, István Gazsi theag...@gmail.com wrote: I have tried it on GAE, but it looks like it uses the gallery table instead

[web2py] Re: Select specific fields on GAE

2010-10-02 Thread István Gazsi
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 theag...@gmail.com wrote: It's great now it works! :) Thank you very much. I will test

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
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

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
Thanks Massimo, you're working really fast! And by the way web2py has the most user-friendly developers and community I have ever seen. :)

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
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 theag...@gmail.com 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

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
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

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
I forgot to mention that I inserted a record into the gallery table. :)

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
= self.uploadfield._table(query)[blob_uploadfield_name] TypeError: 'NoneType' object is unsubscriptable And I'm really thankful for your hard work and help. :) István On Oct 1, 8:05 pm, mdipierro mdipie...@cs.depaul.edu wrote: one more try please On Oct 1, 11:52 am, István Gazsi theag

[web2py] Re: Select specific fields on GAE

2010-10-01 Thread István Gazsi
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 theag...@gmail.com wrote: I've made a little mistake, because I added the uploadfield option to another field, but it didn't cause any

[web2py] Re: Image gallery on GAE

2010-09-30 Thread István Gazsi
Thank you for your replies!

[web2py] Select specific fields on GAE

2010-09-30 Thread István Gazsi
Hi everybody! I've working on a web2py application and I deployed it on Google App Engine. In my application I do database query like this: db(db.gallery.category_id==main_category.id).select(db.gallery.id, db.gallery.title, db.gallery.thumbnail, db.gallery.posted_on,

[web2py] Image gallery on GAE

2010-09-15 Thread István Gazsi
Hi everybody! As part of a website I try to make an image gallery in web2py. The database model is simple: there is a 100x100 thumbnail, the whole picture, and (optionally) the image's title. The website runs on Google App Engine and web2py v1.83.2 for now. There are multiple problems with it.

[web2py] Re: International chracters RSS

2010-08-02 Thread István Gazsi
Hi it's me again. :) It turned out, that this problem only occurs with a specific Python interpreter (the one included in openSUSE 11.3 x64). Sorry, it's my fault, I should have checked it. So problem solved! :)

[web2py] International chracters RSS

2010-08-01 Thread István Gazsi
Hi! I used web2py a lot nowadays, and I'm very pleased with it. The only problem I couldn't solve is when I try to use international (accented) characters in a RSS feed created by web2py I always get an error. I've tried to look into it, but I'm not enough experienced in Python and I couldn't