I'v use authkit and sqlalchemy with mysql
When I try to change template of signin screen (written in
http://pylonsbook.com/alpha1/simplesite_part_3 Styling the Sign In
Screen) I have following error
TypeError: not all arguments converted during string formatting
/lib/auth.py
def render_signin(
Hi,
I have just created sample Pylons application, that works fine under
Apache with mod_passenger. I took my a while to force it to work, so
now maybe few guis will save their time.
The key was to make passenger_wsgi.py file with following content:
import os,
sys
sys.path.append('/Users/maciej
I have uploaded sample app to github:
http://github.com/galdomedia/passenger-pylons-wsgi-example/tree/master
Regards,
ML
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group,
I don't like that example.
Mako IS a templating engine. So the author has you rendering the mako
templates AND THEN doing string substitution ? that's pointless.
anyways...
your error on render_signin is happening because of this line:
result = result.replace('%', '%%').replace('FORM_ACTI
my buddy and i have created a Standard CRUD (SCRUD) spec that we'd
like to use across projects and frameworks
before we get totally dependent on the pattern, I want to make sure
there's not some better solution out there, or some ideas that will
improve the design
below is the spec we came up wi
Hi,
I have a blog application which follows URL scheme of example.com/
postid/post-slug. Now I want to move the blog to a custom application
written in Pylons. Is it possible for me to retain the url scheme, as
I am using RESTful controllers?
Regards,
Derick.
--~--~-~--~~--
menshikoval...@gmail.com wrote:
> In my controller I use flash('Регистрация'), then in sends to template
> form in
> "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f"
>
> How to use "u" prefix here?
Does:
flash(u'Регистрация')
not work?
-Chris
--
Christopher Barker, Ph.D
On Mar 3, 8:23 am, Derick wrote:
> Hi,
>
> I have a blog application which follows URL scheme of example.com/
> postid/post-slug. Now I want to move the blog to a custom application
> written in Pylons. Is it possible for me to retain the url scheme, as
> I am using RESTful controllers?
Yes. You
In the next thread it's being answered about the advantages of MongoDB
against CouchDB:
http://groups.google.com/group/mongodb-user/browse_thread/thread/4335db5e9f343dec
On 1 mar, 22:56, MilesTogoe wrote:
> I guess I'm wondering what the comparison is between TokyoCabinet,
> MongoDB, with Couch
On Mon, Mar 2, 2009 at 11:24 AM, Mike Orr wrote:
> I've started getting an intermittent Beaker error.
>
>>> fcntl.flock(filedescriptor, fcntl.LOCK_EX)
> TypeError: argument must be an int, or have a fileno() method.
Nobody knows about this?
--
Mike Orr
--~--~-~--~~~
On Mar 3, 2009, at 12:24 PM, Mike Orr wrote:
fcntl.flock(filedescriptor, fcntl.LOCK_EX)
TypeError: argument must be an int, or have a fileno() method.
Nobody knows about this?
I don't, no. Mike Bayer might. Can you try upgrading Beaker just to
ensure it wasn't fixed? How do you reproduce
Hi everyone,
I'm trying to find some docs or perhaps old discussions about
implementing a task queue within a pylons application. The scenario
I'm trying to support involves a request coming into the app server to
perform an action which takes a long time to complete, such as
rebuilding an index
On Tue, Mar 3, 2009 at 12:27 PM, Ben Bangert wrote:
> On Mar 3, 2009, at 12:24 PM, Mike Orr wrote:
>
> fcntl.flock(filedescriptor, fcntl.LOCK_EX)
>>>
>>> TypeError: argument must be an int, or have a fileno() method.
>>
>> Nobody knows about this?
>
> I don't, no. Mike Bayer might. Can you t
Inside of an XMLRPCController I have a function that inserts items
into a database, and returns 'OK' to the client if everything works.
Everything runs quickly and correctly, the rows are inserted into the
DB, but pylons hangs for about a minute when generating the response.
The client hangs there
>
>
> My Code
> ==
> try:
>orm.flush()
>orm.commit()
> except Exception, e :
>orm.rollback() # Rollback transaction
># Release all connections and expunge objects
># Don't allow any other code to use session, f
G'day,
I know nothing about how to solve your problem, though it does sound like
something that interests me and which I would like to do myself. I currently
have a controller feeding data into a shared-memory circular buffer, from which
an entirely separate application reads and executes in i
orm.remove() is called in my base controller, so it actually does not
even need to happen here, but I put it there during debugging just to
do a sanity check and eliminate SQLAlchemy session issues from the
possible problems.
On Mar 3, 2:16 pm, Brennan Todd wrote:
> > My Code
> > ===
chris van wrote:
> > Date: Tue, 3 Mar 2009 12:57:39 -0800
> > Subject: Pylons, HTTP 201 Accepted, Task Queues and Background threads
> > From: kochhar...@gmail.com
> > To: pylons-discuss@googlegroups.com
> >
> > Hi everyone,
> >
> > I'm trying to find some docs or perhaps old discussions a
W liście Bryan z dnia wtorek 03 marca 2009:
> Inside of an XMLRPCController I have a function that inserts items
> into a database, and returns 'OK' to the client if everything works.
> Everything runs quickly and correctly, the rows are inserted into the
> DB, but pylons hangs for about a minute
On Mar 2, 2009, at 11:24 AM, Mike Orr wrote:
>
> I've started getting an intermittent Beaker error. It happens in the
> base controller when I pass ``session.id`` to a generic logging
> routine. However, I have three sites with the same logging code, and
> it's only happening on one of the sit
On Tue, Mar 3, 2009 at 4:52 PM, Philip Jenvey wrote:
>
>
> On Mar 2, 2009, at 11:24 AM, Mike Orr wrote:
>
>>
>> I've started getting an intermittent Beaker error. It happens in the
>> base controller when I pass ``session.id`` to a generic logging
>> routine. However, I have three sites with th
> Date: Tue, 3 Mar 2009 15:26:50 -0800
> From: kochhar...@gmail.com
> To: pylons-discuss@googlegroups.com
> Subject: Re: Pylons, HTTP 201 Accepted, Task Queues and Background threads
>
>
> chris van wrote:
> > > Date: Tue, 3 Mar 2009 12:57:39 -0800
> > > Subject: Pylons, HTTP 201 Accepted, T
Hey people,
I'm relatively new to all this Web Python stuff, but I'm hoping
somebody can share their wisdom...
For a while I have been working with Django, and although I quite like
it, I feel like there is too much stuff going on that I have
absolutely no control over, and too many things which
If you are thinking about user-visible long running tasks, maybe give
a look at: http://pythonpaste.org/waitforit/ -- it seems like you are
more thinking about APIs, but at least similar.
FYI, I think there's actually an HTTP header to indicate when the
client should poll next.
On Tue, Mar 3, 2
No =(
Regards, Alexy
--~--~-~--~~~---~--~~
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-
On Mar 3, 2009, at 7:14 PM, The Devil's Programmer wrote:
So what I am wondering is, is it possible to use a Django style
routing system with Pylons, and also, why does Pylons want me to add
'Controller' at the end of everything? Can I change this behavior? Why
doesn't Pylons just let the user d
I wrote a quick blog post about how I do worker threads:
http://chrismoos.com/2009/03/04/pylons-worker-threads/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email
27 matches
Mail list logo