[Zope] test, please ignore...

2000-05-30 Thread Chris McDonough
Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Pierre-Julien Grizel
Hi, I'm currently implementing a tree using... dtml-tree. In the document I use, I just have the tree and a table which desplays results according both to the tree state and some form data (passed through REQUEST.form). I.e. my URLs should look like the following :

[Zope] Uploading to Zclass help

2000-05-30 Thread Bart Holthuijsen
Hi Fellow Zopiasts! I'm working on a project to put documentation in Zope. I've come to the point of storing the files that are generated earlier in the process. The results up until now: - I made a Form to select an XML and XSL file - These are processed by a XSLT processor -

[Zope] SQLProperties - missing files?

2000-05-30 Thread mywin
Does anyone have SQLProperties working? The product on Zope.org seems to be missing the 'dbspecific' directory of SQL files. If anyone can send me a sample of what those files should look like I would appreciate it. This product seems like it would help in my quest to reduce the size of my

[Zope] get objects DTML Document having Property order...

2000-05-30 Thread QUIN Frédéric
Hello, I want to do : dtml-in "objectValues('DTML Document')" sort=order ... /dtml-in I have some DTML Documents which don't have the property "order", and I don't want to consider those documents in my loop. But if I put the "sort=order" option, Zope raises an error How can I do ??? Thanks

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Kevin Dangoor
- Original Message - From: "Lalo Martins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 29, 2000 11:40 PM Subject: Re: [Zope] Use of lambda expression in DTML On Mon, May 29, 2000 at 10:58:54PM -0400, Chris McDonough wrote: dtml-in "_.map (lambda item:

Re: [Zope] get objects DTML Document having Property order...

2000-05-30 Thread Shane Hathaway
"QUIN Frédéric" wrote: Hello, I want to do : dtml-in "objectValues('DTML Document')" sort=order ... /dtml-in I have some DTML Documents which don't have the property "order", and I don't want to consider those documents in my loop. But if I put the "sort=order" option, Zope raises

[Zope] Question about dtml-in sorting

2000-05-30 Thread Patrick J.M. Keane
Does sort only sort in one direction? I am looking to sort news items so that the newest items are on top, and when sorting on a date field, I get the opposite behaviour. Any easy way to reverse the sort order? Thanks pk ___ Zope maillist -

[Zope] ZClass Error

2000-05-30 Thread Pete Kazmier
I've created a ZClass that was subclassed from a custom Python class. Everything is working well, thanks to the help of this mailing list, but I am having one problem that I am unable to figure out. If I add my subclass to the root of my Zope world, then I am unable to click on the Properties

[Zope] ZClass and python subclass __init__ method

2000-05-30 Thread Pete Kazmier
According to the Zope Developer's Guide, when you create a ZClass by subclassing from custom python classes "your subclass's __init__ method will not be called when instances of the Z Class are created." Could someone help explain why my __init__ method is being called? Is the document just out

Re: [Zope] Question about dtml-in sorting

2000-05-30 Thread Rik Hoekstra
"Patrick J.M. Keane" wrote: Does sort only sort in one direction? I am looking to sort news items so that the newest items are on top, and when sorting on a date field, I get the opposite behaviour. Any easy way to reverse the sort order? Yes, by adding reverse to the sort tag ;-)

[Zope] IRC Chat - tools[win32]

2000-05-30 Thread Jason Cunliffe
quote Jim Fulton and Paul Everett are going to be availiabe for a chat at Wednesday, May 31 at 1:00 PM EST on the #zope channel of irc.openprojects.net. /quote I have not used IRC before, but would love to join the chat session. I just just downloaded a trial version of 'mIRC' software for

[Zope] file upload

2000-05-30 Thread Oai Luong
i want to make a section in my web page where a net surfer can come to my page and upload image files and store it in directory i created in my linux filesystem? I can't seem to figure out a way to do it in zope since it cannot access a directory in my filesystem ? Is there a way to do this ?

Re: [Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Phil Harris
I'd be interested when it's done. Phil [EMAIL PROTECTED] - Original Message - From: "Pierre-Julien Grizel" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 30 May 2000 16:42 Subject: [Zope] dtml-tree and REQUEST.form Hi, I'm currently implementing a tree using... dtml-tree. In the

Re: [Zope] file upload

2000-05-30 Thread John Chandler
i want to make a section in my web page where a net surfer can come to my page and upload image files and store it in directory i created in my linux filesystem? I can't seem to figure out a way to do it in zope since it cannot access a directory in my filesystem ? Is there a way to do

Re: [Zope] Before I install zope

2000-05-30 Thread Phil Harris
I'd say the easiest way is to give them different ports: give zope1 port 8080 and zope2 port 9080 If you've installed the Zopes as NT services you need to change the parameters to the services in regedit: goto hkey_local_machine/currentcontrolset/services/zope2 and change/add a parameter to

[Zope] ZOracleDA woes - cannot connect

2000-05-30 Thread Michal Bukovjan
Please help!!! I am trying to connect to Oracle server. Running Zope 2.1.4, ZServer alone (for now), Debian frozen(potato). I have stable ZOracleDA 2.1.0. After a lot of work, I succeeded to compile the DCOracle package, and I am able to connect with the Python script DCOracle_test.py, which is

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Duncan Booth
In brief: I get a NameError when invoking "filter(...)" from DTML. I thought this was a built-in python method, so I'm a bit puzzled. Python's ideas of 'built-in' is simply any method in the module stored in the global variable called __builtins__. Any code executed with a non-standard

Re: [Zope] Q: Using WebDav to edit Zope DTML Methods.

2000-05-30 Thread Graham Heyes
Itamar Shtull-Trauring wrote: Graham Heyes wrote: I have been using a very nice HTML editor under Linux, called Quanta+, unfortunately it can't open anything except local files. That's fine when I'm at work since I can use ZOPEEdit (ftp) or LocalFS. (LocalFS doesn't behave well with

RE: [Zope] file upload

2000-05-30 Thread Stuart Foster
Take a look at this product sounds like what you need. http://yyy.zope.org/Members/jfarr/Products/LocalFS -Original Message- From: Oai Luong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 30, 2000 8:40 AM To: [EMAIL PROTECTED] Subject: [Zope] file upload i want to make a section in my

RE: [Zope] IRC Chat - tools[win32]

2000-05-30 Thread Eric L. Walstad
// I have not used IRC before, but would love to join the chat session. I've not used IRC either. Can I monitor the discussion using MS NetMeeting? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Building ZPyGreSQLDA on Linux

2000-05-30 Thread Charlie Derr
Daryl, Thanx very much for the reply. |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daryl |Tester |Sent: Monday, May 29, 2000 6:27 AM |To: Charlie Derr |Cc: Zope Mailing List |Subject: Re: [Zope] Building ZPyGreSQLDA on Linux | | |Charlie

Re: [Zope] Zope Email (syndication)

2000-05-30 Thread Karl G. Ulbrich
Yup, this sounds like mail-in content to me, which is what I'm after :-) If the goal is mail-in content, I'm not sure I understand IMAP to be anything approaching what you want: IMAP doesn't ACCEPT messages, at least not any of the IMAP servers I've seen, it serves messages up to clients (one

[Zope] What does it mean?

2000-05-30 Thread Morten W. Petersen
"The Zope Gadfly product is a free Zope adapter [...] so it should not be used to create large databases. What does large databases mean in this context? -Morten - How to reply to email:

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Anthony Baxter
Chris McDonough wrote Nope. Lamba, filter, reduce, and map should IMHO not be part of DTML. Actually, exprs probably shouldn't be in there in the first place. People are trying to use DTML as a way to process non-UI elements. This is a slippery slope, and leads to something like PHP or

[Zope] how do I get field names from a query

2000-05-30 Thread Adam Molyneaux
how do I get the names of the fields returned from a SQL query ? ( I would like to generate stuff using the names automatically) I know they must be available because I can use them directly ! I've tried lots of alternatives of the form dtml-in "sqlListTable(table_name='personnel')" dtml-in

[Zope] ZCatalog previous and next items in list

2000-05-30 Thread Chris Crownhart
I am using a dtml-in to walk through a catalog and display the results for a given query. When someone clicks on an item in a list, I would like to be able to pass the id of the item above it and below it. For example, Given this result set: Title Desc - -- Item 1

[Zope] delete dictionary

2000-05-30 Thread urs.beyeler
hello, i've created some dictionaries in a dtml-document, for example like this: dtml-call "REQUEST.set('Monday',{'titel' : 'this is to do on monday'})" dtml-call "REQUEST.set('Tuesday',{'titel' : 'this is very bizarrr'})" dtml-call "REQUEST.set('Wednesday',{'titel' : 'how to do that?'})" ...

Re: [Zope] Q: Using WebDav to edit Zope DTML Methods. SOLVED!

2000-05-30 Thread Graham Heyes
Itamar Shtull-Trauring wrote: Graham Heyes wrote: Hello,    I have been using Zope to set up a new web site for documentation and maintainance os a large software project. Until now I have been using a combination of LocalFS and ftp to edit content. Neither method is perfect

[Zope] ZServerSSL trouble

2000-05-30 Thread Ivan Raikov
Hello all, I just installed ZServerSSL, and I'm having the following problem: I start Zope with the command, $ ./starts -w '' -f '' -W 8180 HTTPS=on and it appears to boot up without problems. However, when I try to access the default Zope page, Zope spits the following and dies:

Re: [Zope] Question about dtml-in sorting

2000-05-30 Thread Jason Spisak
Patrick J.M. Keane writes: Does sort only sort in one direction? I am looking to sort news items so that the newest items are on top, and when sorting on a date field, I get the opposite behaviour. Any easy way to reverse the sort order? Thanks pk dtml-in MyItems sort=whatever reverse

Re: [Zope] Q: Using WebDav to edit Zope DTML Methods. SOLVED!

2000-05-30 Thread Martijn Pieters
On Tue, May 30, 2000 at 02:30:47PM -0400, Graham Heyes wrote: Thanks to the info from Martijn Pieters this turned out to be trivial. The unrendered source for a DTML method is reached by appending /document_src to the end of the URL. For example, http://localhost:8080/mystuff becomes

[Zope] IRC clients

2000-05-30 Thread Jimmie Houchin
I haven't been to an IRC chat in over 5 years so this is pretty new to me. I also just built myself a new Linux machine for development and was not familiar with any Linux IRC clients. For those in a similar situation here is a little info on some Linux/*nix IRC clients. I think I'll try X-Chat

[Zope] Zope 2.0.1 export

2000-05-30 Thread Paul Gresham
Hi, I have an old linux system running a document store I wrote some time ago in Zope 2.0.1. I've tried exporting my document store but cannot seem to get it re-imported into the latest version of Zope. I can ftp the documents out, but of course lose all the information about each document. Does

Re: [Zope] Q: Using WebDav to edit Zope DTML Methods. SOLVED!

2000-05-30 Thread Graham Heyes
Martijn Pieters wrote: On Tue, May 30, 2000 at 02:30:47PM -0400, Graham Heyes wrote: Thanks to the info from Martijn Pieters this turned out to be trivial. The unrendered source for a DTML method is reached by appending /document_src to the end of the URL. For example,

Re: [Zope] Question about dtml-in sorting

2000-05-30 Thread Nils Kassube
Patrick J.M. Keane wrote: I get the opposite behaviour. Any easy way to reverse the sort order? Well, I found there _is_ a reverse attribute to the dtml-in tag, but it's not documented in my version (2.1.0, 1999/12/17) of the DTML Reference. It works. Cheers, Nils

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
The python expression syntax strikes again :( Tom Scheidt wrote: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" You're trying to embed DTML within python here. you really want (untested): dtml-if "date1 == _DateTime.now().Day()" cheers, Chris

Re: [Zope] delete dictionary

2000-05-30 Thread Chris Withers
"urs.beyeler" wrote: dtml-call "REQUEST.set('Wednesday',{'titel' : 'how to do that?'})" ... and a bit later in the document i need to delete them again ... how can i do that? no one of my DELETE-experiments worked ... thnx.urs Try the following (untested): dtml-call "del

Re: [Zope] Zope 2.0.1 export

2000-05-30 Thread Chris Withers
Paul Gresham wrote: Hi, I have an old linux system running a document store I wrote some time ago in Zope 2.0.1. I've tried exporting my document store but cannot seem to get it re-imported into the latest version of Zope. I can ftp the documents out, but of course lose all the information

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: Close but no brownies for you. :-) Make that... dtml-if "date1 == _.DateTime().Day()" Ack, a genuine typo... I'm going home to sulk ;( Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZDiscussions and Zope 2.2

2000-05-30 Thread J. Atwood
What version are you using? J From: "Cary O'Brien" [EMAIL PROTECTED] Date: Tue, 30 May 2000 10:31:44 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] ZDiscussions and Zope 2.2 I can't seem to add a ZDiscussions topic any more. I keep getting authorization failures. Managers are

Re: [Zope] file import

2000-05-30 Thread Kevin Dangoor
- Original Message - From: "Rick Pasotto" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 30, 2000 4:21 PM Subject: [Zope] file import Second (unrelated) question: When I create and then select a new version I get a screen that says the version is not active and to press

Re: [Zope] product installation voodoo

2000-05-30 Thread Kevin Dangoor
- Original Message - From: "michael angelo ruberto" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 30, 2000 4:11 PM Subject: [Zope] product installation voodoo why do some products install fine on their own and others require voodoo incantations and sacrificial goats?

[Zope] Serious problems upgrading to 2.1.6...

2000-05-30 Thread Skip Montanaro
I'm trying to upgrade a ZServer-only environment from 2.0.0 to 2.1.6 and am experiencing serious problems. I'm using the RPMs available from http://starship.python.net/crew/jrush/Zope/Zope216.html I downloaded the A bundle and the zserver option from the C bundle. I then installed them

Re: [Zope] file import

2000-05-30 Thread Rick Pasotto
On Tue, May 30, 2000 at 04:44:53PM -0400, Kevin Dangoor wrote: - Original Message - From: "Rick Pasotto" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 30, 2000 4:21 PM Subject: [Zope] file import Second (unrelated) question: When I create and then select a new

[Zope] Python development team moves to BeOpen.com

2000-05-30 Thread Nitin Borwankar
This was on Slashdot earlier today. See original letter below Nitin Borwankar [EMAIL PROTECTED] http://www.pythonlabs.com/letter.html ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

RE: [Zope] product installation voodoo

2000-05-30 Thread michael angelo ruberto
From: Kevin Dangoor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 30, 2000 4:48 PM To: michael angelo ruberto; [EMAIL PROTECTED] Subject: Re: [Zope] product installation voodoo - Original Message - From: "michael angelo ruberto" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

[Zope] SQL query results as dtml values ?

2000-05-30 Thread Richard Smith
Maybe my question was too dense. I will try again. lets say I do this in a ZSQL method SELECT * FROM foo; of course I get a table of results. Now can I some how run another query base on the results, like to do an UPDATE and have the dtml-sqlvar type=blah use the values from the table ?

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Dieter Maurer
Hi Tom, But not with: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" (and yes, the day I'm doing it on is Tuesday). Usually, DTML-tags cannot be nested. Exceptions: tags in compound tags such as "if, in, let, with, ...". In your case, the "dtml-var" is simply not recognized and treated as a

Re: [Zope] ZCatalog previous and next items in list

2000-05-30 Thread Dieter Maurer
Hi Chris, I am using a dtml-in to walk through a catalog and display the results ... If the user click on Item 2, I want to pass the id of Item 1 and Item 3 to the next page. "dtml-in" iterates over a sequence. You can directly access elements of the sequence. This looks like: dtml-let

Re: [Zope] newbie question: variables

2000-05-30 Thread Dieter Maurer
Brad Moulton writes: I'd like to be able to store and use the "username" captured in a simple login/password DTML method If you use "basic authentication", then the browser will manage the username and send it on any request. You can access it via "AUTHENTICATED_USER". If your user allows

Re: [Zope] product installation voodoo

2000-05-30 Thread Bill Anderson
michael angelo ruberto wrote: can somebody tell me what the permissions for products should look like? To which Kevin actually wrote: I'm not sure that it really matters as long as your webserver process can read the files. Kevin To which Michael responded: i've had situations where

Re: [Zope] Oh

2000-05-30 Thread Luis Cortes
It is documented, Although it might be difficult to find. Look at "Document Template Language Markup Reference" that comes in the documentation. There are really 5 documents 2-3 are usually what you will use a lot ( the rest give you understanding ). These are 1. Content Manager's

[Zope] Zope documentation

2000-05-30 Thread Graham Chiu
I may be a bit naive, but it seems to me that one should be able to build a tool (object inspector) which when queried will produce all the methods of a queried object, the property sheets, the variables of the property sheets, the applicable methods, and report back the ancestry of the product.

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Lalo Martins
On Tue, May 30, 2000 at 10:28:42PM +0200, you wrote: Minor note: "lambda" is not a builtin but part of the syntax (a keyword). I am sure, they will work in expressions. Uh. Of course that is correct. []s, |alo

Re: [Zope] Zope documentation

2000-05-30 Thread Shane Hathaway
Graham Chiu wrote: I may be a bit naive, but it seems to me that one should be able to build a tool (object inspector) which when queried will produce all the methods of a queried object, the property sheets, the variables of the property sheets, the applicable methods, and report back the

[Zope] Oh

2000-05-30 Thread Patrick J.M. Keane
Regarding my reverse sort question. I guess the answer is, just because it isn't documented, doesn't mean it isn't already there. :) I found it. pk ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] TimeSheet product?

2000-05-30 Thread Jean Jordaan
Hi Zopers I'm looking for something to track the time I spend on different jobs. Has anyone written anything like this? I tried searching through the products, but found only issue trackers. My main criterion is simplicity of use .. I've never managed to use a timesheet continuously, if it's

[Zope] Zope Chat

2000-05-30 Thread ethan mindlace fremen
Jim and Paul are going to be availiable for a chat about Zope, Perl Methods, and more. Please join us Wednesday, May 31, 1:00PM EST on irc.openprojects.net , on the #zope channel. If you have any technical questions about joining the chat, feel free to email me ( [EMAIL PROTECTED] ) and I'll

RE: [Zope] TimeSheet product?

2000-05-30 Thread Stuart Foster
I could use one too. If someone doesn't have one maybe we can work one out. -Original Message- From: Jean Jordaan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 30, 2000 7:25 AM To: [EMAIL PROTECTED] Subject: [Zope] TimeSheet product? Hi Zopers I'm looking for something to track the

[Zope] IRC Chat redux

2000-05-30 Thread ethan mindlace fremen
Zopistas, I'm just posting some clarifications and follow-up. The chat with Jim Fulton and Paul Everitt will happen at 13:00 EST/08:00 GMT, tomorrow, Wednesday the 31st. It will be on irc.openprojects.net channel #zope. It's the standard IRC port- 6667 . For those of you that are new to IRC,

Re: [Zope] IRC Chat redux

2000-05-30 Thread ethan mindlace fremen
ethan mindlace fremen wrote: The chat with Jim Fulton and Paul Everitt will happen at 13:00 EST/08:00 GMT, tomorrow, Wednesday the 31st. Ouch. The sun rises in the east, not the west. 17:00 UTC or 18:00 if you have daylight savings. For a complete list of what time it will be in your city:

Re: [Zope] What does it mean?

2000-05-30 Thread ethan mindlace fremen
"Morten W. Petersen" wrote: "The Zope Gadfly product is a free Zope adapter [...] so it should not be used to create large databases. What does large databases mean in this context? AFAIK, it means "bigger than ram" because Gadfly loads tables entirely into ram... someone correct me if

Re: [Zope] Zope Chat

2000-05-30 Thread David Trudgett
At 03:40 2000-05-30 -0600, ethan mindlace fremen wrote: Jim and Paul are going to be availiable for a chat about Zope, Perl Methods, and more. Please join us Wednesday, May 31, 1:00PM EST on irc.openprojects.net , on the #zope channel. Sorry for my ignorance, but what's that in UTC? Thanks.

Re: [Zope] What does it mean?

2000-05-30 Thread Graham Chiu
In article [EMAIL PROTECTED], Morten W. Petersen [EMAIL PROTECTED] writes "The Zope Gadfly product is a free Zope adapter [...] so it should not be used to create large databases. What does large databases mean in this context? -Morten I don't think it should be used at all except for testing

Re: [Zope] Oh

2000-05-30 Thread Maik Roeder
Hi ! Luis Cortes wrote: There is one other worth mentioning, that is ALL ZOPE TIPS which is a collection of useful examples ( unfortunately this is not part of the standard documentation ) you will have to go to the Zope site and download it from the documentation URL. You can find a link

Re: [Zope] SQL query results as dtml values ?

2000-05-30 Thread Graham Chiu
In article [EMAIL PROTECTED], Richard Smith [EMAIL PROTECTED] writes Maybe my question was too dense. I will try again. lets say I do this in a ZSQL method SELECT * FROM foo; of course I get a table of results. Now can I some how run another query base on the results, like to do an UPDATE and

Re: [Zope] What are the best general books on Object Oriented designprinciples?principles?

2000-05-30 Thread Chris McDonough
Chris, At the end of the article named "Gaining Zope Enlightenment By Grokking Object Orientation", (http://www.zope.org/Members/mcdonc/HowTos/gainenlightenment), you will find a reference to a book by Scott Ambler named "The Object Primer". This is a great starting point. Chris Beaumont

[Zope] Testing the Waters ( Job Hunting )

2000-05-30 Thread Luis Cortes
Hi, Is there a short term position for me out there - anywhere? I have a masters in C.S., 5 years experience in C/C++ programming (and a little UML ). Recently I have taken the Zope training course, and used python and zope to do some projects at work, but now I am looking to see what

[Zope] confera, zope 2.2, and attachments

2000-05-30 Thread Cary O'Brien
With a confera discussion, I can't seem to add attachments. I can enter a file name into the file upload box, and there are no errors, but when I view the message there is no attachment. Am I doing something wrong? -- cary ___ Zope maillist -

[Zope] ZDiscussions and Zope 2.2

2000-05-30 Thread Cary O'Brien
I can't seem to add a ZDiscussions topic any more. I keep getting authorization failures. Managers are allowed to all zdiscussion topics on the security page, though. Is this related to the problem with ZSQL queries and the new permissions scheme with 2.2? -- cary

[Zope] Working with ZopeTime

2000-05-30 Thread Tom Scheidt
Hi All, Im trying to display information based on what day of the week it tis using: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" The date1 property on the page I'm calling is "Tuesday". It works when i do this: dtml-if "date1 == 'Tuesday'" But not with: dtml-if "date1 == 'dtml-var

[Zope] What are the best general books on Object Oriented designprinciples?principles?

2000-05-30 Thread Chris Beaumont
The subject line says it.. What are the best general books on Object Oriented software and database design principles? I'm just starting out, and have no other programming experience to unlearn..(which I have heard is a GoodThing (tm) ) What would you suggest as a good place to start?

Re: [Zope] something missing in my Oracle setup?

2000-05-30 Thread Anthony Baxter
Justin Sheehy wrote Hello, I am trying to build the DCOracle module and having trouble right off the bat. I have tried both 1.3.0 and 1.3.1 b1 with the same results. The file src/oci_8.c does an #include "oci.h", but I don't seem to have a file named oci.h in my oracle install: It

Re: [Zope] how do I get field names from a query

2000-05-30 Thread Curtis Maloney
On Wed, 31 May 2000, Adam Molyneaux wrote: how do I get the names of the fields returned from a SQL query ? ( I would like to generate stuff using the names automatically) I know they must be available because I can use them directly ! I've tried lots of alternatives of the form dtml-in

RE: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Nick Drew
Chris McDonough ponders: | Your method, in particular, is worse to understand than my | one-liner, specially for anyone who uses functional programming | seriously; but even other people would have to reason for a | few minutes to understand what you're appending to that poor | list and why. |

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Chris McDonough
Nick Drew wrote: |I can see that argument... it depends on the reader, I suppose. I |wouldn't complain much actually if the Python code had functional stuff |in it. It's having it in DTML that bugs me, for reasons that |have to do |with separating HTML-like stuff from the stuff that

Re: [Zope] Zope Chat

2000-05-30 Thread Stuart 'Zen' Bishop
On Wed, 31 May 2000, David Trudgett wrote: At 03:40 2000-05-30 -0600, ethan mindlace fremen wrote: Jim and Paul are going to be availiable for a chat about Zope, Perl Methods, and more. Please join us Wednesday, May 31, 1:00PM EST on irc.openprojects.net , on the #zope channel. Sorry

[Zope] Site Access Counter

2000-05-30 Thread Allied Data
hi all, allow me to start by saying that i am relatively new to zope... i have made a web site in zope, but would like to have an access counter on it too. our zope2.1.6 server is running on redhat6.1 with apache1.3.9. i have seen access counter scripts that require perl5, but i have heard

Re: [Zope] Zope Chat

2000-05-30 Thread Andrew Kenneth Milton
+[ Stuart 'Zen' Bishop ]- | On Wed, 31 May 2000, David Trudgett wrote: | | Sorry for my ignorance, but what's that in UTC? | | I think it is American for GMT, so I think it comes out to 3am EST | (thats Australian EST) and well past my bed time.

Re: [Zope] IRC Chat - tools[win32] and advice

2000-05-30 Thread Tino Wildenhain
Hi Eric, "Eric L. Walstad" wrote: // I have not used IRC before, but would love to join the chat session. I've not used IRC either. Can I monitor the discussion using MS NetMeeting? No. But you can, how ever use MS Chat. But be warned: you have to use text chat mode (not the comic

RE: [Zope-dev] Zope 2.1.6 ZCatalog: minor bug, missing find import -- with patch

2000-05-30 Thread Brian Lloyd
I just found a minor bug in Zope 2.1.6's ZCatalog (distribution). "ZCatalog.py" does not import "find". If the "containing" field contains a value, a NameError exception is raised. Patch appended. Dieter Thanks for the report - it looks like this was already fixed for 2.2. Brian

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to Control_Panel/Products? worse yet - you can't import _at_ _all_ outside the control panel. A manager can't access RoleManager. superuser can't own

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
When importing the .zexp, I get an "Attempt to store a wrapped persistent object" error. This is really puzzling, because I'm not sure how a completely through-the-web Product would have a wrapped object stored in it. I tried removing the PythonMethods to see if they were stored in

Re: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Kevin Dangoor
If you are using CVS, you need to do an update in ZODB to update the coptimizations.c file then rebuild the coptimizations module. That should fix the problem... That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Kyler B. Laird
On Tue, 30 May 2000 17:09:20 +1000 (EST) you wrote: I like the optional attribute. I'd like to see it do more than sit idle in the code. You don't have to do the typechecking in the 'arguments' box if you don't want. eg. in your arguments section: course="" subject="" O.k., it appears

Re: [Zope-dev] 'import' busted in current-cvs.

2000-05-30 Thread Anthony Baxter
Ok dokey, I've done a rebuild, and now, when trying to import stuff as a user with 'Manager' privs, I get... You are not authorized to access RoleManager. Traceback (innermost last): File /opt/zope/zope-cvs/./lib/python/ZPublisher/Publish.py, line 224, in publish_module File

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Stuart 'Zen' Bishop
On Mon, 29 May 2000, Kyler B. Laird wrote: This is not the same functionality as is provided by the "optional" attribute. How would I use it with an integer, for example? I don't want a default value; I want the option of not having the value set at all. I like the optional attribute.

[Zope-dev] CatalogAwareness for RackMountables

2000-05-30 Thread Itamar Shtull-Trauring
I've been playing around with ZPatterns, and I must say it's very cool - finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly different than regular Zope objects in that you have to find the ZCatalog in the Rack's acquisition path, but that's about it. The absolute_url

[Zope-dev] CatalogAwareness for RackMountables

2000-05-30 Thread Itamar Shtull-Trauring
Sorry if this arrives twice, but mailing lists seem to have swallowed my earlier mail. I've been playing around with ZPatterns, and I must say it's very cool - finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly different than regular Zope objects in that you have to find

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to Control_Panel/Products? worse yet - you can't import _at_ _all_ outside the control panel. A manager can't access RoleManager. superuser can't own

Re: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Anthony Baxter
"Kevin Dangoor" wrote If you are using CVS, you need to do an update in ZODB to update the coptimizations.c file then rebuild the coptimizations module. That should fix the problem... That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-30 Thread Jason Spisak
Bill Anderson: Jason Spisak wrote: [...] That's funny that I am experienceing the same symptoms as you, but my installation is totally different. I'm not using GUF, or any DA's, and I'm running on RH 6.1. We really need to figure this out as a community. I am willing to try just

Re: [Zope-dev] Calling DTML methods from Python

2000-05-30 Thread Rik Hoekstra
Andrew Wilcox wrote: OK, I'll set up a DTML Quick Reference on the ZDP site right now! It's link is http://zdp.zope.org/portals/beginners/DQR We should be able to get this in place. Contributions sought! Do you want me to include my text? Where would it go? Yes. Hm, this is

[Zope-dev] Memory issue 2.1.1 request for info

2000-05-30 Thread Jason Spisak
Matthew T. Kromer: I'm extremely curious that the cache doesn't clear when you restart Zope. One would normally not expect to see this. Can you do a "ps xauww" and mail it to me / the list? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0

[Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Michel, I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR type stuff handy online is a huge win. Is that stuff updated fro mthe source on the fly? Greatfully, Jason Spisak CIO

Re: [Zope-dev] Cataloging LocalFS content

2000-05-30 Thread Jonothan Farr
I think, cataloging "LocalFS" content would be nice. I have the following problems with it: 1. "LocalFS" defines various meta types: "Local File System", "Local Directory" and "Local File". Only "Local File System" is a "true" meta type which should appear in the available

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: 1) Enahnce the permissions system to include "Accessible via HTTP", "Accessible via FTP", etc. Add to that 'execute in DTML method' ( + python methods perl methods;-) and you've got what I've been asking for for so long I've atoped trying :( This would prevent the nasty

Re: [Zope-dev] Cataloging LocalFS content

2000-05-30 Thread Rik Hoekstra
I think, cataloging "LocalFS" content would be nice. I have the following problems with it: 1. "LocalFS" defines various meta types: "Local File System", "Local Directory" and "Local File". Only "Local File System" is a "true" meta type which should appear in the available

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Shane Hathaway writes: Jason Spisak wrote: I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR type stuff handy online is a huge win. Is that stuff updated from the source on the

  1   2   >