Re: Pylons application maintenance

2013-03-18 Thread Ben Bangert
serve as a reference batch of dependencies to ease later installations. -- /^\ || Ben Bangert || || b...@groovie.org || || http

Re: Restrictions in named grouped

2013-03-04 Thread Ben Bangert
the change-log to determine if there are any possible backward incompatibilities between the version of Routes you're using, and the newer one. -- /^\ || Ben Bangert || || b

Re: Pylons application maintenance

2013-03-02 Thread Ben Bangert
somewhere. -- /^\ || Ben Bangert || || b...@groovie.org || || http://be.groovie.org

ANN: Beaker 1.6.4 released with important security update

2012-08-13 Thread Ben Bangert
Beaker is a high-level Python library providing caching and sessions for use in web applications. The session implementation comes with crypto-based cookie encryption that support PyCrypto, pycryptopp, and now NSS crypto. Prior to this release, an attacker could possibly determine some content

ANN: Pylons 1.0.1 released

2012-08-13 Thread Ben Bangert
I'm happy to announce the release of Pylons (Dead Framework Walking) 1.0.1. The most important changes for those that still have a Pylons app around, is support for the latest versions of WebTest and WebOb. Anyone trying to migrate and run a Pyramid and Pylons app in the same process lately

Re: Python's memory hogging

2012-05-06 Thread Ben Bangert
solution? I find this reluctance of Python to return memory to OS very annoying, right next to the GIL. There's a few interesting alternatives to generating large XML files without the memory hit here: http://stackoverflow.com/questions/3049188/generating-very-large-xml-files-in-python -- Ben Bangert

Re: Pyramid 1.2a1 released

2011-08-26 Thread Ben Bangert
On Aug 24, 2011, at 11:48 AM, Mike Orr wrote: There are two things you lose with @view_config. One, routing details are pushed into the view modules, while Handlers and Pylons try to make a complete separation between the functionality of the actions and which URL they're called by. Although

Re: From Pylons to Pyramid, Authentication and Authorization and other libs

2011-04-20 Thread Ben Bangert
On Apr 18, 2011, at 12:13 PM, Gopalakrishnan S wrote: I am coming from Pylons background and started studying the Pyramid and looking forward to migrate my site to Pyramid. 1. Are those repose.who and repoze.what are integral part of Pyramid or any other recommended packages available here?

Re: Good hosting recommendations?

2011-03-30 Thread Ben Bangert
On Mar 29, 2011, at 9:27 AM, Joe Dallago wrote: What does everyone use for hosting and why? I currently use bluehost, but I just want to see what is out there. I generally like really fast hardware, Rackspace has very generous boosting on their VPS allocations and is up there or past linode

ATTN: Please keep general discussion on pylons-discuss

2011-03-15 Thread Ben Bangert
First, I apologize for failing to catch that the website was unfortunately instructing people to go to pylons-devel to talk about Pyramid and Pylons Project tasks. We really need to keep general discussion type stuff on pylons-discuss. Otherwise we end up with two lists for general

Re: First pyramid impressions

2011-03-07 Thread Ben Bangert
On Mar 7, 2011, at 2:27 PM, Jens Hoffrichter wrote: Luckily, I knew that from my more recent Pylons experiences, and I knew I had to use webhelpers.html.literal() for that. But how to get the webhelpers into the template (I was using the default Chameleon templates here)? In the normal

Re: pylons-discuss and pylons-devel

2011-03-04 Thread Ben Bangert
On Mar 3, 2011, at 6:06 PM, Jonathan Vanasco wrote: i've noticed a lot of -discuss items being spoken about in -devel lately... i had often thought that -discuss was for people /using/ pyramid, and -devel was for people /building/ it. if that is still the case, can i suggest the -devel

Re: some thoughts on pyramid

2011-02-18 Thread Ben Bangert
On Feb 18, 2011, at 6:46 AM, Jonathan Vanasco wrote: 1. I think it would be better if everything related to Pyramid/Pylons were on a single system ( ie: GitHub or BitBucket ). Getting there got the Pylons framework on there, and most everything is on GitHub that the Pylons Project

Re: Pyramid and social auth

2011-01-16 Thread Ben Bangert
On Jan 16, 2011, at 6:16 AM, Adam Klekotka wrote: Hello, I'm new to Pyramid and I'm developing an app in which I want to use twitter and facebook connect for user auth. I think the repoze.what with plugins would be the best way to do that. Is there any tutorial how to use it with Pyramid? Or

Re: Integrating OpenID from scratch?

2011-01-13 Thread Ben Bangert
On Jan 13, 2011, at 1:19 PM, Timmy Chan wrote: Is there an easy way to integrate OpenID from scratch without repoze or AuthKit? Thanks Yup, http://pypi.python.org/pypi/pyramid-openid/ That's for pyramid though. If you're using Pylons 1.0, you might want to look at velruse, which though it

Re: Beaker save() problems

2010-12-13 Thread Ben Bangert
On Dec 13, 2010, at 3:38 AM, Alexander Zhabotinskiy wrote: I have wrote a big project on pylons. Unfortunately, I have not test it enough before deployment. Later I start getting an error. Address http://siteurl/c/2010_ should select client (by the card number 2010_) and write his

Re: Pyramid Genshi Template Renderer Configuration

2010-12-05 Thread Ben Bangert
On Dec 5, 2010, at 8:58 AM, cd34 wrote: You might take a look at how pyramid_jinja does it. http://docs.pylonshq.com/pyramid/dev/api/configuration.html#pyramid.configuration.Configurator.add_renderer Or, how to create a template renderer:

Pyramid project template for 'pylons' style apps

2010-12-05 Thread Ben Bangert
Switching topic thread, as the Pylons Podcast thread forked. On Dec 5, 2010, at 1:57 PM, blaflamme wrote: I must agree that pyramid_pylons is not a good name to use because now we'll get 3 levels of explanations and it's event more confusing: 1. Pylons 1, now the «Pylons Framework» 2. The

Re: The (missing) argument for pyramid

2010-11-15 Thread Ben Bangert
On Nov 15, 2010, at 8:02 AM, BrianTheLion wrote: Apologies if I've come across as pushy on this issue. That was not my intention. My goal is to motivate the pyramid team to do itself (what I see as) a great service. The Pylons community is clearly excited by pyramid's escape and is

Re: The (missing) argument for pyramid

2010-11-14 Thread Ben Bangert
On Nov 14, 2010, at 1:54 PM, BrianTheLion wrote: I've been away for a while and am trying to come up to speed on some pretty significant developments in the pylons community. I've spent considerable time with the pyramid docs in the last week but have failed to find an answer to one very

Re: Pylons newbie - where to now?

2010-11-14 Thread Ben Bangert
On Nov 14, 2010, at 2:43 PM, Josh Kelley wrote: Should we proceed with Pylons, since it isn't going away, and since a Pylons-to-Pyramid upgrade path will exist at some point? (I saw a comment that upgrading in the future will be easier if you avoid the use of Pylons pseudo-globals like

Re: Naives Pyramids questions and remarks

2010-11-08 Thread Ben Bangert
On Nov 8, 2010, at 10:47 AM, miniwark wrote: Yes after reading a while here and here, this is not realy what i was seeking. Apparently extendable mostly mean hackable wihout forking. It not seems to correspond to plugining or decomposing an application. Il will follow your advice and look

Re: Pylons/Pyjamas Newb

2010-11-08 Thread Ben Bangert
On Nov 8, 2010, at 2:15 PM, Felipe De Siqueira wrote: I'm really excited about using pyjamas with pyramid/pylons in this manner so if I figure it out maybe I'll beat you to it :-). And then of course you can tell me how to make it better! On Mon, Nov 8, 2010 at 2:01 PM, Christoph

Re: Pylons or Pyramid for a new project

2010-11-07 Thread Ben Bangert
On Nov 6, 2010, at 9:24 PM, Mick T wrote: I'm currently assessing different frameworks for a new project. I was quite interested in Pylons, but now am wondering if Pyramid will be a better option. Is Pyramid considered stable enough to base a new project on? I'd wait a bit, its still

Re: Pylons repoze.bfg Merger - or - Where'd Pylons 2.0 go?

2010-11-07 Thread Ben Bangert
On Nov 7, 2010, at 12:01 PM, dusans wrote: Will there be a python 3.x version also? The lead developer of repoze.bfg, Chris McDonough co-authored this PEP for a WSGI-type Python 3 compat. adapter: http://www.python.org/dev/peps/pep-0444/ So when that is approved, and has an implementation

Re: Pylons repoze.bfg Merger - or - Where'd Pylons 2.0 go?

2010-11-07 Thread Ben Bangert
On Nov 7, 2010, at 12:53 PM, Mike Orr wrote: So when that is approved, and has an implementation (which we'll try and help with as well), we absolutely plan on having a Python 3.x version. Having a larger development team now will definitely make it a lot easier. I'm sorry, I stand/sit

Re: Pylons repoze.bfg Merger - or - Where'd Pylons 2.0 go?

2010-11-07 Thread Ben Bangert
On Nov 7, 2010, at 2:55 PM, Mike Orr wrote: On Sun, Nov 7, 2010 at 2:43 PM, Graham Dumpleton graham.dumple...@gmail.com wrote: He would have meant . See: http://www.python.org/dev/peps/pep-/ Yup, doh. Well, Pyramid is moving away from middleware anyway, and providing other ways

Notes on Pylons 1.x code-base and the Pylons Framework

2010-11-06 Thread Ben Bangert
Some people have been concerned lately regarding the status of the Pylons framework in light of new effort being spent around additions to Pyramid. I thought it'd be useful to help assuage those fears, and explain a bit more about the Pylons code-base. Pylons 1.0 was released 6 months ago, in May

Re: Official product name is...?

2010-11-06 Thread Ben Bangert
On Nov 6, 2010, at 12:25 PM, JohnWShipman wrote: Pyramids? Pyramid? pyramids? pyramid? Sorry if that was confusing, the product name is Pyramid. Maintained and developed by the Pylons Project. Like how Flask/Sphinx/etc are part of the Pocoo team. Cheers, Ben -- You received this message

Re: Official product name is...?

2010-11-06 Thread Ben Bangert
On Nov 6, 2010, at 12:41 PM, Luciano Ramalho wrote: Pyramid http://docs.pylonshq.com/faq/pyramid.html pyramid: http://docs.pylonshq.com/pyramid/dev/index.html Pyramid and pyramid: http://pypi.python.org/pypi/pyramid/1.0a1 There seems to be some confusion, currently. I recommend

Re: pyramids and pylons

2010-11-05 Thread Ben Bangert
On Nov 5, 2010, at 11:36 AM, Kevin J. Smith wrote: I found it all a bit depressing, mind you, because I have chosen to build our application on a technological dead end framework (Pylons 1.x) But if there is some inherent architectural dead end to Pylons 1.x then I completely understand

Pylons repoze.bfg Merger - or - Where'd Pylons 2.0 go?

2010-11-05 Thread Ben Bangert
months, I've been collaborating pretty meaningfully with Ben Bangert, the lead developer of the Pylons (http://pylonshq.com) web framework. This collaboration started because Ben and I have competing web frameworks, both written in Python. Our repoze.bfg and Ben's Pylons share almost exactly

Re: pyramids and pylons

2010-11-05 Thread Ben Bangert
On Nov 5, 2010, at 1:50 PM, Jens Hoffrichter wrote: Thanks to especially Graham and Mike to point out what the benefit for the end-user-developer (a crude term, I know ;) ) will be with the Pylons2/Pyramid move. When I started to read these posts, I was a bit concerned, too. I (we, my

Re: browser session uniqueness

2010-09-25 Thread Ben Bangert
On Sep 22, 2010, at 5:47 AM, writeson wrote: I'm building intranet apps at work using Pylons and I have a question about the session. The users of my app are used to having multiple tabs/browsers open to the same application (which were previously CGI applications), and would like to do the

Re: url_for doesn't work

2010-09-25 Thread Ben Bangert
On Sep 20, 2010, at 5:24 PM, jgard...@jonathangardner.net wrote: For templates, 'url' is already defined. (Not 'h.url', just 'url'). I seem to have a problem when I call url thusly: url(controller='/foo', action='bar') As Bruce mentioned, '/' is no longer necessary to ignore existing

Re: Dropping dependencies on webhelpers and formencode

2010-09-09 Thread Ben Bangert
On Sep 9, 2010, at 12:34 PM, Michael van Tellingen wrote: I've been using pylons for a few years now and never had the need (or wish) to use either webhelpers or formencode. (To be honest the only need for webhelpers sometimes is the paginate module, which is imo unfortunately moved to the

Re: Pylons for Facebook apps

2010-09-09 Thread Ben Bangert
On Aug 23, 2010, at 6:07 PM, BrianTheLion wrote: At this point in my effort, though, certain questions about the overall design of fbpylons and its approach to solving the problems at hand are starting to surface. Hence, my interest in soliciting feedback and help from others who have also

Re: Test environment woes

2010-07-07 Thread Ben Bangert
On Jul 7, 2010, at 1:27 PM, Marius Gedminas wrote: This is inconsistent with the module docstring you just pasted: Good catch, I'll remove that from the doc string as I updated the code and failed to read the doc string. :) Cheers, Ben -- You received this message because you are subscribed

Re: Test environment woes

2010-07-03 Thread Ben Bangert
On Jul 3, 2010, at 6:57 AM, Hans Lellelid wrote: But obviously the better approach would be to keep the changes in the code I control :) This is exactly the approach I'm taking to fix testing up for Pylons 1.1. Here is what the tests/__init__.py looks like in the 1.1 branch for example (which

Re: Can't Obtain SQLAlchemy Objects From Cache Until After First Request

2010-06-24 Thread Ben Bangert
On Jun 24, 2010, at 8:51 AM, dave wrote: File /Users/dave/om/trunk/OpenMile/openmile/model/authtoken.py, line 122, in forToken meta.Session.add(at) Where is this bit called from? If its being triggered on some import, *before* the engine initialization code in environment.py, then it

Re: Form libraries (again)

2010-06-24 Thread Ben Bangert
On Jun 24, 2010, at 11:51 AM, Marius Gedminas wrote: %def name=formfill(content) % errors = c.form_errors or {} % % if not errors and not request.params: ${content |n} Ah, yes, right. In my case I have a block inside the content that handles errors typically. If you had form blocks, that

Re: Form libraries (again)

2010-06-23 Thread Ben Bangert
On Jun 23, 2010, at 3:22 AM, Marius Gedminas wrote: Are there any other downsides that I'm missing (other than the extra cost of parsing a bit more HTML)? Nope, mainly just the extra cost of parsing more HTML, it is a good 20% slower or more to display a htmlfilled page, than without.

Re: Form libraries (again)

2010-06-22 Thread Ben Bangert
On Jun 22, 2010, at 9:18 AM, Mike Burrows wrote: Yes. Mine is super-simple but it saves a certain amount of needless repetition and it means that application code can effectively ignore parameter encoding: def fill_render(template_name, values): return

Re: auth system

2010-06-21 Thread Ben Bangert
On Jun 21, 2010, at 9:31 AM, Wyatt Baldwin wrote: Would you be interested in posting your one-hour-auth solution? I'm about to go down this road (roll my own vs repoze vs ?), and seeing a simple roll-your-own example would be helpful, even though I know I can figure it out myself. Also, is

Re: Form libraries (again)

2010-06-21 Thread Ben Bangert
On Jun 21, 2010, at 10:18 AM, Kevin J. Smith wrote: I would have to agree with Mike wholeheartedly. I think people's biggest problem with FormEncode is they are not sure how to use it. I have repeatedly heard people complain about the documentation but it actually serves very well as

Re: Form libraries (again)

2010-06-21 Thread Ben Bangert
On Jun 21, 2010, at 11:43 AM, Eugueny Kontsevoy wrote: That conversion works fine. And that could be a part of core html helpers. What I would really like to borrow from Rails is the concept of models being in charge of their own data validation. Is it a good move in theory? Perhaps not.

Re: Form libraries (again)

2010-06-21 Thread Ben Bangert
On Jun 21, 2010, at 1:06 PM, Eugueny Kontsevoy wrote: I can think of 3 possible answers here: JS validators (jQuery has lots of plugins), smaller AJAX-y forms and, for more complex monolithic forms - fake models AKA form classes. I guess the reason I'm not a big fan of FormEncode is

Re: pylons and subdomains problem

2010-06-17 Thread Ben Bangert
On Jun 17, 2010, at 6:45 AM, lwolf wrote: pylons and subdomains problem Hi to all pylons developers! I'm trying to configure pylons project to work with subdomains and faced problem of how pylons defines domain and subdomains: for example url like sub.example.com it defines right - sub is

Re: QuickWiki sqlalchemy issue

2010-06-06 Thread Ben Bangert
On Jun 6, 2010, at 7:10 PM, Gio wrote: I'm trying to follow along with quick-wiki tutorial on the Pylons site: http://pylonshq.com/docs/en/1.0/tutorials/quickwiki_tutorial/#developing-quickwiki After looking at some of the sqlalchemy documentation, I tried adding this to /model/meta.py:

Re: Is pylons.config available during tests?

2010-06-01 Thread Ben Bangert
On Jun 1, 2010, at 12:25 AM, Evgeny wrote: The function is used pretty widely across templates and controllers. Will the 1.1 version of Pylons force me to pass all those globals as parameters of static_url? A radical change like removing globals, is not going to happen to Pylons. Especially

Re: Is pylons.config available during tests?

2010-05-30 Thread Ben Bangert
On May 30, 2010, at 10:58 AM, Eugueny Kontsevoy wrote: pylons.config is broken in 1.0 (although some folks on IRC would argue that it's a feature). To work around the bug I have add the following line to environment.py: pylons.config.update(config) See the full file here:

Re: trying to figure out the exact changes in the controlers and views for 1.0

2010-05-30 Thread Ben Bangert
On May 30, 2010, at 12:09 PM, Wyatt Baldwin wrote: Pylons injects a few things into the template context for you along with `h`, including (off the top of my head) `url`, `config`, `request`, and `response`. You don't need to prefix any of those with `h.`. The full list of default template

Re: Is pylons.config available during tests?

2010-05-30 Thread Ben Bangert
On May 30, 2010, at 5:43 PM, Hans Lellelid wrote: I've griped about this before, but I think the biggest (only?) problem that comes up repeatedly for us w/ Pylons is the inaccessibility of these special globals from tests (without using response/request objects). Stacked object proxies. I

Re: Is pylons.config available during tests?

2010-05-30 Thread Ben Bangert
On May 30, 2010, at 5:43 PM, Hans Lellelid wrote: I've griped about this before, but I think the biggest (only?) problem that comes up repeatedly for us w/ Pylons is the inaccessibility of these special globals from tests (without using response/request objects). Stacked object proxies. I

Re: Is pylons.config available during tests?

2010-05-30 Thread Ben Bangert
On May 30, 2010, at 7:56 PM, Eugueny Kontsevoy wrote: Besides, I find those things (request/response) to be a secondary concern. I like to start every project as a simple console/ncurses app with full test coverage. Request/response and other UI is just a last minute snap-on, so I don't

Pylons 1.0 Released

2010-05-28 Thread Ben Bangert
Pylons 1.0 has been released. Just 4 months after the first 1.0 beta was released we're pleased to have the final 1.0 out today. Pylons 0.10 has also been released to ease the transition for those migrating. It's been quite a long road since Pylons was first released 5 years ago and there's

Re: Does your company use Pylons?

2010-05-25 Thread Ben Bangert
On May 25, 2010, at 8:59 AM, Ross Vandegrift wrote: Are you interesting in folks using Pylons only in internal-facing applications? We have a number of critical pieces of internal services running on Pylons, but none of it will ever be user-visible. If so, I'll talk to my boss and the

Does your company use Pylons?

2010-05-24 Thread Ben Bangert
As I prep the release announcement, and some tweaks to the Pylons site for Pylons 1.0, I'd like to highlight a little more prominently companies that are using Pylons on the home-page. There'll also be a direct link to the Sites running Pylons:

Re: Does your company use Pylons?

2010-05-24 Thread Ben Bangert
On May 24, 2010, at 4:08 PM, Ben Bangert wrote: If you're not already on the list of Sites Using Pylons, and think can get approval for the use of your logo as a company using Pylons, feel free to email me directly as b...@groovie.org. Also, I'll be changing the name to Who is Using Pylons

Re: Pylons plugins proposal

2010-05-22 Thread Ben Bangert
On May 22, 2010, at 2:41 PM, Wyatt Baldwin wrote: I think at the very least a documented method for blending Pylons apps would be useful. If I have an app and I want to add this or that functionality from some other Pylons app, what's the best way to do that? How do I pull in the static files

Re: Pylons plugins proposal

2010-05-22 Thread Ben Bangert
On May 22, 2010, at 6:44 PM, Mike Orr wrote: That can be done in 1.1? I thought it would take till Pylons 2. Mmm, well, at this point I'm not sure it'll be done using Marco. But I absolutely want events in for Pylons 1.1 so that its easier to make Pylons extensions. At this point its more a

New Caching docs posted

2010-05-21 Thread Ben Bangert
I have posted a revamped set of Caching docs that I just finished: http://pylonshq.com/docs/en/1.0/caching/ Suggestions / Questions / Corrections? Cheers, Ben -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: New Caching docs posted

2010-05-21 Thread Ben Bangert
On May 21, 2010, at 6:50 PM, cd34 wrote: Just a few minor suggestions. Documentation looks very clear, I tried a few of the examples and saw no obvious syntax errors, but didn't spend a lot of time with the examples. If I get a chance this weekend, I'll try each code example. Great, I've

Help get Pylons 1.0 out the door!

2010-05-18 Thread Ben Bangert
be writing up a blog post in the next few days outlining a rough future roadmap for where Pylons is going, and what new features are planned. Cheers, Ben Bangert -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: Extracting Django forms from Django

2010-04-20 Thread Ben Bangert
On Apr 19, 2010, at 7:27 PM, cd34 wrote: I looked at that, but, when you're developing a webapp that has 315 forms, that lack of automation seems to fly in the face of why I chose a framework. Framework's don't automate programming for the web, they provide a structure around it.

Re: Extracting Django forms from Django

2010-04-20 Thread Ben Bangert
On Apr 20, 2010, at 2:45 AM, Martin Stein wrote: For me, the main reasons why I like Django's forms are: a) html widgets (without having to maintain my own mako form widgets library, as in Mike's approach) b) I mostly understand the source code c) well documented Also, I've never really

Re: 0.10rc1 trackback/Internal Server Error

2010-04-15 Thread Ben Bangert
On Apr 15, 2010, at 1:58 PM, kazin wrote: Just chiming in, I too have the same issue with ${asdf} giving me an internal server error, even after removing ToscaWidgets (and AuthKit). I backed out most of the changes I have made from my fresh install of 1.0rc1 but still cant find the culprit

Re: 0.10rc1 trackback/Internal Server Error

2010-04-15 Thread Ben Bangert
On Apr 15, 2010, at 3:56 PM, cd34 wrote: On Apr 15, 5:02 pm, Ben Bangert b...@groovie.org wrote: Using a name that's not defined in a Mako template should *always* throw an error. What is happening when you use an undefined variable, and what are you expecting? 0.9.7 returned a mako

Re: Trying to create beaker_cache for logged out user

2010-04-13 Thread Ben Bangert
On Apr 13, 2010, at 12:02 AM, Didip Kerabat wrote: Hi all, I'm trying to create cache decorator for logged out user. Below is the snippet. def logout_cache(*args, **kwargs): from pylons import session if session.get('user', None): If it's none here, then this statement will be False,

Re: best practices when writing controllers

2010-04-03 Thread Ben Bangert
On Apr 2, 2010, at 8:26 PM, cd34 wrote: When writing a pylons app, how much code do you put into your controller? One thought I had was to put enough code in to handle basic operations, but, if the controller required more than 20 or so lines of code, put that into a class or function so

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Ben Bangert
On Mar 27, 2010, at 3:40 AM, grassoalvaro wrote: i have problem with some automatic tests. Simple example: [code] from test.tests import * from pylons import tmpl_context as c class TestBlaController(TestController): def test_index(self): response =

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Ben Bangert
On Mar 27, 2010, at 5:01 PM, Mike Orr wrote: On Sat, Mar 27, 2010 at 3:32 PM, Ben Bangert b...@groovie.org wrote: On Mar 27, 2010, at 3:40 AM, grassoalvaro wrote: i have problem with some automatic tests. Simple example: [code] from test.tests import * from pylons import tmpl_context

Re: Pylons 1.0rc1 Upgrade versus New Install issues

2010-03-22 Thread Ben Bangert
On Mar 22, 2010, at 12:02 PM, cd34 wrote: Last night I set up a brand new 1.0rc1 installation to test my trackback problems. While installing ToscaWidgets, I got an odd error: File /var/www/pylons/lib/python2.5/site-packages/ToscaWidgets-0.9.9- py2.5.egg/tw/mods/pylonshf.py, line 11, in

Re: Pylons logo on white background

2010-03-15 Thread Ben Bangert
On Mar 15, 2010, at 2:12 PM, Alexandre Bourget wrote: I've seen the logos out there, but there's no source, and especially none that have the Pylons font used on the pylonshq.com website. Anyone has that at hand ? Ben, perhaps ? :) The original Photoshop file for the site is here:

Re: any thing new in the latest RC for pylons?

2010-03-12 Thread Ben Bangert
On Mar 12, 2010, at 10:46 AM, Krishnakant Mane wrote: Ic, this means even pylons 1.0 is RC just like 0.10. Right, Pylons 1.0 is prolly ready to go straight to final release at this point, just a few remaining documentation updates, but the code itself is fine. Pylons 0.10 might need an RC2 as

Re: Pylons RC1 (disappeared?)

2010-03-09 Thread Ben Bangert
On Mar 8, 2010, at 7:53 PM, Garland, Ken R wrote: Check the IRC chat log, I don't recall the details but Ben pulled the RC1 from CheeseShop. It's perfectly safe to use 1.0rc1 instead of 1.0b1. I had to pull it from CheeseShop because it was getting installed by default, and I wanted 0.10rc1

Re: Routes 1.12 issue

2010-03-01 Thread Ben Bangert
On Mar 1, 2010, at 9:42 AM, Eric Lemoine wrote: I have a problem since Routes 1.12 was uploaded to pypi: I do url_for(action=myaction) in one of my controllers. With Routes 1.11 it returns the URL to the controller's myaction action. With Routes 1.12 I get an exception saying that the URL

Re: TypeError in form.submit()

2010-02-28 Thread Ben Bangert
On Feb 26, 2010, at 1:59 PM, jeffro wrote: Trying to test a form in pylons and getting the following error when calling form.submit() TypeError: You cannot set the body to a unicode value without a charset The test code does the following in a class derived from TestController and

Re: does session.save() not work if you raise an exception? is there a way to override ?

2010-02-26 Thread Ben Bangert
On Feb 25, 2010, at 7:58 PM, Jonathan Vanasco wrote: this seems to be happening on my system, and i can't find any documentation about it. Since an exception goes past Beaker, it does not save the session. Generally that is also not desired behavior since something bad happened. If you really

Re: webhelper documentation

2010-02-13 Thread Ben Bangert
On Feb 13, 2010, at 7:50 AM, karikris...@gmail.com wrote: Where I can find the web helper documentation? The generated webhelpers docs are at: http://webhelpers.groovie.org/ Cheers, Ben -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To

Re: QuickWiki Pylons-1.0b1

2010-02-11 Thread Ben Bangert
On Feb 11, 2010, at 2:27 PM, Matthew Burgess wrote: I'm trying to get the QuickWiki tutorial to work against 1.0b1 and fixing up the docs as I go with the intention of submitting a patch once I'm done. Great, I assume that you're working with the RST doc in the Pylons repo? Cheers, Ben --

Re: QuickWiki Pylons-1.0b1

2010-02-11 Thread Ben Bangert
On Feb 11, 2010, at 2:27 PM, Matthew Burgess wrote: I'm at the stage of setting up the routes, and the tutorial tells me to replace all of the default custom routes with: map.connect(':controller/:action/:title', controller='page', action='index', title='FrontPage')

Re: Pylons Docs site

2010-02-09 Thread Ben Bangert
On Feb 9, 2010, at 5:40 AM, Anand Vaidya wrote: I am very impressed with the Pylons docs site (http://pylonshq.com/ docs/en/1.0/) . I am looking for a similar documentation site for another python project. So here are my questions: 1. Is the docs built with RST or Textile? comments

Re: writing to g/app_globals -- is it safe for caching info after startup ?

2010-02-09 Thread Ben Bangert
On Feb 9, 2010, at 10:33 AM, Ross Vandegrift wrote: Ah crap - I didn't even think of that. That's what I get for developing on an environment that's different than production! Guess I'm stuck putting together a standalone server process to handle this. And even if you run the paster serve

Re: Restart pylons server without loosing the debug info

2010-02-07 Thread Ben Bangert
On Feb 7, 2010, at 11:09 PM, Pavel Skvazh wrote: As far as I can see it, the reason is fairly simple - all of this info is kept in memory and cleaned upon stoping the server. Is there any way to preserve it? I'm aware that debug URLs are only meant for development and not for production,

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
On Feb 6, 2010, at 7:23 AM, Robert Forkel wrote: i'm a bit confused, though. i just upgraded (from 0.9.7 via 0.10b1) and found the changes to the config initialization described here (http://pylonshq.com/docs/en/1.0/upgrading/) to be unneccessary (wrong, actually - when applying them, my app

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
On Feb 6, 2010, at 10:13 AM, Robert Forkel wrote: hm. the config object i now pass into make_map doesn't seem to be initialized from the config file. does this change mean that i can't use from pylons import config anymore? What is the order in your environment.py of the function calls? As

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
On Feb 6, 2010, at 2:42 AM, Gustavo Narea wrote: Thank you guys for the hard work! Is the 0.9.7-0.10 change log available anywhere? Here's the CHANGELOG: 1.0b1 (February 5, 2009) * Removed CacheMiddleware. cache object is now setup as an attribute on the app_globals object for use where

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
On Feb 6, 2010, at 10:24 AM, Robert Forkel wrote: ok, got it to work with the change posted before. now nosetests fail because of: File .../tests/__init__.py, line 33, in setUp wsgiapp = loadapp('config:%s' % config['__file__']) where would i get the __file__ path now? This is what

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
On Feb 6, 2010, at 1:44 PM, Robert Forkel wrote: so just for completeness, in addition to the changes to environment.py which are explained in http://pylonshq.com/docs/en/1.0/upgrading/ the attached diff shows what i had to change to get my app ported (and the tests passing). thanx for the

Pylons 0.10 and 1.0 Beta 1 Released

2010-02-05 Thread Ben Bangert
Without further ado, I'm pleased to announced that Pylons 0.10b1 and 1.0b1 are now out. I have not put them on Cheeseshop to ensure they're not downloaded accidentally. Upgrading / Installing = I have updated upgrading instructions here:

Re: GAE with SDK 1.30

2009-12-27 Thread Ben Bangert
On Dec 20, 2009, at 6:51 PM, Matt Feifarek wrote: Has anyone tried the new release of the GAE SDK? I am basically following Jason's work here: http://countergram.com/articles/pylons-google-app-engine/ And I can get Pylons to run, but the interactive traceback doesn't work. The

Re: Roadmap / 0.10 / 1.0

2009-12-20 Thread Ben Bangert
On Dec 18, 2009, at 7:59 PM, Mike Orr wrote: The Roadmap is updated. http://wiki.pylonshq.com/display/pylonscommunity/Pylons+Roadmap+to+1.0 It says 0.10/1.0 will be released by the end of 2009. I don't know if we'll make it. Graham has made some headway on a few of the remaining tickets

Re: Roadmap / 0.10 / 1.0

2009-12-20 Thread Ben Bangert
On Dec 20, 2009, at 5:49 PM, karikris...@gmail.com wrote: I use app_globlas to create and store the RUM based wsgi application. Odd, I used RUM in an app, it's easier than that actually. Make your RumApp instance inside a controller (say, called rum.py). If you make it inside of 'rum.py' then

Re: WebHelpers issues

2009-12-08 Thread Ben Bangert
On Dec 3, 2009, at 12:34 AM, Mike Orr wrote: I upgraded Markdown to 1.7 last year, and now it's at 2.0. Deprecated webhelpers.markdown. Users can install Markdown or the alternate Markdown2 in PyPI. Why not leave it as is, but have it attempt to import the full Markdown 2.0 if its around?

Beaker 1.5 Release

2009-11-24 Thread Ben Bangert
Beaker 1.5 has been released, it was mainly a bug fix, though there's a new decorator for cache regions that does *not* require caching to be configured before its used. This makes it possible to decorate functions in the top level of a module, then have the config setup before they're used.

Re: fixtures

2009-11-18 Thread Ben Bangert
On Nov 9, 2009, at 3:26 AM, Nikolai Drozd wrote: I'm not sure if this is the right place to ask, but I'll try anyway :) Having a model that has a constructor, how can I write a fixture for it? I found this page: http://farmdev.com/projects/fixture/using-fixture-with-pylons.html Fixture is a

Re: WebOb API

2009-11-16 Thread Ben Bangert
On Nov 1, 2009, at 5:39 PM, Ian Bicking wrote: I'm not really aware of what those fixes are, or if they apply to WebOb (I suspect they don't). If there are specific API differences where they could be unified, well... we can discuss them. Talking with Armin, his biggest concerns have been

Re: WebOb API

2009-11-01 Thread Ben Bangert
On Oct 29, 2009, at 1:22 PM, Ian Bicking wrote: So, it's about time that WebOb came to 1.0. For 1.0 I'd like to settle the API as much as possible. But I'd also like to move further to getting WebOb used for more frameworks. I don't expect that to happen before 1.0, but if there are API

Re: pylons on GAE long wake up time on first request

2009-10-21 Thread Ben Bangert
On Oct 20, 2009, at 10:49 AM, reco wrote: i read this article how to create a blog on gae. http://blog.notdot.net/2009/10/Writing-a-blog-system-on-App-Engine nick is saving generated pages in the data store, kind of a caching layer. i will look into zipping packages. thanx After talking

  1   2   3   4   5   6   7   >