translations and websetup

2007-04-06 Thread Wichert Akkerman
for use in websetup. Can someone point me in the right direction? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

authkit form_result caching

2007-04-10 Thread Wichert Akkerman
like this: I have an index method which can be accessed using either GET or POST. When a user POSTs to it and later does a GET self.form_result is still set if the controller is wrapped in the authkit middleware. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things

unicode error

2007-04-20 Thread Wichert Akkerman
string. There is a slight documentation bug in formencode.htmlfill.render: the docstring says the form parameter should be a string. Judging by the rest of the code that should be a unicode string, not a plain string. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http

Re: Pylon with Apache

2007-04-29 Thread Wichert Akkerman
as fast 5. frees you from having to use Apache at all (other proxy solutions are available that are usually faster and lighter than Apache) Regards, Cliff -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make

Re: Turbogears now based on Pylons!

2007-06-28 Thread Wichert Akkerman
, which is used to tie SA into Zope. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Plugins for CMS

2007-07-13 Thread Wichert Akkerman
. Those provide a very powerful and yet simple component architecture that have seen a lot wider use and testing than the trac CA. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: Missing nose version on the cheeseshop breaks pylons

2007-08-03 Thread Wichert Akkerman
chance you can put this version back up on the cheeseshop? I have the file in case you need it. Thanks, Jerry Seutter -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: splitting validate in two

2008-03-23 Thread Wichert Akkerman
Previously Ian Bicking wrote: Wichert Akkerman wrote: I'm trying to use @validate but it does not quite fit my needs. Especially the fact that it automatically calls htmlfill which fails to handle XHTML makes it a no-go. Can you give an example of the XHTML it breaks on? This might

Re: setup-app not working for composite pylons app?

2008-03-24 Thread Wichert Akkerman
that. Perhaps it can be extended with a flag to make it refuse to run if it has been run before, which will prevent people from accidentily zapping existing data. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make

Re: New SQLAlchemy tutorial

2008-03-24 Thread Wichert Akkerman
) but it then fails on the create_all code. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: New SQLAlchemy tutorial

2008-03-24 Thread Wichert Akkerman
Previously Wichert Akkerman wrote: Previously Mike Orr wrote: I've put a new SQLAlchemy tutorial in the Pylons official docs. http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons Thanks for that tutorial. I'm running into a problem with database creation though

Re: Auth and Auth

2008-03-29 Thread Wichert Akkerman
response was 'my needs are very simple, I will look elsewhere'. After actually using AuthKit since there were no good alternatives at the time and I did not want to bother to write my own thing I still think that. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http

Re: showing defaults / submitting form info

2008-04-06 Thread Wichert Akkerman
(method=xhtml) formencode also has a htmlfill utility method you can use. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received

Re: CSRF Question

2008-04-19 Thread Wichert Akkerman
if it is dealing with html or xhtml. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: is there a good way to stash a global var, that doesn't use g/app_globals

2008-04-29 Thread Wichert Akkerman
Previously Contact 42 wrote: what's wrong with a normal python module. Thread safety. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

parameterized controllers

2008-05-18 Thread Wichert Akkerman
setup work in the controller constructor. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you

Re: parameterized controllers

2008-05-18 Thread Wichert Akkerman
= class_a class bCrontroller( coreObjectController ): self. model_object = class_b I don't see what the link between this and my suggestion I'm afraid. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make

Re: parameterized controllers

2008-05-19 Thread Wichert Akkerman
', 'controller': u'customert', 'id': u'123'} Hopefully that works. It works and is indeed better. I still think my approach is nicer: it does not require poking manually at the routes memory but provides a clean interface. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things

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

2008-05-24 Thread Wichert Akkerman
be called in Django an app. No: the way pylons is setup it will only look for controllers and templates in a single package. That is not terribly hard to fix but I'm not sure if that is a design goal for pylons. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http

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

2008-05-24 Thread Wichert Akkerman
. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

initialise session in functional test

2008-06-08 Thread Wichert Akkerman
Does anyone have tips or example code for getting some test data into a (beaker) session so a controller that's being tested can pick that up? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: initialise session in functional test

2008-06-12 Thread Wichert Akkerman
Previously Shannon -jj Behrens wrote: On Sun, Jun 8, 2008 at 3:36 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Does anyone have tips or example code for getting some test data into a (beaker) session so a controller that's being tested can pick that up? If I were in your shoes, I would

Re: WSGI Fails ImportError: No module named deploy

2008-06-16 Thread Wichert Akkerman
. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

best practices for static resources

2008-06-16 Thread Wichert Akkerman
and use the StaticURLParsers when running in in development mode? If so, how did you set that up? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: best practices for static resources

2008-06-17 Thread Wichert Akkerman
Previously Cliff Wells wrote: On Mon, 2008-06-16 at 13:03 +0200, Wichert Akkerman wrote: I am trying to figure out what the best practices for dealing with static resources such as CSS, Javascript and images are. With a default pylons setup every request goes through two StaticURLParser

Re: Plyons WSGI on Apache2.2

2008-06-17 Thread Wichert Akkerman
for a bit since egg:Paste#evalerror complained it doesnot work in a multi-thread environment, but it turns out it still complains even if you limit mod_wsgi to one thread. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net

Re: Plyons WSGI on Apache2.2

2008-06-17 Thread Wichert Akkerman
a multi-process environment, but does support multi-threading. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: best practices for static resources

2008-06-17 Thread Wichert Akkerman
Previously Antonio Beamud Montero wrote: El mar, 17-06-2008 a las 04:33 -0700, Cliff Wells escribió: On Tue, 2008-06-17 at 10:36 +0200, Wichert Akkerman wrote: Previously Cliff Wells wrote: I usually just setup Nginx to handle whatever location my static content

Re: Reddit open sources their site pylons implementation

2008-06-19 Thread Wichert Akkerman
to help us with an openid plugin for our project ;) They're quite simple - it shouldn't be hard to implement OpenID support yourself. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: Testing with the session object

2008-06-28 Thread Wichert Akkerman
support to that. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Testing with the session object

2008-06-29 Thread Wichert Akkerman
Previously Marin wrote: On Jun 28, 8:01 pm, Wichert Akkerman [EMAIL PROTECTED] wrote: I found that when you are writing unit tests it is essential to be able to stuff data into session, c and request. I'm using a base class for unittests which looks like this: from unittest import

Re: best way to get user's IP address in pylons?

2008-07-03 Thread Wichert Akkerman
(X_FORWARDED_FOR, request.environ[REMOTE_ADDR]) that handles requests coming in from a proxy server as well. You may want add some extra checking to see if REMOTE_ADDR really is a proxy server before trusting the X-Forwarded-For header. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make

Re: best way to get user's IP address in pylons?

2008-07-03 Thread Wichert Akkerman
Previously Jonathan Vanasco wrote: On Jul 3, 4:42 pm, Wichert Akkerman [EMAIL PROTECTED] wrote: Possibly better:   request.environ.get(X_FORWARDED_FOR, request.environ[REMOTE_ADDR]) maybe someone can make a middleware or pylons patch + config setting that migrates X_FORWARDED_FOR

Re: tests fail because of g

2008-07-07 Thread Wichert Akkerman
Previously Mike Orr wrote: On Mon, Jul 7, 2008 at 1:33 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: What's wrong with using paste.loadapp to properly set 'g' for every test that needs it? That way your test environment is the closest to the production environment -- which

Re: WebHelpers 0.6 released

2008-07-13 Thread Wichert Akkerman
. There no reason not to use XHTML. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Pylons on Google App Engine

2008-07-21 Thread Wichert Akkerman
Mike Orr wrote: On Mon, Jul 21, 2008 at 12:02 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Mike Orr wrote: Of course, that will diminish Mako's amazing speed. It remains to be seen how much of a difference it makes. Perhaps down the road Mako can be patched to put cached

Plesae do not remove pylons releases

2008-08-23 Thread Wichert Akkerman
both there and on pypi but I can not find an announcement or changelog for it. Can someone provide those? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: Shutdown hook

2008-10-09 Thread Wichert Akkerman
+C sends a SIGINT to your server process, I don't think atexit registered function will be executed. You can setup a signal handler for SIGINT. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: Freezing a Pylons app

2008-10-10 Thread Wichert Akkerman
Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places. That is a very popular pattern that more and more things are starting to use. Wichert. -- Wichert Akkerman [EMAIL PROTECTED

Beaker info

2008-10-10 Thread Wichert Akkerman
def expensive_stuff(): The result of this function is cached during this request only, with the function and its argument as cache keys. as far as I can see there is no direct alternative for beaker, is that correct? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple

Re: Freezing a Pylons app

2008-10-10 Thread Wichert Akkerman
Previously Mike Orr wrote: On Thu, Oct 9, 2008 at 11:23 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places

Re: Putting DELETE's params into request.POST

2008-10-17 Thread Wichert Akkerman
to a simple wsgi app that echoes back wsgi.input. Probably because that was just easier. I can not imagine what the semantics for a body for DELETE would be. What information would you want to send to something that you are deleting? Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple

Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)

2008-11-19 Thread Wichert Akkerman
for easy_install to know the dependency is not needed. It can: setup.py is just python, so you can put conditional code in there that checks the python version and modifies install_requires accordingly. You need to do the same thing for the uuid module as well. Wichert. -- Wichert Akkerman [EMAIL

Re: simplejson install error, need help

2008-11-25 Thread Wichert Akkerman
available at that point. It works with source eggs since that python is run during dependency determination, and for binary eggs since those are python version-specific. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard

Re: Pyjamas : Python - JS

2008-12-06 Thread Wichert Akkerman
. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Pyjamas : Python - JS

2008-12-06 Thread Wichert Akkerman
. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: Django or Pylons - comparison details

2008-12-08 Thread Wichert Akkerman
, but it is shaping up to be another excellent candidate as well. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because

Re: Django or Pylons - comparison details

2008-12-08 Thread Wichert Akkerman
Previously Ian Bicking wrote: Wichert Akkerman wrote: Previously 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

Re: Django or Pylons - comparison details

2008-12-09 Thread Wichert Akkerman
on the backend only doing decoding and validation. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you

Re: Deploying Pylons project

2008-12-11 Thread Wichert Akkerman
environment using collective.recipe.modwsgi. That gives me an easy to manage and predictable setup. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: buildout vs virtualenv for pylons and/or other wsgi apps?

2008-12-15 Thread Wichert Akkerman
dependency in setup.py and re-run buildout. This has the advantage of guaranteeing that your dependencies are declared correctly: buildout will happily install everything you need and uninstall everything you do not need to keep the system as clean as possible. Wichert. -- Wichert Akkerman wich

Re: sqlalchemy objects in beaker cache

2008-12-17 Thread Wichert Akkerman
. See http://www.sqlalchemy.org/docs/05/session.html#merging Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: Flickr tutorial under 0.9.7?

2008-12-19 Thread Wichert Akkerman
getting most of the links fixed up so the site can be ready for launch with 0.9.7 final rather soon. Wow, Ben, the new site looks GREAT! Well done. Indeed. And curious wants to know: is that a Pylons-powered CMS? It looks like one.. Wichert. -- Wichert Akkerman wich...@wiggy.net

category support for flash

2008-12-19 Thread Wichert Akkerman
backwards compatible, so if you do not need categories you will never notice them. Patch attached. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: category support for flash

2008-12-19 Thread Wichert Akkerman
Previously Mike Orr wrote: On Fri, Dec 19, 2008 at 11:57 AM, Wichert Akkerman wich...@wiggy.net wrote: Often it is very useful to have flash/status messages of several different types, for example to be able to differentiate between informational messages, warnings and errors. To do

Re: category support for flash

2008-12-20 Thread Wichert Akkerman
Previously Mike Orr wrote: On Fri, Dec 19, 2008 at 11:57 AM, Wichert Akkerman wich...@wiggy.net wrote: Often it is very useful to have flash/status messages of several different types, for example to be able to differentiate between informational messages, warnings and errors. To do

Re: category support for flash

2008-12-20 Thread Wichert Akkerman
) -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: Opinion sought on example.com/username

2008-12-20 Thread Wichert Akkerman
defenitions so any static routes would be matched first. What if at some point in the future you need a new static route and a user already registered with that username? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net

Unicode routes

2008-12-30 Thread Wichert Akkerman
unicode strings. This contradicts the routes manual (http://routes.groovie.org/manual.html#unicode) which appears to say this should work fine. Is anyone using unicode routes succesfully? Is there a trick that I'm missing somewhere? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple

Re: Unicode routes

2008-12-30 Thread Wichert Akkerman
there everything is encoded to utf-8 and then breaks. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because

Re: Unicode routes

2009-01-02 Thread Wichert Akkerman
for them. It would be awesome if routes supported this natively, even if only as an option, because lots of international URL's are much cleaner with it than they would be without it. If you work with Asian companies it's pretty much a hard requirement these days. Wichert. -- Wichert

Re: running a controller method outside wsgi app

2009-01-18 Thread Wichert Akkerman
): init_model(meta.engine) meta.metadata.create_all(meta.engine) def tearDown(self): meta.Session.remove() meta.metadata.drop_all(meta.engine) and if you need both just inherit from both classes (and call setUp from both). Wichert. -- Wichert Akkerman wich

Re: running a controller method outside wsgi app

2009-01-19 Thread Wichert Akkerman
Previously Dalius Dobravolskas wrote: On Mon, Jan 19, 2009 at 9:34 AM, Wichert Akkerman wich...@wiggy.net wrote: Previously Dalius Dobravolskas wrote: Hello, On Mon, Jan 19, 2009 at 7:44 AM, Roberto Allende ro...@menttes.com wrote: My motivation is to write a unit testing

Re: running a controller method outside wsgi app

2009-01-20 Thread Wichert Akkerman
Previously Roberto Allende wrote: Wichert Akkerman escribió: Previously Dalius Dobravolskas wrote: Hello, On Mon, Jan 19, 2009 at 7:44 AM, Roberto Allende ro...@menttes.com wrote: My motivation is to write a unit testing but even in other cases it could have sense

Re: Webtest doesn't like 204 response with Content-Type header

2009-01-22 Thread Wichert Akkerman
and some browsers will spin forever waiting for data to arrive. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: console tools

2009-01-23 Thread Wichert Akkerman
this: entry_points= [paste.paster_command] controller = pylons.commands:ControllerCommand restcontroller = pylons.commands:RestControllerCommand mycommand = myapp.commands:MyExampleCommand You can now call it like this: paster mycommand development.ini Wichert. -- Wichert Akkerman

Re: FormEncode and International Languages

2009-01-27 Thread Wichert Akkerman
people are handling validating different form elements with these shortcomings. Without concrete examples of things that break there is little we can tell you. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make

Re: FormEncode and International Languages

2009-01-27 Thread Wichert Akkerman
have an open ticket in a project related to that. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you

Re: Is Django more popular than Pylons?

2009-01-30 Thread Wichert Akkerman
Previously Gael Pasgrimaud wrote: Here it is: http://www.gawel.org/howtos/howto-install-pylons-with-buildout It might be useful to document using collective.recipe.modwsgi as well. That makes it trivial to use pylons with mod_wsgi from a buildout environment. Wichert. -- Wichert

Re: is there a way to call render with string teamplates?

2009-02-06 Thread Wichert Akkerman
=auto) instances is quite interesting. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you

Re: beaker_cache query_args when duplicate queries are in

2009-02-09 Thread Wichert Akkerman
=create_func, expiretime=expire, starttime=starttime) return decorator(wrapper) -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
actions) again. That has not yet made it into a release though. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
On 2/11/09 11:12 PM, Philip Jenvey wrote: The class's name and module name are used for the cache's namespace, which'll prevent clashes. For normal functions just the function's module name is used for the namespace. Looking at this again maybe the class name should be in the key instead

changes from rc4 to rc5

2009-02-12 Thread Wichert Akkerman
Is there a summary of the changes between rc4 and rc5? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: changes from rc4 to rc5

2009-02-12 Thread Wichert Akkerman
Previously Ben Bangert wrote: - Beaker has been updated since the last release to fix several bugs involving memcached, and how it stores session data Does that mean that it is now possible to use memcache for beaker sessions? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple

Caching in auth middleware

2009-02-13 Thread Wichert Akkerman
missing? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Caching in auth middleware

2009-02-13 Thread Wichert Akkerman
Previously Wichert Akkerman wrote: I have what I suspect is a reasonably common setup with a repoze.who middleware for authentication, followed by transaction, routes, session, cache, registry manager and pylons middlewares. In some cases you want to use a cache in authentication

Re: Sqlalchemy: querying table in different functions gives different results

2009-02-17 Thread Wichert Akkerman
is the second function looking at a stale version of the table? Because you haven't flushed the changes to the database. This is well documented in the SQLAlchemy documentation. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net

pylonshq issue tracker disappeared

2009-03-09 Thread Wichert Akkerman
I'm not sure if anyone already noticed, but at the risk of repeating the message: the issue tracker on pylonshq.com no longer works. All relevant URLs return a 404. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard

Beaker repeats every get

2009-03-09 Thread Wichert Akkerman
Beaker can't roll has_value and get_value in one call? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: CMS/CMF on top of Pylons

2009-03-22 Thread Wichert Akkerman
supposedly embed Plone as a WSGI application but I don't know anybody who has tried it. I think OpenPlans is doing that. You can run Plone 3 as a WSGI application using Repoze, and Plone trunk is WSGI by default. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http

Re: What I've learned deploying pylons

2009-03-31 Thread Wichert Akkerman
Previously Wyatt Baldwin wrote: Questions: Which versions of supervisor and Python are ya'll using together? Should I go for supervisor 2.1 or 2.2b1 or 3.0a6 or ...? Everyone is running 3.0a6 as far as I know. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things

Re: best ways to test ?

2009-04-10 Thread Wichert Akkerman
python tests. I haven't tried it, but at the concept is very interesting. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received

Re: updating database schema

2009-04-22 Thread Wichert Akkerman
. :) Unless you change a constraint or index. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you

Re: Plugin architecture

2009-04-28 Thread Wichert Akkerman
already registered controllers or remove controller registrations. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: Plugin architecture

2009-04-28 Thread Wichert Akkerman
Previously Ben Bangert wrote: On Apr 28, 2009, at 2:43 PM, Wichert Akkerman wrote: If you decide to use zope.component a controller could be a named utility. You could then register it like so: class BaseController(object): This is the standard Pylons base controller class

Re: app engine - state of play - 0.9.7

2009-05-03 Thread Wichert Akkerman
, whatever broke is something recent, because the interactive traceback was working on App Engine a few months ago. And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http

Re: app engine - state of play - 0.9.7

2009-05-06 Thread Wichert Akkerman
Previously Ben Bangert wrote: On May 3, 2009, at 7:42 AM, Wichert Akkerman wrote: And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. It hasn't? What is happening instead? I click on the + and get a javascript error. Wichert. -- Wichert Akkerman

Re: app engine - state of play - 0.9.7

2009-05-06 Thread Wichert Akkerman
Previously Ben Bangert wrote: On May 6, 2009, at 12:54 AM, Wichert Akkerman wrote: I click on the + and get a javascript error. What type of environment? What wsgi server? I can see why it wouldn't work under GAE, since there's no guarantee you'll get back to the same process

Re: app engine - state of play - 0.9.7

2009-05-11 Thread Wichert Akkerman
Previously Wichert Akkerman wrote: Previously Ben Bangert wrote: On May 3, 2009, at 7:42 AM, Wichert Akkerman wrote: And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. It hasn't? What is happening instead? I click on the + and get

Re: using buildout with pylons

2009-05-19 Thread Wichert Akkerman
prevent that. As a workaround you can move those dependencies to install_requires. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You

Re: using buildout with pylons

2009-05-19 Thread Wichert Akkerman
Previously Chris Withers wrote: Wichert Akkerman wrote: BUT, one thing I have noticed so far is that after running buildout, I end up with eggs for Paste, PasteDeploy and PasteScript in pylons_buildout/myproject, which is wrong. Everything in setup_requires and test_requires

Re: deploying to production?

2009-05-20 Thread Wichert Akkerman
and PasteScript, so don't list them here. You will need to use dependent-scripts = true to get bin/paster generated. If you want to deploy using mod_wsgi you can use the collective.recipe.modwsgi buildout recipe. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http

Re: Logging example in Windows (lama)

2009-05-27 Thread Wichert Akkerman
Previously durumdara wrote: Can I get some callback that starts at/before every requests where I can log everything what I need? Write a tiny bit of WSGI middleware? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net

Re: Authkit vs repoze.who for openid

2009-07-19 Thread Wichert Akkerman
were that stupid so they have not thought about secure cookies ;-) It's a prefectly valid thing to do, and I do not see why you should not do that. The standard python openid implementation encourages this type of approach by making the store pluggable. Wichert. -- Wichert Akkerman wich

Re: Authkit vs repoze.who for openid

2009-07-19 Thread Wichert Akkerman
implementation ? http://openidenabled.com/python-openid/ Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message

Re: Launching a background process

2009-07-27 Thread Wichert Akkerman
On 7/27/09 8:40 AM, Graham Dumpleton wrote: On Jul 27, 2:07 pm, Dave Forgactylerd...@gmail.com wrote: I am trying to write an application that will allow a user to launch a fairly long-running process (5-30 seconds). It should then allow the user to check the output of the process as it is

Re: Enabling logging for collective.recipe.modwsgi

2009-08-07 Thread Wichert Akkerman
Hi Phil, On 8/7/09 10:31 , Kershaw, PJ (Philip) wrote: Hi Wichert, I've been making use of your modwsgi buildout recipe for sometime now - thanks :) ... but have been wondering about the best way to integrate logging capability into the WSGI script that's generated. Looking at:

Re: pylons with chameleon?

2009-09-19 Thread Wichert Akkerman
languages. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

  1   2   >