Re: [Zope-dev] ZCatalog uniqueValuesFor() cached?

2000-10-04 Thread Chris Withers
Stick it in the collector: http://classic.zope.org:8080/Collector/ Chris Brett Carter wrote: How can I update the uniqueValuesFor()? Whenever I delete one of my ZCatalog-aware zclasses, they are still returned in uniqueValuesFor. What gives? is this cached or something? -Brett

[Zope-dev] Re: CoreSessionTracking proposal

2000-10-04 Thread gotcha
--- In [EMAIL PROTECTED], "Chris McDonough" [EMAIL PROTECTED] wrote: Without a client-checking scheme (such as encoding the IP address in the token), a token theft attack is very easy. As voiced by others in the thread, client-checking is not reliable, should not be a default, and maybe

Re: [Zope-dev] (no subject)

2000-10-04 Thread Dieter Maurer
[EMAIL PROTECTED] writes: using LocalFS 0.95 war fine until trying to upgrade to Zope 2.2.2. Both freshly installed, the following snippet raises the error: "Unauthorized", "You are not authorized to access read.": dtml-var standard_html_header dtml-var "frei['analog.html'].read()"

[Zope-dev] How to add a SessionID to each page

2000-10-04 Thread Loibl Johann
Hi, I would like to add a SessionID at the end of each requested URL because I would like to know which pages were requested by one user in one session. For example like AMAZON does it: www.amazon.com/books?SessionID=123456 http://www.amazon.com/books?SessionID=123456 My problem: There are to

Re: [Zope-dev] Need help tracking down the cause of a traceback

2000-10-04 Thread Dieter Maurer
Hi Skip, Skip Montanaro writes: I occasionally get tracebacks like No input for required field File /home/dolphin/skip/src/Zope/lib/python/ZPublisher/HTTPRequest.py, line 445, in processInputs File

Re: [Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Phillip J. Eby
Just out of curiosity, did you find this out by reading the draft SkinScript reference documentation on the ZPatterns Wiki? At 03:45 PM 10/4/00 +0100, Steve Alexander wrote: I just found out that you can access all sorts of useful methods in SkinScript from the magical "_" namespace variable.

Re: [Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Steve Alexander
"Phillip J. Eby" wrote: Just out of curiosity, did you find this out by reading the draft SkinScript reference documentation on the ZPatterns Wiki? No. I just guessed. I think I might have read it in the source the other day too. I'll take a look at the wiki now:

[Zope-dev] ConflictError

2000-10-04 Thread Andre Schubert
Hi, who can tell me a story about the following error. thanks as 2000-10-04T15:49:35 INFO(0) Z2 CONFLICT Competing writes at, /Management/Geyer/Cluster_1/Verstaerker_1/Modem_7/chart_images Traceback (innermost last): File /usr/share/zope_2.2/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,

RE: [Zope-dev] RFClarification: Security on Product Attributes

2000-10-04 Thread Brian Lloyd
If I have the following lines in a Python Product: def __init__(self, id): """initialise a new instance of product""" self.id = id self.title = 'Title!' self.anInt = 0 self.aString = 'testing' Are these attributes protected by the security

Re: [Zope-dev] Zope Suitability for Computer Lab Project

2000-10-04 Thread Andy McKay
Zope is just simply not suited to lots of writes. Use Access as the relational database and use Zope as the reporting tool using ZODBCA to connect to Access. Then you get the best of both worlds. - Original Message - From: "John Hopkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[Zope-dev] ZODB

2000-10-04 Thread Roch'e Compaan
I am getting really funny problems with my Zope installation and I have no idea where to start looking. I for instance deleted a python product from the Products directory and when I start Zope the product is still listed in the Product list. I then packed the ZODB, cleared my Browser's cache,

RE: [Zope-dev] RFClarification: Security on Product Attributes

2000-10-04 Thread Phillip J. Eby
At 12:27 PM 10/4/00 -0400, Brian Lloyd wrote: I've verified (any of my previous comments to the contrary) that simple attributes (python types) do not really play in the permissions machinery. The canonical way to expose such things for now is to expose them through method calls (which can

Re: [Zope-dev] ZODB

2000-10-04 Thread Lalo Martins
For the third time, I have a similar problem. I deleted a ZClass-based Product, but the objects of those ZClasses still work - except for not having an icon or constructor, so I'm not able to create or cut/copy/paste them. Then, when I tried to import the newer version of the Product, Zope gave

[Zope-dev] Zope 2.2.2 Issue: AttributeError: __call__

2000-10-04 Thread knight
I hope I haven't overlooked anything here, and not posting ignorantly. After installing a fresh copy of Zope 2.2.2 on Python 1.5.2, everything seems to look ok. I created a new user with Manager, and then proceeded to create a subfolder for a new web site to test out some things in 2.2.2. I

Re: [Zope-dev] CORBA-ZODB: Is replacing global get_transaction() the only way...

2000-10-04 Thread John D. Heintz
Hi Jim! Glad to here from you. I don't think I'm clearly sharing the problem I'm having. See my comments below. John Heintz Jim Fulton wrote: "John D.Heintz" wrote: Hi all, I am about to embark on integrating ZODB with CORBA, Woo hoo! and am in the deep thinking phase of

[Zope-dev] Trying to catch up - what are the best Zope tools today?

2000-10-04 Thread Itai Tavor
Hi, I've been out of the Zope world for a few months... now I'm back and I need to quickly write a small-scale e-commerce application. It's got enough peculiarities to make it impossible to do with eTailer or EMarket, so I'm trying to figure out the best tools and approach to use for writing

[Zope-dev] Success! Was: Re: [Zope-dev] How is 'retrieveItem intended to work with TTWSpecialists? Specialists?

2000-10-04 Thread Steve Spicklemire
Thanks again... I just wanted to report that this worked like a treat! The actual syntax I ended up using was: WITH ProductSpecialist.getItem(self.id) COMPUTE theRealThing = (RESULT is _.None) and NOT_FOUND or RESULT WITH self.theRealThing COMPUTE

Re: [Zope-dev] ZPatterns design questions

2000-10-04 Thread Michael Bernstein
"Phillip J. Eby" wrote: Ty and I use ZClasses because you can see your changes much more quickly than if you have to restart Zope. Basing your ZClasses on DataSkin makes the limitations pretty much disappear, from our point of view, because we never put any actual "implementation" code in

Re: [Zope-dev] Trying to catch up - what are the best Zope tools today?

2000-10-04 Thread Michael Bernstein
Itai Tavor wrote: Can anyone provide a quick rundown of the best choices for building a production site at this time? I'm going to need sessions, user registration and login, and the usual array of e-commerce pieces (products, carts, orders, payments...), with all data stored in SQL. As far

[Zope-dev] AttributeError: __call__

2000-10-04 Thread knight
I just installed a fresh copy of 2.2.1 also, and I'm getting the same issue. Any items starting with a subfolder has a __call__ AttributeError. Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#2, Jun 3 2000, 12:50:41) [GCC 2.95.2 19991024 (release)]

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Hannu Krosing
Chris Withers wrote: Shane Hathaway wrote: I'm not sure how well MailHost scales, but you can certainly store thousands of names in a ZODB-managed list. Tests done for the BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if

[Zope] A temporary python object defined in a dtml-let tag ???

2000-10-04 Thread Frederic Quin
Hi all, I wonder if it's possible to create temporary a python object in a dtml-let tag. If someone knows more about how to do this, please, help me... Thanks Fred Quin ___ Zope maillist - [EMAIL PROTECTED]

[Zope] SiteRoot

2000-10-04 Thread Stephan Goeldi
I have a problem with SiteAccess: My site runs with Apache and Zope 2.0.0. Apache has 2 Domains: www.domain1.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain1.com/ in Zope exists: /provider/www/domain1.com www.domain2.com ProxyPass to Zope:

[Zope] DCOracle 1.3.2 for Windows NT

2000-10-04 Thread Marcin Dzienniak
Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I have Oracle 8i 8.1.6 .

Re: [Zope] IMAP and Zope!

2000-10-04 Thread Tom Deprez
Hi, I thought that WorldPilot told at the LinuxTag that version 2, would be more modular in design. I guess you can always ask the developers about the new release. Tom ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Last-modified header missing -- time-stamps turned off.

2000-10-04 Thread Jean Jordaan
Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to do with the http headers

Re: [Zope] DCOracle 1.3.2 for Windows NT

2000-10-04 Thread Francisco José Esteban Risueño
I'm not tried it yet, but you can get an VC6 Workspace for DCOracle in this page: http://starship.python.net/crew/arpadk/ Marcin Dzienniak escribió: Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT

RE: [Zope] database connection problem (halting Zope)

2000-10-04 Thread Hrasky Petr
thanks again, yes, the python versions I use are compiled for threads, they link against libpthread under linux. I have also found ZmxODBCDA adapter and it does not work for me yet - it shows in Zope as broken product. I also spoke to local Oracle hotline and they said that ODBC access is

Re: [Zope] Access problems

2000-10-04 Thread Danny William Adair
Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. Thanks, I've found the problem: It was a broken ZPatterns. I've updated to 0.4.2a3, but left an "old"

[Zope] Namespace problem with the dtml-sendmail and the smtphost

2000-10-04 Thread Max Møller Rasmussen
I have a dtml method in a zClass that looks like this: dtml-sendmail smtphost=theSMTPHost To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: This is a test A test!!! /dtml-sendmail "theSMTPHost" is defined as a property in the zClass. But when i use the method I get a: Error Type: error

[Zope] Integers in ZSQLMethod

2000-10-04 Thread Tom Deprez
Hi, Is it possible to use following code in ZSQLMethod : !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int --, But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. ___ Zope maillist - [EMAIL

Re: [Zope] Integers in ZSQLMethod

2000-10-04 Thread Ralph Heinkel
On Wed, 04 Oct 2000, you wrote: Hi, Is it possible to use following code in ZSQLMethod : !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int --, But also allow null as value for the integer? (Thus not filled in) use !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int optional-- or

Re: [Zope] Integers in ZSQLMethod

2000-10-04 Thread Tom Deprez
Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: On Wed, 04 Oct 2000, you wrote: Hi, Is it possible to use following code in ZSQLMethod : !--#sqlvar NMRSEQS.PAR_FLIPANGLE type=int --,

Re: [Zope] DCOracle 1.3.2 for Windows NT

2000-10-04 Thread Ayhan Ergul
Marcin Dzienniak wrote: I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Chris Withers
Hannu Krosing wrote: Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? Also you could send just one message to all the recipients instead of sending individual

Re: [Zope] dunno

2000-10-04 Thread Chris Withers
Fred Yankowski wrote: Version 0-7-2 of Squishdot seems to use the url_quote option when accessing the value of admin_address in particular, so when a DTML page has code like !--#var admin_address url_quote-- Where does this code occur? (all occurences please ;-) and admin_address

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Kapil Thangavelu
Jonathan Cheyne wrote: Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in

[Zope] Implementing a distributing mirror

2000-10-04 Thread Luciano Caroti
Hi, I would like to implement a system to distribute PDF document. I would like to use ZOPE on 5 server distributed in Europe. I would like to build a system that send an email to a paying user where I put an URL. I would like that in URL I send temporary authentication information to allow

[Zope] help! dtml-if question

2000-10-04 Thread Dr. Anthony Monta
Hi, I've tried to find a solution myself but now am stuck. I created a little "Blurb" product for a university department website so that faculty members can announce recent publications on the department's homepage. They create these ZClass instances in their own folders, and a DTML method

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Ken Manheimer
On Wed, 4 Oct 2000, Hannu Krosing wrote: Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. This seems like a good idea. It makes it hard to get disposition status for the delivery in the transaction - but

[Zope-dev] cookies ie5.5 win

2000-10-04 Thread Sebastian Luehnsdorf
hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an

Re: [Zope] IMAP and Zope!

2000-10-04 Thread Joachim Werner
Thanks for the input I got! Just a small wrap-up of what I learned: - The NotMail and old IMAP Adapter code don't seem to be seriously used by anybody - WorldPilot could be a solution, but it only if it was more modular. Ryan Hughes promised to integrate it into Zope by release 2 (incl.

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Bill Welch
Techniques for effeciently sending a message to a large number of recipients are covered extensively in majordomo documentation - www.greatcircle.com/majordomo. Also check out ftp://cs.utk.edu/pub/moore/bulk_mailer Bill. On Wed, 4 Oct 2000, Chris Withers wrote: Also you could send just one

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Daniel Rusch
dtml-if "AUTHENTICATED_USER.has_role('Staff', this())" This works for me, no pun intended :) Dan Kapil Thangavelu wrote: Jonathan Cheyne wrote: Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove

Re: [Zope] help! dtml-if question

2000-10-04 Thread Jim Washington
Hi, Anthony how about: dtml-if "_.len(objectValues(['Blurb'])) 0" Your _.has_key() (I think you meant _.hasattr()) statement was looking for something named "Blurb", not a thing of type"Blurb", so of course it failed. The objectValues(['atype']) statement returns a list of the things of

Re: [Zope] IMAP and Zope!

2000-10-04 Thread Morten W. Petersen
[Joachim Werner] | - There is a similar project by Morten W. Petersen that also will feature a |ZODB-based message storage that will be searchable, Catalog-aware etc. I've uploaded some stuff now. Take a look at http://www.zope.org/Members/morphex . This is basically just playing around;

[Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3

2000-10-04 Thread Danny William Adair
You can build one yourself on that server. Thanks, I've built one. :-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Client.py and timeouts

2000-10-04 Thread Hannes
I recently used Client.py to get data from the web into the zope machinery, the setup was exactly as proposed in the ZClient How-To. Maybe I missed something, but the Client module seems to support the setting of an timeout, but I was unable to finger out the right syntax I thought of:

[Zope] zope.org restarting

2000-10-04 Thread ethan mindlace fremen
Zopatistas, we're tracking down a memory leak. Thanks for your patience, ~ethan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Wierd 2.2.2 start up problem

2000-10-04 Thread J. Atwood
I have installed 2.2.2 on more than a few machines on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Peter Bengtsson
Stolen somewhere from this list, and I don't remember from who. dtml-if "AUTHENTICATED_USER.has_permission('Edit', this())" ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". dtml-if

[Zope] timecards@digicool.com

2000-10-04 Thread Shane Hathaway
Sorry for the tardiness. Shane 2917.xls 2924.xls

Re: [Zope] timecards@digicool.com

2000-10-04 Thread Shane Hathaway
Shane Hathaway wrote: Sorry for the tardiness. Uh, ahem, please disregard. Sorry for sending that to the wrong place. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

Re: [Zope] 'Offline' mailhost

2000-10-04 Thread Terry Kerr
Chris Withers wrote: Hannu Krosing wrote: Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? Also you could send just one message to all the recipients

[Zope] external method import error (ImportError)...

2000-10-04 Thread Eric
Hi, To summarize: How do I import modules in an External Method's .py file? I have an external method that points to a .py file that has an import statement at the top. The import statement loads another module of mine (CProject.py). I've placed both files (pwToxml.py and CProject.py) in the

Re: [Zope] 'websafe' colours

2000-10-04 Thread Curtis Maloney
On Wed, 04 Oct 2000, Stephan Goeldi wrote: According to a recent study, there are approximately 13 'web safe' colours, out of the full 16,777,216. What makes the other 15,777,203 'unsafe'? If you mean the 'browsersafe colours' then there are 218. Yes, my mistake. I did mean

Re: [Zope] Zope stalls indefinitely

2000-10-04 Thread ethan mindlace fremen
"Leichtman, David J" wrote: Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Any thoughts. I've posed this question to a lot of people many times. Now

Re: [Zope] Last-modified header missing -- time-stamps turned off.

2000-10-04 Thread ethan mindlace fremen
Jean Jordaan wrote: Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to

[Zope] WDDX anyone?

2000-10-04 Thread Albert Boulanger
Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also there is full rdf. From:

[Zope] Product Testing

2000-10-04 Thread Nestor A. Diaz L.
HI, i'm trying to learn how to make products, i have been able to modify the poll product that comes with the product tutorial, and now i'm creating a new product however i need to restart zope for the changes to take effect, i think i can omit this if i can compile (generate the *.pyc) in the

[Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2

2000-10-04 Thread Andrews, Martin
When I have the 2000-10-02 hotfix installed I can no longer authenticate to zope. I fails with the attached message (Error Type: AttributeError, Error Value: editabsolute_url). I am guessing the problem is related to the fact that I am using GUF 1.2.4 (patched to have the getUserById() method).

[Zope] Fw: ZSQL Methods in ZClasses, not working

2000-10-04 Thread Michel Pelletier
Just wanted to get this point archived... Thanks Michel. Forwarded by Alexander Schonfeld [EMAIL PROTECTED] Original message follows From: Michel Pelletier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: " \(DC Support List\)" [EMAIL PROTECTED] Date: Mon, 02

Re: [Zope] WDDX anyone?

2000-10-04 Thread Kapil Thangavelu
Albert Boulanger wrote: Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also

[Zope] LDAP won't work - yes I've applied the patch

2000-10-04 Thread Roman Milner
I'm trying to get ldap methods to work with 2.2.2. I can access the attributes of the objects returned from an ldap method with a python extension fine, but dtml-in'ing the returned list doesn't work. I keep getting an error (traceback below). Any ideas? Thanks, ^Roman Your action caused an

Re: [Zope] WDDX anyone?

2000-10-04 Thread albert boulanger
So what about this couldn't be emulated with xml-rpc? Curious, Kapil True.. But, well, its the other end. The SDK available at www.wddx.org is a path towards exchanging data with other well known systems such as ASP and CF. I found out that the PYTHON XML package does include WDDX