Re: [Zope] problem installing login manager

2000-10-29 Thread Morten W. Petersen
On Sun, 29 Oct 2000, Henny van der Linde wrote: [...] Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? You probably need to compile the DynPersist.c file into a shared

Re: [Zope] problem installing login manager

2000-10-29 Thread Jason Byron
You need to compile the DynPersist.c file for ZPatters to work. put a "Makefile.pre.in" file in the ZPatterns directory. (there is one in the lib/python dir, but any should work) then do a "make -f Makefile.pre.in boot" and then a "make" in the ZPatterns directory. Then it should be OK. -

[Zope] LoginManager and standard_html_header

2000-10-29 Thread Jason Byron
LoginManager seems to append the standard_html_header to the logoutForm when authorization fails. This would normally be ok but the problem is that it uses the standard_html_header from the directory where the authorization fails and not from where the logoutForm is. Is there a way to fix this?

[Zope] Changing standard realm with SiteAccess2+Zope 2.2.1

2000-10-29 Thread Alexander Verhaar
I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self):

Re: [Zope] Re: More ZFormulator

2000-10-29 Thread Martijn Faassen
Hi folks, I hadn't seen the traffic on ZFormulator on this list before, and this looks like a good bugfix; I knew there was a security related problem in ZFormulator for a long time, and this may actually be the fix. I hadn't been able to look at it for months, though I keep intending to get

[Zope] dtml-while

2000-10-29 Thread Diego Rodrigo Neufert
Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml? Thanks in advance... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr)

Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations

2000-10-29 Thread Chris McDonough
This is way too cool. :-) Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs folks were unfortunately not in attendance. Since it was a Friday, and since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido Jam": we all got a chance to poke at him with

RE: [Zope] dtml-while

2000-10-29 Thread hohage
Hallo Diego, this works(tested): dtml-in "[1,2,3,4,]" dtml-let x=sequence-item dtml-if "x3" dtml-var sequence-item /dtml-if /dtml-let /dtml-in Bye Sven = Original Message From Diego Rodrigo Neufert [EMAIL PROTECTED] = Why there isnt a dtml-while function in

Re: [Zope] dtml-while

2000-10-29 Thread Michel Pelletier
Diego Rodrigo Neufert wrote: Why there isnt a dtml-while function in Zope? DTML is not meant to be used for general purpose, logic programming. It's a presentation and layout language. Additionally, a while construct would allow you to create indeterminate loops: dtml-while 1 ...

Re: [Zope] dtml-while

2000-10-29 Thread Steve Spicklemire
Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like

[Zope] None-debug mode on win2k

2000-10-29 Thread Peter Bengtsson
Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. ___ Zope

[Zope] Get file contents.

2000-10-29 Thread Jason C. Leach
hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. .. . Jason C. Leach ...

Re: [Zope] Zope python 2

2000-10-29 Thread Curtis Maloney
On Thu, 26 Oct 2000, Toby Dickenson wrote: Hi all Is anyone using or know the current state of Zope with python 2.0 ? I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a

Re: [Zope] Get file contents.

2000-10-29 Thread Steve Spicklemire
Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this -steve -- # # ReadFile

Re: [Zope] None-debug mode on win2k

2000-10-29 Thread Phil Harris
Peter, When running Zope as a service you can add the parameter by using regedit, goto: hkey_local_machine\system\currentcontrolset\services\zope\parameters. The problem is though that the console window is hidden by default, but you have two options. 1. the easy way. run Zope by

[Zope] problem installing login manager

2000-10-29 Thread Henny van der Linde
Hi,I just installed Zope 2.2.2 and tried to install the latest version of LoginManager.It failed:LoginManager Import TracebackTraceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397,in import_products product=__import__(pname, global_dict,

Re: [Zope] problem installing login manager

2000-10-29 Thread Phil Harris
Henny, You also need the ZPatterns product, which you then have to compile to get the dynpersist.pyd file. hth Phil - Original Message - From: Henny van der Linde To: Zope mailing list Sent: Monday, October 30, 2000 12:27 AM Subject: [Zope] problem installing login manager Hi, I

[Zope] PoPy

2000-10-29 Thread Mark Twiddy
Hi all Im trying to compile PoPy on a bsd 3.1 box it compiles fine but when i try to import it i get an error ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Has anybody had this before, know what libs i need to link against to get this to work or even if this is a kernel thing?

Re: [Zope] Get file contents.

2000-10-29 Thread Jason C. Leach
hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you

Re: [Zope] problem installing login manager/Zpatterns

2000-10-29 Thread Henny van der Linde
Hi, - Original Message - From: "Phil Harris" [EMAIL PROTECTED] To: "Henny van der Linde" [EMAIL PROTECTED]; "Zope mailing list" [EMAIL PROTECTED] Sent: Saturday, October 28, 2000 11:58 PM Subject: Re: [Zope] problem installing login manager Henny, You also need the ZPatterns

[Zope] Displaying Folder Contents.

2000-10-29 Thread Jason C. Leach
hi, If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Thanks, j. ..

[Zope] ssl w/ modrewrite

2000-10-29 Thread askart
I found the answear to this this a year ago, but can no longer find where I found it. I have a Zope site set up with modrewrite and apache so that Zope shows up as the root of the site: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*)

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-29 Thread Joachim Schmitz
On Sat, 28 Oct 2000, Phillip J. Eby wrote: At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: select e.event_id as event_id ,e.zeiten as zeiten ,v.firma as firma ,v.tel as tel ,e.movie_id as movie_id ,m.movie_title as movie_title ,m.movie_link as movie_link ,m.movie_text as movie_text

[Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
Is it possible to "stream" (send data to the client via HTTP incrementally) from Python code, or does ZPublisher only send the data as a single wad when the method returns? Assuming it is possible, obviously it requires using some other API rather than just 'return'ing a string... where can I

Re: [Zope-dev] Streaming?

2000-10-29 Thread Terry Kerr
Isn't that dependant on the protocol u are using to transfer the data? HTTP can't do streaming. You can sort of do streaming using the experimental multipart content type, but IE browers don't recognise it, so it is pretty useless. With the context you gave, you could probably do that with the

Re: [Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
On Mon, Oct 30, 2000 at 12:23:36PM +1100, Terry Kerr wrote: Isn't that dependant on the protocol u are using to transfer the data? HTTP can't do streaming. You can sort of do streaming using the experimental multipart content type, but IE browers don't recognise it, so it is pretty useless.

Re: [Zope-dev] Streaming?

2000-10-29 Thread Terry Kerr
That is not streaming. That is just as you said..lack of bandwidth delaying the entire page arriving at once at you browser. That is not contolled. The server doesn't send it 'bit by bit' in a controlled manner. terry Lalo Martins wrote: On Mon, Oct 30, 2000 at 12:23:36PM +1100, Terry

Re: [Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
On Mon, Oct 30, 2000 at 12:48:53PM +1100, Terry Kerr wrote: That is not streaming. That is just as you said..lack of bandwidth delaying the entire page arriving at once at you browser. That is not contolled. The server doesn't send it 'bit by bit' in a controlled manner. But if it did, the

[Zope-dev] Problem with LoginManager, UserSource and object re-mapping

2000-10-29 Thread Itai Tavor
Hi, I have the following setup: - LoginManager with 3 UserSources, one of them named CustomerUserSource. - A Customers specialist, using a Customer ZClass for storage. Customer has a 'login' propertysheet with property 'password', and a getCustomerByName method returning a customer object.