Re: [Zope] GUF and crypt

2000-08-22 Thread Stuart Bishop
On Mon, 21 Aug 2000, Brad Mabe wrote: Greetings, I am following the directions in hippy's GenericUserFolder with an SQL database how to, and ran into a snag. When I call crypt, zope returns the following: Error Type: AttributeError Error Value: crypt I think you need to hack your Zope

[Zope] Sizing questions

2000-08-22 Thread Lucas Hofman
This message is cross-posted to both the zope and the PTK mailing lists. The restrictions I hope to hear about might be in both products. 1. The ZODB database we are using has passed 500 MB in Size (Yes, it is packed). It is about 50/50 populated with small news items and files of 1-4Mb in size.

Re: [Zope] Zope.Org Style Developers Portal Question

2000-08-22 Thread Chris Withers
Tim Bass wrote: Hi. One of my clients needs to build a portal for developers to share information. Showed them www.zope.org and they liked it. Home much time would it take for a novice to go from a raw zope distribution to put in place the core functionality/look/feel of the zope.org

Re: [Zope] anyone got a foolproof 2.1.6 - 2.2.0 via import schema?

2000-08-22 Thread Tony . McDonald
On Mon, 21-Aug-2000, you wrote: Tony McDonald wrote: I get KeyErrors from 2.2.0 with an Error value of a rubbish character when trying to import a folder of various objects. This also happens when trying to import the XML version, except the Error Value is 'id' (but with no idea of where

[Zope] Managing with Opera

2000-08-22 Thread Jean Jordaan
Hi all Looks like I'm running into a cookie hassle with Opera 4.01 I copy everything in '/docs/tmp' and paste to '/docs'. Lo and behold, '/docs' contains not the items copied from '/docs/tmp', but the stuff that was on the clipboard end of yesterday. IE 5.5 did it right. Has anyone else

Re: [Zope] Yihaw on 2.2.1b1, boolean properties

2000-08-22 Thread Soren Roug
I (the Yihaw developer) get the same problem with 2.2.1b1. I guess that's why Digital Creations call it a beta version. I don't know why your boolean properties are "sticky". What version of Zope have you installed Yihaw on? Wolfgang Strobl wrote: I just tried installing a freshly downloaded

Re: [Zope] Managing with Opera

2000-08-22 Thread Geir Bækholt
on Tuesday, August 22, 2000 Jean Jordaan wrote : JJ Hi all JJ Looks like I'm running into a cookie hassle with Opera 4.01 JJ I copy everything in '/docs/tmp' and paste to '/docs'. Lo JJ and behold, '/docs' contains not the items copied from JJ '/docs/tmp', but the stuff that was on the

[Zope] Permissions / roles question

2000-08-22 Thread Jean Jordaan
Hi all If "I'm jean with role(s) manage.", then why does this code in 'standard_wiki_footer' not offer to log me out?:: dtml-if "AUTHENTICATED_USER.has_permission('Change ZWiki Pages', this())" a href="dtml-var id url_quote/editform?cols=70rows=20"Edit this page/a br

Re: [Zope] Zope.Org Style Developers Portal Question

2000-08-22 Thread Peter Bengtsson
Hi. One of my clients needs to build a portal for developers to share information. Showed them www.zope.org and they liked it. Home much time would it take for a novice to go from a raw zope distribution to put in place the core functionality/look/feel of the zope.org portal? As an

[Zope] generalizing DTML method question

2000-08-22 Thread Jean Jordaan
Hi Zopers How do I generalize this DTML method? ... dtml-call "REQUEST.set('myList', [])" dtml-in origin_values dtml-call "myList.append(name)" /dtml-in dtml-return myList ... The problem is that 'origin_values' bit.

[Zope] Ownership Unix chown

2000-08-22 Thread Michael Arndt
Two for me very important issues for ownership: a) a non privileged user could see date for which he was not allowed ! b) how do i change the ownership of a folder in the Unix sense of chown ? I don't understand the new concept. My Problems are: a) we were able to log in as a non privileged user

[Zope] QSurvey 0.23 and Zope 2.2.1b

2000-08-22 Thread Alexander Chelnokov
Hello, Just installed Z2.2.1b, successfully imported some products but when trying to import QSurvey 0.23 got the message: Zope Error Zope has encountered an error while publishing this resource. Error Type: Permission mapping error Error Value:

[Zope] Missing doc string

2000-08-22 Thread Erik Enge
G'day, fellow Zopistas. I get Missing doc string at: http://localhost/misc_/TravelAgent When I call URL:http://localhost/misc_/TravelAgent/Folder_icon.gif Anybody who know which doc string I'm missing? ___ Zope maillist -

Re: [Zope] GUF and crypt

2000-08-22 Thread Aleksander Salwa
On Mon, 21 Aug 2000, Brad Mabe wrote: Greetings, I am following the directions in hippy's GenericUserFolder with an SQL database how to, and ran into a snag. When I call crypt, zope returns the following: Error Type: AttributeError Error Value: crypt Maybe you don't have this module

Re: [Zope] Month number as string as variable

2000-08-22 Thread Tino Wildenhain
Hi, "Williamson, Aaron" wrote: Peter, Try this bit of mojo here: dtml-let monthnr="_.DateTime().mm()" # actually, it schould be: dtml-let monthPoll="'month_%02d' % monthnr" # to produce 'month_01' to 'month_12' dtml-var monthPoll /dtml-let /dtml-let Regards Tino

[Zope] Faulty default ZClass constructor method?

2000-08-22 Thread Jean Jordaan
Hi all If I add a product from ' /Control_Panel / Products ', and then add a ZClass in there with 'Create constructor objects' checked, I end up with a ' /Control_Panel / Products / ccTest  / testClass_add ' method containing:: dtml-if DestinationURL dtml-call "RESPONSE.redirect(

[Zope] followup question (faulty default ZClass constructor)

2000-08-22 Thread Jean Jordaan
so should I change:: dtml-call "RESPONSE.redirect( URL2+'/manage_workspace')" to:: dtml-call "RESPONSE.redirect( URL2()+'/manage_workspace')" too? (Obviously not grokking it all yet .. ) -- Jean Jordaan --technical writer-- Mosaic Software--Zope 2.1.6

RE: [Zope] GUF and crypt

2000-08-22 Thread Brad Mabe
Thanks, I did follow the instructions for patching ZOPE (added import crypt to DT_Util.py). Any other ideas on what I should look for in my ZOPE installation? Is there a specific crypt (crypt.py?) file that I might be missing? -=Brad=- -Original Message- From: Stuart Bishop

Re: [Zope] Yihaw on 2.2.1b1, boolean properties

2000-08-22 Thread Wolfgang Strobl
On 22 Aug 2000, 11:15 Soren Roug wrote: I don't know why your boolean properties are "sticky". What version of Zope have you installed Yihaw on? Various, starting with 2.1.6. On what version of Zope doesn't doesn't it display this behaviour, IYO? Anyway. 1. Install Zope 2.2.0 on Windows

Re: [Zope] dtml-tree, the bane of my life :(

2000-08-22 Thread Adam Karpierz
Okay, firstly, I notice dtml-tree doesn't support the standard abbreviation: dtml-TAG "x" - dtml-TAG expr="x" As the following: dtml-tree "_.getitem('sequence-item',0)" branches="postingValues" gives me: Error Type: KeyError Error Value: "_.getitem('sequence-item',0)" There is a patch for

[Zope] (my) faulty ZClass constructor

2000-08-22 Thread Jean Jordaan
Hi all I realize it's probably going to turn out to be my mistake all along .. anyway, further testing shows that this works:: dtml-call "RESPONSE.redirect( DestinationURL()+'/manage_workspace')" but this:: dtml-if DestinationURL dtml-call "RESPONSE.redirect(

[Zope] that weird manage role ..

2000-08-22 Thread Jean Jordaan
Seeing that 'manage' isn't defined as a role (looking at http://localhost:8080/manage_access ), I was confused about where it came from. Turns out that the superuser (the one entered when installing Zope) has that role, and managers defined "inside" Zope have the role 'Manager'. Is this

[Zope] houston zope users

2000-08-22 Thread technology
Houston zope users: Please email me at [EMAIL PROTECTED] . Lets talk about zope. -Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Split Data.fs

2000-08-22 Thread Marcus Mendes
Hello, Is a good idea split Data.fs? (comments) Is there any way to divide or split the Data.fs into some parts? Thanks. Marcus Mendes ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] ZScheduler and Pack

2000-08-22 Thread Marcus Mendes
Hi, Is it a security risk to leave the Zscheduler pack my Data.fs? Thanks. Marcus Mendes ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Missing doc string

2000-08-22 Thread Erik Enge
[Erik Enge] | Anybody who know which doc string I'm missing? Yes. I know, you lowlife. You see, the misc_ isn't a tuple, it's a dictionary - repeat after me: d i c t i o n a r y. Got that now? Sheesh... ;-) ___ Zope maillist - [EMAIL

[Zope] base instead of SiteAccess

2000-08-22 Thread George Osvald
I am using ProxyPass configuration with Apache and SiteAccess. My web-site is located on ISP's server in my user directory. Because I can't stay on line for too long during a day(I have a phone on the same line) I tend to do all editing off line and then at night upload the lot. The subdirectory

[Zope] Can I use Zope?

2000-08-22 Thread ryon
I would like to run Zope from my commercial host. I definitely can not get root, and they do not allow cgi scripts from anywhere other than cgi-bin. Therefore Gldnspud's "third-party" installation notes do not apply. Errors when I try. I can unzip and install successfully in the cgi-bin,

[Zope] (no subject)

2000-08-22 Thread George Osvald
Hello everyone! My ISP where I have my web page, is running freeBSD 4.0. I do not know a lot about it. I know how to use crontab to start ZOPE at certain time how ever how do I use crontab to check on the script that is already running? Starting ZOPE again when it's running produces an error

[Zope] Xron and Security [was ZScheduler and Pack]

2000-08-22 Thread Loren Stafford
From: "Marcus Mendes" [EMAIL PROTECTED] Is it a security risk to leave the Zscheduler pack my Data.fs? I don't have an answer, but I can clarify the risk. We can use packing Data.fs as an example application, but the question about security is more general. Xron (formerly ZScheduler) does

Re: [Zope] Permissions / roles question

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Jean Jordaan wrote: dtml-comment ## njj: change (changes to login code for GUF) ## [...] I mean, the Manager role *does* have the 'Change ZWiki Pages' permission, and does *not* have the 'Anonymous' roles. Actually, in at least some versions of GUF, all users also

Re: [Zope] QSurvey 0.23 and Zope 2.2.1b

2000-08-22 Thread Jim Washington
Hi, Alexander I have not worked with 2.2.1b yet and have not seen this. But it sounds like the import is expecting things to be in a different order than the export, which does not help much for a solution. Thus I agree with the error message: (Waaa). If it wasn't for the b I would possibly:

Re: [Zope] RE: [Zope-dev] Fighting with ZServer

2000-08-22 Thread Dieter Maurer
[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. That may be possible. However, this avoids browser caching of the images (at least

Re: [Zope] (my) faulty ZClass constructor

2000-08-22 Thread Dieter Maurer
Jean Jordaan writes: further testing shows that this works:: dtml-call "RESPONSE.redirect( DestinationURL()+'/manage_workspace')" but this:: dtml-if DestinationURL dtml-call "RESPONSE.redirect( DestinationURL()+'/manage_workspace')" /dtml-if

[Zope] processing dtml in external method

2000-08-22 Thread Scott Shepherd
Friends, I have an external method that returns a string containing dtml, but I want it to evaluate the dtml and return the result. How do I do that? I noticed in, say, /usr/share/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, that dtml-containing *files* are used as object

[Zope] tree tag example fails

2000-08-22 Thread jon
This example here :- http://www.zope.org/Members/anthony/tree-coding-tricks with the external method class _dummy: def __init__(self, name): self.name=name def child_lookup(parent): c = [] for i in range(0,5): c.append(_dummy("%s.%d"%(parent, i))) return c

Re: [Zope] base instead of SiteAccess

2000-08-22 Thread Evan Simpson
From: "George Osvald" [EMAIL PROTECTED] I am using ProxyPass configuration with Apache and SiteAccess. [snip] The subdirectory of my web site is 'okstudio'. [snip] I was trying to use SiteAccess on my home machine but could not get it working. It would not work for http://localhost or

[Zope] copy / paste support

2000-08-22 Thread Andy McKay
I know some people have helped me on this thread before but Ive had chance to look at this again and Im still stumped on this. Newly created 2.2 objects still have a problem. Using custom class in Zope 2.2.0. Thanks. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL

[Zope] Fwd: Re: [Zope] zope2.2.0 and what is high load

2000-08-22 Thread Bak @ kedai
conclusion (sort of) I suggest that you: 1) Monitor your Zope clients' thread usages by using their debug facilities. did this and saw that a lot of connections spent on getting images. when the images were moved so that apache serve them, the server is more responsive, now, i

Re: [Zope] Yihaw on 2.2.1b1, boolean properties

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Wolfgang Strobl wrote: 9. Uncheck "Highlight" and push Save Changes. Result: The boolean Highlight property checkbox is still checked. There is no way of making it unchecked, again. This *sounds* like the boolean property bug that appeared in 2.2 (I think) and was

Re: [Zope] generalizing DTML method question

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Jean Jordaan wrote: How do I generalize this DTML method? [...] dtml-in origin_values [...] The problem is that 'origin_values' bit. It's a TinyTable. I want to make 'makeList' a DTML method on its own, and then call it to make lists of: clearance_values [...]

Re: [Zope] Split Data.fs

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Marcus Mendes wrote: Is a good idea split Data.fs? (comments) I'm sure it depends on your system design and constraints. In a "normal" situation (whatever that is grin) it probably doesn't matter much. Some cases where you'd consider it: getting around the Linux 2GB

Re: [Zope] QSurvey 0.23 and Zope 2.2.1b

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Alexander Chelnokov wrote: Just installed Z2.2.1b, successfully imported some products but when trying to import QSurvey 0.23 got the message: Zope Error Zope has encountered an error while publishing this resource.

Re: [Zope] Vocabulary and stop words

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Andy McKay wrote: I havent been able to the find TFM to read on Vocabulary and stop words in ZCatalog. I need to search by stuff such as XML::Parser and I think I need to patch 2.2 to do it. But a FM would help. Can anyone point me that way. I don't think there is one.

[Zope] Barcodes, magnetic cards, etc.

2000-08-22 Thread Erik Enge
Good morning, people. I was wondering, can Zope interface to barcodes, magnetic cards (e.g. credit cards) and other common shop-"accessories"? Feedback is greatly appretiated :) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] processing dtml in external method

2000-08-22 Thread Kapil Thangavelu
Scott Shepherd wrote: Friends, I have an external method that returns a string containing dtml, but I want it to evaluate the dtml and return the result. How do I do that? I noticed in, say, /usr/share/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, that dtml-containing

Re: [Zope] Split Data.fs

2000-08-22 Thread Kapil Thangavelu
"R. David Murray" wrote: On Tue, 22 Aug 2000, Marcus Mendes wrote: Is a good idea split Data.fs? (comments) I'm sure it depends on your system design and constraints. In a "normal" situation (whatever that is grin) it probably doesn't matter much. Some cases where you'd consider it:

[Zope] Patch for extended expression syntax of dtml-tag attributes.

2000-08-22 Thread Adam Karpierz
Very please for discussion and acceptance: http://classic.zope.org:8080/Collector/1541/view Regards -- Adam Karpierz [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Extended expression syntax for 'sort' attribute of dtml-in tag (sort-python=...).

2000-08-22 Thread Adam Karpierz
Very please for discussion and acceptance: http://classic.zope.org:8080/Collector/1542/view Regards -- Adam Karpierz [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope-dev] Bugs in new Security Stuff :P (part1)

2000-08-22 Thread Chris Withers
Right, firstup this thing about HTMLFile's which form part of the management interface. Why are they totally immune to the security stuff? It gets really confusing when something works fine in a management screen and yet breaks everywhere else, especially when it's not throwing a security error

[Zope-dev] Bugs in new Security Stuff :P (part 2)

2000-08-22 Thread Chris Withers
Okay, next up, if it's a security error, it should throw a security error! :( Squishdot Posting's can have file attachments. class Posting(Persistent, Implicit,RoleManager): ... # protected by 'View' permission def attachment(self): file=self.file return

Re: [Zope-dev] aq_inContextOf/can anyone explain this zmonitor log?

2000-08-22 Thread Bob Pepin
On Mon, Aug 21, 2000 at 04:21:33PM +0100, Toby Dickenson wrote: On Mon, 21 Aug 2000 16:03:38 +0200, Bob Pepin [EMAIL PROTECTED] wrote: Yeah, this is a good one. Theres some debate in the Collector about whether this is actually a bug or not. In short, aq_inContextOf checks for nested

Re: [Zope-dev] Bugs in new Security Stuff :P (part1)

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Chris Withers wrote: Why are they totally immune to the security stuff? It gets really confusing when something works fine in a management screen and yet breaks everywhere else, especially when it's not throwing a security error (more in part II ;-) So, why is it like

[Zope-dev] Security Stuff :P (part 3) : the tracebacks

2000-08-22 Thread Chris Withers
Well, what do you know? I leave it for a couple fo hours to set up a laptop, come back and try again. It's not hanging anymore, but I'm still getting the errors when I click cancel: Chris Withers wrote: Posting's objects have a text attribute called 'subject' Unless you have

[Zope-dev] Re: Yup, the problem's still there...

2000-08-22 Thread odysseus
Ah That would explain it! How about this, instead of an attribute, I created a method: def icon(self): return 'misc_/Squishdot/squishfile_img' This seemed to work. Attached is the patch. Comments? -Lance On Tue, 22 Aug 2000, Chris Withers wrote: Lance wrote: I think you

[Zope-dev] Bug in careful_getattr()?

2000-08-22 Thread Jeff Hoffman
Hello, I have been fighting a problem with PythonMethods/ZClasses. I have a ZClass, MyTestClass, which has four methods: method1 (DTML Method) method2 (DTML Method) showMethods (DTML Method) showMethods2 (PythonMethod) showMethods is defined as: dtml-var standard_html_header p

[Zope-dev] Xron and security

2000-08-22 Thread Steve Alexander
Hi Loren, I'd be glad to listen to well considered proposals for how Xron should handle security. Consider this a "straw man". On installation, Xron creates a user in the root user folder called "XronUser". Xron is resonsible for setting this user's password. Therefore, it is known to both

Re: [Zope-dev] Xron and security

2000-08-22 Thread Loren Stafford
Thanks, Steve. I have few questions below 8-) (I'm always better with questions than answers.) -- Loren From: "Steve Alexander" [EMAIL PROTECTED] Hi Loren, I'd be glad to listen to well considered proposals for how Xron should handle security. Consider this a "straw man". On

[Zope-dev] Patch for extended expression syntax of dtml-tag attributes.

2000-08-22 Thread Adam Karpierz
Very please for discussion and acceptance: http://classic.zope.org:8080/Collector/1541/view Regards -- Adam Karpierz [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or

[Zope-dev] Extended expression syntax for 'sort' attribute of dtml-in tag (sort-python=...).

2000-08-22 Thread Adam Karpierz
Very please for discussion and acceptance: http://classic.zope.org:8080/Collector/1542/view Regards -- Adam Karpierz [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or