Remote Template

2010-07-20 Thread Alagu Madhu
hi I would like to call the template from the remote server. Thanks kk -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to

Re: Remote Template

2010-07-20 Thread Alagu Madhu
On Jul 20, 11:22 pm, cd34 mcd...@gmail.com wrote: A rendered template?  like ESI? rendered template A remotely mounted filesystem like NFS? Or a socket get of a template to render locally?  urllib3? Pyro. -- You received this message because you are subscribed to the Google Groups

REMOTE_ADDR

2010-01-04 Thread Alagu Madhu
Hi I try to get client IP using request.environ.get(REMOTE_ADDR),it is working.But It is not working in website. Thanks Madhu Alagu -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: REMOTE_ADDR

2010-01-04 Thread Alagu Madhu
or something like that Alagu Madhu wrote: Hi I try to get client IP using request.environ.get(REMOTE_ADDR),it is working.But It is not working in website. Thanks Madhu Alagu -- You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: REMOTE_ADDR

2010-01-04 Thread Alagu Madhu
(REMOTE_ADDR, None))* - Didip - On Mon, Jan 4, 2010 at 9:21 PM, Alagu Madhu alma...@gmail.com wrote: The website is running apache. request.environ[REMOTE_ADDR]  - 127.0.0.1 request.environ[X_REMOTE_ADDR]  - error thanks On Jan 5, 3:39 am, Jose Galvez jj.gal...@gmail.com wrote

Re: Protect CSS,Image and JavaScript

2008-04-23 Thread Alagu Madhu
Thanks. I am going to move all protect JavaScript files in controller. class JsController(BaseController): def login(self,access_id): ... response.headers['Content-Type'] = 'application/ javascript' return render('/js/login.js')

Pylons Example

2008-04-23 Thread Alagu Madhu
Hi, I would like to add example section in pylons. example/ helloworld xul yui dojo pdf/ reportlab trml2pdf htmltopdf pyPdf database/ sqlalchemy ... ... Thanks

Protect CSS,Image and JavaScript

2008-04-22 Thread Alagu Madhu
Hi xul/ public/ /css xul.css /image xul.jpg /js login.js ... I am able to access css,image and javascript from the browser. http://127.0.0.1:5000/css/xul.css http://127.0.0.1:5000/image/xul.jpg

Re: XML

2008-04-21 Thread Alagu Madhu
thanks On Apr 21, 7:31 pm, Mike Orr [EMAIL PROTECTED] wrote: By the way, there's a stub section in the Pylons book for XML databases.  Among those who use XML Python libraries, which would you most recommend, and which would you disrecommend? (PS. The database chapter and two other

Re: simplejson 1.8.1 windows easy_install (compilation) failure

2008-04-16 Thread Alagu Madhu
Please download simplejson-1.8.1-py2.5-win32.egg from http://turbogears.org/download/filelist.html On Apr 16, 5:12 pm, Marcin Kasperski [EMAIL PROTECTED] wrote: Attempt to easy_install pylons 1.9.7beta on windows ends during simplejson 1.8.1 install with: C:\Program Files\Microsoft Visual

XML

2008-04-15 Thread Alagu Madhu
Hi, I am using pylons 0.9.7beta4) and mako. def xml(self): c.xml = ... response.headers['Content-Type'] = 'application/xml' return render('/xml.mak') xml.mak: ?xml version=1.0 encoding=utf-8 ? customer id=customer ${c.xml} /customer The XML file appear ... customer

Re: XML

2008-04-15 Thread Alagu Madhu
=Pylons 19/kk id=1020 name=Pylons 20/kk id=1021 name=Pylons 21/ /customer On Apr 15, 4:31 pm, Garland, Ken R [EMAIL PROTECTED] wrote: Are you wanting to display the XML raw like this: ${c.xml | x} On Tue, Apr 15, 2008 at 9:29 AM, Alagu Madhu [EMAIL PROTECTED] wrote:  Hi,  I am using

Re: XML

2008-04-15 Thread Alagu Madhu
Thank you very much everybody. ${c.xml | n} and from webhelpers.html import literal def xml(self): c.xml = literal() working fine. On Apr 15, 9:15 pm, Mike Orr [EMAIL PROTECTED] wrote: On Tue, Apr 15, 2008 at 9:22 AM, Garland, Ken R [EMAIL PROTECTED] wrote:  So that

WebOb

2008-04-12 Thread Alagu Madhu
Hi Pylons + WebOb - Documentation Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe

Pylons + Google App Engine

2008-04-09 Thread Alagu Madhu
Hi How to get started with Pylons and Google App Engine ? Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Configuration Files

2008-01-07 Thread Alagu Madhu
hi all, app_globals.py: from pylons import config def __init__(self): cache_dir = config.get('cache_dir') print cache_dir I get 'None' value... Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

xmlhttprequest + json + pylons

2007-11-06 Thread Alagu Madhu
Hi JSONRequest = { post: function( url, data, callback, timeout ) { xhr = new XMLHttpRequest(); xhr.open(POST, url, true); xhr.setRequestHeader( Content-Type, application/x-www-form- urlencoded ); if (callback) { xhr.onreadystatechange =

Re: request.params json

2007-11-05 Thread Alagu Madhu
On Nov 5, 9:44 am, Alagu Madhu [EMAIL PROTECTED] wrote: Hi I am send the data in json format(login={user:python,password:pylons}). ... print request.params.keys() print request.params.items() print request.params.values() ... [] [] [] Thanks Madhu Alagu working fine

request.params json

2007-11-04 Thread Alagu Madhu
Hi I am send the data in json format(login={user:python,password:pylons}). ... print request.params.keys() print request.params.items() print request.params.values() ... [] [] [] Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message

iframe issue

2007-08-15 Thread Alagu Madhu
Hi templates/ test.mako test1.html test.mako: iframe src=test1.html / I am getting error... Error 404 .. NOT FOUND Thanks Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Pylons add-ons

2007-08-14 Thread Alagu Madhu
Thank You for the Information. On Aug 14, 9:57 am, Cezary Statkiewicz [EMAIL PROTECTED] wrote: 2007/8/11, Alagu Madhu [EMAIL PROTECTED]: Hi * Reports * Barcode * Plotting Is it possible to add Pylons 1.0 (Pylons add-ons) ? Hi Pylons itself doesn't do such things

Pylons add-ons

2007-08-11 Thread Alagu Madhu
Hi * Reports * Barcode * Plotting Is it possible to add Pylons 1.0 (Pylons add-ons) ? Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: Pylons 0.9.6rc2 - mimetype

2007-08-04 Thread Alagu Madhu
('login.mako') On 8/4/07, Alagu Madhu [EMAIL PROTECTED] wrote: Hi I am using Pylons 0.9.6rc2 and mako-0.1.8-py2.5.egg. I'm getting error in Pylons 0.9.6rc2.. return Response(render('login.mak'), mimetype='application/xhtml+xml') Thanks Madhu Alagu -- WBR, Dan Korostelev

AuthKit - One Time Password (OTP) authentication

2007-01-21 Thread Alagu Madhu
Can I use One Time Password (OTP) authentication in Authkit. Thanks, Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: @jsonify - 'str' object has no attribute 'request'

2007-01-21 Thread Alagu Madhu
Thanks you,It's working fine.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email

@jsonify - 'str' object has no attribute 'request'

2007-01-20 Thread Alagu Madhu
Hi All, I'm using windows 200 python 2.5 pylons-0.9.4.1 simplejson-1.5 The code is here from kk.lib.base import * from pylons.decorators import jsonify @jsonify def index(self): c.name = Bob c.house = 123 Elm St return c._local.request Error

Authentication and Authorization Systems

2007-01-16 Thread Alagu Madhu
Hi, paste.auth Barrel Authkit What is suitable for the Pylons ? Thanks, Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Merry Christmas and a Happy New Year

2006-12-22 Thread Alagu Madhu
Merry Christmas and a Happy New Year to every Pylons lover ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To

Internationalization - utf-16

2006-12-11 Thread Alagu Madhu
Hello, i18n/ en: msgid Hello msgstr Hello ar(arabic): msgid Hello msgstr عبدالرحمن عبدالله الصبيحي I am getting the following error when I am using the unicode (utf-16) string. Error Traceback clear this clear this Module translate_demo.controllers.hello:17 in index

Paste Error

2006-10-21 Thread Alagu Madhu
Installed f:\pylons Processing dependencies for Pylons==0.9.3dev Searching for Paste==dev,=0.9.9dev-r5793 Reading http://www.pylonshq.com/download/ Reading http://www.python.org/pypi/Paste/ Reading http://pythonpaste.org Reading http://www.python.org/pypi/Paste/0.9.8.1 Best match: Paste dev

Re: Paste Error

2006-10-21 Thread Alagu Madhu
Robert Leftwich wrote: Alagu Madhu wrote: 'svn' is not recognized as an internal or external command, operable program or batch file. You reported a very similar error to the mailing list on the 30/6/06, do the same thing that was recommended to you back then, i.e. install subversion

Pylons + plain DB-API

2006-08-01 Thread Alagu Madhu
Hi, Thoughts? Thanks, Alagu Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group

Re: Pylons + plain DB-API

2006-08-01 Thread Alagu Madhu
Hello, I like to use plain DB-API (psycopg) in pylons. idea's or example. Thanks, alagu madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Pylons + plain DB-API

2006-07-30 Thread Alagu Madhu
Hi, Thoughts ? Thanks, Alagu Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group

exceptions.ImportError: No module named lib.base

2006-07-28 Thread Alagu Madhu
) exceptions.ImportError: No module named lib.base Extra Features Display the lines of code near each part of the traceback Show a debug prompt to allow you to directly debug the code at the traceback Thanks Alagu Madhu --~--~-~--~~~---~--~~ You received this message

Pylons + xml-rpc client and server

2006-07-18 Thread Alagu Madhu
Hi, Any Pylons xml-rpc example ? Thanks, Alagu Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe

Re: update Error

2006-07-01 Thread Alagu Madhu
Thanking you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to