-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/05/2010 01:20 PM, Mark Phillips wrote:
> I have a table and I am putting data into the cells using tal. I want to
> bold the data under a certain condition. I tried this, but it didn't work:
>
> tal:condition="python:str(player['name']) == 'Team'">name |
>
> The data (player/name) appears correctly, but when player/name='Team', the
> text is not bold. After some reading, I believe what is happening is that
> the tal:content tag is replacing everything between the and the |
> tags. Is this correct? I tried this, and no bold either:
>
> GP |
>
> which supports my hypothesis about the tal:content tag.
>
> How do I add some "conditional bold effect" in my table data?
You are correct that 'tal:content' on a wrapper element replaces any
markup in the children. You want to use 'tal:content' on the 'b' tag
itself, and then 'tal:omit-tag' to drop the element (but not its
contents). See:
http://wiki.zope.org/ZPT/TALSpecification14#omit-tag
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyrX78ACgkQ+gerLs4ltQ4tRQCfU0DN0AVeBSRg/wYjYFGcbAJL
8pUAn3x/KD8/qXdp4acpcIluuVnWvtrv
=l0+r
-----END PGP SIGNATURE-----
From chris at simplistix.co.uk Tue Oct 5 13:29:36 2010
From: chris at simplistix.co.uk (Chris Withers)
Date: Tue, 05 Oct 2010 18:29:36 +0100
Subject: [Zope] Need some newbie tal help
In-Reply-To:
References:
Message-ID: <4CAB6080.3010309@simplistix.co.uk>
On 05/10/2010 18:20, Mark Phillips wrote:
> I have a table and I am putting data into the cells using tal. I want to
> bold the data under a certain condition. I tried this, but it didn't work:
>
> tal:condition="python:str(player['name']) == 'Team'">name |
>
> The data (player/name) appears correctly, but when player/name='Team',
> the text is not bold. After some reading, I believe what is happening is
> that the tal:content tag is replacing everything between the and
> the | tags. Is this correct? I tried this, and no bold either:
>
> GP |
GP |
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
From akm at theinternet.com.au Tue Oct 5 13:28:15 2010
From: akm at theinternet.com.au (Andrew Milton)
Date: Wed, 6 Oct 2010 04:28:15 +1100
Subject: [Zope] Need some newbie tal help
In-Reply-To:
References:
Message-ID: <20101005172815.GH1914@camelot.theinternet.com.au>
+-------[ Mark Phillips ]----------------------
| I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this,
| but it didn't work:
|
| name |
Try using css
|
--
Andrew Milton
akm at theinternet.com.au
From akm at theinternet.com.au Tue Oct 5 13:29:45 2010
From: akm at theinternet.com.au (Andrew Milton)
Date: Wed, 6 Oct 2010 04:29:45 +1100
Subject: [Zope] Need some newbie tal help
In-Reply-To: <20101005172815.GH1914@camelot.theinternet.com.au>
References:
<20101005172815.GH1914@camelot.theinternet.com.au>
Message-ID: <20101005172945.GI1914@camelot.theinternet.com.au>
+-------[ Andrew Milton ]----------------------
| +-------[ Mark Phillips ]----------------------
| | I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this,
| | but it didn't work:
| |
| | name |
|
| Try using css
|
| |
s/tal:replace/tal:content/
--
Andrew Milton
akm at theinternet.com.au
From mark at phillipsmarketing.biz Tue Oct 5 13:39:05 2010
From: mark at phillipsmarketing.biz (Mark Phillips)
Date: Tue, 5 Oct 2010 10:39:05 -0700
Subject: [Zope] Need some newbie tal help
In-Reply-To: <20101005172815.GH1914@camelot.theinternet.com.au>
References:
<20101005172815.GH1914@camelot.theinternet.com.au>
Message-ID:
On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton wrote:
> +-------[ Mark Phillips ]----------------------
> | I have a table and I am putting data into the cells using tal. I want to
> bold the data under a certain condition. I tried this,
> | but it didn't work:
> |
> | tal:condition="python:str(player['name']) == 'Team'">name |
>
> Try using css
>
> |
>
Is CSS preferred over using tal:omit for some reason? When would I use
tal:omit to add formatting to a table cell and when should I use CSS
instead?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20101005/f7db4e37/attachment.html
From akm at theinternet.com.au Tue Oct 5 13:42:21 2010
From: akm at theinternet.com.au (Andrew Milton)
Date: Wed, 6 Oct 2010 04:42:21 +1100
Subject: [Zope] Need some newbie tal help
In-Reply-To:
References:
<20101005172815.GH1914@camelot.theinternet.com.au>
Message-ID: <20101005174221.GJ1914@camelot.theinternet.com.au>
+-------[ Mark Phillips ]----------------------
|
|
| On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton wrote:
|
| +-------[ Mark Phillips ]----------------------
| | I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried
| this,
| | but it didn't work:
| |
| | name |
|
| Try using css
|
| |
|
|
| Is CSS preferred over using tal:omit for some reason? When would I use tal:omit to add formatting to a table cell and when should
| I use CSS instead?
I think you want to use CSS. Later if you want to change from bold to
underlined or italics or rainbow, you can just change a CSS class,
instead of rebuilding your mark up.
--
Andrew Milton
akm at theinternet.com.au
From mark at phillipsmarketing.biz Tue Oct 5 13:45:43 2010
From: mark at phillipsmarketing.biz (Mark Phillips)
Date: Tue, 5 Oct 2010 10:45:43 -0700
Subject: [Zope] Need some newbie tal help
In-Reply-To: <20101005174221.GJ1914@camelot.theinternet.com.au>
References:
<20101005172815.GH1914@camelot.theinternet.com.au>
<20101005174221.GJ1914@camelot.theinternet.com.au>
Message-ID:
On Tue, Oct 5, 2010 at 10:42 AM, Andrew Milton wrote:
> +-------[ Mark Phillips ]----------------------
> |
> |
> | On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton
> wrote:
> |
> | +-------[ Mark Phillips ]----------------------
> | | I have a table and I am putting data into the cells using tal. I
> want to bold the data under a certain condition. I tried
> | this,
> | | but it didn't work:
> | |
> | | tal:condition="python:str(player['name']) == 'Team'">name |
> |
> | Try using css
> |
> | | /> |
> |
> |
> | Is CSS preferred over using tal:omit for some reason? When would I use
> tal:omit to add formatting to a table cell and when should
> | I use CSS instead?
>
> I think you want to use CSS. Later if you want to change from bold to
> underlined or italics or rainbow, you can just change a CSS class,
> instead of rebuilding your mark up.
>
> Thanks! good advice!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20101005/71630d9b/attachment.html
From ygingras at ygingras.net Wed Oct 6 21:24:38 2010
From: ygingras at ygingras.net (Yannick Gingras)
Date: Wed, 6 Oct 2010 21:24:38 -0400
Subject: [Zope] ConFoo 2011 Call for Speakers
Message-ID: <201010062124.38296.ygingras@ygingras.net>
Greetings Zopers,
We, Montr?al-Python, are the coordinators of the Python track at
ConFoo 2011 and we are very proud to announce our call for speakers.
PHP-Qu?bec, Montr?al-Python, Montreal.rb, W3Qc, and OWASP Montr?al are
organizing the first edition of the ConFoo conference, which will be
held in Montr?al on March 9th through 11th at the Hilton Bonaventure
Hotel. With over 500 expected attendees, ConFoo is one of the largest
Web development conference in North America.
ConFoo is about the Web, but it's also about showcasing the strengths
of different technologies. Do you think that Python beats all the
other languages out there for Web development? Do you think that
Zope knocks Django's socks off? Come and tell us why!
Sessions are one hour long and you can present in French or in
English, which ever your prefer. Submissions are due for November 26;
for more details, visit the ConFoo website:
http://confoo.ca/en/call-for-papers
By the way, we are perfectly aware that there is a slight clash with
PyCon. You should not worry about that since all Python talks will
happen before Friday, giving you plenty of time for the commute
towards Atlanta.
Share the word!
--
Yannick Gingras
http://montrealpython.org -- lead organizer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.zope.org/pipermail/zope/attachments/20101006/fe524425/attachment.bin
From chris at simplistix.co.uk Thu Oct 7 02:09:08 2010
From: chris at simplistix.co.uk (Chris Withers)
Date: Thu, 07 Oct 2010 07:09:08 +0100
Subject: [Zope] ZSyncer 1.0.3 Released!
Message-ID: <4CAD6404.5020009@simplistix.co.uk>
Hi All,
This is purely a bug fix release for problems I experienced when
replacing local objects by absolute path.
Installable from:
http://pypi.python.org/pypi/Products.ZSyncer
Subversion source repository:
https://secure.simplistix.co.uk/svn/ZSyncer/
Documentation:
http://packages.python.org/Products.ZSyncer/
Full change log:
http://packages.python.org/Products.ZSyncer/changes.html
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
From norbertmarrale at yahoo.com Fri Oct 8 16:32:38 2010
From: norbertmarrale at yahoo.com (Norbert Marrale)
Date: Fri, 8 Oct 2010 13:32:38 -0700 (PDT)
Subject: [Zope] How to setStatus(301) for zException Redirect
Message-ID: <297870.23761.qm@web120419.mail.ne1.yahoo.com>
Using Zope 2.10.8 I'd like to let an access rule trigger a 301 'moved
permanently' redirect.
I created an external method to raise the exception, which almost does the trick
except for the fact that it generates a 302 Moved Temporarily status code.
from zExceptions import Redirect
def myDispatcher(self, url):
raise Redirect(url)
Tried request.setStatus(301) both in my access rule and the external method, but
this effectively disables the redirect. Also tried modifying my external method
similar to request.response.redirect() as follows. Still no luck.
from zExceptions import Redirect
def myDispatcher(self, url, status, lock):
raise Redirect(url, status, lock)
I finally traced it to HTTPResponse.py starting around line 763-790 the 302
status seems to be hardcoded. How would I go about changing this? I'd rather not
hack directly in the Zope code...
self.setStatus(t)
if self.status >= 300 and self.status < 400:
if isinstance(v, str) and absuri_match(v) is not None:
if self.status == 300:
self.setStatus(302)
self.setHeader('location', v)
tb = None # just one path covered
return self
elif isinstance(v, Redirect): # death to string exceptions!
if self.status == 300:
self.setStatus(302)
self.setHeader('location', v.args[0])
self.setBody('')
tb = None
return self
else:
try:
l, b = v
if (isinstance(l, str)
and absuri_match(l) is not None):
if self.status == 300:
self.setStatus(302)
self.setHeader('location', l)
self.setBody(b)
tb = None # one more patch covered
return self
except:
pass # tb is not cleared in this case
Norbert
From briansullivan at gmail.com Mon Oct 18 15:51:20 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Mon, 18 Oct 2010 15:51:20 -0400
Subject: [Zope] Asynchronous triggering of events
Message-ID:
I am back working with Zope 2.9.1 (yes I know it is long in the tooth
but I am trying to avoid adding the pain of upgrading, having products
fail and all the usually comes with upgrading if I can). I
am looking for a strategy to schedule and carry out tasks at periodic
future dates.
I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/) but
it either doesn't seem to work with 2.9.1 (or I can't get it to work).
I install it in the products directory but it doesn't show up in the
product directory when Zope restarts and naturally none of the objects
it is supposed to supply can be added. I haven't investigated what the
problem is (and am not even totally sure how to go about it). Is there
something isn't obvious that I might be missing?
Barring getting it to work are there any other alternatives?
From jeff.peterson at crary.com Mon Oct 18 16:18:08 2010
From: jeff.peterson at crary.com (Jeff Peterson)
Date: Mon, 18 Oct 2010 15:18:08 -0500
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID:
I'd start by looking at the logs to see what's failing, should be a traceback there somewhere.
Other than that there is clockserver, but I am not sure that was/is available in the version you are using.
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peterson at crary.com
> -----Original Message-----
> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
> Brian Sullivan
> Sent: Monday, October 18, 2010 2:51 PM
> To: Zope Users
> Subject: [Zope] Asynchronous triggering of events
>
> I am back working with Zope 2.9.1 (yes I know it is long in the tooth
> but I am trying to avoid adding the pain of upgrading, having products
> fail and all the usually comes with upgrading if I can). I
>
> am looking for a strategy to schedule and carry out tasks at periodic
> future dates.
>
> I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/) but
> it either doesn't seem to work with 2.9.1 (or I can't get it to work).
> I install it in the products directory but it doesn't show up in the
> product directory when Zope restarts and naturally none of the objects
> it is supposed to supply can be added. I haven't investigated what the
> problem is (and am not even totally sure how to go about it). Is there
> something isn't obvious that I might be missing?
>
> Barring getting it to work are there any other alternatives?
> _______________________________________________
> Zope maillist - Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
From briansullivan at gmail.com Mon Oct 18 16:46:27 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Mon, 18 Oct 2010 16:46:27 -0400
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID:
Clockserver seems to install -- can't find any docs on how to use it
though. All the links for info at the download site appear to be dead.
Any idea where docs might be located?
On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson wrote:
> I'd start by looking at the logs to see what's failing, should be a traceback there somewhere.
>
> Other than that there is clockserver, but I am not sure that was/is available in the version you are using.
>
> --
> Jeffrey D Peterson
> Webmaster
> Crary Industries, Inc.
> 237 12th St NW
> West Fargo, ND 58078
> P: 701-499-5928
> E: jeff.peterson at crary.com
>
>> -----Original Message-----
>> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
>> Brian Sullivan
>> Sent: Monday, October 18, 2010 2:51 PM
>> To: Zope Users
>> Subject: [Zope] Asynchronous triggering of events
>>
>> I am back working with Zope 2.9.1 (yes I know it is long in the tooth
>> but I am trying to avoid adding the pain of upgrading, having products
>> fail and all the usually comes with upgrading if I can). I
>>
>> ?am looking for a strategy to schedule and carry out tasks at periodic
>> future dates.
>>
>> I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/) but
>> it either doesn't seem to work with 2.9.1 (or I can't get it to work).
>> I install it in the products directory but it doesn't show up in the
>> product directory when Zope restarts and naturally none of the objects
>> it is supposed to supply can be added. I haven't investigated what the
>> problem is (and am not even totally sure how to go about it). Is there
>> something isn't obvious that I might be missing?
>>
>> Barring getting it to work are there any other alternatives?
>> _______________________________________________
>> Zope maillist ?- ?Zope at zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> ** ? No cross posts or HTML encoding! ?**
>> (Related lists -
>> ?https://mail.zope.org/mailman/listinfo/zope-announce
>> ?https://mail.zope.org/mailman/listinfo/zope-dev )
>
From jeff.peterson at crary.com Mon Oct 18 16:58:23 2010
From: jeff.peterson at crary.com (Jeff Peterson)
Date: Mon, 18 Oct 2010 15:58:23 -0500
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID:
Can't say I have ever used it, only heard about it on this list. Seems to me it's built into the latest releases. Try looking at the source, may be something in the tests.py that'll give you some insight.
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peterson at crary.com
> -----Original Message-----
> From: Brian Sullivan [mailto:briansullivan at gmail.com]
> Sent: Monday, October 18, 2010 3:46 PM
> To: Jeff Peterson
> Cc: Zope Users
> Subject: Re: [Zope] Asynchronous triggering of events
>
> Clockserver seems to install -- can't find any docs on how to use it
> though. All the links for info at the download site appear to be dead.
>
> Any idea where docs might be located?
>
> On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson
> wrote:
> > I'd start by looking at the logs to see what's failing, should be a
> traceback there somewhere.
> >
> > Other than that there is clockserver, but I am not sure that was/is
> available in the version you are using.
> >
> > --
> > Jeffrey D Peterson
> > Webmaster
> > Crary Industries, Inc.
> > 237 12th St NW
> > West Fargo, ND 58078
> > P: 701-499-5928
> > E: jeff.peterson at crary.com
> >
> >> -----Original Message-----
> >> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf
> Of
> >> Brian Sullivan
> >> Sent: Monday, October 18, 2010 2:51 PM
> >> To: Zope Users
> >> Subject: [Zope] Asynchronous triggering of events
> >>
> >> I am back working with Zope 2.9.1 (yes I know it is long in the
> tooth
> >> but I am trying to avoid adding the pain of upgrading, having
> products
> >> fail and all the usually comes with upgrading if I can). I
> >>
> >> ?am looking for a strategy to schedule and carry out tasks at
> periodic
> >> future dates.
> >>
> >> I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/)
> but
> >> it either doesn't seem to work with 2.9.1 (or I can't get it to
> work).
> >> I install it in the products directory but it doesn't show up in the
> >> product directory when Zope restarts and naturally none of the
> objects
> >> it is supposed to supply can be added. I haven't investigated what
> the
> >> problem is (and am not even totally sure how to go about it). Is
> there
> >> something isn't obvious that I might be missing?
> >>
> >> Barring getting it to work are there any other alternatives?
> >> _______________________________________________
> >> Zope maillist ?- ?Zope at zope.org
> >> https://mail.zope.org/mailman/listinfo/zope
> >> ** ? No cross posts or HTML encoding! ?**
> >> (Related lists -
> >> ?https://mail.zope.org/mailman/listinfo/zope-announce
> >> ?https://mail.zope.org/mailman/listinfo/zope-dev )
> >
From jeff.peterson at crary.com Mon Oct 18 17:05:00 2010
From: jeff.peterson at crary.com (Jeff Peterson)
Date: Mon, 18 Oct 2010 16:05:00 -0500
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID:
Not sure if this is the same thing but you can take a look at this as well: http://nullege.com/codes/show/src%40z%40o%40Zope2-2.12.12%40src%40ZServer%40tests%40test_clockserver.py/5/ZServer.ClockServer
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peterson at crary.com
> -----Original Message-----
> From: Brian Sullivan [mailto:briansullivan at gmail.com]
> Sent: Monday, October 18, 2010 3:46 PM
> To: Jeff Peterson
> Cc: Zope Users
> Subject: Re: [Zope] Asynchronous triggering of events
>
> Clockserver seems to install -- can't find any docs on how to use it
> though. All the links for info at the download site appear to be dead.
>
> Any idea where docs might be located?
>
> On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson
> wrote:
> > I'd start by looking at the logs to see what's failing, should be a
> traceback there somewhere.
> >
> > Other than that there is clockserver, but I am not sure that was/is
> available in the version you are using.
> >
> > --
> > Jeffrey D Peterson
> > Webmaster
> > Crary Industries, Inc.
> > 237 12th St NW
> > West Fargo, ND 58078
> > P: 701-499-5928
> > E: jeff.peterson at crary.com
> >
> >> -----Original Message-----
> >> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf
> Of
> >> Brian Sullivan
> >> Sent: Monday, October 18, 2010 2:51 PM
> >> To: Zope Users
> >> Subject: [Zope] Asynchronous triggering of events
> >>
> >> I am back working with Zope 2.9.1 (yes I know it is long in the
> tooth
> >> but I am trying to avoid adding the pain of upgrading, having
> products
> >> fail and all the usually comes with upgrading if I can). I
> >>
> >> ?am looking for a strategy to schedule and carry out tasks at
> periodic
> >> future dates.
> >>
> >> I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/)
> but
> >> it either doesn't seem to work with 2.9.1 (or I can't get it to
> work).
> >> I install it in the products directory but it doesn't show up in the
> >> product directory when Zope restarts and naturally none of the
> objects
> >> it is supposed to supply can be added. I haven't investigated what
> the
> >> problem is (and am not even totally sure how to go about it). Is
> there
> >> something isn't obvious that I might be missing?
> >>
> >> Barring getting it to work are there any other alternatives?
> >> _______________________________________________
> >> Zope maillist ?- ?Zope at zope.org
> >> https://mail.zope.org/mailman/listinfo/zope
> >> ** ? No cross posts or HTML encoding! ?**
> >> (Related lists -
> >> ?https://mail.zope.org/mailman/listinfo/zope-announce
> >> ?https://mail.zope.org/mailman/listinfo/zope-dev )
> >
From chris at simplistix.co.uk Mon Oct 18 17:03:52 2010
From: chris at simplistix.co.uk (Chris Withers)
Date: Mon, 18 Oct 2010 22:03:52 +0100
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID: <4CBCB638.10701@simplistix.co.uk>
On 18/10/2010 20:51, Brian Sullivan wrote:
> I am back working with Zope 2.9.1 (yes I know it is long in the tooth
> but I am trying to avoid adding the pain of upgrading, having products
> fail and all the usually comes with upgrading if I can). I
I would just use zopectl run and a script of your choice triggered by cron.
Stepper provides a nice set of utils for working in this pattern...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
From briansullivan at gmail.com Mon Oct 18 17:11:16 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Mon, 18 Oct 2010 17:11:16 -0400
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
Message-ID:
Clockserver seems to need an external C module that is only available
for Xnix - I am unfortunately on Windows.
"2010-10-18T16:27:01 ERROR Zope Couldn't install Xron
Traceback (most recent call last):
File "C:\Program Files\Zope-2.9.1\lib\python\OFS\Application.py",
line 763, in install_product
global_dict, global_dict, silly)
File "d:\Zope-Instance2.9\Products\Xron\__init__.py", line 40, in ?
import Dispatcher
File "d:\Zope-Instance2.9\Products\Xron\Dispatcher.py", line 42, in ?
import ZODB, ZODB.ZApplication
ImportError: No module named ZApplication"
is the error I get on startup related to Xron. Not sure what
ZApplication is or where it is supposed to be.
On Mon, Oct 18, 2010 at 4:46 PM, Brian Sullivan wrote:
> Clockserver seems to install -- can't find any docs on how to use it
> though. All the links for info at the download site appear to be dead.
>
> Any idea where docs might be located?
>
> On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson wrote:
>> I'd start by looking at the logs to see what's failing, should be a traceback there somewhere.
>>
>> Other than that there is clockserver, but I am not sure that was/is available in the version you are using.
>>
>> --
>> Jeffrey D Peterson
>> Webmaster
>> Crary Industries, Inc.
>> 237 12th St NW
>> West Fargo, ND 58078
>> P: 701-499-5928
>> E: jeff.peterson at crary.com
>>
>>> -----Original Message-----
>>> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
>>> Brian Sullivan
>>> Sent: Monday, October 18, 2010 2:51 PM
>>> To: Zope Users
>>> Subject: [Zope] Asynchronous triggering of events
>>>
>>> I am back working with Zope 2.9.1 (yes I know it is long in the tooth
>>> but I am trying to avoid adding the pain of upgrading, having products
>>> fail and all the usually comes with upgrading if I can). I
>>>
>>> ?am looking for a strategy to schedule and carry out tasks at periodic
>>> future dates.
>>>
>>> I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/) but
>>> it either doesn't seem to work with 2.9.1 (or I can't get it to work).
>>> I install it in the products directory but it doesn't show up in the
>>> product directory when Zope restarts and naturally none of the objects
>>> it is supposed to supply can be added. I haven't investigated what the
>>> problem is (and am not even totally sure how to go about it). Is there
>>> something isn't obvious that I might be missing?
>>>
>>> Barring getting it to work are there any other alternatives?
>>> _______________________________________________
>>> Zope maillist ?- ?Zope at zope.org
>>> https://mail.zope.org/mailman/listinfo/zope
>>> ** ? No cross posts or HTML encoding! ?**
>>> (Related lists -
>>> ?https://mail.zope.org/mailman/listinfo/zope-announce
>>> ?https://mail.zope.org/mailman/listinfo/zope-dev )
>>
>
From briansullivan at gmail.com Mon Oct 18 17:25:02 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Mon, 18 Oct 2010 17:25:02 -0400
Subject: [Zope] Asynchronous triggering of events
In-Reply-To: <4CBCB638.10701@simplistix.co.uk>
References:
<4CBCB638.10701@simplistix.co.uk>
Message-ID:
zopetcl -- is that a unix program? I am using Windows unfortunately.
On Mon, Oct 18, 2010 at 5:03 PM, Chris Withers wrote:
> On 18/10/2010 20:51, Brian Sullivan wrote:
>> I am back working with Zope 2.9.1 (yes I know it is long in the tooth
>> but I am trying to avoid adding the pain of upgrading, having products
>> fail and all the usually comes with upgrading if I can). I
>
> I would just use zopectl run and a script of your choice triggered by cron.
>
> Stepper provides a nice set of utils for working in this pattern...
>
> Chris
>
> --
> Simplistix - Content Management, Batch Processing & Python Consulting
> ? ? ? ? ? ?- http://www.simplistix.co.uk
> _______________________________________________
> Zope maillist ?- ?Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** ? No cross posts or HTML encoding! ?**
> (Related lists -
> ?https://mail.zope.org/mailman/listinfo/zope-announce
> ?https://mail.zope.org/mailman/listinfo/zope-dev )
>
From chris at simplistix.co.uk Mon Oct 18 17:27:49 2010
From: chris at simplistix.co.uk (Chris Withers)
Date: Mon, 18 Oct 2010 22:27:49 +0100
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
<4CBCB638.10701@simplistix.co.uk>
Message-ID: <4CBCBBD5.3010805@simplistix.co.uk>
On 18/10/2010 22:25, Brian Sullivan wrote:
> zopetcl -- is that a unix program? I am using Windows unfortunately.
It might well be on your version of Zope, it works fine in later
versions, though...
That said, if you take a look at Stepper, you'll see that I documented
how to get it all to work on Windows (use Scheduled Tasks to drive it)
cheers,
Chris
PS: But seriously, how much of a masochist are you? Zope 2.9 on
Windows?! ;-)
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
From briansullivan at gmail.com Tue Oct 19 14:13:13 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Tue, 19 Oct 2010 14:13:13 -0400
Subject: [Zope] Asynchronous triggering of events
In-Reply-To: <4CBCBBD5.3010805@simplistix.co.uk>
References:
<4CBCB638.10701@simplistix.co.uk>
<4CBCBBD5.3010805@simplistix.co.uk>
Message-ID:
So I installed 2.11.4 -- the latest that I could find and still the same issue.
I get the impression from the age of the Zope installs, the state of
disrepair and link rot of the zope.org site that Zope is in its final
death throes as an independent entity ? I tried to look for an
independent version of Plone that I can install on an existing Zope--
the only install I could find is a complete installer including Zope.
Is Plone the new Zope?
On Mon, Oct 18, 2010 at 5:27 PM, Chris Withers wrote:
> On 18/10/2010 22:25, Brian Sullivan wrote:
>>
>> zopetcl -- is that a unix program? I am using Windows unfortunately.
>
> It might well be on your version of Zope, it works fine in later versions,
> though...
>
> That said, if you take a look at Stepper, you'll see that I documented how
> to get it all to work on Windows (use Scheduled Tasks to drive it)
>
> cheers,
>
> Chris
>
> PS: But seriously, how much of a masochist are you? Zope 2.9 on Windows?!
> ;-)
>
> --
> Simplistix - Content Management, Batch Processing & Python Consulting
> ? ? ? ? ? ?- http://www.simplistix.co.uk
>
From chrism at plope.com Tue Oct 19 14:35:23 2010
From: chrism at plope.com (Chris McDonough)
Date: Tue, 19 Oct 2010 14:35:23 -0400
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
<4CBCB638.10701@simplistix.co.uk>
<4CBCBBD5.3010805@simplistix.co.uk>
Message-ID: <1287513323.2048.9.camel@thinko>
On Tue, 2010-10-19 at 14:13 -0400, Brian Sullivan wrote:
> So I installed 2.11.4 -- the latest that I could find and still the same issue.
Clockserver is actually built into newer Zopes and needn't be installed
separately. You configure it by adding stuff to your zope.conf file,
eg.:
method /mysite/do_stuff
period 60
user admin
password secret
host localhost
> I get the impression from the age of the Zope installs, the state of
> disrepair and link rot of the zope.org site that Zope is in its final
> death throes as an independent entity ? I tried to look for an
> independent version of Plone that I can install on an existing Zope--
> the only install I could find is a complete installer including Zope.
>
> Is Plone the new Zope?
Might want to start a separate thread for all that.
- C
>
>
>
> On Mon, Oct 18, 2010 at 5:27 PM, Chris Withers wrote:
> > On 18/10/2010 22:25, Brian Sullivan wrote:
> >>
> >> zopetcl -- is that a unix program? I am using Windows unfortunately.
> >
> > It might well be on your version of Zope, it works fine in later versions,
> > though...
> >
> > That said, if you take a look at Stepper, you'll see that I documented how
> > to get it all to work on Windows (use Scheduled Tasks to drive it)
> >
> > cheers,
> >
> > Chris
> >
> > PS: But seriously, how much of a masochist are you? Zope 2.9 on Windows?!
> > ;-)
> >
> > --
> > Simplistix - Content Management, Batch Processing & Python Consulting
> > - http://www.simplistix.co.uk
> >
> _______________________________________________
> Zope maillist - Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
From jeff.peterson at crary.com Tue Oct 19 14:44:45 2010
From: jeff.peterson at crary.com (Jeff Peterson)
Date: Tue, 19 Oct 2010 13:44:45 -0500
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References:
<4CBCB638.10701@simplistix.co.uk>
<4CBCBBD5.3010805@simplistix.co.uk>
Message-ID:
> -----Original Message-----
> From: zope-bounces+jeff.peterson=crary.com at zope.org [mailto:zope-
> bounces+jeff.peterson=crary.com at zope.org] On Behalf Of Brian Sullivan
> Sent: Tuesday, October 19, 2010 1:13 PM
> To: Chris Withers
> Cc: zope at zope.org
> Subject: Re: [Zope] Asynchronous triggering of events
>
> So I installed 2.11.4 -- the latest that I could find and still the
> same issue.
This is what I mentioned about it being built-in to newer versions. You set it up in zope.conf.
>
> I get the impression from the age of the Zope installs, the state of
> disrepair and link rot of the zope.org site that Zope is in its final
> death throes as an independent entity ? I tried to look for an
> independent version of Plone that I can install on an existing Zope--
> the only install I could find is a complete installer including Zope.
>
> Is Plone the new Zope?
Nope, Bluebream (formerly known as Zope3) is the new Zope, though Zope2 is alive and very well. Might consider peeking at Grok as well. Though I don't know if either of those will help you.
>
>
>
> On Mon, Oct 18, 2010 at 5:27 PM, Chris Withers
> wrote:
> > On 18/10/2010 22:25, Brian Sullivan wrote:
> >>
> >> zopetcl -- is that a unix program? I am using Windows unfortunately.
> >
> > It might well be on your version of Zope, it works fine in later
> versions,
> > though...
> >
> > That said, if you take a look at Stepper, you'll see that I
> documented how
> > to get it all to work on Windows (use Scheduled Tasks to drive it)
> >
> > cheers,
> >
> > Chris
> >
> > PS: But seriously, how much of a masochist are you? Zope 2.9 on
> Windows?!
> > ;-)
> >
> > --
> > Simplistix - Content Management, Batch Processing & Python Consulting
> > ? ? ? ? ? ?- http://www.simplistix.co.uk
> >
> _______________________________________________
> Zope maillist - Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
From briansullivan at gmail.com Tue Oct 19 14:46:52 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Tue, 19 Oct 2010 14:46:52 -0400
Subject: [Zope] Plone the new Zope?
Message-ID:
I haven't done any Zope work for quite a while and have just restarted
out of necessity. Things seem to have changed in the last few years.
I get the impression from the age of the Zope installs, the state of
disrepair and link rot of the zope.org site that Zope is in its final
death throes as an independent entity ? I tried to look for an
independent version of Plone that I can install on an existing Zope =
the only install I could find is a complete installer including Zope.
Is Plone the new Zope?
From kosh at aesaeion.com Tue Oct 19 16:50:29 2010
From: kosh at aesaeion.com (William Heymann)
Date: Tue, 19 Oct 2010 14:50:29 -0600
Subject: [Zope] Plone the new Zope?
In-Reply-To:
References:
Message-ID: <201010191450.29390.kosh@aesaeion.com>
On Tuesday 19 October 2010, Brian Sullivan wrote:
> I haven't done any Zope work for quite a while and have just restarted
> out of necessity. Things seem to have changed in the last few years.
>
> I get the impression from the age of the Zope installs, the state of
> disrepair and link rot of the zope.org site that Zope is in its final
> death throes as an independent entity ? I tried to look for an
> independent version of Plone that I can install on an existing Zope =
> the only install I could find is a complete installer including Zope.
>
> Is Plone the new Zope?
You probably want to go go http://zope2.zope.org
Newer zope releases and other things are not showing up on the zope.org site.
However fixing all the links on zope.org is probably a pretty massive
undertaking.
Zope 2 itself is fine. I just doubt many people using it use zope.org.
I run a lot of zope 2 setups and I don't use plone on any of them.
From lists at zopyx.com Wed Oct 20 00:24:03 2010
From: lists at zopyx.com (Andreas Jung)
Date: Wed, 20 Oct 2010 06:24:03 +0200
Subject: [Zope] Plone the new Zope?
In-Reply-To: <201010191450.29390.kosh@aesaeion.com>
References:
<201010191450.29390.kosh@aesaeion.com>
Message-ID: <4CBE6EE3.5050602@zopyx.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
William Heymann wrote:
>
> Zope 2 itself is fine. I just doubt many people using it use zope.org.
>
zope.org is scheduled to be relaunched _very_ soon.
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJMvm7jAAoJEADcfz7u4AZjUr4LwMLpytlx8W2JxyDJBMq/45vT
bwAM2N5ND35C053lt6fwi4589uNWJK2P0iQsxD4Nb2NijK/plmSuy2QSvAeA7e73
7Il7pwW4pN1cc32gLlJkxTO8MsyEbHoXR38Cc/OVEkY43rtqiXbYIZyK+kN3Ts+E
rw+KdZWbTarv+qlk5G8lpShFzi5eyumDRMnvPH51bzH42JsMXas9V9GmWyhnBKBv
Tek6ygwErzpd0zmtEVntuG0FP5+4FjMLAswxIvOSK4c8N6yCZ9L0uBQ0ybZVfdvN
hVq/8j+MAGcraxmAm6ARHc8WTAV4ow1+XDLiHBMczX1Y3gVQ1Wab0Hxq5LIsB1fe
chQRqaTr1VAeIXkqcKWWiFi4jRS0RlY9pyQWyCtljhMaqge1RcVbCS/D/+mfestA
L8CV1h+s6aBGz95SvrIrtmFsn4Mdm2Kdt/Qt5Kab4ToC/jpeKyHgE2k8TADM5a6j
fA6bZoDVml7ZC7pSZOK0m832iqFVHkE=
=hRHF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20101020/5d6ae284/attachment.vcf
From briansullivan at gmail.com Thu Oct 21 18:28:24 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Thu, 21 Oct 2010 18:28:24 -0400
Subject: [Zope] Persist password in CookieCrumbler
Message-ID:
Can I persist the password using CookieCrumbler (in addition to the
user name)? Has anybody made this modification and can supply the
modified product or code. I made a stab at it but obviously my level
of understanding is not up to snuff 'cause I can't get it to work.
What are the implications/problems that might result from doing this?
From peter at fry-it.com Fri Oct 22 03:43:14 2010
From: peter at fry-it.com (Peter Bengtsson)
Date: Fri, 22 Oct 2010 08:43:14 +0100
Subject: [Zope] Persist password in CookieCrumbler
In-Reply-To:
References:
Message-ID:
I wrote something a long time ago which did this. Download
http://www.issuetrackerproduct.com/Download#CookieCrumblerIssueTrackerProduct
And read some of the source> I think what you have to do is override
its setAuthCookie method somehow and there you can set 'expires' to be
a date far in the future.
On 21 October 2010 23:28, Brian Sullivan wrote:
> Can I persist the password using CookieCrumbler (in addition to the
> user name)? Has anybody made this modification and can supply the
> modified product or code. I made a stab at it but obviously my level
> of understanding is not up to snuff 'cause I can't get it to work.
>
> What are the implications/problems that might result from doing this?
> _______________________________________________
> Zope maillist ?- ?Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** ? No cross posts or HTML encoding! ?**
> (Related lists -
> ?https://mail.zope.org/mailman/listinfo/zope-announce
> ?https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun crosstips.org
From briansullivan at gmail.com Fri Oct 22 09:25:27 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Fri, 22 Oct 2010 09:25:27 -0400
Subject: [Zope] Persist password in CookieCrumbler
In-Reply-To:
References:
Message-ID:
Thanks -- will have a look.
On Fri, Oct 22, 2010 at 3:43 AM, Peter Bengtsson wrote:
> I wrote something a long time ago which did this. Download
> http://www.issuetrackerproduct.com/Download#CookieCrumblerIssueTrackerProduct
> And read some of the source> I think what you have to do is override
> its setAuthCookie method somehow and there you can set 'expires' to be
> a date far in the future.
>
> On 21 October 2010 23:28, Brian Sullivan wrote:
>> Can I persist the password using CookieCrumbler (in addition to the
>> user name)? Has anybody made this modification and can supply the
>> modified product or code. I made a stab at it but obviously my level
>> of understanding is not up to snuff 'cause I can't get it to work.
>>
>> What are the implications/problems that might result from doing this?
>> _______________________________________________
>> Zope maillist ?- ?Zope at zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> ** ? No cross posts or HTML encoding! ?**
>> (Related lists -
>> ?https://mail.zope.org/mailman/listinfo/zope-announce
>> ?https://mail.zope.org/mailman/listinfo/zope-dev )
>>
>
>
>
> --
> Peter Bengtsson,
> work www.fry-it.com
> home www.peterbe.com
> hobby www.issuetrackerproduct.com
> fun crosstips.org
>
From tseaver at palladion.com Fri Oct 22 12:34:55 2010
From: tseaver at palladion.com (Tres Seaver)
Date: Fri, 22 Oct 2010 12:34:55 -0400
Subject: [Zope] Persist password in CookieCrumbler
In-Reply-To:
References:
Message-ID:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/21/2010 06:28 PM, Brian Sullivan wrote:
> Can I persist the password using CookieCrumbler (in addition to the
> user name)? Has anybody made this modification and can supply the
> modified product or code. I made a stab at it but obviously my level
> of understanding is not up to snuff 'cause I can't get it to work.
>
> What are the implications/problems that might result from doing this?
The obvious issue with a beyond-this-session auth cookie is that it
enables anybody who can run that browser / profile to authenticate as
the user being persisted. I would consider this an unacceptable risk
for any site where the authentication was intended for anything more
than "keep spambots out" (i.e., you might as well be using OpenID).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzBvS4ACgkQ+gerLs4ltQ50YwCgo8lBRu2rSifUDKllvWdXd90l
efMAnRjJH8rc+4nXBG9z4Fru4MXW+oq+
=UNOh
-----END PGP SIGNATURE-----
From briansullivan at gmail.com Fri Oct 22 12:46:06 2010
From: briansullivan at gmail.com (Brian Sullivan)
Date: Fri, 22 Oct 2010 12:46:06 -0400
Subject: [Zope] Persist password in CookieCrumbler
In-Reply-To:
References:
Message-ID:
On Fri, Oct 22, 2010 at 12:34 PM, Tres Seaver wrote:
> The obvious issue with a beyond-this-session auth cookie is that it
> enables anybody who can run that browser / profile to authenticate as
> the user being persisted. ?I would consider this an unacceptable risk
> for any site where the authentication was intended for anything more
> than "keep spambots out" (i.e., you might as well be using OpenID).
>
Isn't this about the same risk as the browser saving the id/password
pair for the site? Certainly on a public or multiuser machine this
would not be a good idea and appropriate warnings should be given.
(it seems to me that all browsers do this and most users take advantage of this)
From chris at simplistix.co.uk Fri Oct 22 15:05:17 2010
From: chris at simplistix.co.uk (Chris Withers)
Date: Fri, 22 Oct 2010 20:05:17 +0100
Subject: [Zope] Asynchronous triggering of events
In-Reply-To:
References: <4CBCB638.10701@simplistix.co.uk> <4CBCBBD5.3010805@simplistix.co.uk>
Message-ID: <4CC1E06D.4040607@simplistix.co.uk>
On 19/10/2010 19:44, Jeff Peterson wrote:
> Nope, Bluebream (formerly known as Zope3) is the new Zope, though Zope2 is alive and very well. Might consider peeking at Grok as well. Though I don't know if either of those will help you.
I wouldn't recommend anything other than repoze.bfg myself!
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk