[web2py] Anyone with experience developing Facebook IFrame app using Web2Py?

2010-11-25 Thread Narendran
B + Web2Py? -- Thanks Narendran

[web2py] Viewing tickets on GAE devserver

2010-11-24 Thread Narendran
e way I can see the tickets? And also, how do I see the error tickets on the prod GAE instance? Couldn't find much material around this. Pointers would be appreciated. -- Thanks Narendran

[web2py] Getting AttributeError:EXISTS instance has no __call__ method when deploying to AppEngine from Admin Console

2010-11-23 Thread Narendran
te() File "/usr/lib/web2py/gluon/html.py", line 1336, in _validate (value, errors) = validator(value) AttributeError: EXISTS instance has no __call__ method *

[web2py] StackExchange for web2py community

2010-09-16 Thread Narendran
here. If you think this would be helpful, please do vote for it here: http://area51.stackexchange.com/proposals/20878/web2py?referrer=KRxZCMTgYq0Eu_QlPPDgAw2 --- Thanks Narendran

[web2py] Re: Disable authentication for bots

2010-09-02 Thread Narendran
user, I need to be a registered user to access the content. I'm looking for such a functionality on my site. On Sep 2, 6:32 pm, mdipierro wrote: > In your model you can do something like this: > > if not "Mozilla" in request.env.http_user_agent: raise HTTP(500) > >

[web2py] Disable authentication for bots

2010-09-02 Thread Narendran
Hello all, I have a few controller methods (and corres. web pages) that are authorized to be viewed only by registered users. But I don't want to authenticate search engine bots, Facebook scrapers, and other such services. Is there a recommended way of doing this? (like setting auth requirements ba

[web2py] Getting extended permissions on Facebook auth

2010-08-29 Thread Narendran
Hello, I'm using the latest Facebook oauth module specified in this thread: http://groups.google.com/group/web2py/browse_thread/thread/a5d981ad6f2174e9/f0e9505ced78c653?lnk=gst&q=narendran#f0e9505ced78c653 I'd like to request access to extended user profile (email address and othe

[web2py] Re: Facebook oauth

2010-08-26 Thread Narendran
gt; >> +            redirect(self.url(args='login', vars=request.vars)) > >>         elif args[0] in self.settings.actions_disabled: > >>             raise HTTP(404) > >>         if args[0] == 'login': > > >> 2010/8/20 Michele Comitini :

[web2py] Facebook oauth

2010-08-20 Thread Narendran
if I use default auth instead of Facebook auth. Also, is there any plugin/package that would provide full-fledged support for using Facebook Graph API with web2py? -- Thanks Narendran

[web2py] Weird Behavior - Query returning zero rows when it should return all rows

2010-08-18 Thread Narendran
Hi, I added a new boolean field to a table. And I manually updated the value of the field outside web2py. Now, I get zero rows for any condition I put on that field. Please see the following shell output for an idea: In [7]: offers = db(db.OFFER.IS_PRICE_COMPARED == False).select() ...: In [

[web2py] Re: Getting key error on modifying the length of string in DAL

2010-08-18 Thread Narendran
Hi all, Could someone please help me with this? On Aug 18, 8:29 am, Narendran wrote: > Hi, > No This is MySQL. And I didn't change the field type. > I am sending the model to you in another mail. > > On Aug 16, 11:34 pm, mdipierro wrote: > > > > > > > &

[web2py] Re: Getting key error on modifying the length of string in DAL

2010-08-17 Thread Narendran
Hi, No This is MySQL. And I didn't change the field type. I am sending the model to you in another mail. On Aug 16, 11:34 pm, mdipierro wrote: > can you post the model? is this sqlite? did you also change the field > type? > > On Aug 16, 11:39 am,Narendran wrote: > > >

[web2py] Getting key error on modifying the length of string in DAL

2010-08-16 Thread Narendran
sql.py", line 1592, in __getitem__return dict.__getitem__(self, str(key))KeyError: 'offer_description Please help. -- Thanks Narendran

[web2py] Order not maintained on json conversion of Rows

2010-08-05 Thread Narendran
as_list for Rows always, as that makes more sense? -- Thanks Narendran

[web2py] Re: Having problem accessing admin thru ssh tunneling

2010-07-22 Thread Narendran
Sorry, not version, instance. On Jul 22, 12:19 pm, Narendran wrote: > Ok. understood the problem. > I had to run another version of web2py in the remote (prod) server > on  different port in fact. > > On Jul 22, 10:13 am, Narendran wrote: > > > > > Hi, > >

[web2py] Re: Having problem accessing admin thru ssh tunneling

2010-07-22 Thread Narendran
Ok. understood the problem. I had to run another version of web2py in the remote (prod) server on different port in fact. On Jul 22, 10:13 am, Narendran wrote: > Hi, > As widely recommended, > 1. I have removed the  parameters_*.py on my prod server. > 2. Established an ssh conn

[web2py] Having problem accessing admin thru ssh tunneling

2010-07-21 Thread Narendran
this message: admin disabled because unable to access password file Am I missing something here? -- Thanks Narendran

[web2py] Re: Not getting redirected to referrer page after rpxauth login in plugin_comments

2010-07-16 Thread Narendran
to : http://localhost:8000//default/getOfferDetails?offerId=192 After redirection, in get offer details, the offerId gets converted to a string like this :( In getOfferDetails: OfferId: ['192', '192'] On Jul 16, 7:02 pm, Narendran wrote: > Did that now. Still doesn't

[web2py] Re: Not getting redirected to referrer page after rpxauth login in plugin_comments

2010-07-16 Thread Narendran
Did that now. Still doesn't work. On Jul 16, 6:37 pm, "mr.freeze" wrote: > Have you tried setting this?: > auth.settings.login_next = URL(...) > > On Jul 16, 7:18 am, Narendran wrote: > > > > > Hi, > > I am not sure where the problem is. I am us

[web2py] Re: web2py 1.81.1 is OUT

2010-07-16 Thread Narendran
Looks like there is no get_user method in default Auth. I find a get_or_create_user. May be the name was modified in the recent checkins. On Jul 16, 6:34 pm, "mr.freeze" wrote: > Line 1401 of tools.py needs to be changed (back) from... >     if self.settings.login_form: > to... >    else: > > It

[web2py] Re: Not getting redirected to referrer page after rpxauth login in plugin_comments

2010-07-16 Thread Narendran
Hi, I have upgraded to 1.81.1, and even there, I face the same problem. On Jul 16, 5:18 pm, Narendran wrote: > Hi, > I am not sure where the problem is. I am using rpxauth in the > plugin_comments plugin. I have placed comments plugin in some page > (not index.html). But after

[web2py] Re: web2py 1.81.1 is OUT

2010-07-16 Thread Narendran
Hi, Yes, that was in fact the issue. On fixing that it works. Now, onto David's problem :). On Jul 16, 6:28 pm, Narendran wrote: > I guess in rpx_account.py, the __init__ parameter url has to be > changed to login_url to conform with auth in tools.py. > > On Jul 16, 6:16 pm,

[web2py] Re: web2py 1.81.1 is OUT

2010-07-16 Thread Narendran
I guess in rpx_account.py, the __init__ parameter url has to be changed to login_url to conform with auth in tools.py. On Jul 16, 6:16 pm, Narendran wrote: > On my case, after upgrade, and trying to use rpx, I get this error: > Traceback (most recent call last): >   File "/usr/li

[web2py] Re: web2py 1.81.1 is OUT

2010-07-16 Thread Narendran
On my case, after upgrade, and trying to use rpx, I get this error: Traceback (most recent call last): File "/usr/lib/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/usr/lib/web2py/applications/deals/controllers/default.py", line 156, in File "/usr/l

[web2py] Not getting redirected to referrer page after rpxauth login in plugin_comments

2010-07-16 Thread Narendran
plugins? If not, can you please help me find out the issue? -- Thanks Narendran

[web2py] Re: Facebook on rpxauth

2010-07-15 Thread Narendran
               last_name="familyName") > > > Controller > > def user(): >     return dict(form=rpxAuth()) > > Is the email address different for both the Google and Facebook users > you are testing? > > On Jul 15, 4:49 am, Narendra

[web2py] By-pass sign-in form and open rpxauth sign-in window directly

2010-07-15 Thread Narendran
sing oauth), and directly open the rpxauth's sign-in form? -- Thanks Narendran

[web2py] Re: Facebook on rpxauth

2010-07-15 Thread Narendran
: > I ma be mistaken but rpxauth outsources autentication to rpx > (nowhttp://www.janrain.com/) and they do support facebook. I am not sure > there is any need to modify the code, just add "facebook" to list of > authentication methods you wish to use. > > On 15 L

[web2py] Facebook on rpxauth

2010-07-15 Thread Narendran
Hi, Has anyone created mapping for Facebook on rpxauth? If so, please do share. (I see mappings for Yahoo and Google already in the version I've downloaded.) -- Thanks Narendran

[web2py] Re: Commenting system - Disqus/IntenseDebate

2010-07-14 Thread Narendran
it twice > with the same parameters. > > On 14 Lug, 02:10, Narendran wrote: > > > > > Hi, > > The functionality provided by threaded comments plugin will do for me. > > But I want to add multiple comment widgets on the same page, and > > facing some trou

[web2py] Re: Commenting system - Disqus/IntenseDebate

2010-07-14 Thread Narendran
ot know about them but I have these > > >http://web2py.com/plugins/default/comments > >http://web2py.com/plugins/default/simple_comments > > > Other users have other systems > > > On 13 Lug, 03:11, Narendran wrote: > >> Hi, > >> I'm about to add

[web2py] Commenting system - Disqus/IntenseDebate

2010-07-13 Thread Narendran
on googling for one. -- Thanks Narendran

[web2py] Best way for a config file

2010-07-13 Thread Narendran
es in different env. 3. Other global variables that can change in different envs. -- Thanks Narendran

[web2py] @Grahack Want to buy space on alwaysdata

2010-06-28 Thread Narendran
I found this thread http://www.web2py.com/AlterEgo/default/show/188, where you have promised to get a good deal on alwaysdata. Can you please helpe me with one?

[web2py] web2py hosting in India

2010-06-23 Thread Narendran
Hi, Do anyone know if any hosting solution in India supports web2py deployments? -- Thanks Narendran

[web2py] Using crud in cron

2010-06-21 Thread Narendran
tions.) Can I use crud in cron to do the same? On a shallow browse, it looks like crud APIs will be doing a lot of exception handling (the sort of what I am looking for.) Can someone please advise on this? -- Thanks Narendran

[web2py] DAL not wrapping native DB exceptions

2010-06-18 Thread Narendran
t to write mySQL specific code in my cron module. Can someone please let me know anyone faced a similar situation, and got a solution for this? -- Thanks Narendran

[web2py] default - now() value for datetime column

2010-06-17 Thread Narendran
Hi, I saw a discussion on the same topic a year back. Is there a solution available now? My problem is: I want to have a datetime column in the db (for logging purpose), and the default should be set as current timestamp, at the db level; not at the form(crud) level. -- Thanks Narendran

[web2py] Could not add web2py source folder to Eclipse

2010-06-17 Thread Narendran
omeone please let me know if there is any known issue/or if I am going wrong somewhere? Thanks in advance for your help. -- Narendran