[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 and admin_address is a property with the value "[EMAIL PROTECTED]", the resulting HTML code is foo%40bar.com which doesn't work cor

Re: [Zope] zope 2.1.3 ->2.2.2 transition problems

2000-10-03 Thread J. Atwood
Hey Kevin, I had the same problem when upgrading from 2.1.6 - 2.2.2 but have not found an answer at all. I followed the directions that I found on Zope.org to the letter but to no avail. I checked the products and they all work in a clean install of 2.2.2 If you find out anything let me know.

Re: [Zope] script execution timeout?

2000-10-03 Thread Dieter Maurer
=?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes: > Is there a place to define a script execution timeout? I do not think so. > 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? There is a patch to Python's "httplib" providing

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

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 ZServ

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,

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

2000-10-03 Thread Rik Hoekstra
> 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

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 messag

[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 t

Re: [Zope] List

2000-10-03 Thread Rik Hoekstra
> > 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 that the string

Re: [Zope] IIS port problem

2000-10-03 Thread Rik Hoekstra
> 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) things to IIS >

[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?

[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 r

[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 2.

[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 cou

[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 disc

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] 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,

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

2000-10-03 Thread Andy McKay
Use the in tag: - 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 follows: > > > > > > > > > After subm

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 Zop

Re: [Zope] List

2000-10-03 Thread Andy McKay
If you want to put a string into a list you can use 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, 2000 9:15 AM Subject: [Zope] List >

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): : - Original Message - From: "Max Møller Rasmussen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a

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. : - Original Message - From: "Max Møller Rasmussen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 03, 2000 8:05 AM S

[Zope] List

2000-10-03 Thread Tom Deprez
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 that the string is actually

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! >

[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 b

[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 predictabl

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 authent

[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 can

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 P

[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: After submitting the form, gives me following result: ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] My question is now how to access the different items of that array? Thanks

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 ha

[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 li

[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

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 C

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

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] 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] '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 006

[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

[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 a

[Zope] 'self' in external methods

2000-10-03 Thread seb
Hello, Whenever I do a > def play(self,sound): >return sound and a > 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 http://www.zope.org/Documentation/How-To/ExternalMethods, but I'm

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 proble

[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 Yo

[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 if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" .   The seco

[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 /home/sites/site3/users/.../2-2-1/lib/python/ZPub

[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] 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

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="", but I'm thinking this > > > is not the better way to do that.