From jtinsky@mindspring.com Sun Apr 1 00:54:19 2001
From: jtinsky@mindspring.com (Jim Tinsky)
Date: Sat, 31 Mar 2001 16:54:19 -0800
Subject: [Zope-CMF] Installation problems on win98
Message-ID: <001001c0ba46$48fb9c20$0301000a@digitaria.com>
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C0BA03.3A308360
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I've unzipped the CMF 1.0 files and placed them in my products folder =
but when I restart I keep getting the following errors:
>From the dos window when I start:
2001-04-01T00:46:46 ERROR(200) Zope Couldn't import Products.CMFTopic
Traceback (innermost last):
File C:\Program Files\Zope\lib\python\OFS\Application.py, line 530, in =
import_
products
(Object: string)
File C:\Program Files\Zope\lib\python\Products\CMFTopic\__init__.py, =
line 86,
in ?
File C:\Program Files\Zope\lib\python\Products\CMFTopic\Topic.py, line =
87, in
?
ImportError: cannot import name PortalFolder
>From the CMFCore product:=20
Traceback (innermost last):
File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, =
in import_products
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Program Files\Zope\lib\python\Products\CMFCore\__init__.py", =
line 89, in ?
import PortalObject, PortalContent, PortalFolder
File "C:\Program =
Files\Zope\lib\python\Products\CMFCore\PortalObject.py", line 87, in ?
from PortalFolder import PortalFolder
File "C:\Program =
Files\Zope\lib\python\Products\CMFCore\PortalFolder.py", line 120, in ?
class PortalFolder( Folder, DynamicType ):
File "C:\Program Files\Zope\lib\python\OFS\ObjectManager.py", line =
221, in __class_init__
default__class_init__(self)
File "C:\Program Files\Zope\lib\python\App\class_init.py", line 117, =
in default__class_init__
security_info.apply(self)
File "C:\Program Files\Zope\lib\python\AccessControl\SecurityInfo.py", =
line 245, in apply
entry =3D (permission_name, tuple(names), tuple(roles))
TypeError: tuple() argument must be a sequence
>From CMFDefault:Traceback (innermost last):
File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, =
in import_products
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Program =
Files\Zope\lib\python\Products\CMFDefault\__init__.py", line 90, in ?
import Portal
File "C:\Program Files\Zope\lib\python\Products\CMFDefault\Portal.py", =
line 87, in ?
from Products.CMFCore.PortalObject import PortalObjectBase
ImportError: cannot import name PortalObjectBase
>From CMFTopic:Traceback (innermost last):
File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, =
in import_products
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Program Files\Zope\lib\python\Products\CMFTopic\__init__.py", =
line 86, in ?
import Topic
File "C:\Program Files\Zope\lib\python\Products\CMFTopic\Topic.py", =
line 87, in ?
from Products.CMFCore.PortalFolder import PortalFolder
ImportError: cannot import name PortalFolder
------=_NextPart_000_000D_01C0BA03.3A308360
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I've unzipped the CMF 1.0 files and =
placed them in=20
my products folder but when I restart I keep getting the following=20
errors:
Traceback (innermost=20
last): File "C:\Program =
Files\Zope\lib\python\OFS\Application.py",=20
line 530, in import_products =
product=3D__import__(pname,=20
global_dict, global_dict, silly) File "C:\Program=20
Files\Zope\lib\python\Products\CMFCore\__init__.py", line 89, in=20
? import PortalObject, PortalContent,=20
PortalFolder File "C:\Program=20
Files\Zope\lib\python\Products\CMFCore\PortalObject.py", line 87, in=20
? from PortalFolder import PortalFolder =
File=20
"C:\Program Files\Zope\lib\python\Products\CMFCore\PortalFolder.py", =
line 120,=20
in ? class PortalFolder( Folder, DynamicType =
): =20
File "C:\Program Files\Zope\lib\python\OFS\ObjectManager.py", line 221, =
in=20
__class_init__ =
default__class_init__(self) File=20
"C:\Program Files\Zope\lib\python\App\class_init.py", line 117, in=20
default__class_init__ =
security_info.apply(self) =20
File "C:\Program Files\Zope\lib\python\AccessControl\SecurityInfo.py", =
line 245,=20
in apply entry =3D (permission_name, tuple(names), =
tuple(roles)) TypeError: tuple() argument must be a=20
sequence
From =
CMFDefault:
Traceback (innermost last):
File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, =
in import_products
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Program =
Files\Zope\lib\python\Products\CMFDefault\__init__.py", line 90, in ?
import Portal
File "C:\Program Files\Zope\lib\python\Products\CMFDefault\Portal.py", =
line 87, in ?
from Products.CMFCore.PortalObject import PortalObjectBase
ImportError: cannot import name PortalObjectBase
From =
CMFTopic:
Traceback (innermost last):
File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, =
in import_products
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Program Files\Zope\lib\python\Products\CMFTopic\__init__.py", =
line 86, in ?
import Topic
File "C:\Program Files\Zope\lib\python\Products\CMFTopic\Topic.py", =
line 87, in ?
from Products.CMFCore.PortalFolder import PortalFolder
ImportError: cannot import name PortalFolder
------=_NextPart_000_000D_01C0BA03.3A308360--
From tseaver@digicool.com Sun Apr 1 14:03:51 2001
From: tseaver@digicool.com (Tres Seaver)
Date: Sun, 01 Apr 2001 09:03:51 -0400
Subject: [Zope-CMF] Installation problems on win98
References: <001001c0ba46$48fb9c20$0301000a@digitaria.com>
Message-ID: <3AC72737.9F352A9@novacoxmail.com>
> Jim Tinsky wrote:
>
> I've unzipped the CMF 1.0 files and placed them in my products
> folder but when I restart I keep getting the following errors:
>
> From the dos window when I start:
> From the CMFCore product:
> Traceback (innermost last):
> File "C:\Program Files\Zope\lib\python\OFS\Application.py", line 530, in import_products
> product=__import__(pname, global_dict, global_dict, silly)
> File "C:\Program Files\Zope\lib\python\Products\CMFCore\__init__.py", line 89, in ?
> import PortalObject, PortalContent, PortalFolder
> File "C:\Program Files\Zope\lib\python\Products\CMFCore\PortalObject.py", line 87, in ?
> from PortalFolder import PortalFolder
> File "C:\Program Files\Zope\lib\python\Products\CMFCore\PortalFolder.py", line 120, in ?
> class PortalFolder( Folder, DynamicType ):
> File "C:\Program Files\Zope\lib\python\OFS\ObjectManager.py", line 221, in __class_init__
> default__class_init__(self)
> File "C:\Program Files\Zope\lib\python\App\class_init.py", line 117, in default__class_init__
> security_info.apply(self)
> File "C:\Program Files\Zope\lib\python\AccessControl\SecurityInfo.py", line 245, in apply
> entry = (permission_name, tuple(names), tuple(roles))
> TypeError: tuple() argument must be a sequence
You need to be running Zope 2.3.1b1 or later, or to apply the
following patch you your Zope:
$ cvs diff -u -r Zope-2_3_0-src lib/python/AccessControl/SecurityInfo.py
Index: lib/python/AccessControl/SecurityInfo.py
===================================================================
RCS file: /cvs-repository/Zope2/lib/python/AccessControl/SecurityInfo.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SecurityInfo.py 2001/01/16 20:01:09 1.7
+++ SecurityInfo.py 2001/02/08 16:45:35 1.8
@@ -242,7 +242,7 @@
for permission_name, names in permissions:
roles = getRoles(permission_name, ())
if len(roles):
- entry = (permission_name, tuple(names), tuple(roles))
+ entry = (permission_name, tuple(names), tuple(roles.keys()))
else:
entry = (permission_name, tuple(names))
__ac_permissions__.append(entry)
I would recommend upgrading to Zope 2.3.1, myself.
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org
From tseaver@digicool.com Sun Apr 1 14:16:34 2001
From: tseaver@digicool.com (Tres Seaver)
Date: Sun, 01 Apr 2001 09:16:34 -0400
Subject: [Zope-CMF] using the subject property
References:
Message-ID: <3AC72A32.D9F8E28A@novacoxmail.com>
Ben Riga wrote:
>
> >> How can I build a list of all the subjects that have been used?
> >
> >Ask the catalog:
> >
> >
>
> I've tried this a bunch of different ways but can't get it to give me the
> list of subjects. It is definitely iterating through something. I just
> don't know how to get at the data to display it. Can you point me to an
> example I can study to learn more about this?
>
> I've copied my snippet below. It's in a DTML-method at
> /DSP/portal_skins/custom/SubjList. I'm calling it with a SubjList> from the /DSP/portal_skins/custom/index_html.
>
>
>
Hmm, this works for me on a customized search form:
Subject
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org
From briga@borland.com Sun Apr 1 20:00:02 2001
From: briga@borland.com (Ben Riga)
Date: Sun, 1 Apr 2001 12:00:02 -0700
Subject: [Zope-CMF] using the subject property
In-Reply-To: <3AC72A32.D9F8E28A@novacoxmail.com>
Message-ID:
>Hmm, this works for me on a customized search form:
>
>
>
Subject
>
>
>
>
Cool. Thanks. The 'dtml-sequence-item' is what I was looking for. Looking
now at the documentation, I'm embarassed that I missed that. The next step
is to fire a topic/query that lists items in a 'subject'. I'll play with
that over the next couple of days.
This stuff is cool but needs more documentation, a really comprehensive
tutorial and/or a demo portal to steal/learn code from. I realize that this
is in the works. With solid documentation and a bit more marketing this
stuff would be unstoppable. Kind of like the effect Linux has had on
Windows. Only you'd be stepping on Interwoven, Vignette and maybe
Broadvision.
This list is a huge help.
Thanks again,
Ben
From dieter@handshake.de Sun Apr 1 20:21:09 2001
From: dieter@handshake.de (Dieter Maurer)
Date: Sun, 1 Apr 2001 21:21:09 +0200 (CEST)
Subject: [Zope-CMF] using the subject property
In-Reply-To: <879864246@toto.iv>
Message-ID: <15047.32677.925764.415905@lindm.dm>
Ben Riga writes:
> >> How can I build a list of all the subjects that have been used?
> ....
>
>
>
> sequence-number:
> sequence-key: , title:
"uniqueValuesFor" returns a list of strings (in your case).
"sequence-key" only makes sense for lists of pairs.
Dieter
From webmaven@lvcm.com Sun Apr 1 23:27:06 2001
From: webmaven@lvcm.com (Michael R. Bernstein)
Date: Sun, 01 Apr 2001 15:27:06 -0700
Subject: [Zope-CMF] Trust Metrics in Python (pymmetry)
Message-ID: <3AC7AB3A.9F2F5AF@lvcm.com>
I just happened across this interesting article:
http://advogato.org/article/263.html
Which announces a implementation of advogato's 'trust
metric' system in Python:
http://sourceforge.net/projects/pymmetry
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/pymmetry/?cvsroot=pymmetry
This would seem like great addition to the CMF (I know, I
know, patches accepted) and/or Swishdot. I haven't looked at
the code yet to see if this is something that I should
attempt with my current level of Zope Zen, but it looks
promising.
Cheers,
Michael Bernstein.
From tseaver@digicool.com Mon Apr 2 00:11:11 2001
From: tseaver@digicool.com (Tres Seaver)
Date: Sun, 1 Apr 2001 19:11:11 -0400 (EDT)
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
On Sun, 1 Apr 2001, Ben Riga wrote:
> >Hmm, this works for me on a customized search form:
> >
> >
> >
Subject
> >
> >
> >
> >
>
> Cool. Thanks. The 'dtml-sequence-item' is what I was looking
> for. Looking now at the documentation, I'm embarassed that I
> missed that. The next step is to fire a topic/query that lists
> items in a 'subject'. I'll play with that over the next couple
> of days.
That should be straightforward: add a "String Criterion" for
"Subject" on the "Criteria" page of the topic.
> This stuff is cool but needs more documentation, a really
> comprehensive tutorial and/or a demo portal to steal/learn code
> from. I realize that this is in the works. With solid
> documentation and a bit more marketing this stuff would be
> unstoppable. Kind of like the effect Linux has had on Windows.
> Only you'd be stepping on Interwoven, Vignette and maybe
> Broadvision.
Agreed. However, putting full-bore "productizing" resources
into that effort is a non-trivial problem for a consulting /
services company; we are too busy using it for our clients,
plus evolving it, to go there just yet.
> This list is a huge help.
>
> Thanks again,
You are most welcome. As a long-time "Borland Barbarian" (I
was the founding president of the Houston Association of Delphi
Professionals, and still have the manual for Turbo Pascal 1.0
for CP/M), I'm delighted to be of service.
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org
From chrisw@nipltd.com Mon Apr 2 01:00:10 2001
From: chrisw@nipltd.com (Chris Withers)
Date: Mon, 02 Apr 2001 01:00:10 +0100
Subject: [Zope-CMF] WebDAV, ZPT & CMF
Message-ID: <3AC7C10A.B4BB8FB1@nipltd.com>
Hi,
Has anyone tried editing/customising a CMF instance via WebDAV?
Can WebDAB used as a 'front end' to the CMF or is the normal web interface the
onyl way for 'users' to interact with a site, as opposed to 'editors', etc, if
you see what i mean?
Also, has anyone created any skins using ZPT's yet?
cheers,
Chris
From chrisw@nipltd.com Mon Apr 2 09:36:27 2001
From: chrisw@nipltd.com (Chris Withers)
Date: Mon, 02 Apr 2001 09:36:27 +0100
Subject: [Zope-CMF] Trust Metrics in Python (pymmetry)
References: <3AC7AB3A.9F2F5AF@lvcm.com>
Message-ID: <3AC83A0B.C3910C56@nipltd.com>
"Michael R. Bernstein" wrote:
>
> This would seem like great addition to the CMF (I know, I
> know, patches accepted) and/or Swishdot. I haven't looked at
> the code yet to see if this is something that I should
> attempt with my current level of Zope Zen, but it looks
> promising.
Cool... I'll try and take a look some time soon.
I finally got to customising a CMF Instance last night, and it rocks :-)
I'm trying to decide whether to get the initial Swishdot skin done now (and
maybe in time for the competition... ;-) or try and get it done using ZPT (now
that 1.0 has landed)
What do people think?
cheers,
Chris
PS: Anyone good with GoLive here that I can badger?
From chrisw@nipltd.com Mon Apr 2 09:38:29 2001
From: chrisw@nipltd.com (Chris Withers)
Date: Mon, 02 Apr 2001 09:38:29 +0100
Subject: [Zope-CMF] Sharing bits of Skins between sites
Message-ID: <3AC83A85.DF86DAE9@nipltd.com>
Hi,
Say I wanted to share the 'custom' bit of the skins folder between several CMF
instances, could I just move it up to the folder in which the CMF instances
live?
cheers,
Chris
From seb@jamkit.com Mon Apr 2 10:58:07 2001
From: seb@jamkit.com (Seb Bacon)
Date: 02 Apr 2001 10:58:07 +0100
Subject: [Zope-CMF] WebDAV, ZPT & CMF
In-Reply-To: <3AC7C10A.B4BB8FB1@nipltd.com>
Message-ID:
Chris Withers wrote:
> Hi,
>
> Has anyone tried editing/customising a CMF instance via WebDAV?
>
> Can WebDAB used as a 'front end' to the CMF or is the normal web interface the
> onyl way for 'users' to interact with a site, as opposed to 'editors', etc, if
> you see what i mean?
I've been having a lot of problems with WebDAV - I've not got round to
investigating it properly yet, but there seems to be some problem with
publishing to Member Folders in the CMFDefault over webDAV. Outside
Member Folders everything seems to work OK. I've decided, though, that
in the the context of the CMF WebDAV is not a good idea, since it
removes any way of enforcing inclusion of metadata. This decision
conveniently means I won't need to look into the Member Folder issue,
either...;-)
seb
From patrick@eahd.or.ug Mon Apr 2 11:05:58 2001
From: patrick@eahd.or.ug (Patrick Okui)
Date: Mon, 02 Apr 2001 13:05:58 +0300 (EAT)
Subject: [Zope-CMF] (no subject)
Message-ID: <986205958.3ac84f06152fa@mail.eahd.or.ug>
Hi all;
I recently installed the CMF product on my zope 2.3.0 server with the
patch that was posted on the CMF download site. That went fine; I added
a portal and some members subscribed to it. However, whenever someone tries
to edit his/her homepage and they press the button they get a
screen with the following error....
I also get it when I login as a manager and try to edit the pages.
any ideas???
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: NameError
Error Value: sys
--------------------------------------------------------------------------------
Troubleshooting Suggestions
This resource may be trying to reference a nonexistent object or variable sys.
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source
for this page.
If the error persists please contact the site maintainer. Thank you for your
patience.
Traceback (innermost last):
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 187, in
publish
File /usr/local/www/Zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: DynamicType)
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 171, in
publish
File /usr/local/www/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: document_edit)
File /usr/local/www/Zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
(Object: document_edit)
File /usr/local/www/Zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line
218, in __call__
(Object: document_edit)
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_String.py, line 538,
in __call__
(Object: document_edit)
File /usr/local/www/Zope/lib/python/DocumentTemplate/DT_Util.py, line 334, in
eval
(Object: edit(REQUEST['text_format'],
REQUEST['text'], REQUEST.get('file', '')))
(Info: edit)
File , line 0, in ?
File /usr/local/www/Zope/lib/python/Products/CMFCore/WorkflowCore.py, line
128, in __call__
(Object: edit)
NameError: (see above)
From paul@digicool.com Mon Apr 2 11:11:52 2001
From: paul@digicool.com (Paul Everitt)
Date: Mon, 02 Apr 2001 06:11:52 -0400
Subject: [Zope-CMF] Trust Metrics in Python (pymmetry)
References: <3AC7AB3A.9F2F5AF@lvcm.com> <3AC83A0B.C3910C56@nipltd.com>
Message-ID: <3AC85068.557DDBE6@digicool.com>
Chris Withers wrote:
> I'm trying to decide whether to get the initial Swishdot skin done now (and
> maybe in time for the competition... ;-) or try and get it done using ZPT (now
> that 1.0 has landed)
You should probably go the conservative route and do a DTML skin
version. I'd like to see Swishdot aggressively tinker with the CMF
machinery (e.g. topics) and help us make sure a 1.1 version of the CMF
has a solid foundation for Swishdot.
> What do people think?
I think you'll see page templates pop up in CMF pretty soon. Have you
had much of a chance to look at them, and do they address some of the
issues you had with DTML?
--Paul
From paul@digicool.com Mon Apr 2 11:16:54 2001
From: paul@digicool.com (Paul Everitt)
Date: Mon, 02 Apr 2001 06:16:54 -0400
Subject: [Zope-CMF] WebDAV, ZPT & CMF
References:
Message-ID: <3AC85196.BDCB187@digicool.com>
Seb Bacon wrote:
> I've been having a lot of problems with WebDAV - I've not got round to
> investigating it properly yet, but there seems to be some problem with
> publishing to Member Folders in the CMFDefault over webDAV. Outside
> Member Folders everything seems to work OK. I've decided, though, that
> in the the context of the CMF WebDAV is not a good idea, since it
> removes any way of enforcing inclusion of metadata. This decision
> conveniently means I won't need to look into the Member Folder issue,
> either...;-)
I also had some issues with saving in a member folder, but it only
seemed to happen when I was on the road giving a demo. :^) For some
reason it always worked fine if I saved as a manager outside the portal.
For what it's worth, it *should* work, and moreover it *should* be the
preferred way to author. So you're outta luck with your simplifying
assumption. :^) While out-of-the-box you can't enforce the metadata,
you should be able to customize the PUT handler. As you've probably
noticed, the CMF inserts any metadata in HTML or STX that you don't
provide, so it's part of the way there.
If you think it would be useful, I'll get someone to put up a howto in
the dogbowl about enforcing metadata. You, though, will have to do your
part by:
a. Filling in a nice, reproducible bug regarding WebDAV and member
folders.
b. Help us with the scenario or use case that you'd like for PUT
handling.
--Paul
From chrisw@nipltd.com Mon Apr 2 11:24:05 2001
From: chrisw@nipltd.com (Chris Withers)
Date: Mon, 02 Apr 2001 11:24:05 +0100
Subject: [Zope-CMF] Trust Metrics in Python (pymmetry)
References: <3AC7AB3A.9F2F5AF@lvcm.com> <3AC83A0B.C3910C56@nipltd.com> <3AC85068.557DDBE6@digicool.com>
Message-ID: <3AC85345.6616DF81@nipltd.com>
Paul Everitt wrote:
>
> You should probably go the conservative route and do a DTML skin
> version. I'd like to see Swishdot aggressively tinker with the CMF
> machinery (e.g. topics) and help us make sure a 1.1 version of the CMF
> has a solid foundation for Swishdot.
Okay, and besides, then I stand a chance of winning the T-Shirt and mug ;-)
> > What do people think?
>
> I think you'll see page templates pop up in CMF pretty soon. Have you
> had much of a chance to look at them, and do they address some of the
> issues you had with DTML?
I've only had a brief look but they seem to handle all of my gripes and more :-)
(now if I could only persuade GoLive to play ncie with Zope over WebDAV...)
cheers,
Chris
From nagarjun@hbcse.tifr.res.in Mon Apr 2 11:27:22 2001
From: nagarjun@hbcse.tifr.res.in (Nagarjuna G.)
Date: Mon, 2 Apr 2001 15:57:22 +0530 (IST)
Subject: [Zope-CMF] Members Join Off
Message-ID:
Could any one suggest me a way of suspending members `join in' off,
but `login' on, in CMF. I want the admin to create the member
folders, and once created the members can manage their area.
Nagarjuna
From wschan@bee-net.com Mon Apr 2 11:54:06 2001
From: wschan@bee-net.com (Chan Wai Shan)
Date: Mon, 02 Apr 2001 18:54:06 +0800
Subject: [Zope-CMF] installing CMF-1.0
Message-ID: <3AC85A4E.B43B5531@bee-net.com>
--------------456F6345D58BF18168191612
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
Dear all,
The readme file stated the following assumptions
Assumptions
- New installation
- Zope configured using INSTANCE_HOME, '/var/zope', and
SOFTWARE_HOME, '/usr/local/zope/Zope-2.3.1b1'.
Q. Must?
Q. Any workaround?
Regards,
wschan@bee-net.com
Application Development Programmer
--------------456F6345D58BF18168191612
Content-Type: text/html; charset=big5
Content-Transfer-Encoding: 7bit
Dear all,
The readme file stated the following assumptions
Assumptions
- New installation
- Zope configured using INSTANCE_HOME, '/var/zope', and SOFTWARE_HOME, '/usr/local/zope/Zope-2.3.1b1'.
Q. Must? Q. Any workaround?
Regards, wschan@bee-net.com Application Development Programmer
--------------456F6345D58BF18168191612--
From tony.mcdonald@ncl.ac.uk Mon Apr 2 12:43:11 2001
From: tony.mcdonald@ncl.ac.uk (Tony McDonald)
Date: Mon, 02 Apr 2001 12:43:11 +0100
Subject: [Zope-CMF] installing CMF-1.0
In-Reply-To: <3AC85A4E.B43B5531@bee-net.com>
Message-ID:
On 2/4/01 11:54 am, "Chan Wai Shan" wrote:
> Dear all,
>
> The readme file stated the following assumptions
>
> Assumptions
>
> - New installation
>
> - Zope configured using INSTANCE_HOME, '/var/zope', and
> SOFTWARE_HOME, '/usr/local/zope/Zope-2.3.1b1'.
>
>
> Q. Must?
> Q. Any workaround?
I saw that and thought - uh-oh.
Installed the software (moved the CMF* files into lib/python/Products
basically) and it all seems ok to me...
Hth
tone
--
Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
From jens@digicool.com Mon Apr 2 12:49:08 2001
From: jens@digicool.com (Jens Vagelpohl)
Date: Mon, 02 Apr 2001 07:49:08 -0400
Subject: [Zope-CMF] installing CMF-1.0
In-Reply-To: <3AC85A4E.B43B5531@bee-net.com>
Message-ID:
the only important piece is that you use a Zope version higher than 2.3.0
and make sure that CMFTopic, CMFCore and CMFDefault are copied to or linked
into your zope installation's Products directory
(/lib/python/Products) so that Zope sees them.
restarting is mandatory after that of course.
jens
on 4/2/01 6:54, Chan Wai Shan at wschan@bee-net.com wrote:
> Dear all,
>
> The readme file stated the following assumptions
>
> Assumptions
>
> - New installation
>
> - Zope configured using INSTANCE_HOME, '/var/zope', and
> SOFTWARE_HOME, '/usr/local/zope/Zope-2.3.1b1'.
>
>
> Q. Must?
> Q. Any workaround?
>
> Regards,
> wschan@bee-net.com
> Application Development Programmer
>
>
From khine@bmpublications.co.uk Mon Apr 2 15:08:56 2001
From: khine@bmpublications.co.uk (Norman Khine)
Date: Mon, 2 Apr 2001 15:08:56 +0100
Subject: [Zope-CMF] CMF and Z39.50 protocol
Message-ID:
This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C0BB86.D6DC7DC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Here is an excerpt from the http://lcweb.loc.gov/z3950/agency/markup/01.html
in respect to the above protocol which ALL libraries and information content
provider software are promoting in one way or another.
"This standard specifies a client/server based protocol for Information
Retrieval. It specifies procedures and structures for a client to search a
database provided by a server, retrieve database records identified by a
search, scan a term list, and sort a result set. Access control, resource
control, extended services, and a "help" facility are also supported. The
protocol addresses communication between corresponding information retrieval
applications, the client and server (which may reside on different
computers); it does not address interaction between the client and the
end-user."
The CMF/Zope I believe addresses the interaction between the client and the
end-user, and I suppose with the Standard Resource Metadata form a user can
build and catalog the particular "object" as required.
My question, well not so much a question but more of a requirement I have
found to exist within the British establishment and its educational and
learning institutions is for any software that provide content to support
the Z39.50 search protocol.
I think this will also enhance content provided by CMF as the Z39.50 search
protocol was developed to give searchers the ability to query any catalogue
or bibliographic file without needing to understand the different search
interfaces provided by different software suppliers.
Thanks for reading so far.
Norman
------=_NextPart_000_001D_01C0BB86.D6DC7DC0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"
eJ8+IjgOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHBAACAA8ACAAAAAEA9gAB
A5AGAPwIAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAA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AAAAGhQAAAAAAAAMAH4AIIAYAAAAAAMAAAAAA
AABGAAAAAAGFAAAAAAAACwAogAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADACmACCAGAAAA
AADAAAAAAAAARgAAAAARhQAAAAAAAAMAK4AIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAAHgA6
gAggBgAAAAAAwAAAAAAAAEYAAAAANoUAAAEAAAABAAAAAAAAAB4AO4AIIAYAAAAAAMAAAAAAAABG
AAAAADeFAAABAAAAAQAAAAAAAAAeADyACCAGAAAAAADAAAAAAAAARgAAAAA4hQAAAQAAAAEAAAAA
AAAAAgH4DwEAAAAQAAAANIcE9Sk91BGZDAAAHNYEIwIB+g8BAAAAEAAAADSHBPUpPdQRmQwAABzW
BCMCAfsPAQAAAHcAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJYLkRMTAAAAAAAAAAATklU
Qfm/uAEAqgA32W4AAABDOlxQcm9ncmFtIEZpbGVzXENvbW1vbiBGaWxlc1xTeXN0ZW1cTWFwaVwx
MDMzXE5UXG91dGxvb2sucHN0AAADAP4PBQAAAAMADTT9NwAAAgF/AAEAAAA6AAAAPE5FQkJKSkFN
REVJSEJJQ0RDTkJPTUVKTENIQUEua2hpbmVAYm1wdWJsaWNhdGlvbnMuY28udWs+AAAAAwAGECe7
q84DAAcQKQUAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABIRVJFSVNBTkVYQ0VSUFRGUk9N
VEhFSFRUUDovL0xDV0VCTE9DR09WL1ozOTUwL0FHRU5DWS9NQVJLVVAvMDFIVE1MSU5SRVNQRUNU
VE9USEVBQk9WRVBST1RPQ09MV0hJQ0hBAAAAAF0r
------=_NextPart_000_001D_01C0BB86.D6DC7DC0--
From jeffrey@Digicool.com Mon Apr 2 15:08:22 2001
From: jeffrey@Digicool.com (Jeffrey P Shell)
Date: Mon, 02 Apr 2001 10:08:22 -0400
Subject: [Zope-CMF] WebDAV, ZPT & CMF
In-Reply-To:
Message-ID:
On 4/2/01 5:58 AM, "Seb Bacon" wrote:
> Chris Withers wrote:
>> Hi,
>>
>> Has anyone tried editing/customising a CMF instance via WebDAV?
>>
>> Can WebDAB used as a 'front end' to the CMF or is the normal web interface
>> the
>> onyl way for 'users' to interact with a site, as opposed to 'editors', etc,
>> if
>> you see what i mean?
>
> I've been having a lot of problems with WebDAV - I've not got round to
> investigating it properly yet, but there seems to be some problem with
> publishing to Member Folders in the CMFDefault over webDAV. Outside
> Member Folders everything seems to work OK. I've decided, though, that
> in the the context of the CMF WebDAV is not a good idea, since it
> removes any way of enforcing inclusion of metadata. This decision
> conveniently means I won't need to look into the Member Folder issue,
> either...;-)
While it doesn't enforce Metadata, it does allow it (when it comes to the
CMF Document class). You can fill in the metadata in tags. When
authoring HTML via FTP or the WebDAV source port in the CMF, all the meta
tags get sent to the client on subsequent edits (anything done after
creation). Granted, one still has to know to look for the meta tags in
their editor, but can be done. Enforcement? None. Mostly because it's
very hard to communicate with the clients well - you can't [easily] say "Oh,
you *need* to fill in a Subject and Description meta tag."
I'll look into WebDAV and GoLive into member folders a bit more today.
Jeffrey P Shell, jeffrey@Digicool.com
http://www.digicool.com/ | http://www.zope.org
From webmaven@lvcm.com Mon Apr 2 16:37:09 2001
From: webmaven@lvcm.com (Michael R. Bernstein)
Date: Mon, 02 Apr 2001 08:37:09 -0700
Subject: [Zope-CMF] CMF and Z39.50 protocol
References:
Message-ID: <3AC89CA4.72980DF4@lvcm.com>
Norman Khine wrote:
>
> [snip]
> The CMF/Zope I believe addresses the interaction between the client and the
> end-user, and I suppose with the Standard Resource Metadata form a user can
> build and catalog the particular "object" as required.
> [snip]
> I think this will also enhance content provided by CMF as the Z39.50 search
> protocol was developed to give searchers the ability to query any catalogue
> or bibliographic file without needing to understand the different search
> interfaces provided by different software suppliers.
Personally, I'd be more interested (in the short term) for
Zope to be able to act as a Z39.50 *client*, instead.
Here is wxPresso, a Python implementation of the protocol:
http://www.bsn.com/Z39.50/wxPresso.html
Which I found on the following page:
http://nile.dmu.ac.uk/elise/el2_dels/z3950.htm
And here are some old postings to the Zope-dev list:
http://lists.zope.org/pipermail/zope-dev/1999-November/002068.html
http://classic.zope.org/pipermail/zope-dev/2000-May/004437.html
HTH,
Michael Bernstein.
From khine@bmpublications.co.uk Mon Apr 2 16:48:01 2001
From: khine@bmpublications.co.uk (Norman Khine)
Date: Mon, 2 Apr 2001 16:48:01 +0100
Subject: [Zope-CMF] CMF and Z39.50 protocol
Message-ID:
This is a multi-part message in MIME format.
------=_NextPart_000_0023_01C0BB94.AEB252D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Thanks Michael, I think this was what I was looking for setting a client.
Personally, I'd be more interested (in the short term) for Zope to be able
to act as a Z39.50 *client*, instead.
Here is wxPresso, a Python implementation of the protocol:
Which I found on the following page:
And here are some old postings to the Zope-dev list:
HTH, Michael Bernstein.
------=_NextPart_000_0023_01C0BB94.AEB252D0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"
eJ8+IgIPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHBAACABAALgAAAAEAHQEB
A5AGAOgGAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAGAAAAENNRiBhbmQgWjM5LjUwIHByb3RvY29sAAIBcQABAAAAFgAAAAHAu4wTwdrfCb0nQxHV
mhcAYJcWaGAAAAIBHQwBAAAAIAAAAFNNVFA6S0hJTkVAQk1QVUJMSUNBVElPTlMuQ08uVUsACwAB
DgAAAABAAAYOAKzNA4y7wAECAQoOAQAAABgAAAAAAAAANIcE9Sk91BGZDAAAHNYEI8KAAAALAB8O
AQAAAAIBCRABAAAAkgIAAI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khine@bmpublications.co.uk (Norman Khine)
Date: Mon, 2 Apr 2001 17:02:26 +0100
Subject: [Zope-CMF] CMF and Z39.50 protocol
In-Reply-To: <3AC89CA4.72980DF4@lvcm.com>
Message-ID:
Thanks Micheal,
This is very interesting, there is not a lot of movement from CMF on this
subject, is there a particular reason for this, apart from the obvious once,
time.
I'll try this evening to set up the the server for FreeBSD and then link
this to MySQL from which maybe one can write a client for zope?!?
Norman
-----Original Message-----
From: webmaven [mailto:webmaven]On Behalf Of Michael R. Bernstein
Sent: Monday, April 02, 2001 4:37 PM
To: Norman Khine
Cc: Zope-Cmf
Subject: Re: [Zope-CMF] CMF and Z39.50 protocol
Norman Khine wrote:
>
> [snip]
> The CMF/Zope I believe addresses the interaction between the client and
the
> end-user, and I suppose with the Standard Resource Metadata form a user
can
> build and catalog the particular "object" as required.
> [snip]
> I think this will also enhance content provided by CMF as the Z39.50
search
> protocol was developed to give searchers the ability to query any
catalogue
> or bibliographic file without needing to understand the different search
> interfaces provided by different software suppliers.
Personally, I'd be more interested (in the short term) for
Zope to be able to act as a Z39.50 *client*, instead.
Here is wxPresso, a Python implementation of the protocol:
http://www.bsn.com/Z39.50/wxPresso.html
Which I found on the following page:
http://nile.dmu.ac.uk/elise/el2_dels/z3950.htm
And here are some old postings to the Zope-dev list:
http://lists.zope.org/pipermail/zope-dev/1999-November/002068.html
http://classic.zope.org/pipermail/zope-dev/2000-May/004437.html
HTH,
Michael Bernstein.
From shane@digicool.com Mon Apr 2 17:01:16 2001
From: shane@digicool.com (Shane Hathaway)
Date: Mon, 02 Apr 2001 12:01:16 -0400
Subject: [Zope-CMF] Sharing bits of Skins between sites
References: <3AC83A85.DF86DAE9@nipltd.com>
Message-ID: <3AC8A24C.74187C59@digicool.com>
Chris Withers wrote:
> Say I wanted to share the 'custom' bit of the skins folder between several CMF
> instances, could I just move it up to the folder in which the CMF instances
> live?
Short answer: yes!
Long answer: before doing that, you'll probably want to create a folder
other than "custom". It's really just an example. In portal_skins,
create a folder called "swishdot" and add it as a layer in at least one
skin path.
Shane
From info@sjeems.nl Mon Apr 2 17:07:47 2001
From: info@sjeems.nl (Info@sjeems.nl)
Date: Mon, 2 Apr 2001 18:07:47 +0200
Subject: [Zope-CMF] Search
Message-ID: <003901c0bb8f$107cb6a0$9600000a@blah>
This is a multi-part message in MIME format.
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello can someone help me?
I've setup my CMF portal and everything works fine except for the search =
parts.
If I search with the search form I get this error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: IOError
Error Value: [Errno 22] Invalid argument
If I search using the searchbox (and shouldn't get any results) in the =
top bar I get this error:
Zope Error
Zope has encountered an error while publishing this resource.=20
TypeError
Sorry, a Zope error occurred.=20
Traceback (innermost last):
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
223, in publish_module
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
187, in publish
File C:\Program Files\james\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
(Object: Traversable)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
171, in publish
File C:\Program Files\james\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
(Object: search)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
112, in call_object
(Object: search)
File C:\Program =
Files\james\lib\python\Products\CMFCore\FSDTMLMethod.py, line 218, in =
__call__
(Object: search)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: search)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Let.py, =
line 146, in render
(Object: isAnon=3D"portal_membership.isAnonymousUser()"
AuthClass=3D"isAnon and 'GuestActions' or 'MemberActions'"
uname=3D"isAnon and 'Guest'
or =
portal_membership.getAuthenticatedMember().getUserName()"
obj=3D"this()"
actions=3D"portal_actions.listFilteredActionsFor(obj)"
user_actions=3D"actions['user']"
folder_actions=3D"actions['folder']"
object_actions=3D"actions['object'] + actions['workflow']"
global_actions=3D"actions['global']")
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Util.py, =
line 334, in eval
(Object: portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File , line 0, in ?
File C:\Program =
Files\james\lib\python\Products\CMFCore\ActionsTool.py, line 162, in =
listFilteredActionsFor
(Object: portal_actions)
File C:\Program =
Files\james\lib\python\Products\CMFCore\WorkflowTool.py, line 222, in =
listActions
(Object: portal_workflow)
File C:\Program =
Files\james\lib\python\Products\CMFCore\DefaultWorkflow.py, line 209, in =
listGlobalActions
File C:\Program =
Files\james\lib\python\Products\CMFCore\CatalogTool.py, line 200, in =
searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\ZCatalog.py, =
line 535, in searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 651, in searchResults
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 542, in _indexedSearch
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 513, in _apply_index
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 576, in query
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 616, in evaluate
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 448, in __getitem__
TypeError: expected integer key
Thanx,
James
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello can someone help me?
I've setup my CMF portal and everything works =
fine=20
except for the search parts.
If I search with the search form I get this=20
error:
Zope Error
Zope has encountered an error while =
publishing=20
this resource.
If I search using the searchbox (and =
shouldn't get=20
any results) in the top bar I get this error:
Zope Error
Zope has encountered an error while publishing this resource. =
TypeError
Sorry, a Zope error occurred.
Traceback (innermost last):
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
223, in publish_module
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
187, in publish
File C:\Program Files\james\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
(Object: Traversable)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
171, in publish
File C:\Program Files\james\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
(Object: search)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
112, in call_object
(Object: search)
File C:\Program =
Files\james\lib\python\Products\CMFCore\FSDTMLMethod.py, line 218, in =
__call__
(Object: search)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: search)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Let.py, =
line 146, in render
(Object: isAnon=3D"portal_membership.isAnonymousUser()"
AuthClass=3D"isAnon and 'GuestActions' or 'MemberActions'"
uname=3D"isAnon and 'Guest'
or =
portal_membership.getAuthenticatedMember().getUserName()"
obj=3D"this()"
actions=3D"portal_actions.listFilteredActionsFor(obj)"
user_actions=3D"actions['user']"
folder_actions=3D"actions['folder']"
object_actions=3D"actions['object'] + actions['workflow']"
global_actions=3D"actions['global']")
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Util.py, =
line 334, in eval
(Object: portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File <string>, line 0, in ?
File C:\Program =
Files\james\lib\python\Products\CMFCore\ActionsTool.py, line 162, in =
listFilteredActionsFor
(Object: portal_actions)
File C:\Program =
Files\james\lib\python\Products\CMFCore\WorkflowTool.py, line 222, in =
listActions
(Object: portal_workflow)
File C:\Program =
Files\james\lib\python\Products\CMFCore\DefaultWorkflow.py, line 209, in =
listGlobalActions
File C:\Program =
Files\james\lib\python\Products\CMFCore\CatalogTool.py, line 200, in =
searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\ZCatalog.py, =
line 535, in searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 651, in searchResults
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 542, in _indexedSearch
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 513, in _apply_index
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 576, in query
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 616, in evaluate
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 448, in __getitem__
TypeError: expected integer key
Thanx,
James
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0--
From briga@borland.com Mon Apr 2 17:16:00 2001
From: briga@borland.com (Ben Riga)
Date: Mon, 2 Apr 2001 09:16:00 -0700
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
>That should be straightforward: add a "String Criterion" for
>"Subject" on the "Criteria" page of the topic.
Thanks. I'll try this.
>Agreed. However, putting full-bore "productizing" resources
>into that effort is a non-trivial problem for a consulting /
>services company; we are too busy using it for our clients,
>plus evolving it, to go there just yet.
I understand this all to well. I think that it's the right way to go.
>You are most welcome. As a long-time "Borland Barbarian" (I
>was the founding president of the Houston Association of Delphi
>Professionals, and still have the manual for Turbo Pascal 1.0
>for CP/M), I'm delighted to be of service.
Very cool. I wouldn't wave the TP manual to high. You're dating
yourself.
So have you tried integrating Delphi and Zope? I've wondered if
there is any way for Delphi developers to take advantage of the
Zope/CMF infrastructure.
Thanks again,
Ben
From briga@borland.com Mon Apr 2 17:16:01 2001
From: briga@borland.com (Ben Riga)
Date: Mon, 2 Apr 2001 09:16:01 -0700
Subject: [Zope-CMF] using the subject property
In-Reply-To: <15047.32677.925764.415905@lindm.dm>
Message-ID:
Thanks. As you can see I'm a novice at this.
Thanks for your help,
Ben
-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Dieter Maurer
Sent: Sunday, April 01, 2001 12:21 PM
To: Ben Riga
Cc: zope-cmf@zope.org
Subject: RE: [Zope-CMF] using the subject property
Ben Riga writes:
> >> How can I build a list of all the subjects that have been used?
> ....
>
>
>
> sequence-number:
> sequence-key: , title:
"uniqueValuesFor" returns a list of strings (in your case).
"sequence-key" only makes sense for lists of pairs.
Dieter
From shane@digicool.com Mon Apr 2 17:26:23 2001
From: shane@digicool.com (Shane Hathaway)
Date: Mon, 02 Apr 2001 12:26:23 -0400
Subject: [Zope-CMF] WebDAV, ZPT & CMF
References:
Message-ID: <3AC8A82F.8D9D0AA1@digicool.com>
Jeffrey P Shell wrote:
>
> On 4/2/01 5:58 AM, "Seb Bacon" wrote:
> > I've been having a lot of problems with WebDAV - I've not got round to
> > investigating it properly yet, but there seems to be some problem with
> > publishing to Member Folders in the CMFDefault over webDAV. Outside
> > Member Folders everything seems to work OK. I've decided, though, that
> > in the the context of the CMF WebDAV is not a good idea, since it
> > removes any way of enforcing inclusion of metadata. This decision
> > conveniently means I won't need to look into the Member Folder issue,
> > either...;-)
>
> While it doesn't enforce Metadata, it does allow it (when it comes to the
> CMF Document class). You can fill in the metadata in tags. When
> authoring HTML via FTP or the WebDAV source port in the CMF, all the meta
> tags get sent to the client on subsequent edits (anything done after
> creation). Granted, one still has to know to look for the meta tags in
> their editor, but can be done. Enforcement? None. Mostly because it's
> very hard to communicate with the clients well - you can't [easily] say "Oh,
> you *need* to fill in a Subject and Description meta tag."
Here's how I see it: the server should accept WebDAV uploads regardless
of metadata, but the workflow should disallow specific transitions until
the metadata tool verifies that the required metadata is filled in
correctly. For example, on one site a document could not be moved to
the "published" state until the "creator" and "subject" fields have been
filled in.
Shane
From webmaven@lvcm.com Mon Apr 2 17:49:56 2001
From: webmaven@lvcm.com (Michael R. Bernstein)
Date: Mon, 02 Apr 2001 09:49:56 -0700
Subject: [Zope-CMF] CMF and Z39.50 protocol
References:
Message-ID: <3AC8ADB4.942D9786@lvcm.com>
Norman Khine wrote:
>
> This is very interesting, there is not a lot of movement from CMF on this
> subject, is there a particular reason for this, apart from the obvious once,
> time.
Well, developers tend to do work that gets them the biggest
result for a given anount of work. Z39.50 is not a very
popular protocol, compared with, say, HTTP. Therefore there
is less incentive to work on it. In contrast, XML-RPC, which
uses HTTP as it's transport layer, is very popular, so more
work is being done on it.
There are, however, a lot of interesting data resources that
are only accessible through a Z39.50 interface, so I expect
that sooner or later this work will get done by someone.
> I'll try this evening to set up the the server for FreeBSD and then link
> this to MySQL from which maybe one can write a client for zope?!?
Umm, I'm not sure what you mean here. Zope can integrate
with a relational DB such as MySQL rather easily, but how
are you going to write a Z39.50 client from MySQL? Or were
you referring to the Zope/MySQL combination?
Cheers,
Michael Bernstein.
From jeffrey@Digicool.com Mon Apr 2 17:44:24 2001
From: jeffrey@Digicool.com (Jeffrey P Shell)
Date: Mon, 02 Apr 2001 12:44:24 -0400
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
On 4/2/01 12:16 PM, "Ben Riga" wrote:
>> That should be straightforward: add a "String Criterion" for
>> "Subject" on the "Criteria" page of the topic.
>
> Thanks. I'll try this.
I do plan to implement a 'Keyword Criterion', which will use the
'uniqueValues' from the catalog to present a multiple-select box on the
criterion editing screen. This should be done and checked into the head in
a couple of days. Or hours. :)
Jeffrey P Shell, jeffrey@Digicool.com
http://www.digicool.com/ | http://www.zope.org
From gogo@bluedynamics.com Mon Apr 2 17:54:08 2001
From: gogo@bluedynamics.com (Georg BERNHARD)
Date: Mon, 2 Apr 2001 18:54:08 +0200
Subject: [Zope-CMF] CMF product development problems
Message-ID: <002701c0bb95$8af04fe0$c900a8c0@NETWORK>
Hello, everybody!
I'm developing some CMF products and therefore I went through the CMF
PortalPoll Tutorial.
I ran into problems:
When the product is set up like discribed and I want to instantiate it I get
an error that reads like this:
--------schnipp--------
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: __call__
Traceback (innermost last):
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 187, in publish
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
(Object: Traversable)
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 171, in publish
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: invokeFactory)
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: invokeFactory)
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Porta
lFolder.py, line 368, in invokeFactory
(Object: Traversable)
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Types
Tool.py, line 714, in constructContent
(Object: Traversable)
File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Types
Tool.py, line 473, in constructInstance
(Object: ElementWithAttributes)
AttributeError: (see above)
--------schnapp--------
I have no clue how the error can be fixed and need help. Maybe some file
just needs to be at another spot in the object database, but the tutorial
doesn't tell anything about that. I also wonder if there is some more
up-to-date tutorial online...
Okay, thank you all in advance.
Regards, Gogo.
From barknech@ph-cip.uni-koeln.de Mon Apr 2 19:04:57 2001
From: barknech@ph-cip.uni-koeln.de (barknech@ph-cip.uni-koeln.de)
Date: Mon, 2 Apr 2001 20:04:57 +0200
Subject: [Zope-CMF] Different skins in portal subfolders
Message-ID: <20010402200457.A728@fliwatut.scifi>
How can I let a subfolder in a CMF site use a different skin than the
rest of the portal?
Say, I had a Zoo site where animals from around the world can discuss their
favorite food. In this, I want subfolders for discussions of Italian,
Indian or African food only. Those should be skinned in a style using the
national colors (e.g red-green-white for all items in the section "italian
food discussions")
I don't see the CMF'ish way to do this. I can make skin directories
"italian", "indian" "african" in the portal_skins, customize here, but how
do I activate the matching skin in a subfolder?
Clueless,
--
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ \/ / __ \\ ___\
/ / / ____/ / / / // ____// /\ \\ ___\\____ \
/_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\
/_/ \_\
From jeffrey@Digicool.com Mon Apr 2 19:23:23 2001
From: jeffrey@Digicool.com (Jeffrey P Shell)
Date: Mon, 02 Apr 2001 14:23:23 -0400
Subject: [Zope-CMF] Different skins in portal subfolders
In-Reply-To: <20010402200457.A728@fliwatut.scifi>
Message-ID:
On 4/2/01 2:04 PM, "barknech@ph-cip.uni-koeln.de"
wrote:
> How can I let a subfolder in a CMF site use a different skin than the
> rest of the portal?
>
> Say, I had a Zoo site where animals from around the world can discuss their
> favorite food. In this, I want subfolders for discussions of Italian,
> Indian or African food only. Those should be skinned in a style using the
> national colors (e.g red-green-white for all items in the section "italian
> food discussions")
>
> I don't see the CMF'ish way to do this. I can make skin directories
> "italian", "indian" "african" in the portal_skins, customize here, but how
> do I activate the matching skin in a subfolder?
>
> Clueless,
You can programmatically set the 'portal_skin' REQUEST variable (or however
you choose to name it on the 'portal_skins' Properties tab). You might try
setting this as a folder property (through the ZMI) in the specified folder.
ie: set 'portal_skin' property in folder "African" to the string value
'african'.
Jeffrey P Shell, jeffrey@Digicool.com
http://www.digicool.com/ | http://www.zope.org
From dieter@handshake.de Mon Apr 2 20:00:07 2001
From: dieter@handshake.de (Dieter Maurer)
Date: Mon, 2 Apr 2001 21:00:07 +0200 (CEST)
Subject: [Zope-CMF] CMF and Z39.50 protocol
In-Reply-To: <697484628@toto.iv>
Message-ID: <15048.52279.718188.190496@lindm.dm>
Norman Khine writes:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_001D_01C0BB86.D6DC7DC0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
Did you ever hear that we do not favour MIME messages?
Please stick to plain text. "Application/ms-tnef" parts need
not go into the archives, my Linux box, ...
> ... Zope and Z39.50 ...
I like the idea. Looking for volunteers to implement the integration ....
Dieter
From dieter@handshake.de Mon Apr 2 19:55:57 2001
From: dieter@handshake.de (Dieter Maurer)
Date: Mon, 2 Apr 2001 20:55:57 +0200 (CEST)
Subject: [Zope-CMF] (no subject)
In-Reply-To: <62371449@toto.iv>
Message-ID: <15048.52029.479641.813976@lindm.dm>
Patrick Okui writes:
> I recently installed the CMF product on my zope 2.3.0 server with the
> patch that was posted on the CMF download site....
> ....
> Error Type: NameError
> Error Value: sys
Obviously a bug.
You may contemplate to upgrade ....
Or add
import sys
near the top of
/usr/local/www/Zope/lib/python/Products/CMFCore/WorkflowCore.py
Dieter
From briga@borland.com Tue Apr 3 02:22:31 2001
From: briga@borland.com (Ben Riga)
Date: Mon, 2 Apr 2001 18:22:31 -0700
Subject: [Zope-CMF] Images not appearing
Message-ID:
This is a multi-part message in MIME format.
------=_NextPart_000_002D_01C0BBA1.E1CF1E70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
When I moved from 1.0beta to 1.0, I seem to have broken the link to the
images (for example the logo.png in the standard header is not appearing).
Has anyone else had this happen? Any ideas as to how I might track down the
problem.
Thanks,
Ben
------=_NextPart_000_002D_01C0BBA1.E1CF1E70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When I =
moved from=20
1.0beta to 1.0, I seem to have broken the link to the images (for =
example the=20
logo.png in the standard header is not appearing). Has anyone else =
had=20
this happen? Any ideas as to how I might track down the=20
problem.
Thanks,
Ben
------=_NextPart_000_002D_01C0BBA1.E1CF1E70--
From briga@borland.com Tue Apr 3 02:43:36 2001
From: briga@borland.com (Ben Riga)
Date: Mon, 2 Apr 2001 18:43:36 -0700
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
>>>>>
> >Hmm, this works for me on a customized search form:
> >
> >
> >
Subject
> >
> >
> >
> >
>
> Cool. Thanks. The 'dtml-sequence-item' is what I was looking
> for. Looking now at the documentation, I'm embarassed that I
> missed that. The next step is to fire a topic/query that lists
> items in a 'subject'. I'll play with that over the next couple
> of days.
That should be straightforward: add a "String Criterion" for
"Subject" on the "Criteria" page of the topic.
<<<<<
So the way I'd like to solve this is to have a query that builds a list of
existing subject keywords. Then have the user click on one to fire another
query that lists all objects that have that subject in their metadata. I
have the method that lists all the subjects (SubjList) and I have a method
that can list the details of a subject (SubjDetl). My question is how do I
pass the 'subject' that the user clicked on.
SubjList:
&dtml-sequence-item;
No subjects
SubjDetl
>>
, sort_on='Date'
, sort_order='reverse'
, review_state='published'
)" size="10">
Thanks,
Ben
From from-hkg@hongkong.com Tue Apr 3 04:05:55 2001
From: from-hkg@hongkong.com (from-hkg)
Date: Tue, 3 Apr 2001 11:05:55 +0800
Subject: [Zope-CMF] Grouping Members ??
Message-ID: <002401c0bbeb$0a9c7bb0$9aa8a8c0@WAH>
Hello all,
Can CMF group members into different Group ?
For the same group members, they can access any contents information for
their group.
Please give me some suggestion.
Thanks You!
From aem@byu.edu Tue Apr 3 05:43:07 2001
From: aem@byu.edu (Adrian Madrid)
Date: Mon, 2 Apr 2001 21:43:07 -0700 (PDT)
Subject: [Zope-CMF] Problem with custom types (HELP!)
Message-ID: <20010403044307.71782.qmail@web10104.mail.yahoo.com>
I'm having problems with the custom types I had
working before upgrading from 2.3.1b3 to 2.3.1. I had
portalpoll (from the tutorial) and two other alike
working just fine but since I upgraded I keep getting
the same error everytime a member/reviewer/manager
adds one TTW. I even tried adding a new cmf site and
reinstall the types but the same problem follows. Here
is the traceback:
Any ideas? I _really_ need to get a couple of types,
basically news & documents with extra properties,
working yesterday. If anybody has created something
like that and is working on cmf 1.0 please give me
some pointers or lines. Please?
Thanks in advance,
=====
---------------------------
Adrian Esteban Madrid
Benson Institute, Webmaster
Brigham Young University
---------------------------
adrian_esteban@madrid.com
===========================
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
From patrick@eahd.or.ug Tue Apr 3 08:47:39 2001
From: patrick@eahd.or.ug (Patrick)
Date: Tue, 3 Apr 2001 10:47:39 +0300 (EAT)
Subject: [Zope-CMF] (no subject)
In-Reply-To: <15048.52029.479641.813976@lindm.dm>
Message-ID:
Thanks, that was it; only that I got a new error for another indefined
symbol which I traced to
/usr/local/www/Zope/lib/python/SearchIndex/UnTextIndex.py
the symobl was 'i' and it was being called by sys((i)....
I changed this to id and it works... I just hope that in so doing, I did
not break anything else..
Thanks again,
Patrick.
On Mon, 2 Apr 2001, Dieter Maurer wrote:
> Patrick Okui writes:
> > I recently installed the CMF product on my zope 2.3.0 server with the
> > patch that was posted on the CMF download site....
> > ....
> > Error Type: NameError
> > Error Value: sys
> Obviously a bug.
>
> You may contemplate to upgrade ....
>
> Or add
>
> import sys
>
> near the top of
>
> /usr/local/www/Zope/lib/python/Products/CMFCore/WorkflowCore.py
>
>
>
> Dieter
>
From sigve@tjora.no Tue Apr 3 08:44:05 2001
From: sigve@tjora.no (Sigve Tjora)
Date: Tue, 3 Apr 2001 09:44:05 +0200 (CEST)
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
> So have you tried integrating Delphi and Zope? I've wondered if
> there is any way for Delphi developers to take advantage of the
> Zope/CMF infrastructure.
There is a Python for Delphi package that you can get from
http://www.multimania.com/marat/
I have used this package to separate gui from logic in an Delphi
application. Gui in Delphi and logic in python. It should be quite easy
doing this with Zope too. Just make a reference to your "root" object on
the server with the PytonAtom, and then you can call python/Zope methods
and properties directly from Delphi. You might want to add a RPC layer so
you don't have to run Zope and your app on the same machine.
To get all objects from a folder, you can write
var: objects;
objects=ZopeRoot.myFolder.Items();
in Delphi.
The Python for Delphi package have I used sucessfully since late 2000.
Hope this helps!
mvh Sigve
From chrisw@nipltd.com Mon Apr 2 23:43:21 2001
From: chrisw@nipltd.com (Chris Withers)
Date: Mon, 02 Apr 2001 23:43:21 +0100
Subject: [Zope-CMF] Sharing bits of Skins between sites
References: <3AC83A85.DF86DAE9@nipltd.com> <3AC8A24C.74187C59@digicool.com>
Message-ID: <3AC90089.7356007E@nipltd.com>
Shane Hathaway wrote:
>
> Long answer: before doing that, you'll probably want to create a folder
> other than "custom". It's really just an example. In portal_skins,
> create a folder called "swishdot" and add it as a layer in at least one
> skin path.
Hmmm... I don't think I got through what I meant...
Say I created a CMF Site called TestCMF in the root of my ZODB. Then I do what
you say above.
Now, what I'd like to be able to do is move the swishdot folder up to the root
of my ZODB, so that I can share it between TestCMF and AnotherCMF, if you see
what I mean.
I tried it, and TestCMF stops using the swishdot skin bits :-(
Any ideas?
cheers,
Chris
PS: Little buglet? I set my preferences to be 'listed' but I don't show up on
/roster... how come?
From adeknegt@worldonline.nl Tue Apr 3 09:29:54 2001
From: adeknegt@worldonline.nl (Arjan de Knegt)
Date: Tue, 3 Apr 2001 10:29:54 +0200 (MET DST)
Subject: [Zope-CMF] Skinning (translating) the actionbox
Message-ID:
All,
I've been playing around with the skinning functionality in CMF, in my
case focussing on translating the text. Works quite flexible, except for
the actionbox. I couldn't find a DTML-doc or otherwise properties to
change the text in the actionbox (the menuoptions like "Log in, Join,
View"...) As far as I can see, the DTML uses the "name" property of object
"actions", and these names are hardcoded in ActionsTool.py.
Is this an issue or did I miss an entry in the maillist?
Thanx in advance.
Greatings,
Arjan.
From tseaver@digicool.com Tue Apr 3 12:26:41 2001
From: tseaver@digicool.com (Tres Seaver)
Date: Tue, 3 Apr 2001 07:26:41 -0400 (EDT)
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
On Mon, 2 Apr 2001, Ben Riga wrote:
> Very cool. I wouldn't wave the TP manual to high. You're dating
> yourself.
Heh, don't I know it. TP for CP/M was the first "professional
tool" I ever bought, in what turned out to be my real career.
> So have you tried integrating Delphi and Zope? I've wondered if
> there is any way for Delphi developers to take advantage of the
> Zope/CMF infrastructure.
I haven't looked at it, I'm afraid; I no longer even boot to
Windows except to read MS Project files dumped on me by hapless
project managers. :)
I did a presentation for HADP on integrating Delphi and Python:
http://www.palladion.com/HADP_Jan99/
Assuming that the "Python embedding components",
http://www.multimania.com/marat/delphi/python.htm
still work, then it should be possible to open and manipulate
the ZODB directly from within a Python script running under
Delphi:
import Zope
app = Zope.app()
cmf_site = app.CMF_Site
If 'cmf_site' is exposed as a variable to Delphi code, then
the Delphi app could call its methods directly (I *think*;
I haven't tried this).
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org
From shane@digicool.com Tue Apr 3 13:40:47 2001
From: shane@digicool.com (Shane Hathaway)
Date: Tue, 3 Apr 2001 08:40:47 -0400 (EDT)
Subject: [Zope-CMF] Sharing bits of Skins between sites
In-Reply-To: <3AC90089.7356007E@nipltd.com>
Message-ID:
On Mon, 2 Apr 2001, Chris Withers wrote:
> Shane Hathaway wrote:
> >
> > Long answer: before doing that, you'll probably want to create a folder
> > other than "custom". It's really just an example. In portal_skins,
> > create a folder called "swishdot" and add it as a layer in at least one
> > skin path.
>
> Hmmm... I don't think I got through what I meant...
>
> Say I created a CMF Site called TestCMF in the root of my ZODB. Then I do what
> you say above.
>
> Now, what I'd like to be able to do is move the swishdot folder up to the root
> of my ZODB, so that I can share it between TestCMF and AnotherCMF, if you see
> what I mean.
Ah, I see. Nope, you can't do that. You might consider creating a
product that registers a DirectoryView, however.
Shane
From tseaver@digicool.com Tue Apr 3 13:17:43 2001
From: tseaver@digicool.com (Tres Seaver)
Date: Tue, 3 Apr 2001 08:17:43 -0400 (EDT)
Subject: [Zope-CMF] using the subject property
In-Reply-To:
Message-ID:
On Mon, 2 Apr 2001, Ben Riga wrote:
>
> >>>>>
> > >Hmm, this works for me on a customized search form:
> > >
> > >
> > >
Subject
> > >
> > >
> > >
> > >
> >
> > Cool. Thanks. The 'dtml-sequence-item' is what I was looking
> > for. Looking now at the documentation, I'm embarassed that I
> > missed that. The next step is to fire a topic/query that lists
> > items in a 'subject'. I'll play with that over the next couple
> > of days.
>
> That should be straightforward: add a "String Criterion" for
> "Subject" on the "Criteria" page of the topic.
> <<<<<
>
> So the way I'd like to solve this is to have a query that
> builds a list of existing subject keywords. Then have the user
> click on one to fire another query that lists all objects that
> have that subject in their metadata. I have the method that
> lists all the subjects (SubjList) and I have a method that can
> list the details of a subject (SubjDetl). My question is how
> do I pass the 'subject' that the user clicked on.
>
> SubjList:
>
> &dtml-sequence-item;
You need to encode the value into the URL, or else arrange to
get it to the next method via an HTTP POST. The first method
would look like:
>
> No subjects
>
The second method would be like the one I posted above, where
the value was passed via the form variable bound to a '