Re: [Repoze-dev] Error importing repoze.who.config

2012-04-17 Thread Chris McDonough
On Tue, 2012-04-17 at 22:18 +0100, Anusha Ranganathan wrote: Hello, I have been trying to get repoze.what / repoze.who working with a pylons 1.0 application. When I try to initialize my pylons application, I get the following error from repoze.who.config import

Re: [Repoze-dev] Error importing repoze.who.config

2012-04-17 Thread Chris McDonough
easy_install. Make sure to use the --no-site-packages flag when you create the new virtualenv. It's the default in newer versions of virtualenv, but you may have an older one. Let's see how that goes. Regards. Anusha On Tue, Apr 17, 2012 at 10:25 PM, Chris McDonough chr...@plope.com wrote

Re: [Repoze-dev] Jenkins instance (re?) setup

2012-03-26 Thread Chris McDonough
On Mon, 2012-03-26 at 09:46 -0400, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I got http://jenkins.repoze.org/ populated over the weekend with all the projects I'm currently supporting (those on GitHub that I can do the maintenance on). There are a number of repos I

Re: [Repoze-dev] locking in repoze.lru

2011-12-28 Thread Chris McDonough
On Wed, 2011-12-28 at 18:55 -0500, Jimmy Hartzell wrote: I'm reading the repoze.lru repository, which I checked out of https://github.com/repoze/repoze.lru. I have two questions about the locking: 1) It uses explicit self.lock.acquire and self.lock.release's. Is there a reason it's not

[Repoze-dev] [Pylons/cartouche] 8a7ad6: add pyc ignores

2011-11-07 Thread Chris McDonough
Branch: refs/heads/master Home: https://github.com/Pylons/cartouche Commit: 8a7ad63e0c6d8822184b255332dd60db4aed71ab https://github.com/Pylons/cartouche/commit/8a7ad63e0c6d8822184b255332dd60db4aed71ab Author: Chris McDonough chr...@plope.com Date: 2011-11-07 (Mon, 07 Nov 2011

[Repoze-dev] [issue179] respoze.profile doesn't handle WSGI iterables properly.

2011-09-30 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Hi Graham, The intent here is to only unwind generators because they may be calling start_response() as a side effect of the first iteration. While other iterables might do that, I think they can lose, because this case is fairly uncommon

[Repoze-dev] [issue179] respoze.profile doesn't handle WSGI iterables properly.

2011-09-30 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: The case this that eagerly unwinding the app_iter is trying to defend against is (as you probably know) this one: def someapp(environ, start_response): start_response('200 OK', [... headers ...]) for item in listofbytes

[Repoze-dev] [issue179] respoze.profile doesn't handle WSGI iterables properly.

2011-09-30 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: That's a good idea. I'll just take out the generator check entirely, and put in a knob. __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue179

[Repoze-dev] [issue179] respoze.profile doesn't handle WSGI iterables properly.

2011-09-30 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Grr. Let's try that URL again. https://github.com/repoze/repoze.profile/commit/8fa63f072de5b14a6b8e4ccf5f78e9 8a62d6cfdc __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue179

[Repoze-dev] Chameleon unexpected error

2011-03-26 Thread Chris McDonough
Try Chameleon 1.X instead of 2.X (easy_install chameleon1.99). Note that you need to subscribe to the list in order to post. - C On Sat, 2011-03-26 at 13:39 +, repoze-dev-ow...@lists.repoze.org wrote: As list administrator, your authorization is requested for the following mailing list

[Repoze-dev] [issue151] Deform's SequenceWidget needs fixed count support

2011-03-01 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: In Deform 0.9, this feature exists (albeit not with the patch supplied) using min_len and max_len arguments to the SequenceWidget. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http

[Repoze-dev] [issue176] venusian cannot work with pymongo

2011-03-01 Thread Chris McDonough
New submission from Chris McDonough chr...@plope.com: The issue tracker for venusian has moved to https://github.com/Pylons/venusian/issues . I don't see any details on this report, please refile there if this is still an issue. -- status: chatting - deferred

Re: [Repoze-dev] Passing on primary WebOb maintainership to Sergey Schetinin

2011-02-17 Thread Chris McDonough
On Tue, 2011-02-15 at 20:20 +0200, Sergey Schetinin wrote: Thanks Ian for all the work you've put into the project. I hope I'll be a deserving maintainer. I don't have any immediate plans as I've already committed most of the improvements I thought were most important. There's a community

[Repoze-dev] heads up about package moves...

2011-02-15 Thread Chris McDonough
Hi all, I've moved the following packages, which were previously hosted in Repoze.org SVN to GitHub: colander deform venusian peppercorn translationstring They can all be found as subrepositories of the Pylons GitHub organization: https://github.com/Pylons If you want to continue to

[Repoze-dev] [issue175] repoze.sphinx.autointerface generates exception if options.members is None

2011-02-13 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks! Fixed in SVN (still needs release though). -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue175

[Repoze-dev] Pyramid 1.0 released..

2011-01-30 Thread Chris McDonough
Hi folks, The web framework formerly known as repoze.bfg is named Pyramid now. The 1.0 (final) of Pyramid has been released. See http://groups.google.com/group/pylons-devel/browse_thread/thread/2e0c1d669924ea3f for more information. Users of BFG will be particularly interested in

[Repoze-dev] test123

2011-01-05 Thread Chris McDonough
testing 123, please ignore ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] svn committers: svn.repoze.org now being served from a new box

2011-01-05 Thread Chris McDonough
Hi folks, svn.repoze.org (both the SVN-via-ssh access and the http browser) are now being served by a new server. DNS changes have been made to make this box canonical, but may not have propagated to you yet. If you need more immediate access, use this in your /etc/hosts file: 76.74.238.39

Re: [Repoze-dev] venusian scanning test code

2010-12-28 Thread Chris McDonough
On Tue, 2010-12-28 at 15:36 +0100, Wichert Akkerman wrote: I recently refactored a package to move all test infrastructure out of tests/ to testing.py. This has one unfortunate side effect: on installs without test dependencies my app will now no longer start since the venusian scan aborts

Re: [Repoze-dev] venusian scanning test code

2010-12-28 Thread Chris McDonough
On Tue, 2010-12-28 at 20:35 +0100, Wichert Akkerman wrote: I actually argue that moving imports out of module scope in testcase modules is best practice: I agree, but in this case TestBrowser is not something that is tested but a utility to help writing tests. It is similar to

Re: [Repoze-dev] Implementing multi-dropdown deform widget

2010-12-26 Thread Chris McDonough
On Mon, 2010-12-27 at 16:32 +1300, Tim Knapp wrote: Hi, I've been hammering away at a deform widget that consists of 2-3 dropdown menus that are much like the 'cascading' jquery plugin, i.e. you choose a value in the first menu and an ajax call is made to a url that returns the values for

[Repoze-dev] [issue168] race condition in repoze.profile

2010-12-20 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks, this is fixed on the HEAD. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue168

[Repoze-dev] [issue152] Deform select widget broken in Linux version of Firefox

2010-12-20 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Sure enough. Thanks for reporting this, it's fixed on the trunk. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue152

Re: [Repoze-dev] [Colander/Deform] Deserialization issue (Required error)

2010-12-07 Thread Chris McDonough
On Wed, 2010-12-08 at 06:55 +0100, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: The issue seems to be related to the Zope 2 request - Webob request converter here: 18 19 def getDeformData(request, schema): 20 Turn request into

Re: [Repoze-dev] Some questions on Deform

2010-12-02 Thread Chris McDonough
On Thu, 2010-12-02 at 13:29 +0100, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am currently evaluating Deform + Colander for an upcoming project. Open questions: Is there some support (in the renderer) for grouping fields? E.g. we have a Person form

[Repoze-dev] questions for podcast...

2010-12-01 Thread Chris McDonough
Hi folks, We'll be putting together a podcast tomorrow evening about Pylons (and about Pyramid, formerly known as repoze.bfg). If you have a few moments, please submit a question or two to: http://www.google.com/moderator/#15/e=3f534t=3f534.40o=10 so we have some representation on the repoze

Re: [Repoze-dev] Improving renderer setup for views

2010-11-16 Thread Chris McDonough
On Tue, 2010-11-16 at 12:22 +0100, Wichert Akkerman wrote: On 2010-11-3 15:56, Wichert Akkerman wrote: I spent some time today trying to figure out why my views where unable to find a renderer even though it was registered. It turns out that I was calling config.scan() before doing

Re: [Repoze-dev] DummyRequest breaks GET/POST API

2010-11-05 Thread Chris McDonough
I suppose my issue with adding getall to the thing: if getall needs to behave like it does in a normal webob request and multiple values for each key need to be kept around, you might as well just use a normal one. Or, as Fergus did, subclass. - C On Fri, 2010-11-05 at 22:23 +, Fergus Doyle

Re: [Repoze-dev] Apparent rendering bug in Chameleon Genshi templates.

2010-11-05 Thread Chris McDonough
Hi Ceri, This message was discarded (apparently because you're not a member of the repoze-dev maillist). I'm forwarding it on your behalf, but you'll need to sign up at http://lists.repoze.org to reply. - C On Sat, 2010-11-06 at 14:10 +0900, Ceri Storey wrote: Hi there. I think there was

[Repoze-dev] repoze.bfg 1.3 released

2010-11-01 Thread Chris McDonough
repoze.bfg 1.3 has been released. This is the first major release in the 1.3 series. 1.3 is now the current version of BFG (the previous current release was 1.2). It can be installed via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The docs at

Re: [Repoze-dev] set_default_permission not working?

2010-10-26 Thread Chris McDonough
On Tue, 2010-10-26 at 10:30 +0200, Wichert Akkerman wrote: On 10/26/10 09:42 , Wichert Akkerman wrote: I tried to use config.set_default_permission with repoze.bfg 1.3b1, but it appears to do very little. My code looks like this: config.set_default_permission(authenticated)

[Repoze-dev] repoze.bfg 1.3b1 released (first beta, please try)

2010-10-25 Thread Chris McDonough
The repoze.bfg web framework version 1.3b1 has been released. It can be installed via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The docs at http://docs.repoze.org/bfg/1.3 have also been updated. This is the first beta release, and all existing BFG 1.1

Re: [Repoze-dev] Using colander with real world semistructured data

2010-10-23 Thread Chris McDonough
On Sat, 2010-10-23 at 14:56 -0200, Luciano Ramalho wrote: I've been very intrigued by Colander, and thinking of ways I could use it to migrate bibliographic data from legacy ISIS databases to CouchDB. But here is a problem: Colander deals with missing data by generating nodes with a marker

[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-10-13 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: This patch (delta the echo-on-by-default) has been applied to the trunk and the tutorial has been updated. Thanks Ergo. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http

[Repoze-dev] anyone know a good editor for BFG book?

2010-10-13 Thread Chris McDonough
Does anyone know someone with technical editing experience whom would be willing to review and edit the BFG book (the docs in book form) for an upcoming 1.3 release for a reasonable amount of money? - C ___ Repoze-dev mailing list

[Repoze-dev] repoze.bfg 1.2.2 released

2010-09-21 Thread Chris McDonough
repoze.bfg 1.2.2 has been released. This is a bugfix release. repoze.bfg 1.2 is the stable branch of repoze.bfg. It receives no new features, only bugfixes. You can install it via: easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg Or via PyPI. The documentation at

[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-09-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks! I would just apply it immediately, except the bfgwiki2 tutorial (the SQLAlchemy tutorial) will need to be fixed to account for the changes made to the bfg_routesalchemy paster template (it uses the template as a bootstrap mechanism

[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-09-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: After taking a short stab at it, I realize why a switch to declarative in bfg_routesalchemy has never been done. It's quite a bit of of work to change the tutorial, as the bfgwiki2 tutorial tries very hard to name line numbers, and explain

[Repoze-dev] repoz.bfg 1.3a14 released

2010-09-14 Thread Chris McDonough
repoze.bfg 1.3a14 has been released. It is a release for compatibility with WebOb 1.0 (just released today). It can be installed via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The docs at http://docs.repoze.org/bfg/1.3 have been updated. The changelog

Re: [Repoze-dev] Build failed in Hudson: chameleon #141

2010-09-09 Thread Chris McDonough
The xcover plugin we have to use to get hudson reports can't cope with this failure (although --with-coverage handles it fine, it just spits out a not found error alongside the file in the report). I've disabled coverage for chameleon now. On Thu, 2010-09-09 at 06:11 -0400, Malthe Borch wrote:

Re: [Repoze-dev] Colander i18n in deformdemo

2010-09-09 Thread Chris McDonough
On Thu, 2010-09-09 at 12:15 -0700, Douglas Cerna wrote: Hello everybody. I'm trying the deform demo and noticed in the Internationalization example (http://deformdemo.repoze.org/i18n/) that when I set the _LOCALE_ to russian, form controls and errors are in fact translated, but colander

Re: [Repoze-dev] Colander i18n in deformdemo

2010-09-09 Thread Chris McDonough
On Thu, 2010-09-09 at 15:22 -0400, Chris McDonough wrote: On Thu, 2010-09-09 at 12:15 -0700, Douglas Cerna wrote: Hello everybody. I'm trying the deform demo and noticed in the Internationalization example (http://deformdemo.repoze.org/i18n/) that when I set the _LOCALE_ to russian

Re: [Repoze-dev] Deform and late binding of source values for checkbox widget and validators

2010-09-08 Thread Chris McDonough
, Sep 7, 2010 at 8:20 PM, Chris McDonough chr...@plope.com wrote: Hi Tim, Sorry, there is no built-in solution that will allow you to use declarative-module-scope code only. You'll need to generate schemas and widgets at render time. - C On Tue, 2010-09-07 at 12:56 +0800, Tim

Re: [Repoze-dev] Deform and late binding of source values for checkbox widget and validators

2010-09-08 Thread Chris McDonough
And, more or less, with some slight differences in spellings, and one additional feature this is what is now in Colander 0.8: http://docs.repoze.org/colander/binding.html - C On Wed, 2010-09-08 at 12:25 -0400, Chris McDonough wrote: I've been thinking about how to solve this problem, and what

[Repoze-dev] repoze.bfg 1.3a11 released

2010-09-05 Thread Chris McDonough
, Chris McDonough wrote: repoze.bfg 1.3a10 has been released. It is a minor feature release. To install: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or use PyPI. The documentation at http://docs.repoze.org/bfg/1.3 has been updated. The changelog follows

[Repoze-dev] Introductory Deform screencast

2010-09-04 Thread Chris McDonough
FYI, I just released a screencast introducing the Deform form library (see http://docs.repoze.org/deform ). Deform is a project I've been working on for several months now. http://bfg.repoze.org/videos#deformintro We introduce the Deform form generation library by building an application using

Re: [Repoze-dev] What is the good practice (good pattern in repoze.bfg) to test my models (based on SQLAlchemy) in test context (use test.ini, test.db…) ?

2010-08-21 Thread Chris McDonough
Can you read http://docs.repoze.org/bfg/1.3/tutorials/bfgwiki2/definingviews.html#adding-tests and see if you have further questions? On Sat, 2010-08-21 at 14:46 +0200, KLEIN Stéphane wrote: Hi, I wonder what is the good practice to test my model layer based on sqlalchemy in repoze.bfg

Re: [Repoze-dev] repoze.who testing on Pylons

2010-08-21 Thread Chris McDonough
Your messages are bouncing because you are not subscribed. On Sat, 2010-08-21 at 09:41 -0700, waugust wrote: I could have sworn I posted a reply here... I'm afraid that I'm still stuck, regardless of the change. I'm not sure what I'm doing wrong here. Do I have to protect the action or

Re: [Repoze-dev] repoze.bfg random intermittent server errors fetching static resources

2010-08-18 Thread Chris McDonough
Sorry, not here. It works 100% of the time for us, at least in all the apps we've deployed. - C On Wed, 2010-08-18 at 15:34 -0700, Iain Duncan wrote: Hi everyone, I have an app that I have set up to use the bfg resources facility for serving static files. I'm pretty sure I've done it right,

Re: [Repoze-dev] repoze.who testing on Pylons

2010-08-13 Thread Chris McDonough
Hi, This message was discarded by the maillist because you're not subscribed. I'm just reposting it for you to the list, I'm afraid I don't know much about repoze.who.testutil. On Fri, 2010-08-13 at 19:30 -0700, waugust wrote: Greetings, I'm using the shabti paster templates for a repoze

[Repoze-dev] Add your BFG sites to poweredsites.org

2010-08-12 Thread Chris McDonough
If you have a publicly accessible site that runs atop BFG, it'd be nice to know. The poweredsites.org site seems like a legit place to add them and it's pretty painless. I just did so for bfg.repoze.org itself. http://bfg.poweredsites.org/ - C ___

[Repoze-dev] repoze.bfg 1.3a8 released

2010-08-08 Thread Chris McDonough
repoze.bfg 1.3a8 has been released. Install it via: easy_install -i http://dist.repoze.org/bfg/dev/simple repoze.bfg Or via PyPI. This is a minor feature release. The changelog follows. 1.3a8 (2010-08-08) == Features - New public interface:

Re: [Repoze-dev] debug logger evilness?

2010-08-06 Thread Chris McDonough
Calling getLogger results in an *atexit* hook related to a handler being registered for the current Python process. It might also, depending on its mood, print to stdout. These things make it miserable to actually unit test any application which calls getLogger. See also

Re: [Repoze-dev] debug logger evilness?

2010-08-06 Thread Chris McDonough
On Fri, 2010-08-06 at 17:49 +0100, Chris Withers wrote: Chris McDonough wrote: Calling getLogger results in an *atexit* hook related to a handler being registered for the current Python process. It might also, depending on its mood, print to stdout. These things make it miserable

Re: [Repoze-dev] [Supervisor-users] What happened to the supervisord.org website?

2010-08-03 Thread Chris McDonough
On Tue, 2010-08-03 at 13:22 -0400, Arkady wrote: Sorry to bug you, but even the new version of the website is lacking: Shouldn't there be a big Download button somewhere on the front page? No download link is required really. Supervisor is meant to be installed primarily like any other Python

Re: [Repoze-dev] [Supervisor-users] What happened to the supervisord.org website?

2010-08-03 Thread Chris McDonough
Gah. Ignore this, sorry, I had to manually enter a CC-to-list address (the OP sent it to me directly) and typed the wrong one (repoze-dev rather than supervisor-users). On Tue, 2010-08-03 at 13:55 -0400, Chris McDonough wrote: On Tue, 2010-08-03 at 13:22 -0400, Arkady wrote: Sorry to bug you

[Repoze-dev] repoze.bfg 1.3a7 released

2010-08-01 Thread Chris McDonough
repoze.bfg 1.3a7 has been released. It is a minor feature release. Install it via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The changelog follows. 1.3a7 (2010-08-01) == Features - The

Re: [Repoze-dev] Model-based vs. view-based security

2010-07-28 Thread Chris McDonough
On Wed, 2010-07-28 at 16:58 +0200, Free Ekanayaka wrote: Hi, I'm starting to explore Repoze.bfg and I find it great. Thanks for letting us know! Reading the documentation I gather that the default security model is view-based, that means the authorization policy is basically defined and

Re: [Repoze-dev] Model-based vs. view-based security

2010-07-28 Thread Chris McDonough
is available at http://docs.repoze.org/bfg/1.3/designdefense.html). On Wed, 2010-07-28 at 12:09 -0400, Chris McDonough wrote: On Wed, 2010-07-28 at 16:58 +0200, Free Ekanayaka wrote: Hi, I'm starting to explore Repoze.bfg and I find it great. Thanks for letting us know! Reading

[Repoze-dev] repoze.bfg 1.3a6 released

2010-07-25 Thread Chris McDonough
repoze.bfg 1.3a6 has been released. This is a feature release. Install it via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The documentation at http://docs.repoze.org/bfg/1.3 has been updated. This release has a lot changes and two backwards

[Repoze-dev] [issue153] config.scan() and test dependencies

2010-07-02 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: I think having some skip parameter to scan (maybe a regex or something) is reasonable, but FWIW I never see this is because my package's tests typically don't import anything except unittest at module scope. All the imports are done

Re: [Repoze-dev] BFG book available on international Amazon sites...

2010-07-01 Thread Chris McDonough
On Thu, 2010-07-01 at 06:59 +0100, Chris Withers wrote: Chris McDonough wrote: In any case, I *think* if a person buys it from a particular localized Amazon site, they actually ship the local warehouse N copies of the book, so that the shipping times aren't quite so bad. So buy one

Re: [Repoze-dev] BFG book available on international Amazon sites...

2010-07-01 Thread Chris McDonough
On Thu, 2010-07-01 at 08:11 -0700, Steve Schmechel wrote: So what do you get with the used book, when you purchase it for more than 10 times the new book price? Does it come packed in illegal drugs? How about the new book someone is selling for £1,200.18 (plus £2.75 for delivery)? And

[Repoze-dev] BFG book available on international Amazon sites...

2010-06-30 Thread Chris McDonough
Previously, the BFG book (http://bfg.repoze.org/book) was avaialble for sale only via Amazon's US site. It is available now on a number of international Amazon sites, albeit not from very many of them in a timely manner: Amazon.de:

Re: [Repoze-dev] functional testing with @bfg_view

2010-06-29 Thread Chris McDonough
On Wed, 2010-06-30 at 12:02 +0700, Alex Marandon wrote: On 29 June 2010 04:44, Chris Withers ch...@simplistix.co.uk wrote: But now what's the right way to actually get the to render the html, preferably also testing the path dispatch to '/' at the same

Re: [Repoze-dev] functional testing with @bfg_view

2010-06-29 Thread Chris McDonough
On Wed, 2010-06-30 at 06:50 +0100, Chris Withers wrote: Chris McDonough wrote: ... in the test setup. If so, you actually need to do: config.scan('mypackage') .. where mypackage is the name of the Python package holding the application you're trying to test. That won't help

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Chris McDonough
On Fri, 2010-06-25 at 12:55 -0600, Shane Hathaway wrote: On 06/25/2010 12:03 PM, Wichert Akkerman wrote: I am using repoze.zodbconn in a BFG application but I suspect it is not working as it should be: as soon as multiple requests come in at the same time I get a lot of locking errors and

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Chris McDonough
On Fri, 2010-06-25 at 15:58 -0400, Tres Seaver wrote: Then we could make PersistentApplicationFinder use 'repoze.zodbconn.connection_factory' from the environment. That looks lazy enough for my taste. ;) +1 - C ___ Repoze-dev mailing list

Re: [Repoze-dev] config.scan() and test dependencies

2010-06-24 Thread Chris McDonough
On Thu, 2010-06-24 at 08:04 +0100, Chris Withers wrote: Hi All, How can I get config.scan() to exclude my test folders? My tests have package dependencies not normally needed, so the scan fails with ImportErrors for those packages that are *only* test dependencies... Can't right now. -

Re: [Repoze-dev] config.scan() and test dependencies

2010-06-24 Thread Chris McDonough
On Thu, 2010-06-24 at 08:06 +0100, Chris Withers wrote: Chris McDonough wrote: On Thu, 2010-06-24 at 08:04 +0100, Chris Withers wrote: Hi All, How can I get config.scan() to exclude my test folders? My tests have package dependencies not normally needed, so the scan fails

Re: [Repoze-dev] Adding Authorization doc patch

2010-06-23 Thread Chris McDonough
On Wed, 2010-06-23 at 20:08 +0700, Alex Marandon wrote: Hi, Here is a small patch for http://docs.repoze.org/bfg/current/tutorials/bfgwiki/authorization.html Changes: - point to the groupfinder function from the zcml file - use a group in example ACL , so that there is a point to

Re: [Repoze-dev] cogbin is back - please add/update keyword turbogears2 in your setup.py and upload to pypi.

2010-06-23 Thread Chris McDonough
I think this is maybe a little backwards. Many, many repoze things will work in turbogears 2 (almost all repoze middleware such as repoze.who and repoze.tm2 as well as libraries such as deform, colander, venusian, etc). But they'll also work fine in any other WSGI framework too, so there's

Re: [Repoze-dev] repoze.folder API weirdness

2010-06-17 Thread Chris McDonough
On Thu, 2010-06-17 at 14:57 +0200, Wichert Akkerman wrote: On 6/17/10 14:53 , Chris McDonough wrote: On Thu, 2010-06-17 at 11:28 +0200, Wichert Akkerman wrote: I noticed something odd in repoze.folder: __setitem__ does not allow you to replace an existing item. This is a result from

Re: [Repoze-dev] repoze.org is offline??

2010-06-09 Thread Chris McDonough
It was indeed down; now it's back up. Sorry for the downage. - C On Tue, 2010-06-08 at 18:40 -0500, Miuler wrote: hi, repoze es offline?? http://downorisitjustme.com/res.php?url=repoze.org ___ Repoze-dev mailing list

Re: [Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-06-09 Thread Chris McDonough
On Tue, 2010-06-08 at 00:55 -0400, Chris McDonough wrote: It would be useful if the folks for whom it mattered could give this new regime a roll before I merge it to the respective colander and deform trunks and make new releases of both. http://svn.repoze.org/deform/branches

Re: [Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-06-07 Thread Chris McDonough
On Fri, 2010-05-28 at 08:28 -0400, Chris McDonough wrote: I agree with how Tim just characterized this. I'm still trying to figure out what the best way to spell it. My current idea is to: - Define a special null sentinel value. - Change the type definitions and widget definitions

Re: [Repoze-dev] problem with repoze.bfg.chameleon_genshi

2010-06-02 Thread Chris McDonough
Told to ChrisW on IRC: mcdonc ChrisW: i think you're going to need to drop down a level on the r.b.chameleon_genshi and replicate the problem in terms of raw chameleon [11:50] mcdonc i don't know whether it should be possible to have ?python blocks in there or not [11:50] mcdonc and

Re: [Repoze-dev] does chameleon.genshi support ?python blocks?

2010-06-02 Thread Chris McDonough
On Wed, 2010-06-02 at 17:02 +0100, Chris Withers wrote: Chris McDonough wrote: mcdonc ChrisW: i think you're going to need to drop down a level on the r.b.chameleon_genshi and replicate the problem in terms of raw chameleon I'm actually so far from being a Genshi expert its not funny

Re: [Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-05-28 Thread Chris McDonough
On Fri, 2010-05-28 at 07:25 +0800, Tim Hoffman wrote: From the point of view of the form definition, I think you need to be able to define some type of sentinal value that indicates a field is empty, but valid if it is not required. I think it would be a mistake to assume that default

Re: [Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-05-27 Thread Chris McDonough
We're doing a BFG app with a MongdoDB backend, and the Deform stuff seems perfect for us, really enjoying using it so far. But I can't figure out how to make a field in a schema optional if it's not a String. (I've done this in Django model schemas where I can use the flag null=True and

[Repoze-dev] [issue147] Deform default form action . submits to parent folder

2010-05-27 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks, I've changed it to use '' rather than '.' on the trunk. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue147

Re: [Repoze-dev] routing exception when run as wsgi application

2010-05-27 Thread Chris McDonough
Hi, That doesn't appear to be the full traceback. The most important bit is at the end. Could we see that part? - C On Wed, 2010-05-26 at 10:02 +0800, Yuan HOng wrote: Hi, I have an application with the following routing configuration: route path=wishlist

Re: [Repoze-dev] repoze.org doesn't seem to be responding (at least from Australia)

2010-05-23 Thread Chris McDonough
The box which hosts: http://repoze.org http://svn.repoze.org http://docs.repoze.org http://bfg.repoze.org .. is currently down hard (no ping response) and the remote reboot system built in to it isn't working. We've aksed the data center to look into it. On Sun, 2010-05-23 at 11:35 +0200,

Re: [Repoze-dev] repoze.org doesn't seem to be responding (at least from Australia)

2010-05-23 Thread Chris McDonough
On Sun, 2010-05-23 at 09:40 -0400, Chris McDonough wrote: The box which hosts: http://repoze.org http://svn.repoze.org http://docs.repoze.org http://bfg.repoze.org ... and lists.repoze.org, making this message useless. ;-) It appears to be back up now, however. Thanks Tres! - C

Re: [Repoze-dev] repoze.org doesn't seem to be responding (at least from Australia)

2010-05-23 Thread Chris McDonough
On Mon, 2010-05-24 at 00:06 +0800, Tim Hoffman wrote: Looks like its dead again Different problem this time; I had to restart Apache. No idea why. - C ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

[Repoze-dev] what.repoze.org

2010-05-16 Thread Chris McDonough
Hi Gustavo, Looks like http://what.repoze.org returns a 403 forbidden error? - C ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] [issue145] repoze.who.classifiers - too strict content-type handling

2010-05-11 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks Lorenzo! Your patch is applied to the trunk and will be present in the next 2.X release. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue145

Re: [Repoze-dev] Deform 0.1 released

2010-05-10 Thread Chris McDonough
On Mon, 2010-05-10 at 12:55 +0200, Charlie Clark wrote: Am 09.05.2010, 21:23 Uhr, schrieb Chris McDonough chr...@plope.com: Yes. I should just remove the definitions in the glossary because they are actually defined better in the chapter I linked to. Looking much better now. In the Say

Re: [Repoze-dev] does BFG have some cache mechanism or cache middleware?

2010-05-10 Thread Chris McDonough
On Mon, 2010-05-10 at 21:46 +0100, Chris Withers wrote: Chris McDonough wrote: Please keep correspondence on the list. On Sun, 2010-05-09 at 22:59 +0800, Litao Wei wrote: Does BFG have other cache solution except Beaker? Sorry, the question doesn't make much sense if asked literally

Re: [Repoze-dev] Deform 0.1 released

2010-05-09 Thread Chris McDonough
Hi Charlie, Thanks for checking it out... On Sun, 2010-05-09 at 15:00 +0200, Charlie Clark wrote: Am 09.05.2010, 07:50 Uhr, schrieb Chris McDonough chr...@plope.com: This piece of software will be an important piece of any new CMS-ish systems I develop going forward, so it's important

Re: [Repoze-dev] does BFG have some cache mechanism or cache middleware?

2010-05-09 Thread Chris McDonough
Please keep correspondence on the list. On Sun, 2010-05-09 at 22:59 +0800, Litao Wei wrote: Does BFG have other cache solution except Beaker? Sorry, the question doesn't make much sense if asked literally. Caching isn't a problem that only BFG has, and BFG doesn't try to solve it. If you're

Re: [Repoze-dev] Deform 0.1 released

2010-05-09 Thread Chris McDonough
On Sun, 2010-05-09 at 17:10 +0200, Charlie Clark wrote: I guess it should be pstruct in the second sentence. Yes. Fixed, thanks. This leads to the following definitions: Usually, when used in deform, a pstruct is composed entirely of lists, dictionaries, strings, and file objects.

[Repoze-dev] Deform 0.1 released

2010-05-08 Thread Chris McDonough
Deform is a new Python form generation package. Its first release, 0.1, is now on PyPI: http://pypi.python.org/pypi/deform/0.1 It can be installed via: easy_install deform See the docs: http://docs.repoze.org/deform And the demo: http://deformdemo.repoze.org This piece of

Re: [Repoze-dev] Bug(s) when not using paste?

2010-05-06 Thread Chris McDonough
Sure. If you provide a reproducible test case, I can try to look at it. Where can I find tests in the same area already? (ie: what file(s) would you like me to provide a patch against) Just create a tarball of an app that fails and attach it to a bug at http://bugs.repoze.org - C

Re: [Repoze-dev] BFG and GAE

2010-05-06 Thread Chris McDonough
On Thu, 2010-05-06 at 11:08 -0300, Fernando Correa Neto wrote: It may work 100% correct on the first time only though. While playing with it, I tried to create another bfg on gae project and for my surprise it didn't work because appengine-monkey patched my system's python distutils putting a

Re: [Repoze-dev] imperative configuration prevents application extension?

2010-05-06 Thread Chris McDonough
On Thu, 2010-05-06 at 10:36 -0400, Chris Rossi wrote: On Thu, May 6, 2010 at 4:14 AM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 06.05.2010, 10:10 Uhr, schrieb Chris Withers ch...@simplistix.co.uk: This is spot on, and would, in theory, allow an app to override a library

Re: [Repoze-dev] Folder event subscriber not called

2010-05-05 Thread Chris McDonough
On Wed, 2010-05-05 at 07:30 -0700, Sam Brauer wrote: From: Chris McDonough chr...@plope.com To: Sam Brauer sampbra...@yahoo.com Cc: repoze-dev@lists.repoze.org Sent: Tue, May 4, 2010 9:02:35 PM Subject: Re: [Repoze-dev] Folder event subscriber not called Hi Sam, Modify your

Re: [Repoze-dev] BFG and GAE

2010-05-05 Thread Chris McDonough
On Wed, 2010-05-05 at 15:10 +, Alex Clark wrote: Hi all, I am just going to blurt this out because I am thinking about it. At last night's Python Meetup Tres mentioned something about their being various ways to use BFG on GAE… which makes me wonder: what would it take to get GAE

[Repoze-dev] [issue144] Small typo on Unit and Integration Testing chapter

2010-05-04 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks teix, fixed. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue144

Re: [Repoze-dev] Folder event subscriber not called

2010-05-03 Thread Chris McDonough
On Mon, 2010-05-03 at 23:33 -0400, Chris McDonough wrote: On Mon, 2010-05-03 at 12:55 -0700, Sam Brauer wrote: Hi there! I'm a long-time Zope 2 user finally trying to do a demo project with Repoze.bfg. First off, congratulations to everyone developing Repoze! You've really cherry

  1   2   3   4   5   >