Hi,
I'm using beaker and found out that restarting pylons clears the cache
completely. It seems that the cache is not stored in the filesystem at all
Here is my config:
beaker.type = dbm
beaker.session.key = doupy
cache_dir = /var/dou
Interesting that session files are stored in the filesystem.
Interesting that session files are stored in the filesystem.
What's wrong with my config? How can have beaker store the cache in the
filesystem?
I do have these lines in the middleware.py:
app = SessionMiddleware(app, config)
app = CacheMiddleware(app, config)
I do have these lines in the middleware.py:
app = SessionMiddleware(app, config)
app = CacheMiddleware(app, config)
Nevermind my question. I probably didn't use correct prefix in my .ini file,
passing type='dbm' to the constructor did the trick.
2009/4/23 Jonathan Vanasco jonat...@findmeon.com
here's what i do:
- I always and only use table reflection
- I have a table called 'appschema' that is roughly in pg:
- in my app i have a toplevel dir called 'sql-migrations' that just
has this structure
component/id-desc.sql
- the last
On Thu, Apr 23, 2009 at 09:45, Ben Bangert b...@groovie.org wrote:
What are you using to raise the exception, and where are you raising it in
your project? The Pylons WSGIController captures http exceptions, and turns
them into normal responses, which the StatusCodeRedirect will then capture
On Sun, Apr 26, 2009 at 09:35, Max Ischenko ische...@gmail.com wrote:
It seems to go as following: the HTTPNotFound gets intercepted,
StatusCodeRedirects creates internal redirect to /error/document/ but
forwarding to this url fails for some reason. I have turned on DEBUG
logging, here
Now I have another issue left.
When I open a page like /edit_cv (no trailing slash) instead of doing
redirect the redirect exception gets trapped by EvalMiddleware:
URL: http://127.0.0.1:5010/m/max/edit_cv/
File
After I updated to pylons 0.9.7 I noticed that my error pages (from
error.py) no longer work.
if I do say abort(404) the browser displays:
301 Moved Permanently
The resource has been moved to http://127.0.0.1:5010/error/document/;
you should be redirected automatically.
The document() handler
On Wed, Apr 22, 2009 at 19:24, Ben Bangert b...@groovie.org wrote:
It sounds like the StatusCodeRedirect isn't being used. Can you expand to
show what else is in your middleware section. There's a toggle on full_stack
to decide if it should put in the StatusCodeRedirect, do you have
The Pylons WSGIController handles the exceptions thrown from abort and such,
so that the httpexception middleware is obsolete. What version of Pylons was
used originally for the project?
I do not remember the version but it was something really old. ;)
Anyway, I removed that httpexceptions
The default_filters and imports options doesn't seem to work at all:
config['pylons.g'] = app_globals.Globals()
config['pylons.g'].mako_lookup = TemplateLookup(
directories=paths['templates'],
error_handler=handle_mako_error,
The only thing I actually need is to preserve old Mako behaviour where
non-string values, such as ints or objects were automagically converted to
string/unicode.
How do I do this?
--
Max.Ischenko // twitter.com/maxua
--~--~-~--~~~---~--~~
You received this
On Wed, Apr 8, 2009 at 11:18, Max Ischenko ische...@gmail.com wrote:
The only thing I actually need is to preserve old Mako behaviour where
non-string values, such as ints or objects were automagically converted to
string/unicode.
How do I do this?
Mako documentation says http
On Wed, Apr 8, 2009 at 11:19, Max Ischenko ische...@gmail.com wrote:
The only thing I actually need is to preserve old Mako behaviour where
non-string values, such as ints or objects were automagically converted to
string/unicode.
How do I do this?
Mako documentation says http
On Tue, Mar 31, 2009 at 21:26, Ben Bangert b...@groovie.org wrote:
TypeError: sequence item 68: expected string or Unicode, NoneType found
Generally this is caused when you have a component (mako def) that is
echoing some value out. I think its because the default escaper that is now
used
On Thu, Apr 2, 2009 at 10:18, Deron Meranda deron.mera...@gmail.com wrote:
On Thu, Apr 2, 2009 at 3:01 AM, Max Ischenko ische...@gmail.com wrote:
Here is the error I get with parsing json:
ValueError: Invalid control character at: line 16 column 418 (char 1244)
http
Hi,
I have migrated my codebase to 0.9.7 and when I'm trying to use render_mako
instead of render() I get a strange error:
File '/Users/amaslov/Projects/dou-pylons/doupy/doupy/controllers/root.py',
line 239 in staticpage
return render('/pages/%s.html' % name)
File
Hi jj,
On Sun, Mar 29, 2009 at 00:42, jose jj.gal...@gmail.com wrote:
I can certainly sympathize here. ;)
I have tried various deployment solutions as well for my work on
developers.org.ua project. I used to use supervisord plus mod_proxy + paster
serve (cherrypy wsgi). To start supervisord on
On Sun, Mar 29, 2009 at 12:35, Graham Dumpleton
graham.dumple...@gmail.comwrote:
Don't know if that was related to zombie issue you asked about on
mod_wsgi list back in November or not. You were asked to supply some
more specific information but you never responded. Bit hard to solve
what
On Fri, Feb 27, 2009 at 09:50, Noah Gift noah.g...@gmail.com wrote:
That is what I am doing right now. So far I am up to downloading the
spidermonkey source code to compile couchdb...looks interesting
Installing couchdb from svn turned out to be easier than expected, thanks to
nice
On Wed, Feb 25, 2009 at 20:09, Ben Bangert b...@groovie.org wrote:
On Feb 25, 2009, at 12:25 AM, Max Ischenko wrote:
I could help.
I just forked the repo @
http://bitbucket.org/max/jobs-page/overview/?point=3b84a68f3d84
Cool, you'll notice in the templates/layout.mako that there's a Jobs
On 26 фев, 11:42, Max Ischenko ische...@gmail.com wrote:
...
Also I should add that I won't be able to do much in the next few days
since I have some pressing obligations.
But then I plan to work on it: looks both fun and rewarding.
Max
On Wed, Feb 25, 2009 at 10:13, Ben Bangert b...@groovie.org wrote:
On Feb 24, 2009, at 9:59 PM, Dalius Dobravolskas wrote:
Just an idea - PylonsHQ (http://pylonshq.com/) could have Pylons job
board where people looking for Pylons developers could post their job
offers.
That's actually on
Hello there,
I have about 5 years of experience with Python, mostly web (server-side);
for 2,5 years I has been working on various turbogears/pylons project,
including one of my own, developers.org.ua. For more information see my
linkedin page at http://linkedin.com/in/maksim.
I am looking for
import OpenSnPylons
h = getattr(__import__( '%s.lib' % OpenSnPylons.appname , {},
{}, ['']), 'helpers')
model = getattr(__import__(OpenSnPylons.appname, {}, {}, ['']),
'model')
This works perfectly on 0.9.6 - using it on multiple production sites.
On 0.9.7 , a paster
Hello,
Merry holidays everyone!
I want to disable 404 error handling by wsgi/pylons so that apache handler
would run.
I'm using mod_wsgi behind apache and now I get Not Found page with
hr noshade
div align=rightWSGI Server/div
in the footer.
I guess that's what mod_wsgi do. How can I tell
Anyway, the specific mod_wsgi issue for this feature is:
http://code.google.com/p/modwsgi/issues/detail?id=57
Although I created an issue for it, no one has actually ever asked for
this feature so it has been given quite low priority.
So, if you really need this ability in a hurry, run
May be you guys know how Pylons WSGI app can conflict with Django. There is
a conflict, since if I comment out call to loadapp() the django app starts
working.
-- Forwarded message --
From: Max Ischenko [EMAIL PROTECTED]
Date: Tue, Nov 4, 2008 at 13:01
Subject: composite Django
On Thu, Oct 30, 2008 at 00:21, Mike Orr [EMAIL PROTECTED] wrote:
On Wed, Oct 29, 2008 at 8:53 AM, Ben Bangert [EMAIL PROTECTED] wrote:
- Despite the WebHelpers upgrade, all the old helpers are still there, no
need to change any of that
But you do need to import the ones you're using into
On Thu, Oct 30, 2008 at 00:21, Mike Orr [EMAIL PROTECTED] wrote:
I have never upgraded the paster create way because it's such a
hassle to reconcile the conflicts.
The docs say the opposite:
http://docs.pylonshq.com/upgrading.html#running-paster-create-to-upgrade
On Tue, Oct 28, 2008 at 20:55, Ben Bangert [EMAIL PROTECTED] wrote:
Did you read the What's new in Pylons page here?
http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779
It has some important bits about what you need to change. You added the
lines it refers to in your
The problem was with Routes.
After I set map.minimization = True the 301 errors are gone;
On Wed, Oct 29, 2008 at 08:16, Max Ischenko [EMAIL PROTECTED] wrote:
Did you read the What's new in Pylons page here?
http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779
Btw, this page
Hi,
I've been trying to upgrade my project to the latest (upcoming) Pylons
release.
I have a lot of custom code so the process is really not fun. Anyway, right
now I'm able to start the paster but attempting to open any page results in:
301 redirect response
There should be a simple way to send feedback on the docs.
I noticed a 404 link on the Forms page, how do I report it via
website?
(see para request is actually a WSGIRequest object documented here
and request.params is a MultiDict with documentation here.)
On 5/12/08, Syp [EMAIL PROTECTED] wrote:
Hello --
Does anyone know if it's possible to run Pylons and PHP together on
the same port? I'm trying to use a web analytics tool (Piwik) which
requires PHP. Any suggestions?
We do just this on developers.org.ua site. Frontpage is on pylons
Hello,
I'm debugging performance issues with my Pylons app and got some weird data.
Measured with ApacheBench, frontpage is served 44 req/s when accessed with
/root/index and 5 req/s when accessed through /.
How's that? I suppose it should be the same, I don't think my routes *that*
Very new werkzeug WSGI framework has an interesting routing approach:
http://werkzeug.pocoo.org/documentation/routing
May be something worth studying.
--
Max
http://maxischenko.in.ua // http://www.linkedin.com/in/maksim
--~--~-~--~~~---~--~~
You received this
Hello,
On Jan 17, 2008 9:14 PM, Ben Bangert [EMAIL PROTECTED] wrote:
On Jan 16, 2008, at 6:03 AM, Max Ischenko wrote:
OK, I guess it is working. After I removed extra middleware results
changed to 40 req/s with @beaker_cache() and 15 req/s without. Still
very very slow, of course
Hello,
I'm trying to setup a beaker cache to speed up my app but it doesn't seem to
work ok. The best results I was able to get is ~4 req/s. I suspect the
beaker simply aren't working as expected.
I'm using @beaker_cache decorator to cache the whole request handler and use
ab to test it's
OK, I guess it is working. After I removed extra middleware results changed
to 40 req/s with @beaker_cache() and 15 req/s without. Still very very slow,
of course. ;(
On Jan 16, 2008 3:50 PM, Max Ischenko [EMAIL PROTECTED] wrote:
Hello,
I'm trying to setup a beaker cache to speed up my app
Hello,
I setup a Google group for Russian-speaking people who do Python web
development.
http://groups.google.com/group/webpython-ru
Core topics include WSGI, Pylons, Paste, SQLAlchemy and other modern python
web-related stuff.
Come and join us!
--
Max
http://maxischenko.in.ua //
Hi Chris,
On Jan 14, 2008 11:04 PM, percious [EMAIL PROTECTED] wrote:
I know a few of you on this board have been following the DBSprockets
project so I wanted to post about a recent development: primitives.
Sounds cool!
Though personally, I'm not that much interested in automatic form
On Jan 11, 2008 10:42 AM, Mike Orr [EMAIL PROTECTED] wrote:
Ben discovered two problems with using ElementTree for the WebHelpers
HTML generation:
...
Any better ideas? Is there a tokenizing XHTML/HTML generator that's
pythonic and doesn't depend on C libraries?
I must have missed it
Hello,
My migration to 0.4 didn't end well since now I sometimes get the following
error:
sqlalchemy.exceptions.InvalidRequestError: Parent instance class '
doupy.model.objects.JobPosting' is not bound to a Session, and no
contextual session is established; lazy load operation of attribute
On 1/7/08, Mike Orr [EMAIL PROTECTED] wrote:
Over the weekend Ben and I and others developed a plan to overhaul
WebHelpers. A preliminary API proposal is here:
http://wiki.pylonshq.com/display/pylonsprojects/WebHelpers+ideas .
The main goals are:
Sounds nice.
The old functions will be
On 1/8/08, Mike Orr [EMAIL PROTECTED] wrote:
Never used assertEqual with nose, HTH
Same here.
How do you get it to show the variables' values then?
from nose.tools import eq_
eq_(one, two)
Max.
--~--~-~--~~~---~--~~
You received this message because you
instead of genuine file stream.
Any ideas how to make the solution less ugly?
On 1/7/08, Max Ischenko [EMAIL PROTECTED] wrote:
Hello,
nose has a nice feature: it prints captured output along with failing
test, e.g.:
def test_index():
print Hello
assert 0
$ nosetests
FAIL
Hello,
nose has a nice feature: it prints captured output along with failing test,
e.g.:
def test_index():
print Hello
assert 0
$ nosetests
FAIL: ...test_index
--
assert 0
begin captured stdout
Hello,
I am trying to customize paster setup-app config.ini action so that some
files are pre-generated when application is set up. The problem is attempt
to use pylons.c or render() leads to error like this:
File /home/max/oss-projects/PasteScript/paste/script/appinstall.py, line
456, in
On 11/29/07, Christoph Haas [EMAIL PROTECTED] wrote:
But Pylons is moving. And people find out interesting things and develop
nifty ideas every day. We discuss them on IRC but in this case I'd love
to have a planet pylons. thinkingThe planet software would be a
possible
choice for an
On 11/27/07, Marcin Kasperski [EMAIL PROTECTED] wrote:
Looks like an interesting idea. I approached ToscaWidgets for a few
times, and always failed to start using them (no docs, samples failing
just on the start etc - last attempt today, sample WSGI app for some
reason displayed escaped
Hello guys,
It turns out one can easily use django's newforms library in a Pylons app.
Anyone interested?
http://maxischenko.in.ua/blog/entries/130/using-djangonewforms-with-pylons/
--
Max
http://maxischenko.in.ua // http://www.linkedin.com/in/maksim
Hello Matt,
On 11/26/07, Matt Feifarek [EMAIL PROTECTED] wrote:
On Nov 26, 2007 11:20 AM, Max Ischenko [EMAIL PROTECTED] wrote:
It turns out one can easily use django's newforms library in a Pylons
app. Anyone interested?
I'm interested.
What does it offer that the current recommended
comprehensive and
easy-to-use documentation for the foundation and IMO this could do most to
boost application development and gaining traction in general.
Max.
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian
Hello,
On 11/22/07, Mike Orr [EMAIL PROTECTED] wrote:
You're absolutely right. The optimism is based on the expectation
that the documentation you're seeking will be available in the next
few months. The problem is not that the core developers don't
recognize that comprehensive
config.ini
/cron, which runs a request to /cron.
If you are not using PasteScript trunk you can still use paster
paste.paster_command extensions point. Quite verbose but it works.
Max.
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http
,
line 98, in __call__
environ, self.app)
File /usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/wsgilib.py,
line 540, in intercept_output
if data[0] is None:
IndexError: list index out of range
How do I do this properly?
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian
to the
project's codebase and make sure widgets use our copy. Though it still not
as simple as plain templates, since to grok how to tweak some form designer
need to look through Python code to find out where the corresponding piece
of mako template is stored.
--
Max Ischenko
http
fault, I think I put the first version of the Unicode
validator in FE, based on the TG one.
I think it was me who submitted UnicodeString validator to TG codebase so I
can only blame myself. ;)
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http
Hello Alberto and others,
My feedback on trying out twForms following part 1 tutorial.
0. It all worked!
1. middleware configuration step could be optional, since I believe you
could do the same with some magic tweaking of .ini file.
2. API docs kind of useless.
I have tried pydoc hint,
On 10/30/07, Max Ischenko [EMAIL PROTECTED] wrote:
It may be a good idea to browse excellent docs for Django's newforms - TW
competitor. You can steal ideas how to organize/present twForms concepts and
may be some design ideas as well. I also contemplate idea to try to port
newforms
On 10/24/07, Ian Bicking [EMAIL PROTECTED] wrote:
Max Ischenko wrote:
One remark I noticed:
We're importing the validators from the twForms' validators module.
This module includes all validators from FormEncode but overrides
UnicodeString so it doesn't encode strings when converting
)
if isinstance(value, unicode):
return value.encode(self.outputEncoding)
return str(value)
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian
Hello Mike,
On 10/24/07, Mike Orr [EMAIL PROTECTED] wrote:
I've written a summary page introducing Pylons form handling and
ToscaWidgets, with links to the existing ToscaWidgets tutorials.
Alberto's new tutorial is first, which will hopefully cut down on user
confusion until the others are
)
- hard to use (basically no docs)
- too complicated an implementation
- development stalled
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian)
--~--~-~--~~~---~--~~
You received
Orr could write some Pylons HOWTO by then. ;)
Regards,
Max.
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian)
--~--~-~--~~~---~--~~
You received this message because you
.
--
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
Hi,
I use paste TestApp in my unit tests and it causes a problem to
pylons.config. when I do loadapp() it apparently clears my config keys
I setup before, e.g.:
def make_app(user=None):
config['XXX'] = 'xxx'
wsgiapp = loadapp('config:test.ini', relative_to=conf_dir)
print
On 10/17/07, Christoph Haas [EMAIL PROTECTED] wrote:
On Tue, Oct 16, 2007 at 04:22:14PM +0200, Marcin Kasperski wrote:
Any ideas how could I reduce pylons app RAM usage? At the moment
pylons process takes above 100MB (almost static site serving some
templates) - both when run with paste,
On 10/16/07, Marcin Kasperski [EMAIL PROTECTED] wrote:
Any ideas how could I reduce pylons app RAM usage? At the moment
pylons process takes above 100MB (almost static site serving some
templates) - both when run with paste, and when run under mod_wsgi.
Quite a lot, considering that for
On 10/4/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Sep 19, 2007, at 4:22 AM, Max Ischenko wrote:
What is the correct way to find it out?
PasteScript-1.3.6
Beaker-0.7.5
Pylons-0.9.6
SQLAlchemy-0.3.10-py2.4.egg
There are 2 leaks present in the latest Pylons, both of them
Hi,
On Sep 3, 3:10 pm, lengani [EMAIL PROTECTED] wrote:
Anyone does a redirection to make all urls have atrailingslash? What's the
simplest way to accomplish this?
Routes has an append_slash option for the map.
...
Not sure if it's precisely what you're looking for.
Thanks, that helped a
On 9/29/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Sep 27, 2007, at 4:58 PM, Waldemar Osuch wrote:
I have noticed that you switched the version control to Mercurial.
Is it a permanent change?
The question is motivated by curiosity only. I did not notice any
discussion on the list about
Hi,
I want to setup my url mappings so that the follows urls will work:
/admin/clients/ -- index method on ClientsController
/admin/clients/foobar -- foobar method on ClientsController
/admin/clients/123 -- 'view' method on ClientsController, with id passed
in
/admin/clients/123;quux -- quux
Hi,
I'm using url_for with qualified=True option but for some reason it
generates urls with https prefix. Why it happens? Do I need to put
protocol=http into each and every qualified url_for invocation to prevent
it from happening?
Max.
--~--~-~--~~~---~--~~
You
On 9/19/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Sep 18, 2007, at 8:56 AM, Max Ischenko wrote:
Actually, I have had PasteScript#cherrypy from the beginning.
What versions of Beaker, Paste, and Pylons are you using btw?
What is the correct way to find it out?
PasteScript-1.3.6
Beaker
Hello,
After recent application updates I noticed that it started leaking memory
like crazy (at a rate ~200Kb/minute). As a result, it runs out of memory in
a few hours and stops working properly. ;(
Any ideas how to debug this situtation? I already review latest code changes
but haven't noticed
Hi Ben,
On 9/18/07, Ben Bangert [EMAIL PROTECTED] wrote:
After recent application updates I noticed that it started leaking
memory like crazy (at a rate ~200Kb/minute). As a result, it runs
out of memory in a few hours and stops working properly. ;(
Any ideas how to debug this
Hi,
I am using FormEncode/htmlfill to handle forms.
It seems that if you have a non-ascii error message to be displayed on
a form, such as Invalid(u'\u041d\u0435\u043e\u0431\u0445\u043e
\u0434\u0438\u043c\u043e',) attempt to render a form results in:
File
Hello,
On 9/11/07, Ben Bangert [EMAIL PROTECTED] wrote:
Yep, again, once the generator is passed up the stack, Pylons wraps
up its globals (if it didn't, they'd leak). You can grab local copies
of some of the globals in your generator like:
def somegen():
req = request._current_obj()
On 9/12/07, Max Ischenko [EMAIL PROTECTED] wrote:
Hello,
On 9/11/07, Ben Bangert [EMAIL PROTECTED] wrote:
Yep, again, once the generator is passed up the stack, Pylons wraps
up its globals (if it didn't, they'd leak). You can grab local copies
of some of the globals in your generator
On 9/9/07, Cesco [EMAIL PROTECTED] wrote:
I have updated to 0.9.6rc3 and the error is still the same.
Sorry for hijacking the thread but is this release is already available?
I haven't seen any announcement and main page at pylonshq.com still shows
link to rc2.
Could I ask to make release
On 9/7/07, Yury Yurevich [EMAIL PROTECTED] wrote:
On Fri, 7 Sep 2007 11:11:41 +0300, Max wrote:
P.S.: I used to have this logic with Apache mod_rewrite rules but they
stopped working once I setup Apache to proxy all requests to Pylons.
Maybe WSGIRewrite
Hello,
I want my Pylons application to redirect users that arrive at
developers.org.ua host to a corresponding page at
www.developers.org.uadomain (note the www prefix).
On a first glance, this task is ideal for a middleware piece, so that
application itself does not have to deal with it. Is it
On 9/1/07, mickolka [EMAIL PROTECTED] wrote:
Hi all
I want to write a FileStorage service object with following features
- should be configured on the start of the application
- should be accessible from the any controller
- have only one instance
Pylons provide a `g` namespace for your
Hello,
Anyone does a redirection to make all urls have a trailing slash? What's the
simplest way to accomplish this?
Max.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group,
Hi Alberto,
On 8/27/07, Alberto Valverde [EMAIL PROTECTED] wrote:
You'll then have to add FormEncode's messages to your app's message
catalog, compile it, etc... and that should do it.
BTW, I'd love to hear of a way to configure Pylons's _ function to
use the message catalog inside
Hi,
About 1-3 times a day I receive the following worrying error on my
production site deployment (traceback below). Any ideas what it may mean and
how it could be fixed?
(P.S.: I use sessions functionality, if modestly)
Max.
URL: http://www.developers.org.ua/
File
Hello,
I use Apache to proxy all requests to my Pylons app. I used to have the
following mod_rewrite rules which helped to redirect users to www. version
of the site:
RewriteCond %{HTTP_HOST} ^developers\.org\.ua$
RewriteRule (.*) http://www.developers.org.ua/$1 [R=Permanent,L]
After
On 8/16/07, Jose Galvez [EMAIL PROTECTED] wrote:
I'm trying to use formencode to validate a simple form. The question I
have is:
How can I make a field conditionally required? This is what I have, I
have a pull down, with an other option. What I want to do is if other is
selected then
Hi Jose,
On 8/8/07, jose [EMAIL PROTECTED] wrote:
I just found out that we should be deleting the current session in
base.py. So in
base.py you should have
del model.sac.session_context.current
which effectively would clear the session which is what I think you
wanted from your
Hi,
I'm using SAContext to manage my SQLAlchemy database connections. Today
setup looks like this.
BaseController.__call__:
model.sac.session.clear()
self.db = model.DatabaseFacade()
And DatabaseFacade.__init__:
self.session = sac.session
self.meta =
On 7/31/07, Jose Galvez [EMAIL PROTECTED] wrote:
Well I've definitely got a deadline to make this week. What I'm afraid
of is that this project will grow and the migration will be that much more
difficult. however if I build it on 0.96 now then I'll have to install
one of release
Hello,
I'm trying to setup moinmoin WSGI app following instruction from
http://docs.pythonweb.org/display/pylonscookbook/A+Pylons+controller+with+MoinMoin+as+a+WSGI+callable.
It's almost working. Static files are delivered fine. The only problem
is that MoinMoin says doesn't exist on every
Hello,
On Jul 30, 10:36 am, Max Ischenko [EMAIL PROTECTED] wrote:
I'm trying to setup moinmoin WSGI app following instruction
fromhttp://docs.pythonweb.org/display/pylonscookbook/A+Pylons+controller+
It's almost working. Static files are delivered fine. The only problem
On 7/30/07, Ian Bicking [EMAIL PROTECTED] wrote:
Max Ischenko wrote:
File '/usr/lib/python2.4/Cookie.py', line 453 in set
raise CookieError(Illegal key value: %s % key)
CookieError: Illegal key value: 070-it-:?0
HTTP_COOKIE: '...'
HTTP_COOKIE2: '$Version=1'
Weird... I'm
Just wanted to report my experience with 0.9.6rc1 while migrating my
app to it.
Another problem is that I can't use nose-0.10 alpha releases with
Pylons, since I got:
VersionConflict: (nose 0.10.0a2 (/usr/lib/python2.5/site-packages/
nose-0.10.0a2-py2.5.egg),
Hello,
Just wanted to report my experience with 0.9.6rc1 while migrating my
app to it.
Most time consuming part was manual diff/merge procedure, since I made
_a lot_ of changes to framework-generated files and they do change a
lot as well. Migrating to SAContext was a breeze, I was able to
Hi,
On 7/18/07, Agustin Villena [EMAIL PROTECTED] wrote:
Hi!
Yesterday I was playing with the new nose (0.10a1), testing the
htmloutput plugin, and then I imaginated a new feature of pylons: What If
the nose testrunner was 'embedded' in pylons?. Pylons right now has a
powerful debugger
=Max Ischenko and contributors,
author_email=[EMAIL PROTECTED],
url=http://trac.developers.org.ua/dou/;,
install_requires=[
Pylons=0.9.6rc1,
SQLAlchemy = 0.3.9,
MySQL_python=1.2.2,
Mako=0.1.8, Beaker=0.7.4,
CherryPy=3.0.1,
BeautifulSoup
1 - 100 of 169 matches
Mail list logo