Re: I can't do i18n work.

2013-01-11 Thread Philip Jenvey
On Jan 11, 2013, at 4:09 AM, Luis Aguirre wrote: * Go to http://127.0.0.1:6543?_LOCALE_=en and doesn't work at all! What happens? -- 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: Logging, again...

2012-09-14 Thread Philip Jenvey
the logging_tree package as a visual aid: http://pypi.python.org/pypi/logging_tree -- 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: Pyramid and Python 3.3.0 beta 2

2012-08-13 Thread Philip Jenvey
: 'SourceFileLoader' object has no attribute 'etc') in venusian/__init__.py line 181 Could you post a new bug with a full traceback? Major parts of Python's import system were rewritten for 3.3 (including SourceFileLoader). -- Philip Jenvey -- You received this message because you are subscribed

Re: Pyramid instructor needed for PyGotham (NYC Python conference this Saturday 6/9)

2012-06-11 Thread Philip Jenvey
On Jun 11, 2012, at 7:50 AM, Paul Winkler wrote: In case anybody is wondering, Daniel Hoth stepped up and filled in. Thanks a million Daniel! Awesome! Thanks Daniel! -- Philip Jenvey -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: SQLAlchemy, left outer join query taking a very long time (SQLite)

2011-11-04 Thread Philip Jenvey
an equivalent query at the SQLite command line there is no problem. Also, when the RDBMS is MySQL the query does not take a long time. This sounds like SQLite's fault -- you can confirm that by running the *exact* query via the command line tool as well. -- Philip Jenvey -- You received

Re: GAE support

2011-08-11 Thread Philip Jenvey
On Aug 10, 2011, at 5:33 PM, Chris McDonough wrote: In the meantime, GAE has become basically the only reason to support Python 2.5 in Pyramid. FYI this would also affect Jython. Work has started on 2.6 support, but it's been pretty slow. -- Philip Jenvey -- You received this message

Re: Akhet 1.0 released

2011-04-06 Thread Philip Jenvey
background. Woohoo, thanks Mike! -- 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 pylons-discuss+unsubscr

Re: Programmatically shutting down Pylons server

2010-05-02 Thread Philip Jenvey
.exe launcher -- if not by Jython 2.5.2 then likely the next release. That should solve this issue among other things: http://bugs.jython.org/issue1491 -- Philip Jenvey -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: Programmatically shutting down Pylons server

2010-04-24 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-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options

Re: Memory Release

2010-02-11 Thread Philip Jenvey
that the same increase occured in other Pylons instances with much smaller consumption, although the increase was proportional. -- 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-disc

Re: Accessing sqlalchemy.url value from config file (i.e., development.ini)

2010-02-09 Thread Philip Jenvey
): conn.create_function('regexp', 2, regexp) And in your load_environment: engine = engine_from_config(config, 'sqlalchemy.', listeners=[SQLiteSetup]) -- 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: Pylons Optimizing on Multiprocessor Server?

2009-11-15 Thread Philip Jenvey
of it. More important than anything I've said is to benchmark your app and go by the numbers. -- 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: WebOb API

2009-11-13 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 pylons-discuss+unsubscr

Re: [tg-trunk] TurboGears Black Friday Sprint (11/27/2009)

2009-11-13 Thread Philip Jenvey
, with the highest level of completed documentation evar! Plus I hear those 134 todo items are 20% off and include a free tote bag* * Only to the first 25 customers. Offer not valid in Bavaria. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Building EGGs

2009-11-12 Thread Philip Jenvey
Python as python2.x. Then I've just ran python setup.py bdist_egg, python2.3 setup.py bdist_egg, etc -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: Caching templates

2009-11-12 Thread Philip Jenvey
to disable @beaker_cache caching -- 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

pylonshq.com back up Was: Re: pylonshq.com down?

2009-10-15 Thread Philip Jenvey
Sorry about that, we had some flakey issues with trac that was causing the entire main website to stop responding, which happened a number of times over the past few days. It should all be taken care of now. We also fixed problems with uploading attachments to trac. -- Philip Jenvey

Re: View Template Error

2009-10-02 Thread Philip Jenvey
out its data to the data/ directory in the root directory of your Pylons project. Obviously you don't have permissions to write to it for whatever reason. Fix the permissions problem or change the directory used in the ini file. -- Philip Jenvey

Re: Beaker error

2009-09-24 Thread Philip Jenvey
) TypeError: argument must be an int, or have a fileno() method. FYI I narrowed this problem down today, it should be fixed in Beaker trunk. It's due to a CPython bug =[ http://www.pylonshq.com/project/pylonshq/ticket/645 -- Philip Jenvey

Re: Heads up: Pylons wiki down for maintenance tonight, 9:30pm-10:30pm PDT

2009-09-05 Thread Philip Jenvey
On Sep 5, 2009, at 3:02 AM, Mike Orr wrote: On Fri, Sep 4, 2009 at 10:38 PM, Philip Jenveypjen...@underboss.org wrote: On Sep 4, 2009, at 4:37 PM, Philip Jenvey wrote: It'll be going down for for a well needed upgrade. It's back now, note that the popular metadata-list plugin

Re: Heads up: Pylons wiki down for maintenance tonight, 9:30pm-10:30pm PDT

2009-09-04 Thread Philip Jenvey
On Sep 4, 2009, at 4:37 PM, Philip Jenvey wrote: It'll be going down for for a well needed upgrade. It's back now, note that the popular metadata-list plugin is currently incompatible with Confluence 3, hopefully a newer version will be released soon. -- Philip Jenvey

Re: Adding Pylons 0.9.7 breaks 0.9.6 projects

2009-08-29 Thread Philip Jenvey
. Another alternative is to install both eggs with the -m (multi- version) option of easy_install, then explicitly require whatever version the app needs as early as possible during the app's initialization (like in middleware.py, or load_environment) -- Philip Jenvey

Re: Anyone besides me using stored procedures?

2009-08-25 Thread Philip Jenvey
ORM follows the data mapper pattern for better separation between the application's object layer and the database layer. If you're not planning to write everything as stored procedures it'll make your life as a DBA easier, not harder -- Philip Jenvey

Re: Pylons marketing, ( new thread from web tech )

2009-08-23 Thread Philip Jenvey
On Aug 22, 2009, at 8:13 PM, Graham Dumpleton wrote: On Aug 23, 9:56 am, Philip Jenvey pjen...@underboss.org wrote: On Aug 22, 2009, at 3:36 PM, Graham Dumpleton wrote: FWIW, hosting Pylons on anything besides Paste HTTP server can also be a problem in some cases. This is because

Re: Pylons marketing, ( new thread from web tech )

2009-08-22 Thread Philip Jenvey
server itself. Pylons apps are always created via loadapp for any kind of deployment, so that's the appropriate place. Is the following logging to wsgi.errors documentation not enough in this regard? http://pylonshq.com/docs/en/0.9.7/logging/#logging-to-wsgi-errors -- Philip Jenvey

Re: '_fileobject' object has no attribute 'seek'

2009-08-17 Thread Philip Jenvey
: '_fileobject' object has no attribute 'seek' The latest version of Paste has a fix relating to this httpserver seek method which might solve this. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: pylons on jython

2009-08-13 Thread Philip Jenvey
on a mssql+zxjdbc dialect that'll hopefully be included too. -- 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: Using %(here)s in logging config

2009-08-04 Thread Philip Jenvey
involved at all with fileConfig -- 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: Using %(here)s in logging config

2009-08-03 Thread Philip Jenvey
://trac.pythonpaste.org/pythonpaste/changeset/8052 -- 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: How display options select field in given order ?

2009-05-22 Thread Philip Jenvey
(see its documentation). Plain dicts don't maintain order -- 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: trouble building docs

2009-05-11 Thread Philip Jenvey
] != self.object.__name__) AttributeError: '_AnyETag' object has no attribute '__name__' - from webob.etag import _AnyETag _AnyETag.__name__ '_AnyETag' FYI downgrading Sphinx should get around all this. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: jsonify Decimals and datetime.date

2009-05-01 Thread Philip Jenvey
simplejson.dumps(retval, arg1=arg1, arg2=arg2) return wrapped functools.wraps here isn't enough because it doesn't maintain the method argspec -- we need the decorator module magic. Pylons needs the argspec maintained to know what routing args to pass along. -- Philip Jenvey

Re: jsonify Decimals and datetime.date

2009-04-30 Thread Philip Jenvey
: @jsonify - @jsonify() -- 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: webhelpers: Convert markdown to text format

2009-04-21 Thread Philip Jenvey
On Apr 17, 2009, at 11:26 AM, karikris...@gmail.com wrote: I have to convert my markdown to plan text to display the text summary in the homepage? How to do that? http://tinyurl.com/dk8a5b =] -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: installation has NEVER worked on the first try in two years of using Pylons

2009-04-09 Thread Philip Jenvey
be ancient. I don't recall any weird issues like this with setuptools-0.6c7, but maybe this is an old virtualenv issue, maybe even particular to OSX. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: installation has NEVER worked on the first try in two years of using Pylons

2009-04-08 Thread Philip Jenvey
without having to go through pypi, like a fully self contained go-pylons.py -- 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: Google Summer of Code '09

2009-03-18 Thread Philip Jenvey
On Mar 12, 2009, at 10:10 PM, Philip Jenvey wrote: Pylons has submitted an application to GSoC '09, so we hope to be involved. Unfortunately our application was rejected. Rumor has it Google would be more picky with applicants this year, due to a reduced budget. There's some details

Re: Google Summer of Code '09

2009-03-16 Thread Philip Jenvey
On Mar 12, 2009, at 10:10 PM, Philip Jenvey wrote: Pylons has submitted an application to GSoC '09, so we hope to be involved. I've created a page on the wiki to list out ideas for projects: http://wiki.pylonshq.com/display/pylonscookbook/Google+Summer+of+Code Also if anyone

Re: Helpers in 0.9.7

2009-03-16 Thread Philip Jenvey
/h.url_for. url_for still works, but the pylons.url global is preferred. -- 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: Error on upgrading from .9.6 when touching Headers in response

2009-03-14 Thread Philip Jenvey
On Mar 14, 2009, at 9:24 AM, Jonathan Vanasco wrote: so basically we mostly just need a docs change to the 'migrating to 0.9.7' instructions Ok, done. Feel free to add to my change: http://wiki.pylonshq.com/pages/diffpages.action?pageId=11174779originalId=15302939 -- Philip Jenvey

Re: Google Summer of Code '09

2009-03-12 Thread Philip Jenvey
to this page. You simply need to signup for a login on the wiki to edit the page. -- 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: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-09 Thread Philip Jenvey
On Mar 9, 2009, at 12:53 PM, Ross Vandegrift wrote: On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote: This should work: config['pylons.request_options']['charset'] = None Maybe you don't have this line at the end of the environment.py? It should come after config.init_app

Re: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-06 Thread Philip Jenvey
this is actually set to. Only the value of None should disable unicode (US-ASCII won't). -- 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: Codepage, UTF-8

2009-03-04 Thread Philip Jenvey
(u'Регистрация') not work? On Mar 3, 2009, at 10:33 PM, menshikoval...@gmail.com wrote: No =( You probably don't have a magic encoding comment. Try adding: # coding: utf-8 (or whatever encoding your editor uses) to the top of your .py file. -- Philip Jenvey

Re: Thread-safety in Pylons (Python?)

2009-03-04 Thread Philip Jenvey
). This is the most authoritative page: http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm It's still a bit ambiguous on what is really safe, but I can guarantee the two basic dict operations in question (a getitem and setitem on steady dict value) are in fact safe. -- Philip

Re: Beaker error

2009-03-03 Thread Philip Jenvey
fcntl.flock(filedescriptor, fcntl.LOCK_EX) TypeError: argument must be an int, or have a fileno() method. It'd be helpful to know what the value of filedescriptor is when this happens. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Application server

2009-03-01 Thread Philip Jenvey
possibility, though. -- 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: logging setup

2009-02-24 Thread Philip Jenvey
logger under it, like myapp.controllers.mycontroller, should be sending WARN to the console handler. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: logging setup

2009-02-24 Thread Philip Jenvey
it -- 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 pylons-discuss

Re: Problems after installing 0.9.7 from 0.9.6

2009-02-24 Thread Philip Jenvey
. To track it down we'd have to know what you had installed in global site-packages before running go-pylons, and maybe what go-pylons ended up installing (or not installing). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: old doc bug for Routes

2009-02-23 Thread Philip Jenvey
=mycontroller, action=index). Where/how should I report issues like this? You should be able to edit any page in the Pylons Cookbook, as long as you're logged in. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: 0.9.7 and Elixir

2009-02-23 Thread Philip Jenvey
, section, vars) -- def setup_app(command, conf, vars): Either one will work, regardless of version -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Philip Jenvey
On Feb 11, 2009, at 3:38 AM, Wichert Akkerman wrote: Previously Philip Jenvey wrote: I just applied a fix that now correctly handles eleith's issue with duplicate query params, and always includes the function name regardless of the key type specified. I think you also need to add

Re: logger configuration for sqlalchemy

2009-02-10 Thread Philip Jenvey
(hence it referring to its own code) or probably more likely, the warning is using the wrong stack level, and not pointing you to where your code is using the deprecated call. You'll probably want to ask the sqlachemy devs about it. -- Philip Jenvey

Re: beaker_cache query_args when duplicate queries are in

2009-02-10 Thread Philip Jenvey
regardless of the key type specified. A fix was made about a month ago to make it work everywhere (not just controller actions) again. There's been a toggle to specify which cache headers it preserves for a while now. -- Philip Jenvey --~--~-~--~~~---~--~~ You

Re: Routes problem (not thread safe?)

2009-02-09 Thread Philip Jenvey
this was fixed in the 1.9 release. -- 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: Source encoding issues

2009-02-05 Thread Philip Jenvey
code module (see the ticket for more info) -- I'd love to see a monkey patch to solve this for paster shell. Any takers? -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Pylons vs Tomcat+GWT

2009-01-30 Thread Philip Jenvey
normal Ruby 1.8 (MRI). There's also Scala's Lift web framework. Scala should perform close to normal Java. Granted I'm talking about the performance of these language runtimes compared to Java -- the performance of the frameworks themselves may matter as well. -- Philip Jenvey

Re: Problems with installation through easy_install

2009-01-02 Thread Philip Jenvey
occur? -- 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 pylons

Re: pylons.decorators.secure.https throws away the query string ?

2009-01-02 Thread Philip Jenvey
attention. -- 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: Is there an easy way to set MIME types for static files?

2009-01-01 Thread Philip Jenvey
to register these with Python's mimetypes module. The WSGI middleware that serves static files, paste.fileapp.FileApp, uses that module to determine content-types. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: easy_install pylons

2008-12-18 Thread Philip Jenvey
to require it just yet. Instead we'll require 2.3.2 (which is quite old now, and as you mentioned, is also on pypi) as a minimum. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: easy_install pylons

2008-12-18 Thread Philip Jenvey
installed Pylons at home, it installed decorator 3.0.0, in contradiction to Tibor's experience. Not sure why this happened. I'm curious what setuptools said about it when it traversed the download links. -- Philip Jenvey --~--~-~--~~~---~--~~ You received

Re: If you HAD to use Java...

2008-12-17 Thread Philip Jenvey
very soon. The next step is to provide a way to create .war files from a Pylons project, which I'm tackling now. Then, support for more of the common optional libraries like SQLAlchemy, Genshi/Jinja2, etc. -- Philip Jenvey --~--~-~--~~~---~--~~ You received

Re: Disk-based sessions on Windows

2008-12-04 Thread Philip Jenvey
\ \04b435634fabe964808ec7a2df337889.cache' Can he show us the full stack trace? -- 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: Jinja2 template

2008-12-04 Thread Philip Jenvey
projects will be mako/genshi/jinja2 -- 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: simplejson install error, need help

2008-11-24 Thread Philip Jenvey
script exited with error: None What version of setuptools/ez_setup was in use here? -- 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: Beaker 1.1 Release

2008-11-20 Thread Philip Jenvey
: http://pylonshq.com/pasties/1003 -- 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: simplejson installation failure

2008-11-07 Thread Philip Jenvey
anyway. That's been out for over a month now. Maybe we should reconsider dropping it -- I don't like a lot of dependencies either -- but first I'd like to know what the actual problem is here. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message

Re: simplejson installation failure

2008-11-06 Thread Philip Jenvey
tell what actually happened here. -- 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: paster exception (generator ignored GeneratorExit)

2008-10-18 Thread Philip Jenvey
involved? -- 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: adding personal flags in Development.ini

2008-10-08 Thread Philip Jenvey
do: use_logging = asbool(pylons.config.get('use_logging')) -- 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: Shutdown hook

2008-10-08 Thread Philip Jenvey
() method of app_globals.py, but it doesn't seem to execute. Any help is greatly appreciated! Sure, you want the atexit module. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: Templating c Stacked Object

2008-10-08 Thread Philip Jenvey
.name__) TypeError: No object (name: C) has been registered for this thread -- 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: RuntimeError: maximum recursion depth exceeded

2008-09-25 Thread Philip Jenvey
to make this occur? -- 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: nosetests can't find packages?

2008-08-19 Thread Philip Jenvey
exception. -- 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: paster shell doesn't work with 0.9.7rc1dev

2008-07-05 Thread Philip Jenvey
a month ago actually). It's overriding builtin's __import__ and not handling the new level flag used for absolute imports in 2.5. If you're not using Myghty, the easiest way of avoiding this is to uninstall it. Otherwise Myghty's trunk will have a fix very soon. -- Philip Jenvey

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

2008-05-24 Thread Philip Jenvey
egg). Then at deployment time you can combine them into one composite application with Paste URL map, via the ini file: http://pythonpaste.org/deploy/#composite-applications -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you

Re: Sharing caches and sessions between multiple Pylons instances

2008-05-23 Thread Philip Jenvey
the 'type' option) in the app section of your ini file. e.g.: beaker.type = 'memcached:stuff': Those options are covered here: http://wiki.pylonshq.com/display/beaker/Configuration+Options The @beaker_cache decorator can also take a type argument. -- Philip Jenvey

Re: get_lang/set_lang why the different signature?

2008-05-13 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: Extra / normalization

2008-04-29 Thread Philip Jenvey
WSGI 2 (which of course doesn't exist yet, but somewhere we've penned this 'feature' to be removed in version 2 of the spec). -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: Pylons + Google App Engine

2008-04-13 Thread Philip Jenvey
://blog.ianbicking.org/2008/04/13/app-engine-and-pylons/ You'll also need his appengine-monkey library, which has a wiki page on how to get started with Pylons on App Engine: http://code.google.com/p/appengine-monkey/wiki/Pylons Give it a whirl and let us know how it goes! -- Philip Jenvey

Re: Pylons + Google App Engine

2008-04-09 Thread Philip Jenvey
/googleappengine/issues/detail?id=33 -- 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: Internal Errors due to WebError failures on source encoding

2008-04-08 Thread Philip Jenvey
as easy as using utf-8, unfortunately not everybody's source encoding is utf-8. Basically WebError needs to determine the actual source encoding used (there's a patch in the ticket for that), and use that to generate a displayable version. -- Philip Jenvey

Re: I18n doesn't work outside Pylons Controller

2008-03-31 Thread Philip Jenvey
the translated string def test2(self): return unicode(global_test) # It renders the following traceback I've tried many ways to encode the string to unicode but failed. This also causes my mako template down. Any suggestion? Thanks. You want lazy_ugettext -- Philip Jenvey

Re: An idea for improving @validate

2008-01-29 Thread Philip Jenvey
any purpose to it. POST /resource/1?_action=PUT doesn't invalidate any caches, and so it's not just rather useless, it's actually counterproductive. That POST would invalidate caches for /resource/1, I thought you just pointed that out in the last paragraph? =] -- Philip Jenvey

Re: An idea for improving @validate

2008-01-29 Thread Philip Jenvey
would nicely fit into that scheme. GETs should not have any side effects. So modifying/deleting a resource should be done via a POST. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: Publishing application with avahi

2008-01-28 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: Documentation for begginers

2008-01-28 Thread Philip Jenvey
specific line number in the error message. -- 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: simplejson and cjson

2008-01-28 Thread Philip Jenvey
a speed demon in comparison might not be true any longer. I really don't know for sure, though -- 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: localization when part of the code is in different place than pylons project.

2008-01-28 Thread Philip Jenvey
what you suggested -- extract both projects separately, then merge them later when necessary, I think Babel would need a gnu gettext msgcat-like feature. You might want to log an enhancement ticket on the Babel trac for this. -- Philip Jenvey

Re: Mako + Dictionaries = unexpected EOF while parsing

2007-12-29 Thread Philip Jenvey
' at line: 22 char: 8 http://www.makotemplates.org/trac/ticket/20 -- 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: How do you specify a class for link_to links

2007-12-20 Thread Philip Jenvey
this that I'm overlooking? This is covered in the FAQ: http://wiki.pylonshq.com/pages/viewpage.action?pageId=9011474 -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: Upgrading existing project to newer Pylons

2007-12-14 Thread Philip Jenvey
to PasteScript, anyone up for the task? =] -- 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: egg-info

2007-11-29 Thread Philip Jenvey
recreate it. There's an open ticket about it: http://pylonshq.com/project/pylonshq/ticket/282 -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: egg-info

2007-11-29 Thread Philip Jenvey
On Nov 29, 2007, at 3:41 PM, Philip Jenvey wrote: This is sucky: the template should just reside in the root directory of the project, so folks don't have to worry about revision controlling the egg-info dir. IIRC PasteScript hardcodes the template location there. Oh, but of course

Re: Trying to install on dreamhost - need help

2007-11-25 Thread Philip Jenvey
in the shell and the interpreter used will be your private one instead of the global one. -- 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: [ANN] ToscaWidgets 0.2 Release candidate available

2007-11-21 Thread Philip Jenvey
just copying an arbitrary egg skeleton to a directory? Sure, it could scaffold anything you want In fact PasteScript comes with a 'basic_package' template which is geared towards a basic python application. I've been using it any time I need to create a normal Python project. -- Philip Jenvey

Re: Multiple controller calls

2007-11-21 Thread Philip Jenvey
(curl -O http:// localhost:5000/): you'll see just one request. -- 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: Multiple controller calls

2007-11-20 Thread Philip Jenvey
of the requests is most likely for the favicon, I don't know about the other one (it probably has to do with the rendered error page). You can see what URL path was requested by printing out request.path_info. -- Philip Jenvey --~--~-~--~~~---~--~~ You received

  1   2   3   >