[web2py] Re: MongoDB Adapter error in select

2012-05-10 Thread kokoyo
Hi Massimo, i did it and get output (test on user_auth table): mongoqry_dict ={'email': 'myem...@gmail.com'} mongofields_dict = SON([('id':1), ('first_name':1), ('last_name': 1), ('email':1), ('password':1), ('registration_key': 1), ('reset_password_key':1), ('registration_id':1) ])

[web2py] Re: MongoDB Adapter error in select

2012-05-09 Thread kokoyo
Hi Costa , first im sorry for my wrong post above,It should be a new post with new question. Actually i have same problem like you, i did a quick test and have not solved this issue yet, here is what i did: set driver to use mongodb in: DB.py : if not request.env.web2py_runtime_gae: ## if

[web2py] Re: MongoDB Adapter error in select

2012-05-09 Thread kokoyo
Seems DAL alway looks the first column if all tables is ID field (after remove _id column from mongo) { _id : ObjectId(4de83c816afb62e8367163b1), first_name : koko, last_name:yo, password } * * On Wednesday, May 9, 2012 7:42:56 PM UTC+9, Francisco Costa wrote: I've enumerated fields

[web2py] Re: MongoDB Adapter error in select

2012-05-08 Thread kokoyo
Hello, i got this error when tried pymongo and web2py: On Linux: type 'exceptions.ImportError' cannot import name son . rows = self.dbset(field == value, ignore_common_filters = self.ignore_common_filters).select(limitby=(0, 1)) File /home/kokoyo/webapps/w2p/web2py/gluon/dal.py, line

[web2py] Re: Copying Date From Sqlite to a Mysql database

2012-05-01 Thread kokoyo
hi, try this: http://www.maxkpage.com/blog/free-sqlite-to-mysql-converter-super-easy/ On Tuesday, May 1, 2012 4:11:19 PM UTC+9, Hassan Alnatour wrote: Dear ALL, How Can i copy all the records and tables in my sqlite database to a mysql database ? regards,

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-05-01 Thread kokoyo
Hi Bruno, thank so much for your movuca i tried this version: rochacbruno-Movuca-ed8c8dc but got error: run : http://localhost:8000/ movuca /setup/installhttp://localhost:8000/sns/setup/install --- it shows: bootstrap run : http://localhost:8000/ movuca

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-05-01 Thread kokoyo
user_groups key in auth, On Tue, May 1, 2012 at 2:45 AM, kokoyo hoatre2...@gmail.com wrote: Hi Bruno, thank so much for your movuca i tried this version: rochacbruno-Movuca-ed8c8dc but got error: run : http://localhost:8000/ movuca /setup/installhttp://localhost:8000/sns/setup/install