Re:[Zope] ZFormulator
Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno [EMAIL PROTECTED] > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > >
Re: [Zope] OT:NT and rebooting
On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope & python 2
On Thu, 26 Oct 2000, Mark Twiddy 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. Will there need to be large changes now that strings are proper objects? (the string functions are now methods of strings). If so, will this mean the phasing out of _.string ? Will the new Unicode support, does this mean Zope is now a big step closer to i18n? And from the looks of things there are a large number of small changes that could be made to improve performance (such as the new 'augmented assignment' operators [ += *= /= and so on] ) > Thanks > > Joe > watching closely, Curtis ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Access to an external site from zope site
Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope & python 2
Hi all Is anyone using or know the current state of Zope with python 2.0 ? Thanks Joe ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Folder-specific metatypes?
I'm working on a product in Python which implements a folder, but restricts the metatypes of the objects which can be added. How, exactly, do I go about doing this? I've tried overriding the filtered_meta_types method, but I'm returning a list, and it seems that I should return a list of dictionaries instead, but I'm not entirely sure how the metatype is converted into a dictionary. I also noticed the _product_meta_types variable, but rgreps of the zope code didn't reveal anything about this variable. Am I on the right track with these? Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Not grocking RESQUEST.set syntax
On Thu, 26 Oct 2000, Noah wrote: > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > I think your simplest option is to use: All that _.Non, _ stuff is the namespace etc that Zope normally passes to your methods. (I don't fully understand it, I just know it works :) > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > Have a better one, Curtis. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
Wolfgang Strobl wrote: > > On 25 Oct 2000, at 16:00, J. Atwood wrote: > > > "Months without rebooting"? > > > > That is certainly not something to brag about. > > Huh? Did anybody? Certainly not me. :-{ > > In case I didn't make myself clear: for running Zope; I don't care > much whether the OS needs a reboot every month, every year, or > every decade, when I have to upgrade and/or restart Zope for > installing Hotfixes and/or new products, every other month, > anyway. OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. If you are used to uptimes measured in years, or 'always on' environments, then NT's uptime rates are abject failures. That's not a slight, it is a statement of fact that even Mr. Gates himself agrees with and understands. If, on the other hand, you don't come from that background or need, and are not used to that type of environment, a few months to six months to nearly a year can mean something to you. So, this is *one* of the reasons we see these arguments about uptime from both sides of the windows vs everything else uptime wars. Some measure days, some months, and otehrs measure in terms of years. > >With three of my > > installations of Zope on Linux I have the machines at 194, 204 and 55 days > > of uptime (and the 55 was because of a bad powerstrip, the other others have > > been up since I brought them up). > > So what. I'm using an old 3.51 server on one of my companies > intranets here, serving as a backup domain controller plus a few > other, less important services, which is running for about half a > year now (power failure in the machine room, too). That machine > has begun life as a OS/2 Lanmanager server (ca '90), and has > been upgraded almost seamlessly again and again, both in > hardware and in software, since. And has been rebooted to perfrom those upgrades (software, the hardware is obvious), has it not? > > While NT can and does stay up for long > > periods of time, it still is a very poor server choice as anything you > > install leads to a reboot. > > Well, W2K certainly has more capabilities here, and Linux, for > example, is somewhat better in some (!) areas, but "anything" is > a gross exaggeration. While I agree that 'anything' is a poor choice of words, unless you are changing kernels and/or glibc, Linux does not require a reboot for install of any software (that I am aware of, and that is a high amount of software mind you). There is work in progress to alleviate that as well. Not quickly, as it is a rather complex undertaking, but it is ongoing. IIRC, kernel 2.4 will/does have support for hot swappable PCI devices on hardware that has it (yes, you can get Intel-compat hardware with that). Last I checked, if you try to hot-swap a keyboard or mouse, all versions minus 2k (haven't tried it there), will die. As far as 'lack of need to reboot' goes when concerning upgrades, Linux wins hands down.. So, the question regarding uptime is more a question of needs. Some of us need 24x7 availablility, and 5 nines. Some do not. For those of us needing 5 nines, we can use Unix/Linux to provide that. If you don't need it (and not everyone does), use other criteria more appropriate to your needs. -- E PLURIBUS LINUX ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Filling Multiple Select Problem
Hi! I'm using the example at the "Filling MULTIPLE SELECT OPTION's with database lists", and a little step doesn't works. I heve the following in the DTML Method that fills two SELECT in a Web Form: (...) (...) The code above runs. To verify that, I put a and a , that prints the contents of the lists above. The code that is not running is the one bellow: SELECTED > (...) The code above creates a SELECT list like the one bellow: NOME 1 NOME 2 NOME 3 (...) but the part doesn't function. I have some of the values of "codigo" in the cadExportacao list, but the "SELECTED" corresponding code doesn't appears. Can someone tells me what is wrong? Sorry the bad english... []s -- +-+-+ | César A. K. Grossmann | Capacitação Solidária | | [EMAIL PROTECTED]| http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +-+-+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Any member introducing a dog into the Society's premises shall be liable to a fine of one pound. Any animal leading a blind person shall be deemed to be a cat. -- Rule 46, Oxford Union Society, London ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Not grocking RESQUEST.set syntax
Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. thats because you're working on the results returned by a zsql method which is a result object, you want access to values within it. try this returns the list of dictionaries that represent rows in the table, with column names as keys and column values as values. you can reference lib/python/Shared/DC/ZRDB/Results.py for more info on the results object kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Python product - inherittance
Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 its probably a security error. you need to either enable subobject access or explicitly register the method as part of the products permissions. something like this allow_access_to_unprotected_subobjects=1 this is not the recommended way to it as you'll open up the entire product to access. buts it useful to identify if its a security issue. kapil > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: [EMAIL PROTECTED] > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZFormulator
Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog pops-up when a user attempts to edit a form, but the correct name and password are rejected. Has anyone found a little detail that needs tweking to get past this one? Thanks, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] [Fwd: [Zope] Not grocking RESQUEST.set syntax]
Try: This assumes that MyFavoiteZSQLMethod returns the variable filename Dan Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Python product - inherittance
Attribute error means it can find some value. Without some more information it is impossible to say. - Original Message - From: "Petr Knapek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 25, 2000 1:02 PM Subject: [Zope] Python product - inherittance > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 > > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: [EMAIL PROTECTED] > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] deleting through iteration
In a catalog, id is not the id of an object, data_record_id_ is. - Original Message - From: "Scott Burton" <[EMAIL PROTECTED]> To: "Zope List" <[EMAIL PROTECTED]> Sent: Wednesday, October 25, 2000 11:19 AM Subject: [Zope] deleting through iteration > This seems as if it would work to delete all objects of a certain meta-type > but it gives me an error. > > > > > The error is: > Error Type: BadRequest > Error Value: 971722944 does not exist > > Although, I know it does, I can see it in the ODB. > > TIA, > > Scott > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Not grocking RESQUEST.set syntax
try -Original Message- From: Noah <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, 26 October 2000 09:01 Subject: [Zope] Not grocking RESQUEST.set syntax >I'm still not grocking the syntax for setting REQUEST fields. >I want to set a REQUEST field "filename" to be the value returned >by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > >That does not work because FOO gets set to something like: > >I tried sticking this inside to get >at the sequence-item, but I just ended up getting confused. > >Yours, >Noah > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] OT:NT and rebooting
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of >It's FUD. I'M running Zope on two NT servers here, which run many months >between reboots. I just checked - the Zope on the intranet server has an uptime >of 34 days 8 hours 32 min 3 sec now. I must say that I agree. All in all for my current needs, NT is a better choice than Linux. Better user interface and reasonable software uptime. I am slowly migrating to Linux though. As I really do believe the open source philosophy is better. But like Zope it is a b of a learning curve. Something like Zope shows it in a smaller scale. I would be willing to start a business on Zope technology because coorporation on the toolset is the smartest thing for service companies to do, and this is not a closed source option. I have tried some of the closed source application servers and they are so poor. Funnily enough I see companies reinventing the weel with these application servers, doing a lousy job every time. Zope is still not great, but lightyears ahead of anything else I have experienced. Being a web house and not doing an open source app server is so futile. Furthermore the new KDE2.0 looks really sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
> "Months without rebooting"? > > That is certainly not something to brag about. With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. > Agreed, but that wasn't the point Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Python product - inherittance
Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an instance of classB. There is 'Error Type: AttributeError'. Does anybody know where the problem is? I use Zope 2.1.6 Thanks, Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Calling form elements by name
Ok, works alright, even my longer (using a TinyTablePlus) will work(as expected), BUT: definitely won't, Key Error: File /.../lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: Items) File /.../lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: Prefix="'Service_'" thePos=Position nameAsAString="Prefix+thePos") File /.../lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[nameAsAString]) (Info: nameAsAString) File, line 0, in ? File /.../lib/python/DocumentTemplate/DT_Util.py, line 163, in careful_getitem KeyError: (see above) The string's content seems okay to me, so why can't I look up the object? The namespace should be okay since I can call the request variables _directly_. What's wrong? tia, Danny -Ursprüngliche Nachricht- Von: Steve Drees [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. Oktober 2000 21:08 An: [EMAIL PROTECTED] Betreff: RE: [Zope] Calling form elements by name > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Danny > William Adair > Sent: Wednesday, October 25, 2000 1:27 PM > To: [EMAIL PROTECTED] > Subject: [Zope] Calling form elements by name > > > How can I render a REQUEST variable in DTML if I have its id as a string? > I would like to construct its name as a string and then call the REQUEST > variable by its name. > (Meaning I will have to make sure such an object exists) > > tia, > > CU+Prost, > > Danny > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
"Months without rebooting"? That is certainly not something to brag about. With three of my installations of Zope on Linux I have the machines at 194, 204 and 55 days of uptime (and the 55 was because of a bad powerstrip, the other others have been up since I brought them up). While NT can and does stay up for long periods of time, it still is a very poor server choice as anything you install leads to a reboot. I have installed countless things on the Linux boxes and never brought it down. That is the difference and makes all the difference when it comes to a website. J > From: "Wolfgang Strobl" <[EMAIL PROTECTED]> > Organization: GMD > Date: Wed, 25 Oct 2000 21:13:32 +0200 > To: [EMAIL PROTECTED] > Subject: Re: [Zope] OT:NT and rebooting > > [...] To: trimmed to zope.org > > On 25 Oct 2000, 23:49 Bak @ kedai wrote: > >> >> sorry if this is offtopic, but i see reference of rebooting every so >> often with NT( and maybe W2K). is this real? or FUD? i use linux >> myself and would like to confirm this from all you guys' experience > > It's FUD. I'M running Zope on two NT servers here, which run many months > between reboots. I just checked - the Zope on the intranet server has an > uptime > of 34 days 8 hours 32 min 3 sec now. > > This tells us that I installed Zope 2.2.2 three days after it was released on > www.zope.org. :-) > >> Do I miss important tasks? Has anybody done this before? >>> >>> Yeah.. rebooting NT every 4 days. :) > > > -- > o ( [EMAIL PROTECTED] (+49 2241) 14-2394 > /\* GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Is there a tool for pretty-formatting/indenting DTML code?
I've been working with Zope for a bit now and I love it. However, a few of the tools I'm used to having with other scripting tools are missing in the Zope realm.. One thing I would very much like to have is a script that could go through a long DTML document and pretty-format the code, not unlike the way I use BBEdit's formatting command on my Mac for HTML. Does such an animal exist, on any platform, or should I just try to adapt something I already have? I don't want to have to reinvent the wheel so to speak.. The big reason I need this is for indenting.. It makes the code much more readable and I have found myself spending a lot of time doing this by hand.. it just gets tedious.. Thank you.. Chris [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Not grocking RESQUEST.set syntax
I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): That does not work because FOO gets set to something like: I tried sticking this inside to get at the sequence-item, but I just ended up getting confused. Yours, Noah ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site?
> My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They > sit mostly idle with occasional light loads. They are P100/32MB/1.2GB > old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack > mount 4U units. Good, solid, slow hardware. They survive NT rather well. > One is running 2 instances of Zope (one for dev) and has been for 15 days > since last reboot. I will be looking for at least a 6 month uptime. > They serve a departmental intranet application that I am writing. It's on > NT because I need to use ODBC to get to a local MS Access Database. Bummer. > > Troy > > -Original Message- > From: Bak @ kedai [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 25, 2000 10:49 AM > To: Diny van Gool; [EMAIL PROTECTED]; J. Atwood > Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need > to manage a Zope) site? > > > > sorry if this is offtopic, but i see reference of rebooting every so often > with NT( and maybe W2K). is this real? or FUD? > i use linux myself and would like to confirm this from all you guys' > experience I have had a number of Zope sites running on NT with rather modest hardware. It performed reasonably to good and without troubles for months on an end, even with several people developing on it and a number of students accessing it. Mostly ODBC (SQL Server and even Access) will also work without trouble. It will also behind IIS. If something goes wrong it is usually an ODBC problem no Zope internal problem. The only real major problem is when SQL This is no pro NT argument, but just a reassurance that there is no reason not to use Zope on NT, though I would switch to Linux if I could... Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
[...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] TinyTablePlus: Problems with quotation marks
worked like a charm, thank you very much! Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; [EMAIL PROTECTED] Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ** > My TinyTablePlus instance: > ** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -- > > ** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ** >Caption='test'> > > > > -- > > ** > My problem: > ** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > -- -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Calling form elements by name
How can I render a REQUEST variable in DTML if I have its id as a string? I would like to construct its name as a string and then call the REQUEST variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] TinyTablePlus: Problems with quotation marks
You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ** > My TinyTablePlus instance: > ** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -- > > ** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ** >Caption='test'> > > > > -- > > ** > My problem: > ** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > -- -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] deleting through iteration
This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] newbie: comparing dates?
Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. QUESTION 1: How do I compare dates in dtml code? QUESTION 2: How do I exclude empty values from processing? (I installed rapto´s null date-patch, seemed to work fine; for that patch see: http://www.zope.org/Members/rapto/nullDate?pp=1) regards, -georg.rellensmann- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How small a box can zope run on?
I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually doing ok. Not quick, per se, but ok. J > From: "Alexander Limi" <[EMAIL PROTECTED]> > Date: Wed, 25 Oct 2000 18:43:57 +0200 > To: <[EMAIL PROTECTED]> > Subject: [Zope] How small a box can zope run on? > > Hi, > > Just a quick question: > > We are building some device controller software and to control those we have > a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > such a modest setup? There is only going to be one or two users connected to > Zope at once, so we don't need much performance in terms of page views per > second :) > > Cheers, > > > Alexander. > > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site?
My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They sit mostly idle with occasional light loads. They are P100/32MB/1.2GB old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack mount 4U units. Good, solid, slow hardware. They survive NT rather well. One is running 2 instances of Zope (one for dev) and has been for 15 days since last reboot. I will be looking for at least a 6 month uptime. They serve a departmental intranet application that I am writing. It's on NT because I need to use ODBC to get to a local MS Access Database. Bummer. Troy -Original Message- From: Bak @ kedai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 10:49 AM To: Diny van Gool; [EMAIL PROTECTED]; J. Atwood Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] which python gets used ... ?
Chris Withers wrote: > > Jonathan Cheyne wrote: > > > > So the question is: can I run zope using the stock RH6.2 distributions' > > own copy of python? > > If it's Python 1.5.2, then yes... there's probably instructiosn for this > on Zope.org near the bits about insatlling Zope from source on Linux. IIRC there used to be subtle bugs, like batch processing in DTML giving wrong page numbers --- Hannu ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] AW: [Zope] dtml-var owner? author? editor?
> > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How small a box can zope run on?
Hi, Just a quick question: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users connected to Zope at once, so we don't need much performance in terms of page views per second :) Cheers, Alexander. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-dev] Task, Job or Operation?
Ooops! Wrong list. Sorry. Will post to Zope-dev. Jimmie Houchin Jimmie Houchin wrote: [snip] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] use of objectValues() in DTML Methods vs. DTML Documents
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike > Bannister > Sent: Wednesday, October 25, 2000 5:44 AM > To: [EMAIL PROTECTED] > Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents > Just for the heck of it I dropped that same code into a DTML > Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? That's basically it, yes. I think of a method as being a function that works on the object it is "in", and a document as being an object that gets worked on. So objectValues() in a method will return objects from its container, whereas objectValues() in a document will always return objects from within that document. Acquisition plays a role too, since a method can work in different contexts. For example (given myMethod and myDocument that both use objectValues()) TestFolder1.myMethod will return objects in TestFolder1 TestFolder2.myMethod will return objects in TestFolder2 TestFolder1.myDocument will return objects in myDocument TestFolder2.myDocument will return objects in myDocument I hope this makes sense. ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Re: [Zope-dev] Task, Job or Operation?
> > Unsafe has also been proposed. I do not like this either because it is > not accurate. Simply because something dangerous, foolish or stupid can > be done using this method type does not mean it will be. Are we to label > all objects "unsafe" simply because of the capacity of harm? Safety is > in the hands of the programer. I agree with this vehemently :) Would you want to use "unsafe C++" or "unsafe Java"? I think "restricted" and "unrestricted" are clear and concise. This is not about "safety" per se, but about capabilities. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting (was:How many houres do I need tomanage a Zope) site?
sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with
Oleg Broytmann wrote: > > On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > > class simple: > > def __init__(self, value): > > self.value = value > > > > theList = [simple(1), simple(2), simple(3), simple(4)] > > > > I would expect to be able to traverse it like below (The objects namespace > > would be popped onto the namespace.): > > > > > > > > If you're getting security errors, try this new version (untested): class simple(Acquisition.Implicit) __ac__permissions__ = ( ('View', ('get_value','get_list'),('Manager','Anonymous')), ) def __init__(self,value): self.value=value def get_value(self): return value Globals.default__class_init__(simple) Now, hopefully, theList is being returned from within a class method, in which case: theList = [simple(1).__of__(self), simple(2)__of__(self), simple(3)__of__(self), simple(4)__of__(self)] return theList then: should work... h, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] which python gets used ... ?
Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? Can use either depending on whether you install the source or binary distribution... actually dunno if there is a binary distribution for *nix. > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] TinyTablePlus: Problems with quotation marks
I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can help me. ** My TinyTablePlus instance: ** ID: Items Title: Items on Navigation Bar Columns: Position ShowItem Caption UseImage Image Service URL Data: "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -- ** My code: (I want to create a configuration page for a navigation bar, which will have to change a table's rows depending on the contents of some form elements) ** -- ** My problem: ** Data afterwards: "1", NULL, "test", NULL, NULL, NULL, NULL "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Never seen that before
Not so much a question as a traceback, and posted in HTML too... nice ;-) > I have a question about Squishdot. > Error: > Traceback (innermost last): > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 214, in publish_module > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 179, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line > 202, in zpublisher_exception_hook > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 169, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, > line 237, in commit > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, > line 327, in commit > (Info: (('Products.Squishdot.Squishdot', 'Article'), > '\000\000\000\000\000\000\242\032', '')) > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, > line 632, in store > (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) > OverflowError: (see above) I've never seen that one before. What version of Zope are you using? 2.1.6? Any patching? What version of Squishdot are you using? What platform are you running this on? Soem sort of *nix by the sound of it... Has the user running your Zope instance got enough quota on the disk all this is stored on? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] use of objectValues() in DTML Methods vs. DTML Documents
Mike Bannister wrote: > Just for the heck of it I dropped that same code into a DTML Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? This is quite a thorny FAQ. The root of it is the binding of methods to objects/namespaces in DTML, which has had lots of press on [EMAIL PROTECTED] recently. The short version is: -if that code is in a method, it is executed on the method's container (actualyl acquisition context, but don't worry abotu that too much ;-) -if the code was in a documents, it is executed on that document. Since documents can't really have things attached to them that would be returned by objectValues, you usually get an empty list back :-) HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] limiting tree
"Bak @ kedai" wrote: > > hi all > quickie: > if dtml-in, i can use size to limit the results rendered, what do i use in > dtml-tree? You don't, you run screaming for the hills ;-) I have a deep seated mistrust of the tag now after many bitter experiences. I'd recommend just writing an external methdo or python product that does exactly what you want... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] expr
I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-dev] Task, Job or Operation?
Just a few comments to throw into the naming convention. Any name chosen will require educating the user as to it's definition. Some names are already defined in other spaces. Some of which are heavily overloaded. There is also discussion as to the accuracy of various names in the context of the usage within Zope. It is apparent the choice isn't clear and easy. As Michel has posted that a vote will occur in the near future a determination will be made. Currently one of the terms in usage is External Methods. From my understanding of the future direction of the Python Methods (restricted and unrestricted) the term External will not be accurate as the code will be within the ZODB and the differentiation will be in the capability of the method. Due to this I think the usage of External not be included in the name. Likewise Internal. Regarding Safe and Power. I have no major problems with Safe, however I thing Power brings along a lot of connotations or implications which may or may not be accurate concerning the abilities of Safe. As others have noted why choose Safe when you can use Power. Why, will have to be a part of the educational process. However proper perspective and understanding can start by not using Power in the name. I believe Power is not the right choice. Unsafe has also been proposed. I do not like this either because it is not accurate. Simply because something dangerous, foolish or stupid can be done using this method type does not mean it will be. Are we to label all objects "unsafe" simply because of the capacity of harm? Safety is in the hands of the programer. You cannot stop someone with the capability from doing something harmful if they choose. I would prefer the term Unrestricted or something similar. It simply denotes capabilities without implying it is dangerous. It isn't dangerous, it can be used dangerously, there is a difference. It is like many tools which can be used or abused. Hope this helps. Jimmie Houchin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailHost: bcc broken ?
On Wed, 25 Oct 2000, Gregory Haley wrote: > i was one of the participants in the recent discussion of zope bulk > mail. i'm wondering about the mechanics of sending the work of the mail > to the actual sendmail server outside of zope. would i do that by > creating an external method which is program/script that accepts the > data from zope and then passes them to the mail server? any suggestions > or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with
On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > class simple: > def __init__(self, value): > self.value = value > > theList = [simple(1), simple(2), simple(3), simple(4)] > > I would expect to be able to traverse it like below (The objects namespace > would be popped onto the namespace.): > > > > Looks good... > But it isn't so. Why? What was the error? Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How should a collection be in a Python product if i want to traverse it with rse it with
This is a question I guess has something to do with popping an object onto the namespace, or about me not understanding how stuff works. When I make a list of objects: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto the namespace.): But it isn't so. What do I need to do to make the objects namespace count in my traversal? (I'd like to keep the dtml as simple as possible.) -- If I make a list: theList = [1, 2, 3, 4] I can traverse it with: - and if it's a list if dicts: theList = [{'value':1},{'value':2},{'value':3},{'value':4}] I can traverse it like: ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] which python gets used ... ?
Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope on Mac OS X
I'm trying to build Zope with the Apple developer tools but it didn't work. Python 2.0 seems easier to build and works well but Zope C source codes must be modified to get it build. The How-to note about Mac OS X server doesn't apply to the public beta. Does somebody have already tried to use Zope with Mac OS X public beta? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problem(100) ZServer Computing local hostname on windows install
On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham" <[EMAIL PROTECTED]> wrote: >then it says: >ZServer Medusa (V1.16.4.3) started at... timestamp... > hostname: dsl1254-096...isp.net > Port:8080 your http server is on 8080 >Monitor Server starts on port 8099 and the monitor is on 8099 >http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problem(100) ZServer Computing local hostname on windows install
> > when I try to start zope on windows machine i get: > problem(100) ZServer Computing local hostname this is 'normal' and not a problem (though I always wonder what it really means) > The dos window seems to hang after this. nope, this is just the console window for the server. This is also normal. You only get output here if something strange happens (and in ftp sessions) > > when I start a browser and goto http://localhost:8099/manage I get an > number, apparently an error: > 972402587.52 > > back in the dos window, I see: > ZServer uncaptured python exception, closing channel 1307340> : Get/ manag > [c:\programfiles/home/zserver/medusa/asyncore.py|75] > [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] > [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] > [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> try accessing it via the http port. In your case http://localhost:8080 or http://localhost:8080/manage then it should work. hth Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Sendmail examples
Here's on I particularly like, sorry it doesn't have a sql query. It sends an attached image file, contents and all, not just an IMG SRC reference. And do youself a favour by adding a Mailhost object somewhere above where you want to use it. To: Feedback Recipient <[EMAIL PROTECTED]> From: Zope Feedback Form <[EMAIL PROTECTED]> Subject: Feedback from the web Feedback from : Matt Comments: Matt steve smith wrote: > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > > Ta! > > Steve > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How many houres do I need to manage a Zope site?
At 10:42 AM +0200 10/25/2000, Diny van Gool wrote: >1. How many Zope releases per year can I expect and how much time do I need >per release? One major, four or five minor and three or four hotfixes. Schedule a day for the major, half a day each for the rest. >2. How much time do I need for product releases and fixes? Each product will need to be tested and implemented so half a day for each major release. If you modify the products of course it will be longer. >3. How much time do I need for Zope database management? Besides a regular >backup and packing the Data.fs are there other things necessary? Very little. Pack it when it gets too big (once a week) or set a cron to do it... oh sorry, NT... set a AT command to do it. >Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days. :) J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Apache in front of ZServer
* "Phil Harris" <[EMAIL PROTECTED]> | Jorn, | | I'm no Apache GrandMaster but couldn't you use the [p] option of a | RewriteRule to make it proxy if the url matches a pattern: | | RewriteEngine on | RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] | | Or something along those lines. Looks promising. I will come back to the results later, when I have tested it. Thanks again. -- Jørn Helge B. Dahl http://falch.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] use of objectValues() in DTML Methods vs. DTML Documents
Hi, I'm working my way through the beta-book on zope.org and having a blast generally but I'm hoping someone can check my thinking here and tell me if I'm on the right track. Thanks in advance for any insight you can offer. In chapter 3, where DTML is first introduced, they have me create a Folder with some files in it and include something like this in a DTML Method: Just for the heck of it I dropped that same code into a DTML Document in the same Folder and it didn't list the Files as I had expected. I understand pretty much the differences of Methods and Documents and I'm assuming the reason for this is related to the way the Documents exists in it's own namespace and the Method doesn't... so my best guess for this behavior is that the 'scope' of objectValues() is limited to the current namespace. Am I even close? If not can someone explain this to me? Thanks! Mike Bannister geekteam.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailHost: bcc broken ?
Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: > I can send single email with one recipient without problems. > I need to use a bcc: for about 4000 users. No way doing that halfway > performant with a ... statement. > > I am thinking of the > bcc: user1, user2, user3 user4000 > header. > It ought to get parsed in the MailHost product and sent directly to the > proper smtp-host ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: AW: [Zope] dtml-var owner? author? editor?
On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: > > > I want to include the owner (from acl_users) of a page in my > > > > HTML-output. > > > > > > is what you want > > Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? > What I want is: > 'Anonymous User' surfs to my site. She surfs trough the HTML output > generated by zope, while zope not only tells her the content provided, but > also the Name of the Zope-owner of the document (e.g patrick is owner of > index_html --> that info is also displayed to the anonymous user) > > Thanks for more help, > ok, i see what you want to do. i thought that you have a "author" property somewhere. i'm sorry to say that i can't be of any more help. i guess you can test for ownership of objects in zope since there exist a take ownership button. check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py tell us what you got :) > p@ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] getProperty()
Hi all, This is a newbie question. I'm trying to get the 'title' property of a SQLConnectionIDs. I can do this work using python but in zope I can't do it. I want to create an html SELECT object to display a list of all SQL Connections and I want to display the id and the title, like this: id title - - gadfly Gadfly_database_connection mysql MySQL_database_connection postgres PyGres_database_connection dbmaker DBMaker_database_connection I tryed the following: but sequence-key and sequence-item are equals. Thank for any help Jose' ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] i can not see some graphic icons..
hi all, after starting Zope, everything seems to be ok, but i can not see some graphic icons in the web page. The Traceback after starting zope is the following one: Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in ? logger_object=lg) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/http_server.py", line 541, in __init__ self.bind ((ip, port)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/asyncore.py", line 242, in bind return self.socket.bind (addr) socket.error: (125, 'Address already in use') how can i solve it ? thanks in advance Gaby ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How many houres do I need to manage a Zope site?
Hi, The management team wants to know how many hours are necessary to keep the faculty Zope site running. I have to make a summary of hours necessary for the technical system management such as software releases, database management, fixes etc. Developing or installing new features is not to be included. Configuration: Zope version: 2.2.2 Windows NT 4.0 Installed products: FSSession, LocalFS, Refresh, Squishdot, TinyTable, UserDB, XMLDocument, XMLWidgets, ZODBCDA, ZSQLMethods 1. How many Zope releases per year can I expect and how much time do I need per release? 2. How much time do I need for product releases and fixes? 3. How much time do I need for Zope database management? Besides a regular backup and packing the Data.fs are there other things necessary? Do I miss important tasks? Has anybody done this before? Thanks, Diny DIVA, Faculty of Veterinary Medicine Utrecht University, The Netherlands http://www.vet.uu.nl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] AW: [Zope] Trying to follow tutorial
> > > > BTW there is no easier way than to shut the browser and reopen it ? > > No easy sure way at least. That is, if you have basic authentication > (which is always the case when you have Zope out of the box). It's > reported that in some cases > http://user:[EMAIL PROTECTED]:whateverport may log you out/log you > in differently, but afaik that won't work in all browsers and all > platforms _and_ it may present you with an authorization box Another real dull way is: open NS and IE (or... or ...) and use them with different authorization. p@ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] AW: [Zope] dtml-var owner? author? editor?
> > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?
--- "Morten W. Petersen" <[EMAIL PROTECTED]> wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you > | have any examples/suggestions? > > Yes. After adding your LoginManager instance, you > should add four > methods of some sort within the UserSource object. > > The four methods are: > > userAuthenticate > userExists > userRoles > userDomains > > > Here's the External methods I used just to make the > logins work; you'll > have to implement them to fit your system: > > def userAuthenticate(self, REQUEST, username, > password): > > if username == 'morten' and password == > 'morten': > > return 1 > > else: > > return 0 > > > def userExists(self, REQUEST, username): > > return 1 > > > def userRoles(self, REQUEST, username): > > return 'Manager', 'Owner' > > > def userDomains(self, REQUEST, username): > > return [] > > Hmmm, I tried implementing these functions before, but only as DTML methods: userAuthenticate userDomains userExists userRoles Yet this never seemed to work. Does it not work because they are DTMLMethods and not External Methods, or because I am returning the wrong values, or because of a proxy or security setting? The Methods are in the User Sources 'folder' and I am sure I chose "GUF" authentication from the list when I added the LoginManager. Jason __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to follow tutorial
Olivier Ricou wrote: > > On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote: > > Go to the management interface and add a zope user in the acl_users > > folder. Give it Management rights. Shut you browser, reopen it and > > authenticate as the user you just entered. Get on with the tutorial... > > BTW there is no easier way than to shut the browser and reopen it ? No easy sure way at least. That is, if you have basic authentication (which is always the case when you have Zope out of the box). It's reported that in some cases http://user:[EMAIL PROTECTED]:whateverport may log you out/log you in differently, but afaik that won't work in all browsers and all platforms _and_ it may present you with an authorization box Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )