Re: [pylons-discuss] Vulnerabilities

2014-12-29 Thread Jose Galvez
Thanks for the info ! Jose On Dec 29, 2014 4:01 PM, Steve Piercy steve.piercy@gmail.com wrote: At this time, there are no known security vulnerabilities in Pyramid. To report security issues with projects under the Pylons Project, including Pyramid, send email to:

Re: REMOTE_ADDR

2010-01-04 Thread Jose Galvez
the environment variable may be different if you are serving the site from apache. I think is X_REMOTE_ADDR 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

Rum

2009-04-16 Thread Jose Galvez
does anyone have a working example of rum working with pylons? I tired the example on their website, and it works as advertised up until the pylons integration point, where it sort of works, none of the needed js or css content gets handled correctly after integrator, so I'm trying to figure

Re: What I've learned deploying pylons

2009-04-06 Thread Jose Galvez
Well I sure hope it works with 2.6, I just started using it (upgraded to the development svs version as the production version is about a year old) and love it. So I guess I'll be giving it a try on 2.6 as soon as Jaunty (Ubuntu 9.04) comes out at the end of the month as 2.6 will finally be the

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
That would be great I would love to the configs Jose Max Ischenko wrote: Hi jj, On Sun, Mar 29, 2009 at 00:42, jose jj.gal...@gmail.com mailto:jj.gal...@gmail.com wrote: I can certainly sympathize here. ;) I have tried various deployment solutions as well for my work on

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
so is upstartn going to replace System V eventually? Max Ischenko wrote: On Sun, Mar 29, 2009 at 16:55, Mike Orr sluggos...@gmail.com mailto:sluggos...@gmail.com wrote: On 3/28/09, Jose Galvez jj.gal...@gmail.com mailto:jj.gal...@gmail.com wrote: Here is my supervisord

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
Wow this discussion has been really great, I've learned quite a bit just following the different threads. Like I said I think there is room in the wiki for us to post better real world howto's with end to end config files. For example I could post my: 1) init script for supervisord (although

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
Graham Dumpleton wrote: On Mar 30, 7:17 am, Jose Galvez jj.gal...@gmail.com wrote: Wow this discussion has been really great, I've learned quite a bit just following the different threads. Like I said I think there is room in the wiki for us to post better real world howto's with end

Re: Web based email sql admin for Pylons?

2009-03-28 Thread Jose Galvez
this is very cool, I'm going to take a look at it to see if I can use it for some of my projects Jose Michael Brickenstein wrote: Hi! Admin interfaces are available via rum. It is a feature-rich, customizable, mountable WSGI-App. http://python-rum.org/ Michael On 25 Mrz., 17:52, Kevin

Re: What I've learned deploying pylons

2009-03-28 Thread Jose Galvez
INIT INFO # Author: Jose Galvez # Do NOT set -e # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC=Supervisor service Deamon NAME=supervisord DAEMON=/usr/bin/$NAME DAEMON_ARGS= DAEMON_CTl=/usr/bin/supervisorctl PIDFILE=/var/run

Re: What I've learned deploying pylons

2009-03-28 Thread Jose Galvez
thanks for the pointers for mod_wsgi. I will have to use it for a limited distribution project, but for general use I still like using paster with supervisord Graham Dumpleton wrote: On Mar 29, 8:42 am, jose jj.gal...@gmail.com wrote: HI all, Just thought I would share what I've learned

Re: Routes

2009-03-19 Thread Jose Galvez
:.*} On Wed, Mar 18, 2009 at 10:25 PM, Jose Galvez jj.gal...@gmail.com wrote: Can't seem to find them do you have the old URL? In any event, I still wonder if the Routes docs needs to be undated to reflect either the current practice, or maybe the pylons docs or both Jose Jonathan Vanasco

Re: Routes

2009-03-18 Thread Jose Galvez
Can't seem to find them do you have the old URL? In any event, I still wonder if the Routes docs needs to be undated to reflect either the current practice, or maybe the pylons docs or both Jose Jonathan Vanasco wrote: You should look into the .95 -.96 upgrade instructions the changes for

test please ignore

2009-03-01 Thread Jose Galvez
sending a test message please ignore --~--~-~--~~~---~--~~ 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

Re: Pylons vs Tomcat+GWT

2009-02-02 Thread Jose Galvez
Tycon wrote: sure but without client side code, it will have to reload a new page in response for each user interaction Rich Internet Applications rely on client side code to be as powerful as desktop app, and GWT facilitates that in a more comprehensive way than the simple javascript code

Re: Pylons vs Tomcat+GWT

2009-02-02 Thread Jose Galvez
On Mon, Feb 2, 2009 at 11:01 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.comwrote: On Feb 2, 9:51 am, Jose Galvez jj.gal...@gmail.com wrote: Tycon wrote: sure but without client side code, it will have to reload a new page in response for each user interaction Rich Internet

Re: Django or Pylons - comparison details

2008-12-08 Thread Jose Galvez
Alex Marandon wrote: 2008/12/6 zunzun [EMAIL PROTECTED]: Seems like I should use Django? Or should it be Pylons instead? Here is the advice of an average programmer with no emotional involvement in any of these projects. I think it depends on your background. The Pylons

Re: paster on vista: ImportError: No module named app.config.middleware

2008-12-04 Thread Jose Galvez
I've never had any luck launching paster unless I was in the same directory as the ini file. What happens if he does: cd n:\path_to\app paster serve --reload development.ini Does he get the same error? (sorry no Vista on my side either only XP) Jose mario ruggier wrote: Hi, I wonder if

Re: paster on vista: ImportError: No module named app.config.middleware

2008-12-04 Thread Jose Galvez
mario ruggier wrote: On Thu, 04 Dec 2008 09:29:27 -0800, Jose Galvez [EMAIL PROTECTED] wrote: I've never had any luck launching paster unless I was in the same directory as the ini file. What happens if he does: cd n:\path_to\app paster serve --reload development.ini Does he get

Re: Where is secure_button_to in new WebHelpers 0.6.1

2008-10-13 Thread Jose Galvez
Since there is no longer any link_to_remote function? does anyone have a recipe for how to duplicate it with jquery? Jose Mike Orr wrote: On Sun, Oct 12, 2008 at 9:41 PM, Jan Koprowski [EMAIL PROTECTED] wrote: On Oct 12, 10:11 pm, Jorge Vargas [EMAIL PROTECTED] wrote: On Sun, Oct

virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
Has anyone been able to freeze a pylons app with bb-freeze on osx? I've got it working nicely on windows and linux, but really need something equivalent on osx. the ultimate goal is to create a dvd that works on pc's and mac with my pylons app running a local webserver off the dvd. Like I

Re: virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
it to freeze the app pretty well. I even moved the app to a different mac with a different version of python and it ran fairly well. so I think I'll be stick with bbfreeze for now Jose Jose Galvez wrote: Has anyone been able to freeze a pylons app with bb-freeze on osx? I've got it working nicely

Re: virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
it all in a nice wxapp, but for my demo it really did the trick Jose Andrea On Oct 9, 9:27 am, Jose Galvez [EMAIL PROTECTED] wrote: Has anyone been able to freeze a pylons app with bb-freeze on osx? I've got it working nicely on windows and linux, but really need something equivalent on osx

Re: Freezing a Pylons app

2008-10-09 Thread Jose Galvez
I just has some positive results using bbfreeze freezing a pylons app on windows and linux. I had to write my own launcher which called paste.script to serve it, but so far its working great. I'm also experimenting with the dev tip of bbfreeze on mac some success Jose [EMAIL PROTECTED]

stunnix

2008-07-15 Thread Jose Galvez
Has anyone used pylons with stunnix? I have a project that we will be distributing on DVD what will need a java server (to distribute some class files I didn't write), but I was thinking of writing the rest of the app with pylons and was wondering if anyone had distributed a pylons app with

Re: WebHelpers 0.6 released

2008-07-08 Thread Jose Galvez
Great Job Mike, webhelpers is a fantastic tool! But since you've removed the javascript stuff (which you really can't be blamed for, I can only imagine how hard it is to keep up with the moving target that is javascript libs) does anyone have a link_to_remote equivalent that works with jquery?

Re: Ide

2008-06-24 Thread Jose Galvez
Thanks I'll give it a try Jose Tomasz Narloch wrote: Jose Galvez pisze: How did you get highlighting for mako templates in quanta? Jose In April I found something at //http://www.liveinternet.ru/users/748858/post43378996/ // but this syntax didn't worked correctly so I have

Re: Mako migration strategies

2008-06-11 Thread Jose Galvez
JavaScript stuff really simple. I'll have to see is there are some simple ways to use jquery the same way Jose Mike Orr wrote: On Tue, Jun 10, 2008 at 5:36 PM, Jose Galvez [EMAIL PROTECTED] wrote: I've not kept up with the proposed timelines and stuff for pylons, but since this was brought up

Re: Pylons and memory use

2008-06-07 Thread Jose Galvez
newbie question - how do you determine how much memeory your app is using, on Linux of course Jose Ben Bangert wrote: On Jun 6, 2008, at 9:43 PM, John Salerno wrote: I was thinking about signing up with a web host that supports Pylons (among many other things) and one of the differences

Re: Pylons and memory use

2008-06-07 Thread Jose Galvez
thanks Jose Mike Orr wrote: On Sat, Jun 7, 2008 at 10:57 AM, Jose Galvez [EMAIL PROTECTED] wrote: newbie question - how do you determine how much memeory your app is using, on Linux of course Jose $ ps aux | grep kopete sluggo9278 1.4 3.9 92324 38792 ?S10:31

Re: AW: Pylons Doc as compiled windows help file (chm)

2008-06-01 Thread Jose Galvez
question - are you using eypdoc to generate you docs by parsing your python source files, or are you writing your own docs and them processing them with eypdoc? I've used eypdoc in the past, but only to parse my python souce files. I took a look at Sphinx and it looks like you have to

Re: lighttpd use

2008-06-01 Thread Jose Galvez
. But for now I remain a bit in the shadow of the opensource scene, not many people know me or my work. Still I subscribe to a number of mailing lists and chime in from time to time. :) All the best, Paul aka openartist On Sun, Jun 1, 2008 at 12:42 AM, Jose Galvez [EMAIL PROTECTED] wrote: so you

lighttpd use

2008-05-31 Thread Jose Galvez
Just started playing around with lighttpd and I'm trying to figure out how to get it to serve my static content while letting pylons do the fun stuff. Here is a copy of my config. This works but I wanted to see how others are using lighttpd. | # set up folders and files to serve with

Re: lighttpd use

2008-05-31 Thread Jose Galvez
PM, Jose Galvez [EMAIL PROTECTED] wrote: Just started playing around with lighttpd and I'm trying to figure out how to get it to serve my static content while letting pylons do the fun stuff. Here is a copy of my config. This works but I wanted to see how others are using lighttpd

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Jose Galvez
how is this essentially different from tosco widgets? or just making a python module that you put someplace in your python path for your pylons app to find? Jose Wichert Akkerman wrote: Previously rcs_comp wrote: However, I have run across a show stopper for me with Pylons unless I have

Re: Deployment Question

2008-05-20 Thread Jose Galvez
Anyone using mod_wsgi with Apache? how good is that for deployment, better/worse then mod_proxy with paster? Jose On Tue, May 20, 2008 at 8:09 AM, Jonathan Vanasco [EMAIL PROTECTED] wrote: On May 20, 1:33 am, Mike Orr [EMAIL PROTECTED] wrote: People say it also has a better knowledge of the

Re: paster on vista x64: cannot find python executable

2008-04-13 Thread Jose Galvez
is python in your system path? I don't think the python path is added by default when you install python. if not add it and give that a try. Jose Ben Lee wrote: I'm having the same problem as discussed in this post

Re: Route, h.url_for and url parameters

2008-03-08 Thread Jose Galvez
Mike Orr wrote: On Fri, Mar 7, 2008 at 12:51 PM, Poli García [EMAIL PROTECTED] wrote: Hi ! I'm having an issue with URL parameters. I have these routes mapped on my routing.py: map.connect('/a_url_path/:param1/:param2', controller='some_controller',

Re: Route, h.url_for and url parameters

2008-03-08 Thread Jose Galvez
Points well taken, I was specifically thinking of routes in the context of pylons, I could see how a more general approach would make routes more universal. Jose Mike Orr wrote: On Sat, Mar 8, 2008 at 10:05 AM, Jose Galvez [EMAIL PROTECTED] wrote: Mike Orr wrote: On Fri, Mar 7, 2008

Re: Are you going to convert Pylons code into Python 3000?

2008-03-04 Thread Jose Galvez
this is an interesting issue, because I would suspect that all our pylons applications will have to be converted as well as the pylons base code. I know that there is going to be a program which will automate the translation, but not having used it I don't know what issues the translation will

Re: openid and authentication

2008-02-22 Thread Jose Galvez
cool thats the part I'm missing, I'll have to find and example of how thats implemented to give this test jose On Fri, Feb 22, 2008 at 11:37 AM, Philip Cooper [EMAIL PROTECTED] wrote: On Fri, Feb 22, 2008 at 12:13 PM, jose [EMAIL PROTECTED] wrote: Do if have it right in thinking that

Re: Webhelper not work in template

2007-12-11 Thread Jose Galvez
why the repr? did you try just ${h.options_for_select(['test','test'])} On Dec 11, 2007 8:49 AM, Olli Wang [EMAIL PROTECTED] wrote: Hi, I want to create a selection filed in template. I tried h.options_for_select(['test', 'test']) in shell, it correctly returned 'option

Re: Webhelper not work in template

2007-12-11 Thread Jose Galvez
[EMAIL PROTECTED] wrote: Yes, I tried. But it returns just test test, so I use repr() to show the source code for comparison. On Dec 12, 1:01 am, Jose Galvez [EMAIL PROTECTED] wrote: why the repr? did you try just ${h.options_for_select(['test','test'])} On Dec 11, 2007 8:49 AM, Olli Wang

Re: Routes user survey

2007-11-23 Thread Jose Galvez
please don't get rid of url_for(controller='foo', action='bar') I use that all the time, and although I know that url_for('named route') does look more elegant, if you get rid of the former behavior, then we're left having to name all of our controller/actions pairs. To me this looks like

Re: Classic URL Style

2007-11-06 Thread Jose Galvez
Thanks for the correction Mike Jose Mike Orr wrote: On 11/6/07, Jose Galvez [EMAIL PROTECTED] wrote: you could add for k,v in request.params: locals()[k] = v to the top f your functions this would inject the variable names into your functions do you could use them directly

Re: FCK Editor controller

2007-10-15 Thread Jose Galvez
I've got one, its a bit of a hack, but I'll send you what I've got Jose voltron wrote: Does anyone by chance have an FCK Editor backend controller by chance? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: FCK Editor controller

2007-10-15 Thread Jose Galvez
I might not get to it until later this evening (the code is sitting on my laptop and not on one of my main desktops, but I'll try and get to it tonight Jose On 10/15/07, voltron [EMAIL PROTECTED] wrote: Coolio! :-)) On Oct 15, 5:33 pm, Jose Galvez [EMAIL PROTECTED] wrote: I've got one, its

Re: Modifications in templates

2007-10-06 Thread Jose Galvez
if your in firefox try clearing your cache - use the clear personal data function, I've found that I have to do that sometimes with firefox because its can be really aggressive with its cache. Jose Jérôme wrote: yes, I meant the controller which makes the call to the template file with the

Re: access to request_uri and query_string

2007-10-06 Thread Jose Galvez
Wow the best part of getting all this stuff in my email is that I usually learn something new with every thread :-) Jose Philip Cooper wrote: On Oct 5, 2007, at 5:46 PM, ch wrote: Forgive me, request.environ.get('QUERY_STRING') actually *does* work. But I still can't get the request's

Re: Returning binary data from controller

2007-10-01 Thread Jose Galvez
I've done this lots of times, especially for dynamically generated images. The steps I usually follow are: 1) get your binary data into StringIO, 2) set your content type to the correct header (response.headers['Content-type'] = 'image/jpeg' 3) return the binary data (return

Re: Errors with window.open links

2007-09-29 Thread Jose Galvez
assuming preview_profile is an method in your testsite controller class did you add self as an argument of, def preview_profile(self) rather then def preview_profile() (I make this mistake all the time, my hands sometimes type faster then my brain thinks) Jose voltron wrote: Can someone tell me

internationalization, how to change character set?

2007-09-25 Thread Jose Galvez
I've been going over the docs on internationalization and was putting together a demo app. (well actually its a demo site for a current project to show that we can put together an international site. Any way I need to change the current charset form utf8 to latin-1. How is that done with the

Re: internationalization, how to change character set?

2007-09-25 Thread Jose Galvez
Thanks Philip thats what I needed to know Jose Philip Jenvey wrote: On Sep 25, 2007, at 8:36 PM, Jose Galvez wrote: I've been going over the docs on internationalization and was putting together a demo app. (well actually its a demo site for a current project to show that we can put

Re: Other form attributes in request.params

2007-09-24 Thread Jose Galvez
I'm certainly no expert,. I don't think anything else is actually sent in the post. What other attributes would you be after? Jose voltron wrote: Is there a remote possibility to extract other attributes in a form element other than the name attribute when using request.params? Thanks

Re: Other form attributes in request.params

2007-09-24 Thread Jose Galvez
defined ones, I dynamically generated form elements that I would like to save in a particular order. I have the ordering saved in a self defined attribute in the tags. I´ll have to find another way to sort that out that. Thanks On Sep 25, 1:22 am, Jose Galvez [EMAIL PROTECTED] wrote: I'm

Re: authkit?

2007-09-20 Thread Jose Galvez
/20/07, Jose Galvez [EMAIL PROTECTED] wrote: I started looking at authkit today and I think I picked the wrong time to look at, as it seems to be in flux. Does anyone know if authkit 0.3works with pylons 0.9.6? The instructions aren't that clear (or maybe I've not read them close enough yet

Re: authkit?

2007-09-20 Thread Jose Galvez
has anyone got any working code for authkit with pylons 0.9.6 they would be willing to share? I've tried going through the examples on the wiki and I just can't get them to work. Specifically I was hopping to get the form authorization stuff to work Jose On 9/20/07, Jose Galvez [EMAIL PROTECTED

How can I use a conditional section in an inherited template?

2007-09-16 Thread Jose Galvez
Hi all, Sorry for the cross post, but I know there are lots of Mako experts in the group too, and the project is a pylons project so I guess its fare to ask here too :) How can I use a conditional section in an inherited template. I thought this would work, but the content gets displayed

Re: Formencode self validation in pylons-0.9.6

2007-09-16 Thread Jose Galvez
Stupid me, I need to look closer at the docs :) Jose Jose Galvez wrote: Wow what a cool decorator. I know documentation is an ongoing and hard thing to finish, but I've never seen this in any of docs, did I miss it? Jose Ben Bangert wrote: On Sep 15, 2007, at 5:10 AM, Леонид Моргун

Re: Formencode self validation in pylons-0.9.6

2007-09-15 Thread Jose Galvez
Wow what a cool decorator. I know documentation is an ongoing and hard thing to finish, but I've never seen this in any of docs, did I miss it? Jose Ben Bangert wrote: On Sep 15, 2007, at 5:10 AM, Леонид Моргун wrote: I'm using pylons-0.9.6, formencode-0.7.1-r1 I try to validate controller

Re: Paster Daemon mode on Windows emits traceback

2007-09-14 Thread Jose Galvez
Daemon mode does not work on windows, check out Bourbon (http://chichen-itza.compmed.ucdavis.edu/trac/bourbontrac) if you want to run on Windows. Its basically just a Windows service wrapper around a paste composit setup, that works really well with Pylons. BTW now that Pylons 0.9.6 is

Re: HTML select multiple handling

2007-09-13 Thread Jose Galvez
voltron wrote: I meant how to deal with what gets sent with the post actually, I have not found any examples on the net. Thanks On Sep 12, 12:02 am, Jose Galvez [EMAIL PROTECTED] wrote: What do you mean, how write the code into a webpage, how to show the selected items or how to deal

Re: HTML select multiple handling

2007-09-11 Thread Jose Galvez
What do you mean, how write the code into a webpage, how to show the selected items or how to deal with what gets sent in the post? Jose On 9/11/07, voltron [EMAIL PROTECTED] wrote: Hi! can someone point me to the docs or show me with a code snippet on how I would handle select tags with

Re: Pylons rc3?

2007-09-09 Thread Jose Galvez
take a look at pypi, it looks like 0.9.6 has been released :) Jose On 9/9/07, Max Ischenko [EMAIL PROTECTED] wrote: On 9/9/07, Cesco [EMAIL PROTECTED] wrote: I have updated to 0.9.6rc3 and the error is still the same. Sorry for hijacking the thread but is this release is already

Re: Anyone using Lighty?

2007-09-07 Thread Jose Galvez
Tried it on XP and found that I got much better speed with Apache 2.2 Jose On 9/7/07, voltron [EMAIL PROTECTED] wrote: Anyone using lighty(http://www.lighttpd.net/) as a reverse proxy server here? Thanks --~--~-~--~~~---~--~~ You received this message

Locking a page?

2007-09-06 Thread Jose Galvez
Hi all, I'm hunting for advice. I am looking for a way to lock a webpage so that only only one person at a time can edit database data. Here is the scenario, I have a database with a limited number of users who have write access to the database, what I'd like to do is lock the editing page so

Re: Locking a page?

2007-09-06 Thread Jose Galvez
. On Sep 6, 10:07 pm, Jose Galvez [EMAIL PROTECTED] wrote: Hi all, I'm hunting for advice. I am looking for a way to lock a webpage so that only only one person at a time can edit database data. Here is the scenario, I have a database with a limited number of users who have write access

Re: Trouble with Routes

2007-08-31 Thread Jose Galvez
so would adding mapper(':controller', action='index') above mapper(':controller/:action') map /main as main/index or will there be no real way to map a controller without an action to the index action? Jose On 8/31/07, Ben Bangert [EMAIL PROTECTED] wrote: On Aug 30, 2007, at 8:08 PM, Jose

Re: Trouble with Routes

2007-08-31 Thread Jose Galvez
://mysite/something/index.php, index.html or what ever the default page is). Not sure if this makes sense or even if its valid. I'd be really interested in your thoughts about this Jose On 8/31/07, Ben Bangert [EMAIL PROTECTED] wrote: On Aug 31, 2007, at 1:02 PM, Jose Galvez wrote: so would

Re: Trouble with Routes

2007-08-30 Thread Jose Galvez
Ben I took a look at your link and I'm confused. When you say *Routes recognition and generation will always be explicit* does this mean that the mapper mapper(':controller/:action/:id' action='index') will not match /main as /main/index Jose Ben Bangert wrote: On Aug 28, 2007, at 2:00 AM,

Re: Trouble with Routes

2007-08-30 Thread Jose Galvez
ok so if I get it then mapper(':controller/:action', action='index') will match /main/index but not main. is that correct? Jose Ben Bangert wrote: On Aug 30, 2007, at 6:07 PM, Jose Galvez wrote: Ben I took a look at your link and I'm confused. When you say *Routes recognition and generation

Re: Pudge Doc Working?

2007-08-29 Thread Jose Galvez
I just installed pudge and buildutils on windows XP and setup.py pudge does not work. However I am also getting a really strange error, if I run pudge from the command line I get from pudge import cli cannot import name cli error. But if I move the pudge script to some other folder the pudge

Re: Pudge Doc Working?

2007-08-29 Thread Jose Galvez
BTW other scripts in the scripts folder seems to work just fine Jose On 8/29/07, Jose Galvez [EMAIL PROTECTED] wrote: I just installed pudge and buildutils on windows XP and setup.py pudge does not work. However I am also getting a really strange error, if I run pudge from the command line I

Re: Pudge Doc Working?

2007-08-29 Thread Jose Galvez
tried python setup.py pudge too, and that failed as well Jose On 8/29/07, Ben Bangert [EMAIL PROTECTED] wrote: On Aug 29, 2007, at 11:21 AM, Jose Galvez wrote: BTW other scripts in the scripts folder seems to work just fine Jose Script? It should be a buildutils extension, are you

Re: 'c' variable between redirects

2007-08-25 Thread Jose Galvez
Tomasz Nazar wrote: On 8/24/07, *Christoph Haas* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As I understand 'c' is always reset before any controller's action - what is not fun for me, as in my app one user request/click is often 2 (or more) Pylons

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-25 Thread Jose Galvez
now I'll have to take a closer look at Session.mapper because it looks like your implying that is does something other then what the old assign mapper did. I have a project right now where I'm using Session.mapper and I've not hit any problems yet. And it does let me do from model import Mytable

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-25 Thread Jose Galvez
Ben, I've just read the Session.mapper docs and I'm not sure what your concerns are. Are you concerned with its use? or that putting it in the tutorial will confuse new users? Jose Ben Bangert wrote: On Aug 22, 2007, at 10:16 PM, Mike Orr wrote: I'm using Session.mapper in my application

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-23 Thread Jose Galvez
Thanks Mike, I'm glad its back in there Jose Mike Orr wrote: On 8/22/07, Jose Galvez [EMAIL PROTECTED] wrote: http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+0.4+for+people+in+a+hurry I was going through the 0.4 version of the tutorial today and saw that the reference

Re: Distributing application with py2exe

2007-08-22 Thread Jose Galvez
Its not py2exe but take a look at Bourbon http://chichen-itza.compmed.ucdavis.edu/trac/bourbontrac you can install that on your windows box and then just install you application. Bourbon will let you run pylons as a windows service. Jose Steve M wrote: Hi, I'm somewhat new to Pylons and do

Re: SQLAlchemy tutorial split into 0.4 and 0.3 versions

2007-08-22 Thread Jose Galvez
I was going through the 0.4 version of the tutorial today and saw that the reference to Session.mapper has been removed. Is Session.mapper from the first version not correct, or was it simply removed to make the tutorial simpler to read? I personally found that little nugget if info very

Re: formencode

2007-08-17 Thread Jose Galvez
of a field and if its set to a particular value, I can make a second field required. Jose On 8/17/07, Max Ischenko [EMAIL PROTECTED] wrote: On 8/16/07, Jose Galvez [EMAIL PROTECTED] wrote: I'm trying to use formencode to validate a simple form. The question I have is: How can I make a field

Re: New SQLAlchemy tutorial; SAContext is dead

2007-08-16 Thread Jose Galvez
Ok I think I posted to soon, I needed to read the website a little more closely before firing off stupid questions. Jose Jose Galvez wrote: Wow a lot to digest. I use assign_mapper which needs the session_context how do I get that with the the new setup? It was pretty easy to get

Re: iframe issue

2007-08-16 Thread Jose Galvez
the error is because the test1.html should not be relative to the template, but rather in your public folder Jose Alagu Madhu wrote: Hi templates/ test.mako test1.html test.mako: iframe src=test1.html / I am getting error... Error 404 .. NOT FOUND Thanks

Re: iframe issue

2007-08-16 Thread Jose Galvez
The point is that you are calling the iframe source incorrectly. If your test1.html is a static file then it needs to be in your public folder, if its a template then you need to tie it to a controller and call the appropriate controller Jose On 8/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED]

formencode

2007-08-16 Thread Jose Galvez
I'm trying to use formencode to validate a simple form. The question I have is: How can I make a field conditionally required? This is what I have, I have a pull down, with an other option. What I want to do is if other is selected then have a textbox become visible and be required, but only

Re: New SQLAlchemy tutorial; SAContext is dead

2007-08-16 Thread Jose Galvez
Well for me, I think in my production stuff I'll stick with sacontext and sqlalchemy 3x until this sorts out a little. Having said that I will play with the new stuff in a separate workingenv to get a taste of how things are going to work in the near future. What would be really nice is if

Re: turning binary data into a file.

2007-08-16 Thread Jose Galvez
have you tried buf = urllib.urlopener().read() f = file('/somefile.jpg', 'wb') f.write(buf) f.close() Jose SamDonaldson wrote: Guys, I have one short question and this relates to the FieldStorage Pylons file object in the way it represents a posted image. Does anybody know what the

Re: New SQLAlchemy tutorial; SAContext is dead

2007-08-15 Thread Jose Galvez
Wow a lot to digest. I use assign_mapper which needs the session_context how do I get that with the the new setup? It was pretty easy to get with sacontext, I'm not sure how to get at it with this new setup Jose Mike Orr wrote: I've updated SQLAlchemy for people in a hurry with the new

Re: Themes in Pylons

2007-08-11 Thread Jose Galvez
Pylons is a fantastic framework, with lots of application structure built in. However, it offers no constraints, nor aid in the actual building of web sites. If you want to build in a consistent look and feel, you are going to have to build that all yourself. What I would recommend is using

Re: Are my Python/Pylons concerns justified?

2007-08-08 Thread Jose Galvez
Apache will not have to re restarted, but you pylons application will have to be restarted. Also if you're in a shared environment you might want to take a look at workingenv which simplifies using python in that environment Jose On 8/8/07, walterbyrd [EMAIL PROTECTED] wrote: On Aug 8, 12:16

Re: sqlalchemy is returning the wrong data

2007-08-06 Thread Jose Galvez
Dear Mike, I added the del sac.session_context.current to my base.py file and that fixed the problem. Thank you so much for the help I can't tell you how much this was driving me nuts Jose On 8/6/07, jose [EMAIL PROTECTED] wrote: Thanks Mike, So just to clarify I need to del the current

Re: getting the IP address of the requester.

2007-08-01 Thread Jose Galvez
try request.environ['REMOTE_ADDR'] I usually drop this action into one of my controller to remind me of all the environ values def env(self): ''' Note this is a pylons 0.9.6 action, for pre 0.9.6 return Response('\n'.join(html)) ''' esc = h.util.html_escape

Re: Pylons and Python version

2007-08-01 Thread Jose Galvez
since pylons depends on paste, I would imagine it would be in the shebang used to start that script. But I've not tested myself Jose On 8/1/07, voltron [EMAIL PROTECTED] wrote: HI! Where can one safely define which version of Python that Pylons should use? The reason behind this is that

Re: should I code against the current release or the 0.96rc?

2007-07-31 Thread Jose Galvez
or for that matter how far away 0.96 really is Jose Max Ischenko wrote: On 7/31/07, *Jose Galvez* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I've got a pretty big project that is almost done with phase one, but will undoubtedly need updates in the very near future. Since I

Re: How to get the hostname from OSX

2007-07-27 Thread Jose Galvez
[EMAIL PROTECTED] wrote: On Jul 26, 9:10 pm, Jose Galvez [EMAIL PROTECTED] wrote: I know that is really has nothing to do with pylons, but I know this group is pretty knowledgeable. I need to get the host name from a computer, I know its IP address so I was using socket.gethostbyaddr(ip

Re: Trying to understand about Paste and web-server requirements

2007-07-26 Thread Jose Galvez
I've never used mod_wsgi, how do you set it up? Jose On 7/26/07, Antonio Beamud Montero [EMAIL PROTECTED] wrote: El mié, 25-07-2007 a las 19:08 -0700, Jose Galvez escribió: no you should be able to use mod_proxy, to server your application just as Cliff has suggested. That is my

Re: Trying to understand about Paste and web-server requirements

2007-07-25 Thread Jose Galvez
no you should be able to use mod_proxy, to server your application just as Cliff has suggested. That is my personally favorite method to use with apache. Jose walterbyrd wrote: On Jul 25, 2:59 pm, Cliff Wells [EMAIL PROTECTED] wrote: It doesn't. Paste provides an HTTP server. You can

Re: Trying to understand about Paste and web-server requirements

2007-07-24 Thread Jose Galvez
Ok here goes, PEP 333 (http://www.python.org/dev/peps/pep-0333/) laid out a simple and universal interface between web servers and web applications or frameworks: the Python Web Server Gateway Interface (WSGI). WSGI defines two basic aspects of the web interface, a server for interacting

Re: Comet Style App

2007-07-24 Thread Jose Galvez
take a look at this thread

button_to_remote

2007-07-18 Thread Jose Galvez
should class_ work with button_to_remote? I used it today and noticed that the class attribute was not set in the resulting html. Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

  1   2   3   >