I've been using msys/mingw32 as a poor-man's-Linux-like shell on my
Windows box, and thus far it's served well enough in my study of
Pylons... except I just found that the command paster shell doesn't
work properly in it. Seems to work fine in a Windows XP command
shell, gives access to my model
Newbie here, but getting somewhere. But I just hit this one problem,
the straightening out of which will hopefully also cure me of some
related misconceptions or poor assumptions.
In one of my mako templates, I have something like the following. The
trouble I am having is with passing the
.
Pylons can't interpret the u'None' value for you because it is
ambiguous - did the user type in 'None' and submit, or is this 'None'
the actual python None.
hth,
Chris
On Feb 14, 3:53 pm, Eric Ongerth [EMAIL PROTECTED] wrote:
Newbie here, but getting somewhere. But I just hit this one problem
This held up my pursuit of AJAX for a few frustrating hours. Nobody's
fault but mine; however, I'm posting about it in case the following
can be useful in anyone else's learning process.
The following may sound like it's written for idiots if you are well
versed in AJAX or at least Javascript.
results lead them to read this
thread might be just as early in the process of grasping AJAX as I was
yesterday.
Thanks for the CSS idea too.
On Feb 18, 9:38 am, Cliff Wells [EMAIL PROTECTED] wrote:
On Sun, 2008-02-17 at 13:06 -0800, Eric Ongerth wrote:
So, you're thinking, OK, we have
While learning to use Pylons, on occasion I've noticed that my site in
development still responds to http even after I have pressed Ctrl-C in
the shell window in which I was running paster serve --reload
development.ini.
At first I figured that it was just a result of caching behavior...
, it would be
helpful to know which browser you're using and its version.
Chris
On Feb 22, 11:32 am, Eric Ongerth [EMAIL PROTECTED] wrote:
While learning to use Pylons, on occasion I've noticed that my site in
development still responds to http even after I have pressed Ctrl-C
, two more fields need to be
added to the form. If there's that much delay it's definitely not the
smoothness for which I sought Ajax. Should I try changing this one
operation to synchronous?
More thanks.
Eric
On Feb 24, 3:48 pm, Eric Ongerth [EMAIL PROTECTED] wrote:
Two cases... one works
Two cases... one works, one does not, and the difference seems to be
that in Case 2 (non-working) the form is displayed in the view only
after the user clicks a button that triggers an
update_element_function to show the form. So there seems to be
something I'm not understanding -- maybe about
it inside of my Windows workstation, and I'm
sure a lot of things will be clearer then.
Eric
On Feb 23, 9:14 am, Eric Ongerth [EMAIL PROTECTED] wrote:
It's not 100% accurate to say I'm running Unix. I'm currently on a
Windows XP box, running MSys, a tiny Unix uh, subset? - developed
mainly
I searched for show_button and found no related posts, so here goes.
I frequently get the following error when working with my project,
using Firebug in Firefox:
show_button is not defined prototype.js(line 273)
and the following error content:
show_button is not defined
argument that contains script tag with
show_button('extra_data_text', 'text version') as its text. Most
likely it is coming from Web server response to Ajax request.
On Feb 26, 2:47 am, Eric Ongerth [EMAIL PROTECTED] wrote:
I searched for show_button and found no related posts, so here goes.
I
Ok, I'll put this here for anyone else searching for the same
subjects. If anyone feels I could or should have figured this out by
reading the proper documents, I would like to hear that too, with
specifics. Instead I didn't hook up a working version until I dug
through discussions on this
Here's what I want to be able to do with Routes. I do want to be able
to take advantage of the following cases of minimization, but I want
to be able to explicitly call controller/action/id when the defaults
i've set up are not enough.I'm curious how my scenario compares to
the above
Ben,
Is there a minimum experience level?
On Mar 25, 1:52 pm, Ben Bangert [EMAIL PROTECTED] wrote:
I'm looking at times to hold a Pylons Sprint, and thought I'd throw 2
dates out to see what works best for those interested in attending
(and to ensure its not conflicting with some other big
Wow, that's great. I'm just reaching the stage of adding login/
authorization to my project, and your approach looks just like what I
had in mind, but with all the unknowns filled in. Thanks for sharing.
On Mar 27, 9:42 am, Wolverine [EMAIL PROTECTED] wrote:
Yannick Gingras pisze: Greetings
John, thanks for writing and sharing your Zero-to-Sixty. I read the
whole thing, and it makes Authkit look much easier to integrate and
get working than what the rumors seem to indicate I look forward to
reading part 3.
My one suggestion: your blog-format code windows are narrow and they
don't
Accessing the current value of an input field and doing something with
that data is one of the exact things for which Javascript is the
natural tool. You may have a valuable intuition pointing in the
direction of keeping things more high-level / modular / D.R.Y. by
trying to get as much done
On Apr 21, 9:58 am, Mike Orr [EMAIL PROTECTED] wrote:
%include is mainly useful when the included section
changes much more frequently than the surrounding template, or if you
have to dynamically choose which file to include at runtime (if that
even works in Mako).
See related thread dynamic
Hi James,
Visually: looks great! Good work.
Typos: I saw seven typos, spelling and/or punctuation errors in under
three minutes. Might want to keep the 2nd draft open for more than a
week to allow time to catch more of them.
I will gladly try to review as much as I can and submit some typos
The following location needs to be updated to reflect the
transactional - autocommit change too:
http://docs.pylonshq.com/models.html#main-model-module
It still quotes/recommends a code example containing
'transactional=true'. And paster gives a deprecation warning for
this; one would hope
Forgive me, I'm running Windows XP at the moment, my Xubuntu-fied
laptop was recently stolen.
I've cleaned up my windows environment, removed Python 2.5 and
everything associated with it, then installed Python 2.6. I then used
ez_setup.py to get setuptools 0.6c9. I downloaded go-pylons.py from
-virtualenv/browse_thread/thread/ffa736e7a0a9146d
Cheers.
On Nov 9, 4:12 pm, Eric Ongerth [EMAIL PROTECTED] wrote:
Forgive me, I'm running Windows XP at the moment, my Xubuntu-fied
laptop was recently stolen.
I've cleaned up my windows environment, removed Python 2.5 and
everything associated
Yes, as I posted above, I'm now running Pylons cleanly on Python 2.6
with no issues. I just had to avoid the go-pylons script and set up
my own virtualenv using the latest virtualenv 1.3.
On Nov 11, 2:00 pm, Ben Bangert [EMAIL PROTECTED] wrote:
On Nov 11, 2008, at 7:38 AM, Alex Marandon
Neither Pylons nor Paste install correctly at this time on the Win32
platform using easy_install, whether in a virtualenv or even in a
system-wide install to a clean system. Just about everything goes
fine until somewhere in the installation of Paste, where an error
described only as None
pm, Eric Ongerth [EMAIL PROTECTED] wrote:
Neither Pylons nor Paste install correctly at this time on the Win32
platform using easy_install, whether in a virtualenv or even in a
system-wide install to a clean system. Just about everything goes
fine until somewhere in the installation of Paste
Hi Lorenzo,
The following can give you a lot of good ideas about the process even
if you're not using AuthKit.
http://pylonsbook.com/alpha1/authentication_and_authorization
On Nov 23, 4:53 pm, lorenzo [EMAIL PROTECTED] wrote:
Hi all,
I'm a pylons newbie, and I'm trying to wrestle
I have heard that the more you try to make Javascript behave like
Python, the more you end up hating Javascript -- but that says nothing
about Javascript itself. Javascript is really a different language,
with different strengths. Perhaps the best plan is to use Javascript
for its strongest
I know there are still a number of Pylonistas out there in Windows
land who are stuck with a Python 2.5 installation because of the
current problem with simplejson. Here is a workaround that ended up
succeeding, without recourse to old versions or really anything too
suboptimal (except it
to your virtualenv folder
instead. Then run the installer. Then, of course, change the
registry back.
Anyway... just sayin'.
On Dec 6, 7:08 pm, Eric Ongerth [EMAIL PROTECTED] wrote:
I know there are still a number of Pylonistas out there in Windows
land who are stuck with a Python 2.5
On Oct 6, 10:57 am, Matt H matt2...@gmail.com wrote:
One thing: Why was c only being assigned once in my original code?
Marius answered that when he wrote:
You're doing this assignment once, when wrapping the function (i.e. at module
import time). You need to do this for every request,
I'm glad to see (vis a vis this discussion thread) that the elephant
in the room now has a bright light shining on it.
As soon as I caught wind of repoze.bfg and now pyramid, I put a couple
of hours into reading through the docs. To me it was apparent even at
first look that the new ontology is
Ev,
Surely you read enough of the docs to see that all declarative
configuration in Pyramid is optional? The option to configure
everything nearly the same as Pylons currently does it is right there
and it is given equal treatment.
Why do you describe the current plans as killing Pylons when
Jeff,
Pyramid allows you to mount an existing Pylons app and serve it
right through without modification. Having done so, you are then free
to convert the app page by page, or handler by handler or however you
wish to proceed ... or leave it unchanged.
Eric
On Nov 6, 10:46 am, Jeff Tchang
Check the mako docs here:
http://www.makotemplates.org/docs/filtering.html#filtering_expression_turning
... and also the full filtering section above that subsection.
On Nov 11, 12:01 am, cropr ruben.dec...@gmail.com wrote:
I am trying to dynamically modify javascript files using
I searched for discussions relating webob to python 3, and this came
up:
http://groups.google.com/group/paste-users/browse_thread/thread/95320c9aaa571b79
That's two years out of date, so hopefully it's not all there is about
this. Just what came up prominently on a quick peek. The digest of
it
It has been discussed on Freenode IRC channel when some of the devs
were around, but I don't know what is being done or planned about it.
On Feb 13, 2:31 pm, Guillermo Cruz webjunki...@gmail.com wrote:
Hi guys,
Has anyone noticed that the wiki pages at pylonshq.com do not work,
is it just
On Feb 14, 6:02 pm, Jonathan Vanasco jonat...@findmeon.com wrote:
3. i haven't figured out yet if its possible to handle multiple db
connections in pyramid. in pylons i have sqlalchemy.write.url and
sqlalchemy.read.url and handle multiple databases due to master/
slave clustering. in order
Brian, I'm very interested in this and might be able to help out in a
year or two. But to be clear about the stage I'm at currently, I'm
involved in a project that is more of a special case and is pursuing
its own restricted semantic toolkit built on a sqlalchemy setup that
is in some case
Interesting, the system seems to have lost my reply sent yesterday.
Did I 'reply to author' by mistake?
I wanted to signal great interest in this topic, and potentially some
willingness to participate and help out. However, I am currently (and
probably for the next year, roughly) deeply engaged
Mike, thanks for all your hard work on this!
I've been using pyramid_sqla for about a month with good results. I
suppose I should move over to Akhet; can you briefly summarize what
would change? From reading the docs it doesn't look like much, except
that SQLA was spun off, but I'd like to be
to upgrade a pyramid_sqla app. There are too many name
changes throughout the metadata files.
On Sat, Mar 19, 2011 at 4:08 PM, Eric Ongerth ericonge...@gmail.com wrote:
Mike, thanks for all your hard work on this!
I've been using pyramid_sqla for about a month with good results. I
suppose I
I definitely agree that strict_undefined should be encouraged, and I
have been refactoring to achieve that in my own stuff. My emphasis
was just on avoiding a 'gotcha' for some.
On Jun 12, 12:43 pm, Mike Orr sluggos...@gmail.com wrote:
On Sun, Jun 12, 2011 at 8:08 AM, Eric Ongerth ericonge
+1 for humor on hardcore forking action.
On Jun 23, 8:05 am, Joe Dallago jd.dall...@gmail.com wrote:
P.S. e-mail me some github usernames, and I can give you guys
permission to push to the fork.
On Thu, Jun 23, 2011 at 9:16 AM, Joe Dallago jd.dall...@gmail.com wrote:
I would like
Consider using sqlahelper for this. It was made for exactly this
purpose. You import it to both model.__init__.py and
project.__init__.py. It can keep track of your base, engine, and
session.
https://bitbucket.org/sluggo/sqlahelper/overview
In case you are also using Mako for templating and
I noticed when the pylons-discuss is referred to by Google Groups, for
example when it comes up in a sidebar as a suggestion under other
groups you might like to read based on what you're subscribed to, we
still have this as the description attached to the group name:
Pylons is a Python Web
Yeah, seems like that type of auto-replacement doesn't usually turn
out to be the best way forward.
I'm not using webhelpers, though, so I guess that's only a -0.02 from
me on that.
On Jul 3, 5:20 pm, Matt Feifarek matt.feifa...@gmail.com wrote:
On Sun, Jul 3, 2011 at 7:00 PM, Mike Orr
Really happy about the convenience of the http_cache view
configuration parameter. Thanks a bunch for all the hard work.
E
On Jul 9, 10:16 pm, Chris McDonough chr...@plope.com wrote:
Pyramid 1.1b1 has been released.
Here are the changes:
Features
- It is now possible to invoke
Any reason why just passing **kwargs through wouldn't fit the need?
That's exactly what I did in my own home-cooked helpers.
On Jul 19, 7:34 pm, Mike Orr sluggos...@gmail.com wrote:
On Tue, Jul 19, 2011 at 3:20 PM, Ross Vandegrift r...@kallisti.us wrote:
Hi all,
Any reason why select()
+1 here, even from myself who had some legacy Pylons apps lying
around.
On Jan 27, 6:50 pm, Jemes Hsu jemes...@gmail.com wrote:
Pyramid is carrying a lot of old baggage. Reading about Pyramid, you are
reading the history about repoze, ZOPE and Pylons and about Pylons
projects. One needs to
Here's where you can find the docs in PDF or e-pub format for printing
or e-reading. Or a zipped HTML too.
http://readthedocs.org/projects/pylons/downloads/
On Apr 22, 8:17 pm, Israel Barba israelb.ace...@gmail.com wrote:
Hello everybody
Do you know if there are any book about pyramid? I
Try having Firebug or Chromebug open and on its Net tab when you do
this. It should see the request from the AJAX post button, and I
think it will probably show you that your view tries to redirect, but
in the context of an AJAX request, the page you redirect to becomes
the response body of the
FYI, On IRC there are distinct channels #pylons and #pyramid, though
their content often overlaps.
But overall, the organization is the Pylons Project, it still hosts
the (no longer in active development, but still with plenty of users)
Pylons framework, and its current main offering is the
Seems unnecessarily scary to newcomers to mention compiling your own
Python early in the docs, even if we know it's no big deal.
Particularly when the main concern at hand (that many people's system
instance of python tends to be a poor choice for their Pyramid
development) is easily and almost
+1 to Mike's 6/21 post. I really couldn't say any of that better; 90% of
it is things that have occurred to me in my own work; I can't really think
of anything to add to the discussion. I'm not sure there's any great and
terrible need to change anything, but it would be very good to keep the
55 matches
Mail list logo