[Zope-dev] Access problems

2000-10-03 Thread Danny William Adair
Hi all! I have a serious and extremely urgent problem concerning my zope installation(2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --- Attribute Error --- Traceback (innermost last): File

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

2000-10-03 Thread Danny William Adair
Hi all! I'm desperately looking for the DynPersist shared library (new for ZPatterns 0-4-2a3) in compiled form. Can someone help me (send it to me)? I'm running a Zope instance at NIP (www.nipltd.net), that's 2.2.1 on Unix platform. tia, Prost, Danny

[Zope-dev] Re: Thanks a lot, but...

2000-10-03 Thread Danny William Adair
Thank you Itamar, _but_ I need the Unix .so, not the Windows .dll. Sorry if I didn't put that clear. Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 3. Oktober 2000 15:20 An: [EMAIL PROTECTED] Betreff: Re: [Zope-dev] DynPersist.so

RE: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Toby Dickenson
i.e. it is secure if the key *is* the data, rather than a key to the data. Can you explain? I do not see what you're getting at. Consider how the tree-tag stores its 'session' data. Its impossible to hijack a tree-tag session because the 'session' state is stored by the client (in the

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Chris McDonough
Toby, Sorry, I'm still not sure I understand. :-( Are you suggesting that the session token should actually store session data? Or are you just pointing out the difference between the implementation an implementation that meets the requirements of sessions and an implementation adequate for

RE: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Toby Dickenson
Are you suggesting that the session token should actually store session data? As an alternative SessionManager, it appears to have some advatanges that others do not. It is the only option (AFAIK) that avoids the session hijacking problem without relying on security-through-obscurity (the

Re: [Zope-dev] TreeTag as Sessions Example

2000-10-03 Thread Chris Withers
Toby Dickenson wrote: Isnt the tree tag an example of one Session use case? It smells alot like a session to me. yeah, but have you ever tried to have two copies of a tree open on the same data? bleugh! ;-) Chris ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Chris McDonough
Are you suggesting that the session token should actually store session data? As an alternative SessionManager, it appears to have some advatanges that others do not. Hmmm. Please smack me if I'm wrong, but I'm not clear on how it differs much from not keeping session-related data in

Re: [Zope-dev] TreeTag ;-)

2000-10-03 Thread Chris McDonough
OK... let me rephrase that... Don't fix it if you don't care! (I have a rule in my mailbox that deletes all messages with 'tree tag' in the subject line. I am not kidding.) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Toby

[Zope-dev] Zope URL

2000-10-03 Thread Suzette Ramsden
I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small

[Zope-dev] CoreSessionTracking - Access Session Data permission

2000-10-03 Thread Dieter Maurer
Hi Chris, in an earlier message, you defended the existence of a separate permission "Access Session Data" (in the CoreSessionTracking proposal) by the following case: There may be (authenticated) users with (TTF?) scripting rights that should be prevented to screen

[Zope-dev] (no subject)

2000-10-03 Thread ralf . herold
Dear list readers, 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()" dtml-var

[Zope-dev] Zope URL

2000-10-03 Thread Kenneth Latta
I do not want to connect to the Intranet using the server port (8080) in the URL to access the Zope pages . The problem you have is related to the sockets. Zope has it's port set to 8080 as a default just to make it easier to coexist with IIS. The default for the http service is port 80.

[Zope-dev] ZPatterns design questions

2000-10-03 Thread John Eikenberry
First, some context... I'm working on a new data storage system for a related set of (primarily) Zope sites. The data will be kept in ZODB and mirrored out to a RDB (MySQL) to provide read-only access to some non-zope stuff. One other thing to note, all of this will be done via python code (no

Re: [Zope-dev] ZPatterns design questions

2000-10-03 Thread Phillip J. Eby
At 01:49 PM 10/3/00 -0700, John Eikenberry wrote: First, some context... I'm working on a new data storage system for a related set of (primarily) Zope sites. The data will be kept in ZODB and mirrored out to a RDB (MySQL) to provide read-only access to some non-zope stuff. One other thing to

Re: [Zope-dev] rpc-xml: Pachyderm memories needed !

2000-10-03 Thread Dieter Maurer
Nigel Head writes: I'll swear that a couple of weeks back, just after I got the Flash 5 upgrade I had this running with whatever version of Zope was extant then! Unfortunately I've been following along with the CVS checkouts without archiving them so I can't prove it. CVS supports

[Zope-dev] ZCatalog uniqueValuesFor() cached?

2000-10-03 Thread Brett Carter
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 maillist - [EMAIL PROTECTED]

Re: [Zope-dev] ZPatterns design questions

2000-10-03 Thread John Eikenberry
Phillip J. Eby wrote: If I can offer a suggestion... Please... It sounds to me like you don't need SheetProviders at all, if you effectively define the property sheets as part of your class, and make the attributes direct attributes on the DataSkin. You then need only set Ok, I'm

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Chris McDonough
But all of these ponderings are kind of moot, because session data can be arbitrarily large (session data on the order of a megabyte will probably not be uncommon), so the data can't realistically be embedded in the token anyway. Agreed, in-URL session data is not a universal

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

2000-10-03 Thread Skip Montanaro
I occasionally get tracebacks like No input for required field !-- Traceback (innermost last): File /home/killer-whale/skip/src/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/killer-whale/skip/src/Zope/lib/python/ZPublisher/Publish.py,

Re: [Zope] Passing parameters to methods - how to?

2000-10-03 Thread seb
"César A. K. Grossmann" wrote: Maik Roeder wrote: Clicking in the "submit" button, it gives me an error, telling that 'username' is not defined. So I included an hidden field with name="username" and value="dtml-var username", but I'm thinking this is not the better way to do

[Zope] Off Topic: Patent Offices

2000-10-03 Thread Chris Withers
Tim Cook wrote: Our patent office doesn't have a clue and doesn't seem to research very much either. Name me one that does ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Guidelines for showing most exciting things of Zope?

2000-10-03 Thread Tom Deprez
Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you

[Zope] Access problems

2000-10-03 Thread Danny William Adair
Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --- Attribute Error --- Traceback (innermost last): File

[Zope] SiteRoot, can i do?????

2000-10-03 Thread Aitor Grajal
Hello, I'm trying do that SiteRoot can this : If somebody put 'http://xyz.mydomain.com/Zope" - The SiteRoot put in all links 'http://xyz.mydomain.com/Zope" but ifif somebody put 'https://xyz.mydomain.com/Zope" - The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" . The second is

[Zope] script execution timeout?

2000-10-03 Thread Júlio Dinis Silva
Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _ Get

Re: [Zope] 'websafe' colours

2000-10-03 Thread Magnus Alvestad
[Curtis Maloney] | As I understand it, it's due to system palettes. On low colour | machines (256 or even 16colour) some colours are reserved for the | system GUI so that you can match the 'theme', leaving you with fewer | than the full capacity of the display you are using. Actually the

[Zope] 'self' in external methods

2000-10-03 Thread seb
Hello, Whenever I do a def play(self,sound): return sound and a dtml-var "play('plonk')" I get a Error Type: TypeError Error Value: not enough arguments; expected 2, got 1 Now, I thought 'self' was passed _implicitly_, as explained in

[Zope] database connection problem (halting Zope)

2000-10-03 Thread Hrasky Petr
Hello everybody, I started to play with Zope in order to use it as intranet platform. For this I need database access. I tried odbc and MySQL and got it working fine. However we have some existing warehouse queries which take minutes to complete. When I set up ZODBC connection and ZSQL method to

[Zope] 'Offline' mailhost

2000-10-03 Thread Chris Withers
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 you're sending the mail to a few

Re: [Zope] 'self' in external methods

2000-10-03 Thread Andrew Kenneth Milton
+---[ seb ]-- | Hello, | | Whenever I do a | def play(self,sound): | return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066

Re: [Zope] script execution timeout?

2000-10-03 Thread seb
Is there a place to define a script execution timeout? not in the urllib module. Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. seb ___ Zope maillist

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

2000-10-03 Thread Andrew Kenneth Milton
+---[ Hrasky Petr ]-- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case.

Re: [Zope] 'self' in external methods

2000-10-03 Thread Chris Withers
Andrew Kenneth Milton wrote: +---[ seb ]-- | Hello, | | Whenever I do a | def play(self,sound): | return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. It's not as simple

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

2000-10-03 Thread Tim Cook
Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm

[Zope] SiteAccess2 problem

2000-10-03 Thread Oliver Wrede
Title: SiteAccess2 problem I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Whenever I try to open Set access rule I get this error (so I can't set a new one or delete an existing one): Zope Error Zope has encountered an error while publishing this resource.

[Zope] Looking for BSDI version of Zope

2000-10-03 Thread FR Chalaoux
Hi, I looking for a recent compiled Zope version running on BSDI/OS 4.0.1 with its python attached Thanks, FR. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

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

2000-10-03 Thread Hrasky Petr
Hello, thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong queries and halt Zope. I

[Zope] how to access the items of an array...

2000-10-03 Thread zope
Hi In a form, I defined an array variable as follows: dtml-in "_.range(1, _.string.atoi(form_numpages), 1)" tr align="center" valign="middle" tddtml-var sequence-number/td tdinput type="text" name="form_time_in" size="6" maxlength="4"/td /tr

Re: [Zope] SiteAccess2 problem

2000-10-03 Thread Evan Simpson
From: Oliver Wrede [EMAIL PROTECTED] I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Have you used Extensions/updata.py to upgrade these objects? Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL

[Zope] Only superuser can set Proxy on DTML methods?

2000-10-03 Thread Brad Clements
It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. But I can't see anywhere how to enable my userid to have this proxy role. So only the superuser

Re: [Zope] Only superuser can set Proxy on DTML methods?

2000-10-03 Thread Chris Withers
Brad Clements wrote: It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. The wording is crap. What it means is that the user object you are

[Zope] Sorting and accessing elements in the

2000-10-03 Thread Max Møller Rasmussen
I am making a mailer zClass where it will only be nessecary to make the form fields with the values you want to send, then the zClass will give you a reply on the webpage and send a nicely formatted e-mail. The problem is that the form elements are unknown but they need to be set up in

[Zope] IMAP and Zope!

2000-10-03 Thread Joachim Werner
Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope site. The latter two seem to have

Re: [Zope] IMAP and Zope!

2000-10-03 Thread J. Atwood
Why not just pick apart the pieces you need from WorldPilot. It seems a shame to have to start from scratch. J From: Joachim Werner [EMAIL PROTECTED] Organization: Iuveno - Smart Communication Date: Tue, 3 Oct 2000 17:17:00 +0200 To: [EMAIL PROTECTED] Subject: [Zope] IMAP and Zope!

Re: [Zope] Sorting and accessing elements in the

2000-10-03 Thread Andy McKay
You need to let item=sequence-item since sequence-item is interpreted in python as a mathemtical operation sequence minus item. dtml-var standard_html_header dtml-call "REQUEST.set('keys', REQUEST.form.keys())" dtml-call "keys.sort()" dtml-in keys dtml-let item=sequence-itemdtml-var item:

Re: [Zope] Sorting and accessing elements in the

2000-10-03 Thread Andy McKay
Although this could be simpler (you dont need the REQUEST.set): dtml-in "REQUEST.form.keys()" sort dtml-let item=sequence-itemdtml-var item: dtml-var "REQUEST.form[item]" /dtml-let /dtml-in - Original Message - From: "Max Møller Rasmussen" [EMAIL PROTECTED] To: [EMAIL

Re: [Zope] List

2000-10-03 Thread Andy McKay
If you want to put a string into a list you can use dtml-var "_.string.split('a|b', '|')" to split a string up. What database are you using and what are actually getting back? - Original Message - From: "Tom Deprez" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 03,

Re: [Zope] IMAP and Zope!

2000-10-03 Thread Kapil Thangavelu
Joachim Werner wrote: Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope

Re: [Zope] how to access the items of an array...

2000-10-03 Thread Andy McKay
Use the in tag: dtml-in form_time_in dtml-var sequence-item /dtml-in - Original Message - From: "zope" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 03, 2000 7:10 AM Subject: [Zope] how to access the items of an array... Hi In a form, I defined an array variable as

[Zope] A hint on FSSession

2000-10-03 Thread Peter Bengtsson
Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb Yes, and if

Re: [Zope] List

2000-10-03 Thread Jim Washington
Tom Deprez wrote: Hi, I'm storing a selection of a user to a database as string. This selection is a multiple selection from a select box and is outputted as a list. Now I want to iterate over this list (after retrieving it from the database), but how can I do this? How can I tell Zope

[Zope] IIS port problem

2000-10-03 Thread Suzette Ramsden
I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small

[Zope] Re: 'Offline' mailhost

2000-10-03 Thread Ken Manheimer
On Tue, 3 Oct 2000, Chris Withers wrote: What, IMHO, is really needed is a mailhost/sendmail tag type thing that gets a message and a list of addresses to send it to. If it could do that in a seperate thread/process/whatever so that whatever calls it doesn't block, that'd be great. Of

[Zope] Zope stalls indefinitely

2000-10-03 Thread Leichtman, David J
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. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running

[Zope] LoginManager Error

2000-10-03 Thread Ed Colmar
Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter

[Zope] UserDB plus crypt

2000-10-03 Thread Ed Colmar
Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do?

Re: [Zope] IIS port problem

2000-10-03 Thread Rik Hoekstra
snip description http://srnt/ChatClub/index_html note that most probably the reference will look something like http://srnt/cgi-bin/Zope.pcgi/ChatClub/index_html That is, you'll loose the port, but you rape your url. If you want a shorter url, you most probably have to do other (isapi like)

[Zope] zope 2.1.3 -2.2.2 transition problems

2000-10-03 Thread Kevin Worth
I just recently upgraded to 2.2.2. Upon upgrading, all instances of products that I created are broken. The products themselves are not, just every instance of every product that I made. External and standard products work just fine. Strange part coming up: I can make new instaces replacing

Re: [Zope] IMAP and Zope!

2000-10-03 Thread Morten W. Petersen
[Joachim Werner] | Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an | alternative solution? I'm developing an Outlook/WorldPilot replacement; which is much more modular in design. It will be released under the GPL. When and where I don't know yet. It stores

Re: [Zope] Access problems

2000-10-03 Thread Dieter Maurer
Danny William Adair writes: I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following . File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in

Re: [Zope] script execution timeout?

2000-10-03 Thread Dieter Maurer
seb writes: Is there a place to define a script execution timeout? Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. Be very careful with signals of any kind inside Zope: I had to patch ZServer,

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

2000-10-03 Thread Dieter Maurer
Hrasky Petr writes: thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong

[Zope] why does squishdot url_quote email address values?

2000-10-03 Thread Fred Yankowski
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-- and admin_address is a property with the value "[EMAIL PROTECTED]", the resulting HTML code is