Tesla installation on Windows

2007-11-04 Thread Rav
Hi! Could anybody tell me how can i install SAContext for Tesla? easy_install sacontext return me: No local packages for download links found for SAContext --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Outputting results of Pylons function to Javascript

2007-11-04 Thread JamesT
I have a javascript file in /public/javascript that I want to receive data from a pylons function. I am returning JSON formatted text in this function in /controller/player.py and want the JSON output going to a Javascript function. I am not sure how to route this data to this function. I have

Re: Outputting results of Pylons function to Javascript

2007-11-04 Thread Christoph Haas
On Sun, Nov 04, 2007 at 07:45:13AM -0800, JamesT wrote: I have a javascript file in /public/javascript that I want to receive data from a pylons function. I assume that you are including and running that Javascript from the HTML output you send to the browser. :) I am returning JSON

Re: Tesla installation on Windows

2007-11-04 Thread Mike Orr
On 11/4/07, Rav [EMAIL PROTECTED] wrote: Hi! Could anybody tell me how can i install SAContext for Tesla? easy_install sacontext return me: No local packages for download links found for SAContext I've attached it to the SQLAlchemy 0.3 for people in a hurry article.

Re: Tesla installation on Windows

2007-11-04 Thread Mike Orr
Why does Tesla need SAContext anyway? Are you using SQLAlchemy 0.3? SAContext is not for SQLAlchemy 0.4. If Tesla depends on it, Tesla should be updated. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Outputting results of Pylons function to Javascript

2007-11-04 Thread JamesT
I think it has to do with the route to the pylons controller/function from the javascript file. Is your javascript located in /public/ javascripts/? Mine is located here and my controller is in / controllers/player.py. Can i refer to the controller/function from the javacript file by using

Re: Outputting results of Pylons function to Javascript

2007-11-04 Thread Christoph Haas
On Sun, Nov 04, 2007 at 05:48:10PM -, JamesT wrote: I think it has to do with the route to the pylons controller/function from the javascript file. Is your javascript located in /public/ javascripts/? Yes. And in one case I load the Javascript from my HTML document like: script

Re: Outputting results of Pylons function to Javascript

2007-11-04 Thread JamesT
I just got it, I just needed to include $ {h.javascript_include_tag('yui/build/connection/connection-min.js')} in my .mako file before including the datasource component. This makes the /controller/function map as expected. Thank you for your help and your quick responses. On Nov 4, 1:47 pm,

Javascript Debuggers

2007-11-04 Thread EricHolmberg
What have other developers been using for Javascript debugging for their Pylons apps? I seem to recall a thread on here a while back, but I can't seem to find it right now. I currently use Firebug, but it leaves a lot to be desired (like a stack trace). Based upon a post either on here or on

Path to read a data file shipped within an egg?

2007-11-04 Thread Chris Shenton
I've got an app that needs to read and parse a data file (a RADIUS dictionary, not a Python dictionary but a flat file). I want to include this file in my egg so I don't have to depend on the OS having RADIUS installed. In the application's top-level setup.py, I add my data/ subdir to the

Re: Javascript Debuggers

2007-11-04 Thread Dalius Dobravolskas
I currently use Firebug, but it leaves a lot to be desired (like a stack trace). FireBug is general purpose web development tool but usually it is enough. If you need something more powerful you could try venkman http://www.mozilla.org/projects/venkman/. -- Dalius http://blog.sandbox.lt

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