[pylons-discuss] pyramid session managment

2015-01-12 Thread jose
anyone have any thoughts on pyramid-kvs (https://pypi.python.org/pypi/pyramid-kvs/0.1.1) vs pyramid_redis_sessions (https://pypi.python.org/pypi/pyramid_redis_sessions/1.0a2) for session management. I know they both use redis on the back end. -- You received this message because you are subs

Re: [pylons-discuss] Vulnerabilities

2014-12-29 Thread Jose Galvez
Thanks for the info ! Jose On Dec 29, 2014 4:01 PM, "Steve Piercy" 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: > pylons-project-

[pylons-discuss] Vulnerabilities

2014-12-29 Thread jose
I've been wondering what are the vulnerabilities that a framework like pyramid mighty have? We use mostly java at work (lots of legacy struts projects) which have all kinds of published vulnerabilities, which got me to thinking, I know that other frameworks have issues such as PHP, and nothing

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 > > Madh

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 o

Re: What I've learned deploying pylons

2009-04-07 Thread Jose Galvez
well if supervisord is not supported in python2.6 then I may have to switch to something else which would be a real bummer I really liked the way supervisor does things. In any event I think I'll take a look at runit just to get acquainted with it Jose Jared Rhine wrote: > On 03/29/20

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 de

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
Graham Dumpleton wrote: > > On Mar 30, 7:17 am, Jose Galvez 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 re

Re: What I've learned deploying pylons

2009-03-29 Thread Jose Galvez
f with mod_wsgi. As mentioned in one of the posts mod_wsgi could use some better documentation and this might be a good way to do that. Max also mentions upstartn, whats the advantage to that over using the system V script? Jose jose wrote: > HI all, Just thought I would share what I&#x

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 <mailto:sluggos...@gmail.com>> wrote: > > > On 3/28/09, Jose Galvez <mailto:jj.gal...@gmail.com>> wrote: > > Here is my

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 <mailto:jj.gal...@gmail.com>> wrote: > > I can certainly sympathize here. ;) > > I have tried various deployment solutions as well for my work

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 wrote: > >> HI all, Just thought I would share what I'

Re: What I've learned deploying pylons

2009-03-28 Thread Jose Galvez
Here is my supervisord init script. not sure if its the best but its working Noah Gift wrote: > > > On Sun, Mar 29, 2009 at 1:05 PM, Mike Orr <mailto:sluggos...@gmail.com>> wrote: > > > On Sat, Mar 28, 2009 at 4:42 PM, jose <mailto:jj.gal...@gmail.com&g

What I've learned deploying pylons

2009-03-28 Thread jose
HI all, Just thought I would share what I've learned deploying pylons on both windows and linux loxes. First let me say right off the bat I absolutely love pylons I think hands down its the absolutely best web development environment out there. Having said that the biggest issue I see with pylon

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/ > > Mic

Re: Routes

2009-03-19 Thread Jose Galvez
Thanks Mike thats what I was looking for. I'll look forward to reading your new docs when you get home and things fixed. Jose Mike Orr wrote: > I wrote a new Routes manual but Ben is taking a long time to put it in > the package. :( I've got a copy on my website but the doma

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 > &g

Routes

2009-03-18 Thread jose
y documentation outlining what the differences are and or how I should be constructing my routes now. Specifically, I'm having trouble with routes that have wildcards in them. Any pointers on where to do some reading for how to write the new routes? Jose --~--~-~--~~~

Re: unicode question

2009-03-16 Thread Jose Galvez
;ve even experienced them in URL's. We catch > it like this: > > offendingString = offendingString.decode('utf8', 'ignore') > > This might not be exactly what you are asking, but I hope it helps. > > On Mon, Mar 16, 2009 at 10:07 PM, Jose Galvez &l

unicode question

2009-03-16 Thread Jose Galvez
I've had issues in the past with unicode being "injected" into my apps usually from database entries. Most of these problems could mostly likely be avoided if I had added # -*- coding: utf-8 to the top of my controllers. But why isn't this the default behavior? If I make a controller with pa

Re: Helpers in 0.9.7

2009-03-16 Thread Jose Galvez
then implicit. Having said that I know the docs are a little out of since and thats really frustrating with new users. Read the section on upgrading http://pylonshq.com/docs/en/0.9.7/upgrading/ its pretty informative. Jose edgarsmolow wrote: > I recently began development with Pylons 0.9.7.

Re: Application server

2009-03-01 Thread Jose Galvez
is not that it would not be possible to run pylons within it (have not tried it, have not read the wiki either so I don't know all the issues) but that third party modules would not be available under jython. Jose Kless wrote: > If pylons work under Jython, then should get it to go und

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 em

Re: Pylons vs Tomcat+GWT

2009-02-02 Thread Jose Galvez
On Mon, Feb 2, 2009 at 11:01 AM, Wyatt Baldwin wrote: > > On Feb 2, 9:51 am, Jose Galvez 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 Appl

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 c

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 Py

books

2008-12-06 Thread jose
I'm thinking of pre-ordering the pylons book, and Amazon gives you the option to get the sqlalchemy book at the same time. Has anyone red the book? is it good? is is fairly recent or better yet how out of date is it? Thanks for any comments

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 &g

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, >

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 Varg

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 PROT

Re: virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
g on making it look pretty, thinking of wrapping 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 >

Re: virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
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 w

virtualenv, bb-freeze and pylons on osx

2008-10-09 Thread Jose Galvez
. Like I said it ends up being trivial on linux and windows, but the mac is different. any help of appreciated Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this

mod_python and Apache 1.3.33

2008-07-17 Thread jose
is it possible to get pylons to work under mod_python and Apache 1.3.33? I've been trying all day long with several different wsgi bridges and each one give me one odd error after another without working. Jose --~--~-~--~~~---~--~~ You received this me

stunnix

2008-07-15 Thread Jose Galvez
with stunnix, or anything else similar Jose --~--~-~--~~~---~--~~ 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 gr

Re: WebHelpers 0.6 released

2008-07-08 Thread Jose Galvez
ith jquery? Jose Mike Orr wrote: > WebHelpers 0.6 final has been released. Just do: > > $ easy_install -U WebHelpers > > For now you'll have to read the docstrings in the source code for > documentation. I'm hoping these will be included online in the Pylons

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/ &g

Re: Ide

2008-06-23 Thread Jose Galvez
How did you get highlighting for mako templates in quanta? Jose Tomasz Narloch wrote: > Raoul Snyman pisze: > >> On Thu, Jun 19, 2008 at 10:26 AM, Antonio Beamud Montero >> <[EMAIL PROTECTED]> wrote: >> >> >>>> What Ide I can use with

Re: Ide

2008-06-18 Thread Jose Galvez
spe Rafael Hernandez S wrote: > What Ide I can use with pylons > > regards > > > Connect to the next generation of MSN Messenger Get it now! >

Re: Mako migration strategies

2008-06-11 Thread Jose Galvez
cated 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

Re: Mako migration strategies

2008-06-10 Thread Jose Galvez
I've not kept up with the proposed timelines and stuff for pylons, but since this was brought up here, once buffet is gone, whats in the works to replace it? will render() be changed to something else? Jose Mike Orr wrote: > On Tue, Jun 10, 2008 at 11:29 AM, Ross Vandegrift <[EMAI

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

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 thin

Re: lighttpd use

2008-06-01 Thread Jose Galvez
Wow! from time to time we have projects at the University that could really use a professional hand, would you mind if I emailed you the next time one came up and asked you to submit a bid? Jose Paul Bloch wrote: > Right, that's the usual assumption. I've been trying to fill t

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

2008-06-01 Thread Jose Galvez
ve to write you own docs and then parse them with sphinx rather then having it parse you source files. What I would like to see (and didn't see on their web site) is a simple complete example. Jose Andrew Smart wrote: >> -Ursprüngliche Nachricht- >> Von: pylons-discuss@google

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

2008-06-01 Thread Jose Galvez
Sure although I use linux now I like windows help files because they are very easy to use Jose Andrew Smart wrote: >> -Ursprüngliche Nachricht- >> Von: pylons-discuss@googlegroups.com >> [mailto:[EMAIL PROTECTED] Im Auftrag von Ben Bangert >> Gesendet: Sonntag,

Re: lighttpd use

2008-05-31 Thread Jose Galvez
May 31, 2008 at 11:07 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. Thi

lighttpd use

2008-05-31 Thread Jose Galvez
+ static_pages { proxy.server = ( "" => ( ("host"=>"127.0.0.1", "port"=>5000) ) ) }| Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

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 Pyl

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: > &g

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 > > http://groups.google.com/group/pylons-discuss/b

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

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: Passing binary data received via Soap call

2008-03-06 Thread Jose Galvez
take a look at http://groups.google.com/group/pylons-discuss/browse_thread/thread/32f4a69cfc4a170f/dfbfe6f41105352d?lnk=gst&q=yield#dfbfe6f41105352dand see if that give you the info you need Jose On Thu, Mar 6, 2008 at 7:06 AM, amlio <[EMAIL PROTECTED]> wrote: > > Hi, >

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

2008-03-04 Thread Jose Galvez
will cause. The other big question is will eggs will they be able to tell the difference between python 2.x and 3.x since the code will be different Jose On Tue, Mar 4, 2008 at 3:17 AM, Leo <[EMAIL PROTECTED]> wrote: > > Subj. > Is Python 30

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: > > &g

Re: newbie here ...

2008-02-22 Thread jose
As you've noted PHP tends to be monolithic. In python pylons is really good about letting you use what ever you want to build your site, Other Python based programs that come to mind are Turbogears (which is being reimplemented on type of pylons) and dejango are really popular. Although I think

openid and authentication

2008-02-22 Thread jose
d I have a basic fundamental block and have not found the answer. Thanks for any and all help Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send ema

Re: Webhelper not work in template

2007-12-11 Thread Jose Galvez
I just tested this on my linux box and it works as expected. When I ran it I see test test in the webpage, but if you look at the page source you see the correct tags. What you are missing is the wrapper to make it render correctly Jose On Dec 11, 2007 9:10 AM, Olli Wang <[EMAIL PROTEC

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 > 'test\ntest option

Re: moin moin integration, please help

2007-12-08 Thread Jose Galvez
tible (Just needed to add the egg specific stuff along with a paste entry point, which I coded by had, next time I'll actually write the setup script to do that - which wouldn't be hard now that I think about it). Let me know if you need more info Jose Max wrote: > > On Oct 9,

Re: Routes user survey

2007-11-23 Thread Jose Galvez
r/actions pairs. To me this looks like just an extra step, and leaves me with haveing to remember what "edit_foobar" really refers to, when controller='foo, action='edit' is very explicit, I know exactly what it is revering to no guessing and I don't have to look in a

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 variab

Re: Classic URL Style

2007-11-06 Thread Jose Galvez
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. I don't know what security risks this will bring up however Jose Humberto Diógenes wrote: > On Nov 6,

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 <[EMAI

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 rec

moin moin integration, please help

2007-10-09 Thread jose
in advance, I know these types of postings sound really vague, so any advice would be great Jose wiki.py import logging from ctrgenpath.lib.base import * log = logging.getLogger(__name__) from MoinMoin.server import wsgi import StringIO, urllib class WikiController(BaseController): def ind

Re: Implementing URL forwarding.

2007-10-06 Thread Jose Galvez
edirect_to function is the entire url minus your entry point. The other thing you could use is request.environ['pylons.routes_dict'] which will give your the controller and action, which I think you can feed to redirect_to as well Jose SamDonaldson wrote: > Hello, > > I guess I ca

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. >

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 &g

Re: Form re-rendering itself

2007-10-03 Thread Jose Galvez
what does the template look like? Jose On 10/3/07, voltron <[EMAIL PROTECTED]> wrote: > > > here is an example of how I render data to forms > > def preview_profile(self): > if not session.has_key("logged_in"): > return

Re: Authkit 0.3.0pre5dev_r92 + Pylons 0.9.6rc2 doesn't works?

2007-10-03 Thread Jose Figueras
Pylons QuickWiki Tutorial (http://wiki.pylonshq.com/display/pylonsdocs/QuickWiki +Tutorial#configuration-and-setup). Could you give me some hints to surpass this situation? Jose F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Authkit 0.3.0pre5dev_r92 + Pylons 0.9.6rc2 doesn't works?

2007-10-03 Thread Jose Figueras
Pylons QuickWiki Tutorial (http://wiki.pylonshq.com/display/pylonsdocs/QuickWiki +Tutorial#configuration-and-setup). Could you give me some hints to surpass this situation? Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Form re-rendering itself

2007-10-03 Thread Jose Galvez
Aaaron, This is such a simple and cool function! thanks for sharing it! Jose On 10/3/07, aaaron <[EMAIL PROTECTED]> wrote: > > > I override render_response() (now called render() in pylons 0.9.6 i > think) so any action can pass in default form values and htmlfill will &

Re: Returning binary data from controller

2007-10-01 Thread Jose Galvez
n the binary data (return STringIO.StringIO.getvalue() I've got example code I could send you if you need something more concrete Jose mickolka wrote: > Hi all > > I'm quite new to pylons and have a following task. I need to return a > content of the JPEG image file from the Pylons controlle

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 t

Re: Authkit 0.3.0pre5dev_r92 + Pylons 0.9.6rc2 doesn't works?

2007-09-27 Thread Jose Figueras
Thank you James for your quick answer. I'll try 0.4 next monday. Jose F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to

Re: Authkit 0.3.0pre5dev_r92 + Pylons 0.9.6rc2 doesn't works?

2007-09-27 Thread Jose Figueras
Thank you James for your quick answer. I'll try 0.4 next monday then. Jose F. On 27 sep, 22:07, James Gardner <[EMAIL PROTECTED]> wrote: > Hi Jose, > > The documentation is for AuthKit 0.4 > fromhttp://authkit.org/svn/AuthKit/branches/0.4I'm going to make a relea

Authkit 0.3.0pre5dev_r92 + Pylons 0.9.6rc2 doesn't works?

2007-09-27 Thread Jose Figueras
pp, global_conf, mapper=error_mapper, **app_conf) # Establish the Registry for this application app = RegistryManager(app) static_app = StaticURLParser(config['pylons.paths'] ['static_files']) javascripts_app = StaticJavascripts() app = Cascade([static_app, j

Re: internationalization, how to change character set?

2007-09-27 Thread jose
ions which contains latin characters with accents. BTW the po file says the charset is utf8 5) setup.py compile_catalog utf8 error can't decode bytes at popsition 25-26 (caused by my accent marks) Looked through the docs and I don't see a way to do this, am I doing something wrong? Jose

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

internationalization, how to change character set?

2007-09-25 Thread Jose Galvez
h the babel compile_catalog command? Can I just pass an additional command line? or is there a setting I can add to the setup.py file? Thanks for any and all help Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: Other form attributes in request.params

2007-09-24 Thread Jose Galvez
why not just manipulate the element name, for example you could add an order number to the front of the element name, 1_ then all you would have to to is strip the name into its component parts, getting back the order and the element name. Just a thought Jose voltron wrote: > Self defined o

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.para

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 <[EM

Re: authkit?

2007-09-20 Thread Jose Galvez
yep thats what I was going through, I found it difficult to go through, maybe I just need to spend a little more time with it Jose On 9/20/07, Tim Riley <[EMAIL PROTECTED]> wrote: > > > Have a look at the wiki: > > > http://wiki.pylonshq.com/display/pylonscookbook/Authenti

authkit?

2007-09-20 Thread Jose Galvez
don't know. Also the docs on the pre 0.4 are not yet finished so I'm not sure what the actual syntax is gong to be. Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To pos

Bourbon 1.1 is released

2007-09-19 Thread Jose Galvez
s.edu/trac/bourbontrac/export/56/branches/1.1/Output/bourbon.exe As always any and all comments are appreciated. Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group,

Re: Understanding the session dict

2007-09-19 Thread Jose Galvez
pt to get rid of the browser's back button to prevent the user from using it. Mind you I would discourage doing this (mostly because I find it annoying) and instead concentrate on site navigation. Jose voltron wrote: > I am setting a session variable to track my users login status

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

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

2007-09-16 Thread Jose Galvez
. What I would like to do is define a section in a parent template that will not show by default unless I set it to show in the child. Please the code below which does not work. Thanks in advance for any and all help Jose parent.html http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

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 &

Re: Paster Daemon mode on Windows emits traceback

2007-09-14 Thread Jose Galvez
offically out I'll be doing some bug fixes in Bourbon, but nothing that will keep the current version from working, I just don't think the current "example" pylons apps work real well under 0.96. But the rest of the framework works just fine. If you need any help with it let me know

Re: HTML select multiple handling

2007-09-13 Thread Jose Galvez
''' return html def showData(self): things = request.params.getall('things') return str(things) Let me know if you need anymore help Jose voltron wrote: > I meant how to deal with what gets sent with the post actually, I have > n

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

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. > &

Re: SQLAlchemy 0.3 transactions inside Pylons controllers

2007-09-08 Thread Jose Figueras
t = context.session_context.current.create_transaction() try: ... (some db or models operations and flush() invocations) t.commit() except: t.rollback() ... (optionally, raise some user or system exception) Jose F. On 7 sep, 00:38, Jose Figueras <[EMAIL PROTECTED]> wrote: &g

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 > > > > > --~--~-~--~~---

Re: Locking a page?

2007-09-07 Thread jose
nd I think it will work. I'll post some working code if it works or let you all know if it does not work Any dialog about this or other approaches would be great. Jose On Sep 6, 1:07 pm, "Jose Galvez" <[EMAIL PROTECTED]> wrote: > Hi all, I'm hunting for advice. I

  1   2   3   4   >