[Zope-dev] Adding functions to _

2000-09-18 Thread Itamar Shtull-Trauring
I'm using CVS Zope, and I want to add a function of mine to _, so I have the following code in a Product's __init__.py: from log2vis import log2vis from DocumentTemplate.DT_Util import d d["log2vis"] = log2vis However, when I call the function, I get an error about DocumentTemplate,

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Simon Michael
Chris Withers [EMAIL PROTECTED] writes: I wonder what Simon Michael is up to nowdays? I have been visiting family.. I'll be back in the US next week. Great thread here. I also feel this pain, grovelling around between wiki, mailing list, newsgroup, message board, etc. I wonder if we should

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
On Fri, 15 Sep 2000 11:27:33 -0400 (EDT), Ken Manheimer [EMAIL PROTECTED] wrote: (Not sure that will scale, but creating new lists for each proposal definitely won't scale. I dont see this as a problem: You only create a new list when the traffic for that proposal gets too great for zope-dev.

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
On Fri, 15 Sep 2000 11:40:09 -0400 (EDT), Ken Manheimer [EMAIL PROTECTED] wrote: Do you feel that weblogs are bad models for debates? I find the wiki and weblog tools available today to be inferior to mailman for debates, and it will take alot of work to develop WikiNG into a serious contender.

[Zope-dev] Calendar tag 0.9.22 released

2000-09-18 Thread Ibañez Palomar Juan David
Hi all, There's a new version of the calendar tag, I need feedback about it, specially from those who use the "setCalendar('url_', ...)" hook or the "linkDate(...)" function. thanks, david ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Evan Simpson
From: Phillip J. Eby [EMAIL PROTECTED] [snip description] The effective external behavior of these two attributes, would be to let a web designer load and save any page or template they wished in the site, freely making changes to the header, footer, or various embedded elements thereof, and

Re: [Zope-dev] Adding functions to _

2000-09-18 Thread Evan Simpson
From: Itamar Shtull-Trauring [EMAIL PROTECTED] However, when I call the function, I get an error about DocumentTemplate, from which I discovered that when I call _.logvis('a_string'), instead of the string being passed as the first parameter, _ is passed as the first parameter to my function,

[Zope-dev] soap and zope

2000-09-18 Thread Magnus Heino (Rivermen)
Has anyone done anything with soap and zope? /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack of support for local roles. Specifically, members do not show

[Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Kevin Howe
Hi, I'm wondering if it is possible to use ZPattern Plugins in a non-ZPatterns Product? Allowance for Plugins would be a very useful feature in many applications. kh ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Steve Alexander
Kevin Howe wrote: Hi, I'm wondering if it is possible to use ZPattern Plugins in a non-ZPatterns Product? Allowance for Plugins would be a very useful feature in many applications. You can use PlugIns without using the rest of ZPatterns, such as DataSkins and Racks. You still have to have

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Steve Alexander
Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack of support for local roles.

Re: [Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Kevin Howe
Splitting into DataSkins and Plugins sounds like a really sensible idea, I defintely put my vote in for that. - Original Message - From: "Steve Alexander" [EMAIL PROTECTED] To: "Kevin Howe" [EMAIL PROTECTED] Cc: "ZOPE-Dev Mailing List" [EMAIL PROTECTED] Sent: Monday, September 18, 2000

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: So the standard_page_template default wrapping is an attempt at a compromise. It's wrong. Please elaborate your position. :-) Why is it wrong? Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] FYI: preliminary Zope 2.3 plan online...

2000-09-18 Thread Brian Lloyd
Hi all - For those interested, I've finally gotten the current plan for the next planned Zope feature release online on dev.zope.org: http://dev.zope.org/Resources/zope_230_plan.html Note that there is no planned date at this point. If there is something that you think should be on there

[Zope-dev] __del__

2000-09-18 Thread Andy McKay
Is there an method that I can use as a hook when an object is destroyed? (Im trying to save some _v_ data prior to destruction. Ive tried __del__ but this doesnt seem to get called. Thanks. -- Andy McKay, Developer. ActiveState. ___ Zope-Dev

Re: [Zope-dev] Custom dtml tag

2000-09-18 Thread Andy McKay
Finally woke up on this problem. Got this working by simply calling resolve_url upon the request object. But what I want is a result that changes depending upon the object. Let's face it, this can be acheived a whole lot easier by creating a method for the objects and calling that. So thats

Re: [Zope-dev] __del__

2000-09-18 Thread Chris McDonough
If it's an object in an objectmanager, you can define a manage_beforeDelete() method on it (see ObjectManager.py). How are you destroying it? [EMAIL PROTECTED] wrote: Is there an method that I can use as a hook when an object is destroyed? (Im trying to save some _v_ data prior to

Re: [Zope-dev] __del__

2000-09-18 Thread Andy McKay
I was hoping to have this method fired Zope is shut down, restarted etc and not call it implicitly. The theory being if this object is cached it will have to be unloaded at some point? Ive used manage_beforeDelete() elsewhere and it works fine when Im destroying an object whilst ZODB is still

Re: [Zope-dev] __del__

2000-09-18 Thread Andy McKay
Wow thanks. I'll see what I can do. I can think of a whole bunch of uses for that. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, September 18, 2000 3:10 PM Subject: Re: [Zope-dev] __del__ Oh I see... objects

Re: [Zope-dev] User objects on 2.2

2000-09-18 Thread Lalo Martins
On Sun, Sep 17, 2000 at 11:22:49PM -0300, Lalo Martins wrote: Why doesn't Anonymous have permission to call has_permission on itself? This is counter-intuitive to say the least... Ooops... they have, kind of. The Anonymous user object inherits the permissions from the top-level User Folder

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Bill Anderson
Michael Bernstein wrote: Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
Michael Bernstein wrote: Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for

Re: [Zope-dev] Returning a list of names from a Python Method

2000-09-18 Thread Michael Bernstein
Michael Bernstein wrote: Does anyone on the list know how to change the getUserNames Python method to return a list of names instead of a list of objects? The code in question is this: user_ids=self.UserSource.getPersistentItemIDs() names=[] for i in user_ids:

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
I figured out how to get this to work (finally). In the acl_users LM, add the following two Python methods: - getUserNames - Parameter List: self Body: user_ids=self.UserSource.getPersistentItemIDs() names=[] for i in user_ids: names.append(i)

[Zope] ZWiki and Table

2000-09-18 Thread Uwe Hentzschel
I want to use zwiki-sites in a table: +---+---+ | some | ZWiki-Sites | | stuff | | +---+---+ The ZWiki-Sites ok, but editform and backlinks won't work. I'm a DTML-novice. Thank's -- Uwe

[Zope] Sending attachments

2000-09-18 Thread Enric Cervera
Hi, I've written a form whose contents are emailed with dtml-sendmail. It works great, but I want to include a field in the form to select a file which should be included as an attachment in the email. I've used dtml-mime and dtml-boundary as explained in the manual but it does not work. The

Re: [Zope] ZOPE - Size reduction ???

2000-09-18 Thread JTC Murphy
This is funny. HDs are so cheap today, Er, this is fine if you're building a new box (and if you're using simple IDE drives) but rather less so if you've exceeded the capacity on an existing system and/or you're using SCSI drives. Yes capacity is cheap, but /adding/ capacity is rather less

[Zope] standard_error_message confusion

2000-09-18 Thread Danny William Adair
Hi all! I'm using LoginManager to provide for a non-HTTP authentication. A role "Member" has access to a folder "Restricted", the role "Anonymous" doesn't have any rights at all in this folder. All objects in this folder acquire these security settings. So far, so good. The login form from the

Re: [Zope] ZOPE - Size reduction ???

2000-09-18 Thread Nils Kassube
Guten Abend. Er, this is fine if you're building a new box (and if you're using simple IDE drives) but rather less so if you've exceeded the capacity on an existing system and/or you're using SCSI drives. I use Ultra Wide SCSI on my main workstation. Compared to what I had to pay for a 20 MB

[Zope] ZMYSQLDA

2000-09-18 Thread Dicken, Peer
Hi, I installed ZmySQLDA and that mysqldb extension. A test with python "import _mysql" works, but in the control panel the ZMYSQLDA is broken: ZMySQLDA Import Traceback Traceback (innermost last): File "/usr/local/zope/lib/python/OFS/Application.py", line 396, in import_products

[Zope] 1

2000-09-18 Thread Jørn Helge B. Dahl
Hi all. I'm sorry if this is discussed before, but my search thru the archive did not yield any results. Basically, this is what I want: 1. I have a file that I want to upload. That I know how to do. 2. Then I want to use the properties of the file I uploaded (id, size, name and so forth)

[Zope] file upload and MySQL

2000-09-18 Thread Jørn Helge B. Dahl
Sorry for the malformed subject header on the last post, corrected now. Previous post: Hi all. I'm sorry if this is discussed before, but my search thru the archive did not yield any results. Basically, this is what I want: 1. I have a file that I want to upload. That I know how to do. 2.

[Zope] WG: [Zope] ZMYSQLDA

2000-09-18 Thread Dicken, Peer
Hi, I´ve got it running. ZMYSQLDA could not find the libraries from mysqldb. Yes, you´re right, it was a FAQ. BTW: Is there any product that acts as acl_users which allows to collect more information from my users, like company name, adress ... ? MfG / best regards, Peer Dicken IMD

[Zope] Yihaw translation

2000-09-18 Thread Didier Georgieff
Hello, I'm going to adapt Yihaw 1.0 in French (for the visible part for our users). I'll use VaryTag (and not ZBabel to avoid SQL dependency). In order to avoid duplicate work, is there anybody already involved in adapting Yihaw to multi-languages ? Regards. -- Didier Georgieff DDAF du

[Zope] Zope not starting after VaryTag install

2000-09-18 Thread Didier Georgieff
Hello, Just after installing VaryTag, Zope (2-1-6) restart fine, but when i try to connect to my zope adress, i got an error (traceback further). So i stopped Zope, removed the VaryTag product, and the error is still here. So, i don't have access to my manage screen to remove the VaryTag

Re: [Zope] Zope not starting after VaryTag install

2000-09-18 Thread Tino Wildenhain
Hi Didier, so it looks like the vary Tag may be not compliant to older ( 2.2.x) releases of Zope? I have to check this. You should probably check if you really need an ancient version of Zope ;-) I'm really wondering how the tag can cause such a behavior. Its almost an extract of the mime-tag

[Zope] Re(2): [Zope] Zope not starting after VaryTag install

2000-09-18 Thread Tino Wildenhain
Re again, I just checked with 2.1.6 (winNT) and it worked without problems. Can anybody else confirm this? Regards Tino Didier Georgieff wrote: Hello, Just after installing VaryTag, Zope (2-1-6) restart fine, but when i try to connect to my zope adress, i got an error (traceback

[Zope] Desperate Zope is crashing ....

2000-09-18 Thread Daniel Rusch
Hey all, I have a major problem! Our Zope site is crashing every few hours. I've grep'ed the python processes and they are still running but I can't access any pages. It's very strange because it just started happening last thursday. Prior to that we had no problems. No changes were made to the

Re: [Zope] Ann: ZGDChart 0.4.2.b

2000-09-18 Thread Wolfgang Strobl
On 16 Sep 2000, 16:17 Chui Tey wrote: ZGDChart with more chart styles, data from non-SQL sources, plus Linux binaries. After installing ZGDChart, I noticed a handfull of new permissions with strange one-letter names, including a blank one, but no "Add ZGDCharts" permission. Changing

[Zope] Urgent: acquisition and permissions question.

2000-09-18 Thread Gilles Lavaux
Hello everybody Maybe the answer is easy, but I can not find the solution:(and maybe I was completly wrong about permissions) I have a folder containing SQLs and methods: /project and a subfolder who has his access and view security setting disable for anonymous: /project/protected When

[Zope] Fwd: Re: [Zope] Urgent: acquisition and permissions question.

2000-09-18 Thread Diego Rodrigo Neufert
Just put an index_html under protected folder the user will get access denied... On Mon, 18 Sep 2000, you wrote: Hello everybody Maybe the answer is easy, but I can not find the solution:(and maybe I was completly wrong about permissions) I have a folder containing SQLs and

[Zope] Acl_user and user informations on MySQL (was ZMYSQLDA)

2000-09-18 Thread Didier Georgieff
I ´ve got it running. ZMYSQLDA could not find the libraries from mysqldb. Yes, you´re right, it was a FAQ. BTW: Is there any product that acts as acl_users which allows to collect more information from my users, like company name, adress ... ? Hello Peer, We've got the other "half-empty

Re: [Zope] Fwd: Re: [Zope] Urgent: acquisition and permissions question.

2000-09-18 Thread Gilles Lavaux
Yes, I know, but I want to avoid duplicating methods. And I would like to understand why it's not working as expected. Gilles -Original Message- From: Diego Rodrigo Neufert [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, September 18, 2000 5:36 PM Subject: [Zope]

[Zope] SiteAccess Installation failure

2000-09-18 Thread marwin98
Hello list, I just tried to install SiteAccess, because I need virtual hosting with Apache and Zope which works great - instead of the "rootfolder"-thing that SiteAccess is for. Without SiteAccess everything works fine: http://my.server.dom:8080/manage and http://vhost.server.dom/ (using

Re: [Zope] Dynamically render DTML?

2000-09-18 Thread Magnus Alvestad
As a follow-up, is it possible to evaluate DTML that is returned from an SQL Query? -Magnus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] repost of ImplicitAcquirerWrapper

2000-09-18 Thread Martijn Pieters
On Sat, Sep 16, 2000 at 02:04:59PM -0400, Chalu Kim wrote: Here is the trace; 2000-09-16T17:34:55 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\017\225' Traceback (innermost last): File /usr/local/Zope-2.2.0-src/lib/python/ZODB/Connection.py, line 447, in setstate

Re: [Zope] ANNOUNCE: KM|Net News 1.1.1

2000-09-18 Thread Joshua Brauer
Thanks! I'm having trouble though in that after deleting the old product and trying to import the new product I get an error that KMyear already exists. Am I doing something wrong? Josh At 10:40 AM -0400 9/16/00, Kevin Dangoor wrote: Hi, I've had a few reports of trouble with KM|Net

[Zope] manage_delObjects on ZopeTime

2000-09-18 Thread Dr. Anthony Monta
Hi everyone, I'm rolling my own resume'-posting application for Zope 2.2.x using custom ZClasses and methods, and I have a question: what's the DTML for making these objects auto-delete after x number of days? I think I have to tell a method displaying the resume's to apply manage_delObjects

[Zope] cbsnewyork.com

2000-09-18 Thread Scheidt, Tom E
Hi Melanie, Can you make sure nothing is pointing to: stage.nyc.local.cbsig.net Please have anything pointing there go to www.cbsnewyork.com instead. Thanks. Tom Scheidt Design Manager cbsnewyork.com EMAIL:[EMAIL PROTECTED] PHONE:212.975.7807 PAGER:917.566.1061 [EMAIL PROTECTED]

Re: [Zope] Design Question

2000-09-18 Thread Maik Roeder
Hi Tim ! Tim Cook wrote: Tim Cook wrote: Anyway I pickled the dictionary and it's just over 1.3MB so I thought I'd use an external method to read the pickled object, pass it the paragraph and test for the correct code(s), then return a list. Is this the most effective way to use

Re: [Zope] file upload and MySQL

2000-09-18 Thread Dieter Maurer
=?iso-8859-1?q?J=F8rn?= Helge B. Dahl writes: So, what I do not know, is how I "extract" the information from the file upload, and make it available to my sqlMethod. This is an FAQ (answer found in the searchable list archive!). Uploaded files are "ZPublisher.HTTPRequest.FileUpload"

Re: [Zope] Urgent: acquisition and permissions question.

2000-09-18 Thread Dieter Maurer
Gilles Lavaux writes: Maybe the answer is easy, but I can not find the solution:(and maybe I was completly wrong about permissions) I have a folder containing SQLs and methods: /project and a subfolder who has his access and view security setting disable for anonymous:

[Zope] API documentation bug (was: [Zope] set date property from External Method)

2000-09-18 Thread Dieter Maurer
Gijs Reulen writes: If you use the "PropertyManager" interface (as you should), then string values are *converted* to the correct type automatically. Not so, according to my info and tests: From the Zope 2.2.1 API docs on manage_changeProperties(self, REQUEST=None, **kw):

Re: [Zope] ZODB Edit

2000-09-18 Thread Chris McDonough
Hi Joshua, See the "The Debugger Is Your Friend" how-to on Zope.org by Michel Pelletier. [EMAIL PROTECTED] wrote: Is there a way to edit Data.fs independent of the Zope interface? From what I can tell I have a remnant of a deleted product still "registered") and therefore can't add a

Re: [Zope] string to list?

2000-09-18 Thread Dieter Maurer
Nitesh Dhanjani writes: Hello, I have a Z SQL method which returns me a string like {{"a"},{"b"},{"c"}} Is there anyway I can write a dtml-in loop to pick out each element from the string? I want to be able to do something like: dtml-in my_zsql_method_which_returns_a_string

Re: [Zope] Re: Mailhost problems (was: [Zope] (no subject))

2000-09-18 Thread Dieter Maurer
"Suhail Murtaza" writes: hello sir... Thanx for responding. i have tried all the things ur goodself mentioned and tried it again today after reading ur mail..but somehow couldnt come up with success.. There is an essential thing with "dtml-sendmail". The header fields must not be

Re: [Zope] nested in tags

2000-09-18 Thread Dieter Maurer
Tom Deprez writes: Any experience with using nested in tags with ZSQLMethods? A FAQ. The searchable archive contains at least 5 threads about this theme. If I use nested in-tags iand use the previous-sequence, ... tags (in the inside in-tag) it seems that it looks at the first (outside)

[Zope] ZODB Edit

2000-09-18 Thread Joshua Brauer
Is there a way to edit Data.fs independent of the Zope interface? From what I can tell I have a remnant of a deleted product still "registered") and therefore can't add a new/similar product because it has an identical class-id. The product is a z-class so it's gone from the product menu and

Re: [Zope] FSSession problems...

2000-09-18 Thread Ayhan Ergul
I am also experiencing the problem of two different users sharing the same session inadvertently. However, in my case, I can disqualify a few things that were previously discussed as possible reasons why this happens and add some more info: - Zope is running without Apache - Clients have

Re: [Zope] Dynamically render DTML?

2000-09-18 Thread Mark N. Gibson
Thanks too all who replied, I may have simplified my problem a little too much before posting it. The heart of it is that I'd like to have the Zope evaluate an arbitrary string as if it were a DTMLMethod For those interested, here is what I ended up doing...

Re: [Zope] dtml-tree urlparam

2000-09-18 Thread Jonothan Farr
Oops. Forgot to mention, this patch adds a new param to the tree tag, 'urlparam_expr' which is a Python expression to evaluate and use as the urlparam. --jfarr - Original Message - From: Júlio Dinis Silva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 18, 2000 12:59 PM

Re: [Zope] Design Question

2000-09-18 Thread Tim Cook
Maik Roeder wrote: I guess the Catalog doesn't support OR searches, which would do what you need. Actually the ZCatalog solution works. But having 15,212 instances of a ZClass in one BTree folder was pretty slow. I ASS-U-MEd that an external python method might provide a better solution?

Re: [Zope] Design Question

2000-09-18 Thread Maik Roeder
Hi Tim ! Tim Cook wrote: I guess the Catalog doesn't support OR searches, which would do what you need. Actually the ZCatalog solution works. But having 15,212 instances of a ZClass in one BTree folder was pretty slow. I ASS-U-MEd that an external python method might provide a better

[Zope] Data date type returned by ZSQL method

2000-09-18 Thread Stuart Foster
I am trying to format a date value that is returned by a ZSQL method but keep getting an error. I am using the same format string where I use ZopeTime dtml-var ZopeTime fmt="%m/%d/%Y". Yet when I try to use it for a timestamp field from PSQL I get the following error. Error Type: ValueError

Re: [Zope] ZODB Edit

2000-09-18 Thread Joshua Brauer
OK maybe I'm missing something, but I can't see how to use the debugger to get information that Zope won't normally serve anyway. I'm trying to find the remnant of a product that didn't' get completely deleted. It doesn't appear on the management interface and I can't see anything with the

Re: [Zope] Desperate Zope is crashing ....

2000-09-18 Thread Bak @ kedai
i'm no expert, but have you tried starting zope in debug mode or with STUPID_FILE_LOGGER enabled? that may help point where the errors may have come from http://lists.zope.org/mailman/listinfo/zope-dev ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine I will follow you!

[Zope] JOB: Fantastic Zope position at Fortune 100 company

2000-09-18 Thread Paul Everitt
Hello friends. We at Digital Creations have been pretty low-key about promoting job announcements. I'll break the tradition, but only to promote someone else's job position. The reason I'm getting involved is the project is a Big Deal for Zope and the folks involved are great people. For

Re: [Zope] CatalogAwareness is broken on 2.2

2000-09-18 Thread Lalo Martins
On Mon, Sep 18, 2000 at 10:47:35PM -0300, Lalo Martins wrote: CatalogAwareness in 2.2.x doesn't follow the new ZCatalog traversal standard - it uses absolute_url() to get the url it will give to the ZCatalog, and ZCatalog now wants an absolute (non-virtual) path. In practice, this means