Re: Starting up pylons automatically

2006-06-04 Thread Philip Jenvey
-- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Response

2006-06-06 Thread Philip Jenvey
a class (actually an alias of the WSGIResponse class). All class names use studly case as per PEP 8. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: Problems installing Pylons

2006-06-10 Thread Philip Jenvey
all egg dependencies in the download section for when this situation occurs. You can tell easy_install to also try searching for the eggs there with the following command: easy_install -f http://pylonshq.com/download/ Pylons==0.8.2 -- Philip Jenvey

Re: python.core (core dump)

2006-06-15 Thread Philip Jenvey
. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Re: urls with spaces do not work

2006-06-18 Thread Philip Jenvey
On Jun 18, 2006, at 12:09 PM, Jose Galvez wrote: Cool thanks I'll give the paste patch a try Jose The fix is now committed to Paste: http://trac.pythonpaste.org/changeset/5398 I've bumped the Paste dependency on pylons trunk to take advantage of it. -- Philip Jenvey

Re: missing components and templates folder in custom egg

2006-06-19 Thread Philip Jenvey
of ways around this issue, described here: http://peak.telecommunity.com/DevCenter/setuptools#including-data-files -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Missing pylons template

2006-07-07 Thread Philip Jenvey
transparent), then your apps will automatically use the local python's lib dir. Then there's no need to tweak .pydistutils.cfg or PYTHONPATH, and you won't encounter issues like this one. http://blog.ianbicking.org/workingenv-revisited.html -- Philip Jenvey

Re: exceptions.ImportError: No module named lib.base

2006-07-09 Thread Philip Jenvey
it's an easy thing to workaround. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: server start

2006-07-09 Thread Philip Jenvey
the --daemon and --pid-file options to paster (and optionally --log-file). -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: mod_python and paste apps

2006-07-09 Thread Philip Jenvey
for an app deployed at the root should be '' (empty string) instead of '/'. I don't know if that's the cause of the recursion, though. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: request content

2006-07-09 Thread Philip Jenvey
(which is the Myghty 'r' object). Take a look at the docs for more info: http://pylonshq.com/docs/0.8.2/getting_started.html#pylons-globals -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: Minor issue in pylons-0.9

2006-07-28 Thread Philip Jenvey
this out. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: QuickWiki Tutorial

2006-07-28 Thread Philip Jenvey
objectstore.delete(page) objectstore.flush() c.titles = self.query.select() Thanks for the patches, I've updated QuickWiki and the other examples to fix the params problems -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: QuickWiki Tutorial

2006-07-28 Thread Philip Jenvey
On Jul 28, 2006, at 3:35 PM, Philip Jenvey wrote: Thanks for the patches, I've updated QuickWiki and the other examples to fix the params problems Note: only in subversion. The version of QuickWiki on cheeseshop isn't updated yet. -- Philip Jenvey

Re: 0.9: Paster create problems

2006-08-04 Thread Philip Jenvey
no attribute 'to_filename' The cause of this error is your setuptools being too old, you'll need to ugprade it: easy_install -U setuptools -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: m.write munging checked attribute of h.radio_button

2006-08-05 Thread Philip Jenvey
-- is there a formencode bug tracker? I found http://trac.formencode.org the other day, but it doesn't seem to be used for bug tracking. Your best bet is probably the formencode mailing list. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: apache question

2006-08-07 Thread Philip Jenvey
PrefixMiddleware in the paste.deploy.config module. I'm not sure about the static files problem you're having. PrefixMiddleware might solve it. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Paste.fixture errors

2006-08-07 Thread Philip Jenvey
list. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: apache question

2006-08-07 Thread Philip Jenvey
-- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Re: Configuring PYTHONPATH with fcgi

2006-08-14 Thread Philip Jenvey
I just described, or changing the paste RecursiveMiddleware to accept the prefix (SCRIPT_NAME). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: Response and sending content to the browser

2006-08-16 Thread Philip Jenvey
, self.start_response) -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Praise, validate decorator and formencode/javascript

2006-08-20 Thread Philip Jenvey
question: Then I don't see any more reasons against adding encode_variables to the validate-parameters. Or is there an easier way to override it? I've added the option in r1272. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: 0.9: Can't get POST body

2006-08-22 Thread Philip Jenvey
Required) if one isn't set, but I'm not sure if it does. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: can't find information on how to define basecontroller

2006-08-25 Thread Philip Jenvey
for you in lib/base.py of your project's package. The default controllers (like TemplateController), and any controller created via the 'paster controller' command will automatically import it for you via: from yourpackage.lib.base import * -- Philip Jenvey

Re: Myghty unicode support to be released

2006-08-29 Thread Philip Jenvey
pretty good so far. I've got a small patch for you guys: https://sourceforge.net/tracker/? func=detailatid=675049aid=1548366group_id=116507 -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: myghty module component as autohandler

2006-08-31 Thread Philip Jenvey
'/autohandler$' : 'modcomp:Autohandler'}, # configure all dhandlers to resolve to Dhandler class {r'.*/dhandler$' : 'modcomp:Dhandler'}, ] -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: mod_python issue: cannot import startup.py

2006-08-31 Thread Philip Jenvey
. I ran 'chmod 777' on startup.py to eliminate any permissions problems, and changed its ownership to the apache user. My guess is one of the parent directories does not grant apache the +x bit. Try: su apache -c 'cat /full/path/startup.py' -- Philip Jenvey

Re: Error in error controller

2006-09-06 Thread Philip Jenvey
._current_obj() self.request = pylons.request._current_obj() self.buffet = pylons.buffet._current_obj() Our hope is to one day in the future provide seamless access to them within the interactive debugger. -- Philip Jenvey --~--~-~--~~~---~--~~ You

Re: error logs

2006-09-06 Thread Philip Jenvey
the traceback to this file app = ErrorHandler(app, global_conf, error_template=error_template, error_log='/var/log/ tracebacks.log', **config.errorware) (We should add this to the online docs.. and allow specifying it via your .ini) -- Philip Jenvey

Re: QuickWiki Tutorial

2006-09-09 Thread Philip Jenvey
with the fixed code. -- Philip Jenvey --~--~-~--~~~---~--~~ 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: DeprecationWarning: StackedObjectProxy.current_obj has been moved to StackedObjectProxy._current_obj

2006-09-10 Thread Philip Jenvey
) and these will go away. -- Philip Jenvey --~--~-~--~~~---~--~~ 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: h.link_to() question

2006-09-10 Thread Philip Jenvey
functions suffix their code with semicolons (but visual_effect does -- I might consider that inconsistency is a bug). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Using start_form/end_form with XML templating engines

2006-09-25 Thread Philip Jenvey
-- it wouldn't be a lot of work, but useful to many. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: redirecting to another controller when deployed at non-root URI

2006-09-29 Thread Philip Jenvey
method instead of redirecting? Thanks! -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Secure File Download

2006-10-11 Thread Philip Jenvey
will provide an easier, and more efficient implementation (in terms of how it handles streaming the data to the client and the support of last modified/etag headers), as well as being well tested. -- Philip Jenvey --~--~-~--~~~---~--~~ You received

Re: how to pass information between controllers

2006-10-16 Thread Philip Jenvey
in request.params.items() if sid[1] == 'on'] session['serverList'] = slst session.save() redirect_to(controller='CommandProcesser', action=cmd) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Funny characters are crashing Myghty

2006-10-20 Thread Philip Jenvey
already been fixed on trunk. -- Philip Jenvey --~--~-~--~~~---~--~~ 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: headers from abort() don't show up in response

2006-10-24 Thread Philip Jenvey
look for those saved headers when it notices a 401. I'll log a ticket. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: No module named lib.base?

2006-11-27 Thread Philip Jenvey
'banner' refers to the controller module (a relative import) as opposed to your top level package (an absolute import). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: set up a host to provider Pylons service

2006-12-06 Thread Philip Jenvey
you give me some suggestions? I am hurried. Thanks! When all else fails, try the wiki: http://pylonshq.com/project/pylonshq/wiki/Hosting -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: comments on Unicode document

2006-12-12 Thread Philip Jenvey
_ to ugettext rather than gettext * How to integrate the aquarium code Can Ben or Shannon log a ticket about this one? -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Recent i18n Pylons changes

2006-12-13 Thread Philip Jenvey
) and ungettext imported/included in their namespace. -- Philip Jenvey --~--~-~--~~~---~--~~ 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: Help with creating controllers

2006-12-14 Thread Philip Jenvey
directories. That .egg- info dir is searched for in the current working dir and scanned when paster searches for its plugins. An incredibly old version of Pylons might also do this, but doubtful. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because

Re: Paramatizing @jsonify

2006-12-15 Thread Philip Jenvey
(func(*args, **kwargs))) return response return decorator(wrapper) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Re: Using sudo instead of setuidgid with Daemontools

2006-12-15 Thread Philip Jenvey
for the info -- even better would be to add a blurb to the Wiki about it -- you can edit after logging in ;) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: Problem with the Flickr tutorial

2006-12-19 Thread Philip Jenvey
out would be to download the latest, and place it (and the prototype.js it wants) in a 'javascripts' dir in your flickr project's public directory. This will override the built in versions. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: ANN: Pylons 0.9.4 Released

2006-12-30 Thread Philip Jenvey
with Pylons 0.9.4). Does the 301 response include a body? Is this a Windows server? -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Another XMLHttpRequest question

2007-01-04 Thread Philip Jenvey
, consider adding those params, unencoded, onto the end of your URL, and making a GET request (access them via request.GET). This would be easier if you're not sending lots of data. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Another XMLHttpRequest question

2007-01-04 Thread Philip Jenvey
On Jan 4, 2007, at 5:49 PM, Uwe Feldtmann wrote: Philip Jenvey wrote: Your first one just arrived before this one, for some reason. =] Who knows. The message showed up as soon as I posted the entry via the groups page. H. Just this data would be an invalid POST request. You need

Re: [ROUTES] map.resource and method case

2007-01-05 Thread Philip Jenvey
., input type='hidden' name='_method' value='post' Should actually convert the environ['REQUEST_METHOD'] to 'POST'. However the helpers that aren't generating uppercase methods should still be changed to generate uppercase anyways. -- Philip Jenvey

Re: Frustrated with setup.py

2007-01-10 Thread Philip Jenvey
wouldn't hurt as it looks like there's just been a new one released. I haven't personally tried it yet. but it does not work. How do I force setup.py to use 0.9.3??? -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: session_context and multiple SA databases

2007-01-16 Thread Philip Jenvey
']['sqlachemy.dburi2'] session_context2 = sessioncontext.SessionContext(lambda: make_session (dburi2), scopefunc=app_scope) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Problems with mod_fcgi and paste

2007-01-16 Thread Philip Jenvey
to the '/usr/lib/ python2.4/site-packages/paste' you're seeing. Otherwise I'm stumped =] -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: session_context and multiple SA databases

2007-01-17 Thread Philip Jenvey
at the QuickWiki's websetup.py. It has examples of both setting up the CONFIG object and using metadata.create_all. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Pylons website problems

2007-01-17 Thread Philip Jenvey
/AjaxGettingStarted This is now fixed (thanks Ben), sorry about that. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Odd behavior with mapped relations ...

2007-01-30 Thread Philip Jenvey
model.session_context.current -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Customizing SQLAlchemy connections

2007-02-10 Thread Philip Jenvey
via the config file, such as the the 'pool' keyword argument -- it takes an instance of a Pool object. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: WSGIRequest.charset and WSGIRequest.defaults

2007-02-14 Thread Philip Jenvey
. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Re: So may ways to get config values

2007-02-14 Thread Philip Jenvey
that config wiki page: http://pylonshq.com/project/pylonshq/wiki/CodeRecipes/ ExtractingConfigurationData to reflect all this =] -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: Wiki preview broken

2007-02-17 Thread Philip Jenvey
that must have been annoying =] Sorry about that, it looks to be working ok now. -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: redirect_to

2007-02-24 Thread Philip Jenvey
project, is trying to import a non- existent 'content' module -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: www.OutpatientSurgicare.com/video/

2007-03-12 Thread Philip Jenvey
. def hold_pee(f): def gusset(*args, **kargs): while leaking: absorb() f(*args, **kargs) return gusset Don't forget to flush() your SQLAlchemy session when you're done -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: XMLRPCController and None values

2007-03-26 Thread Philip Jenvey
this, but as an option: http://pylonshq.com/project/pylonshq/changeset/1916 It defaults to False like dumps. Thanks! -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: bug with select multiple field ?

2007-03-28 Thread Philip Jenvey
of MultiDicts. Does FormEncode handle multiple values in MultiDicts correctly during validation? Maybe the validate decorator needs to pass formencode request.params.mixed() and then create a MultiDict from the results for form_result. -- Philip Jenvey

Re: Help! Ajax in webhelpers broken with mootools

2007-04-01 Thread Philip Jenvey
? Specifying builtins=True to javascript_include_tag will cause it to be included (as well as scriptaculous). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: pasterscript-1.3.1 Error on Windows XP Using Python Version 2.5

2007-04-02 Thread Philip Jenvey
. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: multiple database connections?

2007-04-02 Thread Philip Jenvey
would ask first. Yes =] -- Philip Jenvey --~--~-~--~~~---~--~~ 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: myghty: Error(UnicodeDecodeError): 'ascii' codec can't decode byte 0xc3

2007-04-05 Thread Philip Jenvey
objects. The other option is to disable unicode support in Myghty, via the global 'disable_unicode' option, or on a template by template basis by passing disable_unicode=True to Pylons' render function. -- Philip Jenvey --~--~-~--~~~---~--~~ You received

Re: [RFC] Alternative paginator

2007-05-07 Thread Philip Jenvey
://workaround.org/pylons/paginator/ and let me know what you think. Some of the features: Without having compared your paginator and WebHelpers', would it be possible to rewrite the WebHelpers' paginator to use your code (maintaining the old API)? -- Philip Jenvey

Re: A pylons social network

2007-05-07 Thread Philip Jenvey
On May 6, 2007, at 3:50 PM, [EMAIL PROTECTED] wrote: Hot social network http://teenwag.com/profile?friendid=641 http://teenwag.com/profile?friendid=720 a/s/l/text editor? -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Unicode trouble with formencode, Mako and UTF8

2007-05-08 Thread Philip Jenvey
'] = 'UTF-8' tmpl_options['mako.default_filters'] = ['decode.utf8'] === Help! :) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: authentication api in Pylons

2007-05-09 Thread Philip Jenvey
://www.authkit.org -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: [RFC] Alternative paginator

2007-05-09 Thread Philip Jenvey
On May 8, 2007, at 12:14 AM, Christoph Haas wrote: On Mon, May 07, 2007 at 02:49:24PM -0700, Philip Jenvey wrote: On May 5, 2007, at 1:07 PM, Christoph Haas wrote: as some of you already know I have never been very happy with Webhelpers' built-in pagination module. So I wrote my own

Re: import _ fails?

2007-05-12 Thread Philip Jenvey
with pylons.util? -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Using Mako 2

2007-05-16 Thread Philip Jenvey
: ordinal not in range(128) Does someone have an idea on the workflow of constructing templaters for mako from plain HTML from designers? -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: Issues with @validate decorator

2007-05-16 Thread Philip Jenvey
)) You're right, in fact this should probably be a getall() instead of a normal get() (depending on how we solve variable_decode issue anyway). Regards, Graham -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Error with myghty request processing unicode

2007-05-16 Thread Philip Jenvey
() mapper.encoding = None - switch the encoding off for the particular route: map.connect('*url', controller='template', action='view', _encoding=None) I've logged a ticket for it here: http://pylonshq.com/project/ pylonshq/ticket/242 -- Philip Jenvey

Re: setting download name with paste.fileapp

2007-05-17 Thread Philip Jenvey
also work return fapp(request.environ, self.start_response) Also I'll point out that FileApp uses the mimetypes module to guess the content-type. In this case it would have guessed 'text/plain' for 'foo.txt'. -- Philip Jenvey

Re: Issues with @validate decorator

2007-05-17 Thread Philip Jenvey
On May 16, 2007, at 3:00 PM, Ian Bicking wrote: Philip Jenvey wrote: On May 16, 2007, at 7:51 AM, Graham Stratton wrote: Hi all, I see there's discussion about the issues with the @validate decorator in the tracker. I've come across a few problems myself in the last few weeks, so

Re: Issues with @validate decorator

2007-05-19 Thread Philip Jenvey
the MultiDict itself. But as I said in another email, that doesn't get htmlfill working with non variable_decode style multiples. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: ImportError: cannot import name SessionMiddleware

2007-05-19 Thread Philip Jenvey
Beaker==0.6.3 -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Trouble Getting Started With Pylons

2007-05-21 Thread Philip Jenvey
. -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Pylon's integration of SQLAlchemy config extremely broken

2007-05-25 Thread Philip Jenvey
along to create_engine with python code. Maybe with a setuptools entry point? I've been avoiding any big changes to the SQLAlchemy support stuff until it's fully sorted out. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: redirect bug for __before__ methods in controllers

2007-05-30 Thread Philip Jenvey
this out -- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL

Re: CONFIG and logging problems

2007-05-30 Thread Philip Jenvey
initializing CONFIG (not any of your project's code), and we forgot to update paster shell's version of CONFIG to use the new style merged config dict. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: CONFIG and logging problems

2007-05-30 Thread Philip Jenvey
On May 30, 2007, at 4:43 PM, Mike Orr wrote: On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote: On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote: On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote: On May 30, 2007, at 3:27 PM, Mike Orr wrote: My app can find paste.deploy.CONFIG

Re: Pylons Logo Design

2007-06-04 Thread Philip Jenvey
but an interesting design -- not a mundane Pylon =] -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: Subdirectories and resource paths in Mako

2007-06-07 Thread Philip Jenvey
such as image_tag as they will always prefix urls with the appropriate SCRIPT_NAME value. Then when deployed on a subdir behind a reverse proxy, use PrefixMiddleware: http://pylonshq.com/docs/0.9.5/ application_configuration.html#prefixmiddleware -- Philip Jenvey

Re: beaker 0.8 DeprecationWarning

2007-06-08 Thread Philip Jenvey
:// docs.pythonweb.org/dashboard.action -- Philip Jenvey --~--~-~--~~~---~--~~ 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: Caching problems

2007-06-12 Thread Philip Jenvey
I have to set the HTTP headers manually? Browsers will always check back to make sure a etag/lastmodified cache page hasn't expired. You want to also use the Expires header which tells the browser when it actually needs to check back -- Philip Jenvey

Re: using decorators with controllers

2007-06-18 Thread Philip Jenvey
/python/documentation.html I'll also note that Pylons uses Michele's decorator package for its own decorators. Since it's a required dependency it's already installed and available for you: import decorator -- Philip Jenvey --~--~-~--~~~---~--~~ You received

Re: Pylons, Zope, Plone, MoinMoin

2007-06-22 Thread Philip Jenvey
it courtesy of Graham Higgins: http://docs.pythonweb.org/display/pylonscookbook/A+Pylons+controller +with+MoinMoin+as+a+WSGI+callable -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: Mako unicode problems.

2007-06-24 Thread Philip Jenvey
() if __name__ == __main__: main() The foo.txt file is written as follows: # -*- coding: utf-8 -*- Jesús Antonio Any help will be very appreciated. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: deploying pylons

2007-06-24 Thread Philip Jenvey
). Those warnings should be going out to stderr, but I don't know if your CGI is capturing stderr as well as stdout. You could certainly try disabling them (see the warnings module docs on filtering) -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: SAContext 0.2.0

2007-07-01 Thread Philip Jenvey
myclass.q.filter_by(foo)? -- Philip Jenvey --~--~-~--~~~---~--~~ 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

Re: The Confluence wiki is back up

2007-07-02 Thread Philip Jenvey
On Jul 2, 2007, at 11:10 AM, David Niergarth wrote: On Jul 2, 12:30 pm, Philip Jenvey [EMAIL PROTECTED] wrote: pythonweb.org is having some DNS issues. So the wiki is now available athttp://wiki.pylonshq.cominstead. The links to it onhttp://pylonshq.comhave been updated FWIW, I'm

Re: Unable to send a file to an update ressource with a restcontroller.

2007-07-07 Thread Philip Jenvey
') % % h.submit(Send file 2) % % h.end_form() % Funny that you just ran into this, as this is a Routes bug that was just reported a few days ago: http://routes.groovie.org/trac/routes/ticket/55 It's fixed in Routes' trunk: easy_install -U Routes==dev -- Philip Jenvey

Re: Pagination problems using SQLAlchemy MSSQL in Pylons - no OFFSET

2007-07-10 Thread Philip Jenvey
, they continued the email thread on their list, it's available here: http://groups.google.com/group/sqlalchemy/browse_frm/thread/ e0a1a2579c21826b -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: Future of serving static content with pylons

2007-07-10 Thread Philip Jenvey
for more information. import os os.getcwd() 'C:\\Python24' os.path.join(os.getcwd(), 'static') 'C:\\Python24\\static' You said your entire app was located on the D:, if that's the case, aren't the other paths working ('templates' for example would be utilized by buffet)? -- Philip Jenvey

Re: where is with_ documented?

2007-07-12 Thread Philip Jenvey
-- Philip Jenvey --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

  1   2   3   >