Re: [Zope-dev] Subversion externals versus mirroring

2009-09-15 Thread Paul Winkler
to a single branch, though I don't remember the mechanism. bitbucket and github both support this, yes. (And thus presumably any repository running mercurial or git, though I don't know how to admin them.) -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] maintaining session variables using zeocluster

2009-09-14 Thread Paul Winkler
-end server. Read the Sessions section of http://www.apsis.ch/pound/ The problem with this approach is that it tends to reduce the effectiveness of load-balancing. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org https

Re: [Zope] Question about ZSyncer

2009-07-22 Thread Paul Winkler
That is supposed to work, if you enable the relative paths option. In fact, that was how I did most of my testing when I added that feature. But I don't work on ZSyncer at all anymore. If it doesn't work, I can't really help. - PW On Wed, Jul 22, 2009 at 6:20 AM, Ajay

Re: [Zope] ZSyncer fails to do authenticate under Zope 2.11

2009-07-16 Thread Paul Winkler
with ZSyncer-0.7.1 using a configuration which worked with Zope 2.9 and an earler version of the ZSyncer product. Both use Python 2.4. Has anyone seen this problem? Can you recommend a fix? Is the CVS version of ZSyncer on Sourceforge a better choice? -- Paul Winkler http://www.slinkp.com

Re: [Zope] ZSyncer fails to do authenticate under Zope 2.11

2009-07-16 Thread Paul Winkler
process. On Thu, Jul 16, 2009 at 8:37 AM, Paul Winkler sli...@gmail.com wrote: Nobody (including me) is maintaining ZSyncer at all. I'll take this opportunity to once again call for volunteers to take up the reins... anybody care enough about ZSyncer to maintain it? - Paul On Wed

Re: [Zope-dev] [Checkins] SVN: zope.app.http/trunk/ - Replacedthedependency on zope.deprecation with BBB imports

2009-05-27 Thread Paul Winkler
-- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Why does restrictedTraverse() in Zope 2 not respect IPublishTraverse adapters?

2009-05-15 Thread Paul Winkler
to make the security machinery happy. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope-dev] ZTK futures: one big package?

2009-05-12 Thread Paul Winkler
;-) -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] ZTK futures: one big package?

2009-05-12 Thread Paul Winkler
On Tue, May 12, 2009 at 12:36:06PM -0400, Chris McDonough wrote: On 5/12/09 12:27 PM, Paul Winkler wrote: I agree with a lot of what you wrote, but I don't understand this last bit. All the currently released packages will continue to live on pypi more or less forever, no? To paraphrase

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Paul Winkler
to download everything and work out the complete graph before doing any installation; I've no idea if any of that work could be ported to buildout, but it might be worth a look? https://svn.openplans.org/svn/pip/ (If you guys are both still at Pycon, might be worth a face-to-face chat...) -- Paul

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Paul Winkler
On Mon, Mar 30, 2009 at 12:29:16PM -0400, Jim Fulton wrote: On Mar 30, 2009, at 12:08 PM, Paul Winkler wrote: Ian's Pip tool tries to download everything and work out the complete graph before doing any installation; I've no idea if any of that work could be ported to buildout, but it might

Re: [Zope] Touching an object / updating the modification time

2009-03-30 Thread Paul Winkler
this in untrusted code. http://docs.zope.org/zope2/zope2book/source/ScriptingZope.html#script-security Another approach would be to just change any (small) attribute of the object. Something like: some_image.title = some_image.title -- Paul Winkler http://www.slinkp.com

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
). Engage brain ;-) I'm not using easy_install, I'm using buildout... (yeah, I know buildout uses easy_install, but...) One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ? -- Paul Winkler http://www.slinkp.com ___ Zope-Dev

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 04:34:43PM -0500, Chris Withers wrote: Paul Winkler wrote: I'm not using easy_install, I'm using buildout... (yeah, I know buildout uses easy_install, but...) One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ? I need to be totally upfront about

Re: [Zope] Touching an object / updating the modification time

2009-03-27 Thread Paul Winkler
(and then, if you're running in eg. a zopectl debug prompt, import transaction; transaction.commit()) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] Translations for zope packages.

2009-02-10 Thread Paul Winkler
and livablestreets.com), just by having the sputnik package installed on one site. So far, I've been unable to find a way to accomplish the same thing with the zope 3 i18n infrastructure, which is blocking us from moving to plone 3 on the site that needs the overrides. Is this even possible? -- Paul Winkler

Re: [Zope] Storing unicode in ZODB objects

2008-12-16 Thread Paul Winkler
= / Or, better, put the define in a tag that actually serves a purpose and you can leave out the omit-tag as well: head tal:define=dummy python:... ... /head -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope] TraversalError in custom TALES namespace during Five tests

2008-12-16 Thread Paul Winkler
; pdb.set_trace() self.context = context def member_title(self): return member_title(self.context) ... Thanks for any advice, - Paul Winkler -- http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope-Checkins] SVN: Zope/trunk/ Simpler, faster implementation of DocumentTemplate.DT_Var.newline_to_br(), with tests.

2008-11-18 Thread Paul Winkler
Log message for revision 93099: Simpler, faster implementation of DocumentTemplate.DT_Var.newline_to_br(), with tests. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/DocumentTemplate/DT_Var.py A Zope/trunk/lib/python/DocumentTemplate/tests/test_DT_Var.py -=-

Re: [Zope-PAS] _verifyUser() broken for anonymous

2008-09-24 Thread Paul Winkler
Jens Vagelpohl [EMAIL PROTECTED] writes: On Sep 23, 2008, at 20:55 , Paul Winkler wrote: (There does not seem to be a 1.6 branch.) We have informally decided to proceed with a simpler trunk + tags release policy, right now there's no need to add the complication of release branches

[Zope-PAS] _verifyUser() broken for anonymous

2008-09-23 Thread Paul Winkler
See launchpad https://bugs.launchpad.net/zope-pas/+bug/273680 I've put the patch on a branch at svn://svn.zope.org/repos/main/Products.PluggableAuthService/branches/ slinkp-fix-anonymous-performance-branch ANy objections? If not, I'll merge it to the trunk and the 1.5 branch. (There does not

Re: [Zope] Displaying PIL Images in Zope Templates

2008-09-19 Thread Paul Winkler
, 'tag') Whoops, sorry, I didn't realize these were PIL images, I thought they were OFS.Image or some such. But I see you already got the solution. - PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Security for objects being called

2008-09-17 Thread Paul Winkler
. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] documentation for ZCatalog apart from the Zope Book?

2008-09-17 Thread Paul Winkler
/PluginIndexes. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Displaying PIL Images in Zope Templates

2008-09-17 Thread Paul Winkler
? Call its tag method. span tal:replace=structure item/tag / -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Security for objects being called

2008-09-16 Thread Paul Winkler
/Books/2_7Edition/Security.stx#2-62 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] script calling template

2008-09-11 Thread Paul Winkler
, as per this document: http://plope.com/Books/2_7Edition/BasicScripting.stx#1-3 So, in your script, something like: doc = context.restrictedTraverse(some_path) return context.mytemplate(mydoc=doc) Then, in your template just do: p tal:content=structure options/mydoc/getText/p -- Paul Winkler

[Zope-Checkins] SVN: Zope/trunk/ Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour

2008-09-07 Thread Paul Winkler
Log message for revision 90920: Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/DateTime/DateTime.py U Zope/trunk/lib/python/DateTime/tests/testDateTime.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/ Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour

2008-09-07 Thread Paul Winkler
Log message for revision 90921: Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/DateTime/DateTime.py U Zope/branches/2.11/lib/python/DateTime/tests/testDateTime.py -=-

[Zope-Checkins] SVN: Zope/branches/2.10/ Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour

2008-09-07 Thread Paul Winkler
Log message for revision 90922: Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/DateTime/DateTime.py U Zope/branches/2.10/lib/python/DateTime/tests/testDateTime.py -=-

[Zope-Checkins] SVN: Zope/branches/2.9/ Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour

2008-09-07 Thread Paul Winkler
Log message for revision 90923: Fix for launchpad #267545: DateTime(DateTime()) should preserve the correct hour Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/DateTime/DateTime.py U Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py -=-

Re: [Zope] TAL conditional expression

2008-09-05 Thread Paul Winkler
On Fri, Sep 05, 2008 at 01:05:23PM -0700, David Bear wrote: Also, I would like to be able to use the same request object in both my template and the macro, but my macro doesn's seem to have access to the same request object. It is the same request. -- Paul Winkler http://www.slinkp.com

Re: [Zope] manage_cutObjects/manage_pasteObjects problem ...

2008-07-30 Thread Paul Winkler
a trailing comma: copy_info = obj_parent.manage_cutObjects((context.getId(),)) But that's not causing your problem; manage_cutObjects() helpfully wraps a string argument in a tuple for you. -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-30 Thread Paul Winkler
will then fetch and run virtualenv, install easy_install into the virtualenv, and do anything else you put in your bootstrapper. Personally I've never tried combining virtualenv and buildout. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] Re: Deployment Best Practices?

2008-07-13 Thread Paul Winkler
that. Then you'd only ever have to change your application's site.zcml to load a new plugin. There's also this: http://pypi.python.org/pypi/z3c.autoinclude -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope-dev] transaction.doom() and ZPublisher

2008-07-09 Thread Paul Winkler
calling transaction.doom(); the transaction is not committed, and the user won't see an exception. Is that the concensus? If so, there's an easy solution - apply something like the attached patch. Anybody disagree? -- Paul Winkler http://www.slinkp.com --- Zope2/App/startup.py~ 2008-06-14

Re: [Zope] Re: Cache

2008-06-25 Thread Paul Winkler
/python /usr/local/Zope-2.9.6/bin/zeopack.py -p $PORT -S $STORAGE -d $PACKDAYS That's for packing the storage, which is totally different. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

[Zope] Call for new ZSyncer maintainer

2008-06-11 Thread Paul Winkler
. * The code is, in my opinion, badly in need of refactoring and cleaning up. * There is a suite of ZopeTestCase tests. Should probably be broken up into smaller cases. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py Merge r41209 from trunk (use proper call signature for logging, not zLOG)

2008-06-03 Thread Paul Winkler
Log message for revision 87132: Merge r41209 from trunk (use proper call signature for logging, not zLOG) Changed: U Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py -=- Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplateFile.py

Re: [Zope] Re: zope-memory-readings

2008-05-30 Thread Paul Winkler
On Fri, May 30, 2008 at 3:56 PM, Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: Check it out http://code.google.com/p/zope-memory-readings/ Perhaps useful Looks really cool. Thanks for releasing it! Yeah. It also looks nicely

[Zope-Checkins] SVN: Products.Five/branches/1.4/CHANGES.txt Fix release dates of 1.4.4 and 1.4.3 in CHANGES.txt. Commit logs reveal that they were off by 1 year

2008-05-29 Thread Paul Winkler
Log message for revision 87037: Fix release dates of 1.4.4 and 1.4.3 in CHANGES.txt. Commit logs reveal that they were off by 1 year Changed: U Products.Five/branches/1.4/CHANGES.txt -=- Modified: Products.Five/branches/1.4/CHANGES.txt

[Zope-dev] Status of Better XML support for Page Templates?

2008-05-28 Thread Paul Winkler
Was any action ever taken on this? http://wiki.zope.org/zope3/BetterXMLSupportForPageTemplates I never even realized until today that all my browser:page templates are apparently loaded in HTML mode. (Tested in Zope 2.9.9 / Five 1.4.2 ) -- http://www.slinkp.com

Re: [Zope-dev] Re: Five registerPackage results in unresolved ConflictError

2008-05-21 Thread Paul Winkler
, no, it's just a workaround, so it's certainly not better than a fix to the underlying problem. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-Checkins] SVN: Zope/branches/slinkp-zopectl-exitcode-143813/ Making a branch to fix https://bugs.launchpad.net/zope2/+bug/143813

2008-05-04 Thread Paul Winkler
Log message for revision 85724: Making a branch to fix https://bugs.launchpad.net/zope2/+bug/143813 Changed: A Zope/branches/slinkp-zopectl-exitcode-143813/ -=- Copied: Zope/branches/slinkp-zopectl-exitcode-143813 (from rev 85723, Zope/trunk)

[Zope-Checkins] SVN: Zope/branches/slinkp-zopectl-exitcode-143813/lib/python/Zope2/Startup/zopectl.py Fixes bug 143813: zopectl should exit non-zero if child processes fail.

2008-05-04 Thread Paul Winkler
Log message for revision 85725: Fixes bug 143813: zopectl should exit non-zero if child processes fail. Changed: U Zope/branches/slinkp-zopectl-exitcode-143813/lib/python/Zope2/Startup/zopectl.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/ Fixes bug 143813: zopectl should exit non-zero if child processes fail.

2008-05-04 Thread Paul Winkler
Log message for revision 85727: Fixes bug 143813: zopectl should exit non-zero if child processes fail. Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Zope2/Startup/zopectl.py -=- Modified: Zope/branches/2.11/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/branches/slinkp-datetime-200007/ branch for fixing https://bugs.launchpad.net/zope2/+bug/200007

2008-05-04 Thread Paul Winkler
Log message for revision 85733: branch for fixing https://bugs.launchpad.net/zope2/+bug/27 Changed: A Zope/branches/slinkp-datetime-27/ -=- Copied: Zope/branches/slinkp-datetime-27 (from rev 85732, Zope/trunk) ___ Zope-Checkins

[Zope-Checkins] SVN: Zope/branches/slinkp-datetime-200007/lib/python/DateTime/ Fix for launchpad #200007: DateTime() surprisingly changes timezone if passed a DateTime instance.

2008-05-04 Thread Paul Winkler
Log message for revision 85734: Fix for launchpad #27: DateTime() surprisingly changes timezone if passed a DateTime instance. Changed: U Zope/branches/slinkp-datetime-27/lib/python/DateTime/DateTime.py U

Re: [Zope-dev] svn.zope.org down?

2008-04-29 Thread Paul Winkler
/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/ Merged the slinkp-datetime-200007 branch: fix the DateTime(anotherDateTime) constructor to preserve timezones.

2008-04-28 Thread Paul Winkler
Log message for revision 85830: Merged the slinkp-datetime-27 branch: fix the DateTime(anotherDateTime) constructor to preserve timezones. Changed: U Zope/trunk/lib/python/DateTime/DateTime.py U Zope/trunk/lib/python/DateTime/tests/testDateTime.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/ Merged the slinkp-datetime-200007 branch: fix the DateTime(anotherDateTime) constructor to preserve timezones.

2008-04-28 Thread Paul Winkler
Log message for revision 85837: Merged the slinkp-datetime-27 branch: fix the DateTime(anotherDateTime) constructor to preserve timezones. Changed: U Zope/branches/2.9/configure U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/DateTime/DateTime.py U

[Zope-dev] Test failure in zope.component on 2.10 branch

2008-04-28 Thread Paul Winkler
Does anybody else see this on a fresh checkout of the zope 2.10 branch? I think it's pretty new; I had a checkout last week where I didn't get any test failures. [EMAIL PROTECTED] ~/tmp/z2branches/2.10 $ python test.py -s zope.component Running tests at level 1 Running unit tests: Running:

[Zope-dev] Re: Test failure in zope.component on 2.10 branch

2008-04-28 Thread Paul Winkler
import readline | od -c 000 033 [ ? 1 0 3 4 h 010 [EMAIL PROTECTED] ~ $ TERM=linux python -c import readline | od -c 000 On Mon, Apr 28, 2008 at 4:50 PM, Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: Does

Re: [Zope-dev] Re: Test failure in zope.component on 2.10 branch

2008-04-28 Thread Paul Winkler
On Mon, Apr 28, 2008 at 05:26:36PM -0400, Benji York wrote: On Mon, Apr 28, 2008 at 5:09 PM, Paul Winkler [EMAIL PROTECTED] wrote: The test was failing on those, because it expects OK to be the last thing printed by the subprocess. I don't have any idea what you're talking about, so

Re: [Zope-dev] buildbot.zope.org?

2008-04-27 Thread Paul Winkler
. The restarts should go normal by now and I don't know any other condition that currently would wrack it. Christian -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

[Zope-dev] buildbot.zope.org?

2008-04-25 Thread Paul Winkler
What's the story with http://buildbot.zope.org ? It looks like most of the slaves are either disconnected, or failing to build at all, with errors like this: e.g. http://buildbot.zope.org/Zope3%20trunk%202.4%20Windows%202000%20zc-bbwin3/builds/704/svn/0 ... File

[Zope-dev] comments on DateTime(DateTime()) preserving timezone? (launchpad 200007)

2008-04-25 Thread Paul Winkler
I've got a fix, with tests, for https://bugs.launchpad.net/zope2/+bug/27 checked in at Zope/branches/slinkp-datetime-27 If nobody objects in the next few days, I'd like to merge this to trunk, and the 2.11, 2.10, and 2.9 branches. -- http://www.slinkp.com

Re: [Zope-dev] Re: [Checkins] SVN: z3c.formjs/branches/pcardune-extjs/ creating a branch to see what I can do about extjs integration.

2008-04-20 Thread Paul Winkler
Regarding Ext's licensing, I'm told that they are planning to switch to an OSI-approved license in the near future; we're still waiting for more details, but my source is here: http://www.openplans.org/projects/opencore/lists/opencore-dev/archive/2008/04/1208546123405 - PW -- Paul Winkler

Re: [Zope-dev] Non-ASCII characters in URLs

2008-04-06 Thread Paul Winkler
. Non-ASCII characters trigger a match on the bad_id regular expression search. As I recall, if you look at the revision history, that code is very old. There might even be an existing bug filed about this; I don't remember. -- Paul Winkler http://www.slinkp.com

Re: [Zope] ZSyncer Zope 2.10

2008-04-01 Thread Paul Winkler
unlikely to do any ZSyncer-related work unless somebody pays me to do so. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] ZSyncer Zope 2.10

2008-03-31 Thread Paul Winkler
unlikely to do any ZSyncer-related work unless somebody pays me to do so. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-12 Thread Paul Winkler
not correct. Can you think of a package offhand that I might look at to see a good example of this? I've got a lot of overgrown, brittle doctests at work that need gradual reorganization, and I'd love to see some good role models. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Managing Zope objects in Subversion

2008-03-02 Thread Paul Winkler
/FSDump Definitely worth a try. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] When to use a relational database

2008-02-09 Thread Paul Winkler
? Is it similarly true for the storing of DTML documents? You're confused. The relative speed of ZPT and DTML have only to do with rendering time. As far as the ZODB is concerned, they are equivalent. -- Paul Winkler http://www.slinkp.com ___ Zope maillist

[Zope] test, please ignore

2008-01-22 Thread Paul Winkler
I haven't received any mail from zope.org in quite while... -- http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Re: Hivurt code hosting

2007-11-12 Thread Paul Winkler
On Mon, Nov 12, 2007 at 12:19:20PM -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: On Sun, Nov 11, 2007 at 06:37:22PM -0500, Stephan Richter wrote: Yes, everyone has to sign a contributor agreement, but you do not have to become a Zope

Re: [Zope-dev] Re: Hivurt code hosting

2007-11-11 Thread Paul Winkler
- but perhaps I misunderstood? -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

Re: [Zope] Defining a dictionary in ZPT?

2007-11-01 Thread Paul Winkler
tal:replace=results/firstnameFirst Name/spannbsp; /li li tal content doesn't make any sense. I suspect you want that to be: li tal:define=results ... -- Paul Winkler ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] storing python objects

2007-10-25 Thread Paul Winkler
On Thu, Oct 25, 2007 at 03:19:10PM -0700, David Bear wrote: but I've never seen this documented anywhere. Is it possible to store basic python objects directly in zodb? http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx -- Paul Winkler http://www.slinkp.com

Re: [Zope] How to know what are zope doing now?

2007-09-19 Thread Paul Winkler
time Is this posible? How can I know what my server is doing? -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] How to upgrade Python in older Zope?

2007-09-11 Thread Paul Winkler
accidentally rely on a security weakness that was subsequently tightened, so you get permission denied at unexpected times until your code and/or configuration is fixed. Install and turn on VerboseSecurity, it's a big help with things like that. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Deleting a file in Python

2007-08-27 Thread Paul Winkler
APIs... it was never finished or updated for zope later than 2.7, but it's a lot better than nothing: http://www.plope.com/Books/2_7Edition/AppendixB.stx -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] missing images

2007-08-07 Thread Paul Winkler
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] Unit Testing DTML and ZPT

2007-07-26 Thread Paul Winkler
. Then your templates simply present this data. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Paul Winkler
restarted zope after... should i?) . Yes. Changes to filesystem code require a restart. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Re: comments toggling not working for Zope Book etc

2007-06-21 Thread Paul Winkler
/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] a couple of basic questions

2007-06-20 Thread Paul Winkler
, and baz is in (or can be acquired by) bar. Finally, restrictedTraverse() is your friend: foo.restrictedTraverse('bar/baz') works like foo.bar.baz -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Paul Winkler
recommended ways. The Zope Developper Guide, although quite old, still contains valuable information about Zope product writing. Here are some other useful links: http://wiki.zope.org/zope2/DiskBasedProduct -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: MemoryError exception when importing a zexp file

2007-05-31 Thread Paul Winkler
this yet. Summary: Go and ask the plone people, if you can't import anyway, the whole exercise is in vain. +1 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Paul Winkler
the added network overhead. - not using ZEO means that Zope is a single point of failure. Can't argue with that :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Paul Winkler
time, I don't think it makes sense to keep deploying more and more badly tuned instances. That's what I consider blind shotgun scaling :) You need to scale, but you also need to tune - and you need to be pragmatic about which is the appropriate approach at any given point in time. -- Paul Winkler

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Paul Winkler
affinity without any special configuration. At some point Varnish url rewriting wil be good enough, and then we can cut apache out of it too.. I highly doubt Apache will become your bottleneck anytime soon :) But of course it's one more thing to admin. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Scaling problems, or something else?

2007-05-15 Thread Paul Winkler
chain of small persistent objects. So whereas a Plone Document or a Page Template needs only one entry in the cache, an Image might need hundreds. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Scaling problems, or something else?

2007-05-10 Thread Paul Winkler
On Thu, May 10, 2007 at 02:10:40AM +0200, Gaute Amundsen wrote: On Wednesday 09 May 2007 16:41, Paul Winkler wrote: On Wed, May 09, 2007 at 12:07:54PM +0200, Gaute Amundsen wrote: So there is no other possible limit in a zope instance than IO or CPU? Well, there's RAM of course. If you run

Re: [Zope] Scaling problems, or something else?

2007-05-09 Thread Paul Winkler
. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope-dev] Re: ZClasses Maintenance and Upgrade

2007-04-18 Thread Paul Winkler
of Max's message into the wiki page. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Paul Winkler
. Without this information, you will be unable to load the .zexp. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Zope 2 Development Best Practices

2007-04-13 Thread Paul Winkler
ways. You might start here: http://wiki.zope.org/zope2/DiskBasedProduct http://wiki.zope.org/zope2/Testing http://wiki.zope.org/zope2/BestPractices -- Paul Winkler http://www.slinkp.com ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
a whole lot of sense to me. We can't guess which parts don't make sense to you :) Maybe come back with more specific questions here or on IRC? The #zope channel on irc.freenode.net is often quiet, but there's a lot of knowledgable zope people in #plone and that channel is more active. -- Paul Winkler

Re: [Zope] xmlrpc error handling

2007-04-11 Thread Paul Winkler
any error an ZPublisher.xmlrpc will marshall it into fault/fault? The latter. Try it and see :) AFAICT any uncaught exception will be published as an xmlrpc fault. But then I think you don't have control of the fault code, if you care about that. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
On Wed, Apr 11, 2007 at 01:53:42PM -0500, Catherine E. Reinehr wrote: I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/ Not your fault, all the old documentation encourages people to use them :( -- Paul Winkler http://www.slinkp.com

Re: [Zope] VirtualHostBase VHM keyword doesn't work.

2007-04-10 Thread Paul Winkler
work? It does. My first guess would be that you don't have a folder named goodbyeken.com. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] manipulating zodb from independent database connection

2007-04-10 Thread Paul Winkler
would get the root application automatically set up for you and bound as app. But you still need to use ZEO. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] dynamically generating sql queries?

2007-03-28 Thread Paul Winkler
parameters. Something like this (may need adjustment, I'm not sure I understand your example code): for i in range(1, 6): print context.select_sql(field=result, language=language) return printed -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] include?

2007-03-28 Thread Paul Winkler
/ -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] Attribute error

2007-03-23 Thread Paul Winkler
on the /error_log link, and find your error listed there. Click on it to get a more complete traceback. Reply here with that information and you're more likely to get a useful response. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] dtml Z SQL doubt

2007-03-22 Thread Paul Winkler
will be inserted. This is what I use with MySQL. Or, depending on what you want, the INSERT...ON DUPLICATE KEY UPDATE syntax can be used. http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html Note that both of these idioms are specific to MySQL and not portable to other databases. -PW -- Paul

Re: [Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Paul Winkler
[FIELD_TYPE.TIMESTAMP] = DateTime_or_None I have found no mention of this anywhere? Have anyone else had this problem Yes, I've observed the same thing, and worked around it with a similar patch. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope-dev] Proposal for optimized Blob handling

2007-03-07 Thread Paul Winkler
partition as the blobs directory anyway. I like the idea, but what will you do if this fails? (eg. the admin has put TMP on a different mount, or we're running on Windows). -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope] Problem On Rebuild

2007-03-05 Thread Paul Winkler
rewritten in Zope's Web server! Where would that be, for 2.7.8? Most likely you have a Virtual Host Monster instance, with some configuration on the Mappings tab. See http://www.plope.com/Books/2_7Edition/VirtualHosting.stx -- Paul Winkler http://www.slinkp.com

  1   2   3   4   5   6   7   8   >