[Zope] The difference between ControlSet 001 and 002 ..

2000-09-04 Thread Jean Jordaan
Answering myself, from the Resource Pro Kit: .. The ControlSet00n subkeys represent a control set for the system. The numbered ControlSet00n subkeys, such as ControlSet001 and ControlSet002, contain control sets that can be used to

[Zope] Help with calcualtions in DTML

2000-09-04 Thread Dario Lopez-Kästen
Hello! I have the following listing of objects in my folder: table tr tdpbName/b/p/td td align="right"pbSize/b/p/td td align="right"pbdate/b/p/td /tr dtml-in expr="doc.objectValues()" tr td pa href="dtml-var absolute_url"dtml-var id/a/p /td td align="right"

Re: [Zope] PyWinTypes15.dll not found

2000-09-04 Thread Philipp Auersperg
This dll exists in in the Zope tree in the directories bin and bin\lib\win32. unfortunately none of these is in the PYTHONPATH. Remedy: copy PyWinTypes15.dll into one of the directories where it searches for ( e.g. in your case C:\programs\ZopeDev\lib\python\Products\LocalFS) or change the

Re: [Zope] Re: File Attachments with Sendmail

2000-09-04 Thread Brendon Grunewald
Dear Luis, Dieter Mauer was kind enough to assist me with the answer to this question. The normal Sendmail tag does not accept variables. You need to install the MIME.py.patch. Once that is done you can include variables. Brendon - Original Message - From: "Luis Cortes" [EMAIL

[Zope] Images slow rendering problem

2000-09-04 Thread Pierre-Julien Grizel
Hi, I already posted this message several monthes ago, expecting a new Zope version would fix the problem, but... I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of my LAN boxes (especially with IE),

[Zope] Zope + Apache + fastcgi + unix socket ..

2000-09-04 Thread Jørgen Skogstad
Hi there.. Have any1 of you gotten local unix domain socket style access of Zope behind Apache to work? I have not .. and I am running this on Solaris. I see that Apache is trying to access the "file" .. and I presume the request is passed to fastcgi .. but I never see the request in Z2.log.

[Zope] Non-blocking MailHost

2000-09-04 Thread Chris Withers
Kapil Thangavelu wrote: i was think about this in regard to doing bulk email, the best i could think of was to response.write and than send the email. no real confirmation but the user gets the page and the mail hopefully gets sent. i was planning on doing this from python with either calls

[Zope] Migrating passwords from Apache to Zope?

2000-09-04 Thread Marcin Kasperski
Is it possible to smoothly migrate accounts and passwords from Apache to Zope? More details: I keep Apache accounts in some file of the format username:encoded_password where username is plaintext username and encoded_password is the password encoded in the normal Unix way (via crypt

[Zope] Announce: Squishdot 0.7.1 now available!

2000-09-04 Thread Chris Withers
Squishdot 0.7.1 is now available from http://www.zope.org/Members/chrisw/Squishdot/ http://www.squishdot.org/Download/Squishdot The following changes were made: - Slightly updated roadmap. - Fixed bug that prevented deleting postings. If you run into problems, remember Squishdot has a

[Zope] Repost: zzLocale problems

2000-09-04 Thread Danny William Adair
After installing zzLocale I get an "AttributeError" every time I try to add a ZGadfly Connection: -- Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in publish_module File

Re: [Zope] Help with calcualtions in DTML

2000-09-04 Thread Kapil Thangavelu
"Dario Lopez-Kästen" wrote: Hello! I have the following listing of objects in my folder: table tr tdpbName/b/p/td td align="right"pbSize/b/p/td td align="right"pbdate/b/p/td /tr dtml-in expr="doc.objectValues()" tr td pa href="dtml-var

Re: [Zope] dtml-comment doesn't but should!

2000-09-04 Thread Chris Withers
Jerry wrote: Sure, dtml-comment is meant for "comments", but every programmer needs to disable blocks of code to eliminate factors while debugging. We all abuse comment characters for this purpose, and it works well enough to get the job done. Gotta agree with that!! But in Zope it goes

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Chris Withers
Andrew Kenneth Milton wrote: But then you'd have to parse the contents to find out if the comments are properly nested... Well, the parsing should be pretty simple: 1. find dtml-comment 2. search for /dtml-comment 3. if found: ignore that block of text else if end of text reached:

Re: [Zope] dtml-comment yuk...

2000-09-04 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: Is is just me or does stuff inside a dtml-comment get parsed? "dtml-comment" must do a bit of parsing: It must at least recognized "/dtml-comment". well, yeah, but that's not what I meant... Maybe, it wants to recognize nested

Re: [Zope] Pages Half Rendering, probably fixed in 2.2?

2000-09-04 Thread Chris Withers
Dieter Maurer wrote: When I reported the problem, DC immediatedly answered that the problem was already fixed in CVS: the threads were now synchronized. That sounds like it... Maybe, you should take a 2.2 ZServer and use it with your Zope 2.1.6. I do not know, however, whether this will

[Zope] Re: Non-blocking MailHost

2000-09-04 Thread Kapil Thangavelu
Chris Withers wrote: Kapil Thangavelu wrote: i was think about this in regard to doing bulk email, the best i could think of was to response.write and than send the email. no real confirmation but the user gets the page and the mail hopefully gets sent. i was planning on doing this

Re: [Zope] Zope + Apache + fastcgi + unix socket ..

2000-09-04 Thread Joachim Schmitz
I tried this on a Redhat 6.1 as far as I remember some time ago, and didn't succeed. It only worked with a tcp-socket. On Mon, 4 Sep 2000, Jørgen Skogstad wrote: Hi there.. Have any1 of you gotten local unix domain socket style access of Zope behind Apache to work? I have not .. and I am

[Zope] If-Modified-Since problem again?!

2000-09-04 Thread Chris Withers
Dieter Maurer wrote: [EMAIL PROTECTED] writes: To your image in properites add a string property called Last-Modified with value Wed, 15 Mar 2002 19:02:17 GMT And your broken image problem will disappear. What version of Zope is this with? However, this avoids

[Zope] Overdue comments on 6-1-Security.stx

2000-09-04 Thread Chris Withers
Chris McDonough wrote: See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx, section named "The Superuser". No offence meant, but it doesn't do a very good job of explaining _why_ the superuser can't own anything. Well, I think the real problem is that the

[Zope] 2.1.6 will be your problem...

2000-09-04 Thread Chris Withers
"T.J. Mannos" wrote: Yes, I have, and I spent hours tearing apart my site thinking I'd seriously screwed-up when suddenly all my images refused to load. But that was just on my Solaris 2.6 server. PCs and even Macs render my pages beautifully. It's just Netscape Communicator for Solaris

[Zope] Missing pictures: what's the error?

2000-09-04 Thread Chris Withers
William JOYE wrote: I use Apache and Zope 2.1.6 under Linux. In the Apache log, I have notified that http code is always 304 but when pictures are missing in web page the transferred size is '-' and no '0'. If possible, try the system with Zope 2.2. Otherwise, checkout my recent reply to

[Zope] Tree problems in standard_html_header?

2000-09-04 Thread Chris Withers
Marcus Schopen wrote: I would also like to put my global navigation method in the standard header, so each document can use it. But I get a strange behaviour (see http://marcus.localguru.de:8080/b3/ ) That wasn't responding... Could you describe the behaviour or any errors you're getting?

Re: [Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-09-04 Thread Kapil Thangavelu
Daniel Rusch wrote: not sure what you mean by "subobject adding in your __init__ method" python prod def manage_addfooclass(): x= fooclass() id = 1 self._setObject(id, x) def fooclass: def __init__(): add subobjects here seems like

[Zope] 2.1.6 Image problem again?

2000-09-04 Thread Chris Withers
"Felipe E. Barousse Boué" wrote: Has anyone seen the following behavior: I am using PCGI with Zope 2.1.6 and Apache 1.3.9. Everything works fine except when reloading the same page, the graphics in it are not "painted" by the client browser. Try the patch in the following:

Re: [Zope] Zope.org Mirroring

2000-09-04 Thread Chris Withers
Erik Enge wrote: It might not be interesting, but what I would really like is a complete mirror of documentation and products up and running all the time. That could be done statically, even without Zope if it sucks that much. (Although, I can't see why it would in such a situation.) You

Re: [Zope] Images slow nor not rendering?

2000-09-04 Thread Chris Withers
Pierre-Julien Grizel wrote: I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of my LAN boxes (especially with IE), some images doesn't load at the first time. I need to reload the page to make them

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Andrew Kenneth Milton
+---[ Chris Withers ]-- | Andrew Kenneth Milton wrote: | But then you'd have to parse the contents to find out if the comments are | properly nested... | | Well, the parsing should be pretty simple: | 1. find dtml-comment | 2. search for /dtml-comment Or dtml-comment

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Chris Withers
Andrew Kenneth Milton wrote: | What's wrong with that? It's wrong :-) dtml-comment crap more crap dtml-comment Lots of crap /dtml-comment /dtml-comment In order to parse that fragment, you need to parse the blocks in case you find another opening block, so that you can

Re: [Zope] Images slow nor not rendering?

2000-09-04 Thread Pierre-Julien Grizel
Chris Withers wrote: Pierre-Julien Grizel wrote: I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of my LAN boxes (especially with IE), some images doesn't load at the first time. I need to reload

Re: [Zope] Images slow rendering problem

2000-09-04 Thread andres
What IE browser are you using? What version of Zope? A similar sort of problem was once traced to a Y2K problem with IE but the new versions of Zope (2.1.6) should be able to handle the problem gracefully now. On Mon, Sep 04, 2000 at 10:13:33AM +0200, Pierre-Julien Grizel wrote: Hi, I

Re: [Zope] Non-blocking MailHost

2000-09-04 Thread Chris Withers
[EMAIL PROTECTED] wrote: Out of curiosity, what exactly is a non-blocking MailHost? One that doesn't hold up the process that is rendering the page... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope] (no subject)

2000-09-04 Thread neeloy_saha
Hi all, I am getting the following error when i try to install the portal toolkit with the ' experimental login manager support'. I am using the zpatterns version : ZPatterns-0-4-1snap1and demo portal : 0.8.2 and other products. If I create the portal with no initail member then i am able to

Re: [Zope] Catalog AND Zieve

2000-09-04 Thread Steve Spicklemire
Hi Jean-Francios, You need to give Zieve a list of objects that have the attributes that you want to sort on defined. You can ether build a list of 'real results' from the ZCatalog that can then be passed to your Zieve, or you can just make sure the ZCatalog's 'meta_data_table' has all the

Re: [Zope] Regaining lost privileges

2000-09-04 Thread Dieter Maurer
Andrew Kenneth Milton writes: Is there anyway to regain 'root' privs from inside a zope product? Using the -u flag to start causes the privs to be permanently gone because z2.py uses setuid + setgid (and python doesn't seem to define sete[ug]id, at least not on my system). Other

Re: [Zope] Non-blocking MailHost

2000-09-04 Thread Loren Stafford
One way to start an asynchronous job in Zope is with the Xron product. Instead of sending the email, you create a Xron scheduled method to perform that task. If you specify a trigger time of "now" (or any time in the past), the scheduled method will execute (almost) immediately in a separate Zope

[Zope] Squishdot/Swishdot RFCs

2000-09-04 Thread Chris Withers
Hi, I've just posted a set of articles relating to the future of Squishdot and Swishdot on http://www.squishdot.org which I'd really like to get lots of feedback on. Could anyone interested please pop along and comment? cheers, Chris ___ Zope

Re: [Zope] Not like ASP complaint - any good answers

2000-09-04 Thread Bill Anderson
Sean McGrath wrote: All, I have had a number of e-mails from developers using Microsoft ASP in recent days. The paraphrased consensus in the e-mails is that the external methods/python methods approach to mixing markup with code in Zope is more clunky than in ASP where you can

[Zope] How does one rename document ids?

2000-09-04 Thread Sean Kelley
Hi, I have a number of dtml documents without the form "name_html". I would like to rename everything in a particular folder to name_html from name. Is there a way to do this? Thanks ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Way to list vocabulary words specific to a page?

2000-09-04 Thread Dieter Maurer
Kevin Smith writes: I am interested in showing the vocabulary words indexed for the page being viewed, to be used as meta keyword data. Is this possible? Zope does not manage vocabulary words on a page basis. Therefore, you cannot simply ask: "give me the words for this given page".

Re: [Zope] Migrating passwords from Apache to Zope?

2000-09-04 Thread Dieter Maurer
Marcin Kasperski writes: Is it possible to smoothly migrate accounts and passwords from Apache to Zope? More details: I keep Apache accounts in some file of the format username:encoded_password where username is plaintext username and encoded_password is the password encoded

Re: [Zope] How to access id and title of document calling standard_html_header

2000-09-04 Thread Dieter Maurer
Tim Hicks writes: I have a standard_html_header that is inserted into Zclasses. These Zclasses have properties including meta_author ... In standard_html_header, I use code such as dtml-var meta_author ... This works fine and the properties of the *zclass* are inserted. However, if I

Re: [Zope] Images slow rendering problem

2000-09-04 Thread Dieter Maurer
Pierre-Julien Grizel writes: I already posted this message several monthes ago, expecting a new Zope version would fix the problem, but... I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of

[Zope] .

2000-09-04 Thread Matthew Burleigh
-- - Matthew Burleigh - Systems Administrator, Digital Creations - publishers of Zope. - (888)344-4332 -- http://www.digicool.com - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Andrew Kenneth Milton
+---[ Kip Rugger ]-- | | [snip] | | dtml-if "0" | crap | more crap | dtml-if "0" | Lots of crap | /dtml-if | /dtml-if | | by analogy with the common practice of #if 0 in C Won't work, the container will still be parsed for correctness at 'save' time. The problem isn't

Re: [Zope] Fourth Posting, is this really that difficult or have Ibeen blackballed :)balled :)

2000-09-04 Thread Chris McDonough
One thing to remember about using __init__ to add subobjects: during __init__, you don't have access to any acquired objects. This is probably the main rationale for manage_afterAdd, and is the reason manage_afterAdd is so useful. There are a lot of dependencies on acquisition even in the

Re: [Zope] supplemental group ids (Linux)

2000-09-04 Thread Chris McDonough
Aplogies for the ignorance, but can you maybe explain the concept of supplemental group ids and give an example of how the current unpatched behavior could be subverted? On 4 Sep 2000 [EMAIL PROTECTED] wrote: I noticed when starting Zope as root (to get privilaged ports), but requesting suid

Re: [Zope] Underscore Caracter

2000-09-04 Thread Chris McDonough
Hi Marcus, This is untested. Turn "asd asd" into "asd_asd" and output: dtml-var "_.string.join(_.string.split('asd asd'), '_')" Turn "asd_asd" into "asd asd" and output: dtml-var "_.string.join(_.string.split('asd_asd', '_'))" On Sun, 3 Sep 2000, Marcus Mendes wrote: Hello, I need

RE: [Zope] Folder and SQL security

2000-09-04 Thread Chris McDonough
On Tue, 5 Sep 2000, George Osvald wrote: My sql works now and security is satisfactory so thank you. The only thing that remains in question is that one subfolder. I created a user folder inside, set all the security and it does not do what I want. I want to restrict any access including

Re: [Zope] newbie question: installing ZSiteMap and ZPhotoAlbum

2000-09-04 Thread Bill Anderson
Tamara Temple wrote: Hi all, My first posting here, please forgive if this is obvious, cause it isn't to me. I already checked the How-To's and searched the zope-list archives and came up with nothing. I downloaded the two zexp files for ZSiteMap and ZPhotoAlbum, and put them in the

[Zope] Java applet with inner classes causing probs in Zope

2000-09-04 Thread Eric L. Walstad
Hello all, The problem is that inner classes have names like "Parent$Inner.class" I'm unable to create a Zope file object with a name that includes the dollar sign. However, the applet won't function without it. Has any one overcome this? Yes, the applet functions properly when served from

[Zope] Arrrgh!!! *Weird* SQLSession problem

2000-09-04 Thread Charlie Wilkinson
Ok, all weekend I've been chasing my tail. Now I scream for help... I cannot get SQLSession to insert values into the zsession_data table to save my freeking life. I'm not getting errors of any kind, just no inserted session data. However, the zsessions table shows the sessions being created,

[Zope] Nevermind? (SQLSession problem...)

2000-09-04 Thread Charlie Wilkinson
In a last, desparate effort I downgraded to SQLSession 0.2.9a and it's working fine. Is this normal? -cw- -- ~ Charlie Wilkinson - [EMAIL PROTECTED] - N3HAZ Parental Unit, UNIX Admin, Homebrewer, Cat

[Zope] Managed Meeting semi-broken in 2.2.1

2000-09-04 Thread Bill Anderson
It appears that there has been _some_ change in security somewhere. As Manager, I cannot add a Managed Meeting object in a Zope 2.2.1 server. Nor can someone with the role 'Member', who has been given the neccessary permission. It tells me I don't have uthroization to access 'ManagedMeeting'.

Re: [Zope] Java applet with inner classes causing probs in Zope

2000-09-04 Thread Morten W. Petersen
[Eric L. Walstad] | Hello all, | | The problem is that inner classes have names like "Parent$Inner.class" | I'm unable to create a Zope file object with a name that includes the dollar | sign. However, the applet won't function without it. | | Has any one overcome this? Adding files to Zope

Re: [Zope] Render the number of occurrence in a batch

2000-09-04 Thread R. David Murray
On Fri, 1 Sep 2000, Kapil Thangavelu wrote: Francois-Regis CHALAOUX wrote: How to render the total number of result coming from the search in a ZCatalog even if the batch will be render in several sequences ? Howto render : "Your search contain results" dtml-var

Re: [Zope] Folder and SQL security

2000-09-04 Thread R. David Murray
On Mon, 4 Sep 2000, George wrote: asks for the password even for the viewing. Then I enable 'access the content' and the site works as long as I do not try to use sql. When I how ever enable 'use sql methods' permission they can access my database, delete and add entries to it. What do I have

Re: [Zope] supplemental group ids (Linux)

2000-09-04 Thread Kip Rugger
Chris McDonough [EMAIL PROTECTED] wrote: Aplogies for the ignorance, but can you maybe explain the concept of supplemental group ids and give an example of how the current unpatched behavior could be subverted? I can try... Supplemental gids are useful for allowing a user to belong to more

[Zope-dev] MailHost, 2.2.0, and qmail mailserver

2000-09-04 Thread Richard Taylor
The change in the sendmail tag to use the SMTP module has caused a problem for me when sending to a qmail mailserver. After investigation, it would appear that the smtplib module function: SMTP.mail(self,sender,options=[]): appends a space to the end of the FROM: address when there are no

Re: [Zope-dev] Converters.field2date, allow empty string to return None?

2000-09-04 Thread Dieter Maurer
Brad Clements writes: One thing that has been bothering me is that I can't easily test my ZSQL Methods if they accept a date type unless I completely fill all the date arg types. For example, if the sqlmethod has argument type startdate:date='' and in the body I have

Re: [Zope-dev] Converters.field2date, allow empty string to return None?

2000-09-04 Thread Brad Clements
On 3 Sep 2000, at 13:33, Dieter Maurer wrote: One solution would be to use a valid (special) date as default value and test against it in the body. I don't like this "solution" because the end-user has to know what the special date is, it looks ugly on the form and it still does *not*

Re: [Zope-dev] ZPatterns: transaction bug

2000-09-04 Thread Steve Spicklemire
ZPatterns 0.4.2a1 PlugIns.py bug? I get a 'Name Error' aq_base when I hit the following code while trying to update the index_html method of one of my Specialists from CVSMixin.. I think that this would get hit anytime you add an object whose id is already in the acquisition path -steve

Re: [Zope-dev] MailHost, 2.2.1, and tracebacks

2000-09-04 Thread Bill Anderson
Shane Hathaway wrote: Bill Anderson wrote: ... File /local/ZopeSites/TestBed/lib/python/AccessControl/Owned.py, line 152, in getOwner (Object: mailPasswordTemplate) ValueError: (see above) By any chance does it say something to the effect of "Unpack tuple of incorrect size"?

Re: [Zope-dev] MailHost, 2.2.1, and tracebacks

2000-09-04 Thread Bill Anderson
Bill Anderson wrote: ... The following patch seems to alleviate the problem, but I dunno if it affects anything else: yeah, it makes zope ignore the cookie login setup, and instead triggers basic Auth ... will work on it today. Ugh. -- Do not meddle in the affairs of sysadmins, for they

Re: [Zope-dev] MailHost, 2.2.1, and tracebacks

2000-09-04 Thread Bill Anderson
Bill Anderson wrote: Bill Anderson wrote: ... The following patch seems to alleviate the problem, but I dunno if it affects anything else: yeah, it makes zope ignore the cookie login setup, and instead triggers basic Auth ... will work on it today. Ugh. Thi sis getting old,