Re: [web2py] Unable to send mail using gmail.com in web2py

2016-07-05 Thread Sai Harsh Tondomker
UnlockCaptcha > > I hope it helps... > > On Sunday, 16 August 2015 20:03:47 UTC+2, Sai Harsh Tondomker wrote: >> >> I tried it still saying unable to send mail >> >> mail = auth.settings.mailer >> mail.settings.server = 'smtp.gmail.com:587' >

[web2py] How to store more information from Facebook using janrain.com api

2016-01-16 Thread Sai Harsh Tondomker
I want to display users picture,age and email-id. Here is the code. from gluon.tools import Auth, Service, PluginManager auth = Auth(db) auth.settings.extra_fields['auth_user']= [ Field('address'), Field('age'), Field('zip'), Field('phone')] service = Service() plugins = PluginManager()

[web2py] Error in login with facebook followed book.

2016-01-16 Thread Sai Harsh Tondomker
I am getting error. { "error": { "message": "Invalid redirect_uri: Given URL is not permitted by the Application configuration", "type": "OAuthException", "code": 191, "fbtrace_id": "AhsP2Ay5Dy9" } } Here is my db.py from gluon.tools import Auth, Service,

[web2py] Re: Unable to send mail in web2py

2015-08-18 Thread Sai Harsh Tondomker
an additional verification step. Usually the error message you get contains the link with the google instructions. On Sunday, 16 August 2015 10:24:42 UTC-5, Sai Harsh Tondomker wrote: mail = auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'devel

Re: [web2py] Re: Unable to send mail in web2py

2015-08-17 Thread Sai Harsh Tondomker
. Usually the error message you get contains the link with the google instructions. On Sunday, 16 August 2015 10:24:42 UTC-5, Sai Harsh Tondomker wrote: mail = auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'develope...@gmail.com

[web2py] Unable to send mail in web2py

2015-08-16 Thread Sai Harsh Tondomker
mail = auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'develope...@gmail.com' mail.settings.login = 'develope...@gmail.com:***' ## configure auth policy auth.settings.registration_requires_verification = True

[web2py] Unable to send mail using gmail.com in web2py

2015-08-16 Thread Sai Harsh Tondomker
mail = auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'crazydevelope...@gmail.com' mail.settings.login = 'crazydevelope...@gmail.com:saiharshvipin' ## configure auth policy auth.settings.registration_requires_verification = True

Re: [web2py] Unable to send mail using gmail.com in web2py

2015-08-16 Thread Sai Harsh Tondomker
...@gmail.com Brasil 2015-08-16 12:26 GMT-03:00 Sai Harsh Tondomker saiharsh@iiits.in: mail = auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'crazydevelope...@gmail.com' mail.settings.login = 'crazydevelope

Re: [web2py] How to insert data using .csv or .xml file

2015-08-06 Thread Sai Harsh Tondomker
I have did same thing which you have shown me in video it show the error message unable to parse csv file UNIQUE constraint failed: Questions.quesno What I need to do for these. Please help me to solve the problem. Waiting for your response. On Tue, Aug 4, 2015 at 9:31 AM, Sai Harsh Tondomker

[web2py] Error while importing from .csv file

2015-08-06 Thread Sai Harsh Tondomker
My db.py is db.define_table(Questions, Field('quesno','integer',notnull=True,unique=True), Field('question', 'text'), Field('qupload','upload',label='Upload Image'), Field('optionA', 'string',label='optionA'), Field('optionB', 'string',label='optionB'), Field('optionC',

Re: [web2py] How to insert data using .csv or .xml file

2015-08-06 Thread Sai Harsh Tondomker
:00 Sai Harsh Tondomker saiharsh@iiits.in: I have did same thing which you have shown me in video it show the error message unable to parse csv file UNIQUE constraint failed: Questions.quesno What I need to do for these. Please help me to solve the problem. Waiting for your response

Re: [web2py] How to insert data using .csv or .xml file

2015-08-03 Thread Sai Harsh Tondomker
, 2015 at 11:39 PM, Selman Kocael selciu...@gmail.com wrote: you must deletenotnull=True,unique=True. 2015-08-03 10:32 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in: How it will store the data. We need to give pattern to csv file right. Please could you give one csv file for my data base

Re: [web2py] How to insert data using .csv or .xml file

2015-08-03 Thread Sai Harsh Tondomker
import csv button. if an error displayed, you must edit yoru csv file. 2015-08-03 8:28 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in: Here is my db.py db.define_table(Questions, Field('quesno','integer',notnull=True,unique=True), Field('question', 'text'), Field('qupload','upload

[web2py] How to insert data using .csv or .xml file

2015-08-02 Thread Sai Harsh Tondomker
Here is my db.py db.define_table(Questions, Field('quesno','integer',notnull=True,unique=True), Field('question', 'text'), Field('qupload','upload',label='Upload Image'), Field('optionA', 'string'), Field('optionB', 'string'), Field('optionC', 'string'), Field('optionD', 'string'),

Re: [web2py] How to insert data using .csv or .xml file

2015-08-02 Thread Sai Harsh Tondomker
, you must edit yoru csv file. 2015-08-03 8:28 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in: Here is my db.py db.define_table(Questions, Field('quesno','integer',notnull=True,unique=True), Field('question', 'text'), Field('qupload','upload',label='Upload Image'), Field

[web2py] To display random questions one by one

2015-07-28 Thread Sai Harsh Tondomker
I have trying to display random question for every login (Means client get different questions for every login). Here I gave my db.py and def doing paper. Please help me to solve the problem. db.define_table('ins_ques',

Re: [web2py] Re: How to insert data in data base by xml file

2015-07-06 Thread Sai Harsh Tondomker
Thanks for reply. Could you please give me one example and where I can get enough matter to write the code. On Mon, Jul 6, 2015 at 1:11 PM, Johann Spies johann.sp...@gmail.com wrote: On 3 July 2015 at 23:43, Anthony abasta...@gmail.com wrote: All of the effort will be in parsing the XML, so

Re: [web2py] Re: Error in database giving 'NoneType' object has no attribute 'first_name'.

2015-07-03 Thread Sai Harsh Tondomker
. Best regards T.Sai Harsh On Wed, Jul 1, 2015 at 7:44 PM, Anthony abasta...@gmail.com wrote: On Wednesday, July 1, 2015 at 10:01:19 AM UTC-4, Sai Harsh Tondomker wrote: Then What I need to do to solve the problem. Your code refers to auth.user, which presumes there is a user logged

[web2py] Re: How to insert data in data base by xml file

2015-07-03 Thread Sai Harsh Tondomker
the data for individual records (which will depend on the structure of the XML) and use the DAL to insert each record. Anthony On Wednesday, July 1, 2015 at 10:01:19 AM UTC-4, Sai Harsh Tondomker wrote: My project is to make simple quizzing site. I have made data base in web2py

[web2py] How to insert data in data base by xml file

2015-07-01 Thread Sai Harsh Tondomker
My project is to make simple quizzing site. I have made data base in web2py. with Question, options and Correct answer. The data will be xml file. From XML file I need to take data and store in data base Please help me to solve the problem. Waiting for your response. Best Regards T.Sai

[web2py] Re: Error in database giving 'NoneType' object has no attribute 'first_name'.

2015-07-01 Thread Sai Harsh Tondomker
Then What I need to do to solve the problem. And how to take data from XML file to data base. Waiting for your response Regards T.Sai Harsh -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Error in database giving 'NoneType' object has no attribute 'first_name'.

2015-06-29 Thread Sai Harsh Tondomker
db.define_table(Questions, Field('quesno', unique=True), Field('question', 'text'), Field('optionA', 'string'), Field('optionB', 'string'), Field('optionC', 'string'), Field('optionD', 'string'), Field('answer', 'string'), Field('extra1','string'), Field('extra2','string'))