RE: [Zope-dev] Mail and zope

2000-11-28 Thread Matt Hamilton
originated from but most e-mail clients discard custom headers but preserve a 'In-Reply-To' header with the original message-id. Don't count on it! :) I spent quite some time working on a full-text mailing list search/archive system and one of the things I wanted to do was preserve thread

Re: [Zope-dev] RFC: Python/Zope Interfaces: ZCatalog

2000-11-28 Thread Chris Withers
Ken Manheimer wrote: I'm not expert on eiffel or even interfaces, but my understanding having interface "specification very near to the implementation" is misleading, at best. The key thing is that there may be many implementations, all of which should be written to the same implementation

[Zope-dev] UML reverse engineering on ZClasses - I need some help

2000-11-28 Thread zope
Hi! I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython. this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of utility methods that I implemented as External

[Zope-dev] fixing security problems HOW?

2000-11-28 Thread Robin Becker
How can I find out exactly what is causing my security permissioning to fail. I have put extra stuff into ZPublisher\BaseRequest.py at line 463 so I know that I'm failing on UnauthorizedYou are not authorized to access this resource. URL='http://192.168.0.4:7080/live/index_html' No

[Zope-dev] CVS down?

2000-11-28 Thread Robin Becker
C:\Python\devel\Zopecvs -z9 upd -A -P -d CVS.EXE [update aborted]: connect to zope.org:2401 failed: Connection refused Am I pointing at the wrong server or something? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] CVS down?

2000-11-28 Thread Ken Manheimer
On Tue, 28 Nov 2000, Robin Becker wrote: C:\Python\devel\Zopecvs -z9 upd -A -P -d CVS.EXE [update aborted]: connect to zope.org:2401 failed: Connection refused Am I pointing at the wrong server or something? Hmm. It looks like your repository is wired to 'zope.org' rather than

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Jim Fulton
Lalo Martins wrote: On Fri, Nov 24, 2000 at 08:11:48AM -0800, Michel Pelletier wrote: Python Interface Proposal I have been working on a proposal for enhancing the existing interface documentation in Zope. The Wiki for this project can be found here: As far as what's written on

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Jim Fulton
Michel Pelletier wrote: Lalo Martins wrote: On Fri, Nov 24, 2000 at 08:11:48AM -0800, Michel Pelletier wrote: Python Interface Proposal I have been working on a proposal for enhancing the existing interface documentation in Zope. The Wiki for this project can be found

Re: [Zope-dev] fixing security problems HOW?

2000-11-28 Thread Shane Hathaway
Robin Becker wrote: How can I find out exactly what is causing my security permissioning to fail. I have put extra stuff into ZPublisher\BaseRequest.py at line 463 so I know that I'm failing on UnauthorizedYou are not authorized to access this resource.

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Jim Fulton
Dieter Maurer wrote: Michel Pelletier writes: Also, defining the interface seperately keep the two things apart, impementation and interface, and doesn't allow you to sneak in a new method unless you also sneak it into the interface, thus making a stronger "contract" with the user.

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
Brett Carter wrote: I have a folder with greater than 5000 ZClass instances in it. It takes 5mins to do an objectValues for every object in the folder - is there a higher perfomance call I could make? -Brett Standard folder performance degrades pretty quickly once you get a lot of objects

Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp

2000-11-28 Thread Joachim Schmitz
On Tue, 28 Nov 2000, zope wrote: Hi! I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython. this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of

Re: [Zope-dev] CVS down?

2000-11-28 Thread Robin Becker
In article [EMAIL PROTECTED] m, Ken Manheimer [EMAIL PROTECTED] writes On Tue, 28 Nov 2000, Robin Becker wrote: C:\Python\devel\Zopecvs -z9 upd -A -P -d CVS.EXE [update aborted]: connect to zope.org:2401 failed: Connection refused Am I pointing at the wrong server or something? OK that

Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp

2000-11-28 Thread Maik Röder
Hi Joachim ! Joachim Schmitz wrote: I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython. this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of utility

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Andy McKay
Id recommend all the above but just for reference "objectIds" is faster than "objectValues". -- Andy McKay, Developer. ActiveState. - Original Message - From: "Casey Duncan" [EMAIL PROTECTED] To: "Brett Carter" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000

Re: [Zope-dev] RFC: Python/Zope Interfaces: ZCatalog

2000-11-28 Thread Michel Pelletier
Chris Withers wrote: Ken Manheimer wrote: I'm not expert on eiffel or even interfaces, but my understanding having interface "specification very near to the implementation" is misleading, at best. The key thing is that there may be many implementations, all of which should be

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Brett Carter
Ok, I'll bite. Why doesn't the standard folder scale? Seems like a design flaw to me - why doesn't the default folder use catalogs or BTrees? -Brett "Casey" == Casey Duncan [EMAIL PROTECTED] writes: Casey Brett Carter wrote: I have a folder with greater than 5000 ZClass instances

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Michel Pelletier
Brett Carter wrote: Ok, I'll bite. Why doesn't the standard folder scale? Seems like a design flaw to me - why doesn't the default folder use catalogs or BTrees? -Brett Because massive scale is not a requirment of folders, they are meant to organize content for humans, not to be

Re: [Zope-dev] Re: PathHandler: bug, readme.txt

2000-11-28 Thread Phil Harris
To my mind it's the browser. This is a simple trick I use when egating the caching in IE for instance. Stick a space on the end of the url and IE thinks it's a new one but blindly strips them before getting the same refreshed page. This works with any server and any page on that server btw.

[Zope-dev] Interface Meta Data proposal

2000-11-28 Thread Michel Pelletier
I've added a sub-proposal to the Interface proposal for describing additional meta-data with Interface objects: http://www.zope.org/Wikis/Interfaces/ExtesableMetaData Please comment about this interesting possibility. -Michel ___ Zope-Dev maillist

[Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Christopher Petrilli
I notice you mention post/pre conditions (something that UML obviously talks about). I wonder if we want to do a bit of research on Eiffle and it's contractual description. The only thing I wonder is if some of this is actually useful programatically, if that makes sense? It's great info, but

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
Brett Carter wrote: Ok, I'll bite. Why doesn't the standard folder scale? Seems like a design flaw to me - why doesn't the default folder use catalogs or BTrees? -Brett AFAIK a standard folder uses a linear search when you request an object from it (ala Python dictionaries, someone please

[Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Chris McDonough
Is security really a part of an object's interface? I thought this was more of an implementation thing. - Original Message - From: "Michel Pelletier" [EMAIL PROTECTED] To: "Geeks Mailing List" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 4:05 PM Subject:

[Zope-dev] Re: [Geeks] Re: Interface Meta Data proposal

2000-11-28 Thread Guido van Rossum
I notice you mention post/pre conditions (something that UML obviously talks about). I wonder if we want to do a bit of research on Eiffle and it's contractual description. The only thing I wonder is if some of this is actually useful programatically, if that makes sense? It's great info,

[Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Jeffrey P Shell
On 11/28/00 4:05 PM, "Michel Pelletier" [EMAIL PROTECTED] wrote: I've added a sub-proposal to the Interface proposal for describing additional meta-data with Interface objects: http://www.zope.org/Wikis/Interfaces/ExtesableMetaData Please comment about this interesting possibility.

Re: [Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Michel Pelletier
Chris McDonough wrote: Is security really a part of an object's interface? Maybe. Are examples? Also maybe. It's documentation, so specific systems that use interfaces may want to be able to extend the kinds of information they can associate with interface elements. I thought this was

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Brett Carter
"Michel" == Michel Pelletier [EMAIL PROTECTED] writes: Michel Because massive scale is not a requirment of folders, they Michel are meant to organize content for humans, not to be Michel large-collection containers. A folder with 5000 elements Michel is not very useful to a

Re: [Zope-dev] fixing security problems HOW?

2000-11-28 Thread Dieter Maurer
Robin Becker writes: How can I find out exactly what is causing my security permissioning to fail. I have put extra stuff into ZPublisher\BaseRequest.py at line 463 so I know that I'm failing on UnauthorizedYou are not authorized to access this resource.

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Dieter Maurer
Michel Pelletier writes: Dieter Maurer wrote: Michel Pelletier writes: Also, defining the interface seperately keep the two things apart, impementation and interface, and doesn't allow you to sneak in a new method unless you also sneak it into the interface, thus making a

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Dieter Maurer
Ken Manheimer writes: Dieter Maurer wrote: It is a very good thing to have the specification very near to the implementation -- as a permanent guide to the implementor. It is even better, when big parts of the specification becomes part of the executable code (as is the

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-28 Thread Dieter Maurer
Jim Fulton writes: Dieter Maurer wrote: I cannot see, why the separation of interface and implementation should make the contract stronger. The interface *is* the contract. If someone builds a house for me, I don't want the house to *be* the contract. I want the house to adhere

Re: [Zope-dev] fixing security problems HOW?

2000-11-28 Thread Robin Becker
In article [EMAIL PROTECTED], Robin Becker [EMAIL PROTECTED] writes Apparently, your "live" is a Z instance. It is quite easy to forget the ZClass permission mapping (or get it wrong). This may lead to strange permission problems. Which ZClass permission mapping? Anonymous seems to be able

[Zope-dev] RE: [Geeks] Re: Interface Meta Data proposal

2000-11-28 Thread Tim Peters
[Christopher Petrilli] I notice you mention post/pre conditions (something that UML obviously talks about). I wonder if we want to do a bit of research on Eiffle and it's contractual description. The only thing I wonder is if some of this is actually useful programatically, if that makes

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-28 Thread Ender
Lalo Martins wrote: Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? What about the other Storage projects? BerkeleyStorage has been dead for an year, and I heard pretty nasty words about InterbaseStorage. What about someone who wanted

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-28 Thread Lalo Martins
On Tue, Nov 28, 2000 at 06:01:15PM -0800, Ender wrote: Lalo Martins wrote: Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? What about the other Storage projects? BerkeleyStorage has been dead for an year, and I heard pretty nasty

[Zope-dev] ZPetterns implementation qustions

2000-11-28 Thread Itai Tavor
Hi, I'm trying to figure out the right way to implement a set of classes and roles in ZPatterns. I asked some questions about this a while ago, and then went away and did some learning, but I'm stuck again and I'm afraid I need to ask more questions. I have two types of actors - Person (with

Re: [Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Cees de Groot
Jeffrey P Shell [EMAIL PROTECTED] said: But I'm not sure how one would go about setting your meta-data in a way that is at all natural to Python. I think that exceptions that a method must\should raise *should* be part of a signature\contract. This is one of the really cool things about Java.

Re: [Zope-dev] Re: [Geeks] Re: Interface Meta Data proposal

2000-11-28 Thread Cees de Groot
Guido van Rossum [EMAIL PROTECTED] said: When you've fully debugged an application, you turn both off. When you've fully debugged a library module, you create two versions: one with both turned off, for use in fully debugged applications, and one with pre-conditions on and post-conditions off,

[Zope] Building Zope within a Virtual Server

2000-11-28 Thread Norman Khine
Hello, The new zope site seems to be running very well. I have a virtual server account on which I had previously installed zope 2.2.2 which was later successfully upgraded to 2.2.4, unfortunantly I had problems in setting up MySQLdb. I have now removed zope and python 1.5.2, re-installed

[Zope] How do i write or?

2000-11-28 Thread Stoonsdesign
Hi there I have a small challenge you all The thing is that I have this page (made by somebody else) wich is supposed to look up somewords in a database by writing: some url?letter=a* - this displays all the words starting with a... But how do I look up all the words starting

Re: [Zope] Index_html versus index.html

2000-11-28 Thread Chris Withers
Dieter Maurer wrote: Pieter Biemond writes: * Why is the default file index_html and not index.html (Windows doesn't want to open files without extensions). I assume, because preferences of Python, Zope's implementation language, have had a higher priority than Windows preferences

Re: [Zope] html expertise anyone.

2000-11-28 Thread Chris Withers
Robin Becker wrote: I can do this using a class So maybe do it using a class then? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker
In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: I can do this using a class So maybe do it using a class then? ;-) Chris yes I am, but surely there has to be a way to do this stuff in line. That way I don't have to predefine all the link behaviours

[Zope] Re:[SybDA]Connection : how does it work ?

2000-11-28 Thread Ralph Heinkel
Hi, Which Zope version are you using? V 2.2.0 had a bug with the connection of the DB. I just looked into V 2.2.4 and the problematic code seems to be fixed although I've not tried this version yet. Maybe you should upgrade. If this is not the case, then ... hmm no idea. Ralph On Fri, 24 Nov

RE: [Zope] html expertise anyone.

2000-11-28 Thread Dany Rioux
Robin, IIRC it can be done but I never used it myself because I think it's annoying and it is confusing for the visitors. *G* But you should definitively check www.echoecho.com. If it is possible it *will* be posted there. HTH Dany -Original Message- From: [EMAIL PROTECTED]

[Zope] ZopeWeaver?

2000-11-28 Thread Jason Cunliffe
Hello I am looking for realworld workflow tips on using Dreamweaver with Zope. There was a speculativ thread about this some time ago, when UltraDev was being pumped.. There are now all manner of Dreamweaver extensions, both trivial and sophisticated.

[Zope] Does 2.2.4 solve Proxy+ZCatalog bugs?

2000-11-28 Thread Marcin Kasperski
The question as in the title. In changes for 2.2.3 I found: - Resolved known condition in the Catalog where objects are not guaranteed to be unindexed before indexing happens again. Now objects are guaranteed to be unindexed correctly first. This should resolve all

[Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger
I am going through a justification (risks) of the use of Zope for a corporate client. Framing things as an Open Source play relies on the health of its community for its longevity and access to expertise for support. I remember some number tossed out when the Members folder at zope.org went to

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread Chris McDonough
- Original Message - From: "albert boulanger" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 9:37 AM Subject: [Zope] Factoids for supporting zope I am going through a justification (risks) of the use of Zope for a corporate client. Framing things as an Open

[Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Jonathan Cheyne
Hi all, been very very foolish and didnt backup my entire zope installation prior to untarring the 2.2.x to 2.2.4 diff (binary) tgz. after restarting i get a message "couldnt import product.ZDbase" and one or two others, then screeds of oid errors then a start. But the site is a bit slaughtered

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Chris McDonough
If I were you, I'd see if I could get ZDiscussions working under your current setup. - Original Message - From: "Jonathan Cheyne" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 9:51 AM Subject: [Zope] Possible disaster upgrading to 2.2.4 Hi all, been very

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger
From: "Chris McDonough" [EMAIL PROTECTED] References: [EMAIL PROTECTED] Date: Tue, 28 Nov 2000 10:04:02 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Jonathan Cheyne
Ah, I tried reinstalling zddiscussions, no joy, i tried deleting zdiscussions but when you restart zeop it reinstalls the two products as broken. i tried a new install of 2.2.4 then copy across my data.fs bits and untar various products in use on the site, but, exactly the same message. so it

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread ghaley
My argument is that money is leveraged by the active Zope community so a crux in my logic is how strong this community is. Other support? Hi Albert. I'm not sure about the first part of the question, so i'll go to the second query. Our company uses zope in

[Zope] context in Python Script

2000-11-28 Thread Chris Gray
I still can't get external Python Scripts to work as described in the Zope Book. I am using the version of Python Scripts from the public CVS. Internal Scripts work fine, but I can't seem to use the "context" object in an external script. def tryContext(): """tryContext function"""

Re: [Zope] Factory location and Add box pollution

2000-11-28 Thread Stefan H. Holek
Thanks, but it doesn't ;) The prob is that anything inside the projectfolder's ZClass becomes invisible... On Mon, 27 Nov 2000, Lalo Martins wrote: Create all your ZClasses normally, and make projectfolder a subclass of Folder. Then, move all the Factories (except the projectfolderFactory)

Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker
In article [EMAIL PROTECTED], Dany Rioux [EMAIL PROTECTED] writes Robin, IIRC it can be done but I never used it myself because I think it's annoying and it is confusing for the visitors. *G* But you should definitively check www.echoecho.com. If it is possible it *will* be posted there. ...

Re: [Zope] PoPy and Delete results

2000-11-28 Thread Chris Gray
Thanks for the response, Dieter. For consistency within Zope, an integer result could still be repackaged as a sequence result. For now I can do what I wanted to by: select count(food) from penguins where food='Henri Bergson' (thus getting the number of records about to be affected by a

[Zope] 2.2.4 upgrade query

2000-11-28 Thread Jonathan Cheyne
Further to my paniced posting earlier, I reinstalled 2.2.0, copied over my data.fs* and various products and everything fired up fine but i did one experiment (following on from Chris) - i didnt install zdiscussions. This resulted in major oids errors and my broken zclass as before/ install

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Bill Welch
On Tue, 28 Nov 2000, Jonathan Cheyne wrote: Ah, I tried reinstalling zddiscussions, no joy, i tried deleting zdiscussions but when you restart zeop it reinstalls the two products as broken. You have to delete it from lib/python/Products as well, but it's a red herring for the real issue (see

Re: [Zope] html expertise anyone.

2000-11-28 Thread Simon Michael
Robin Becker [EMAIL PROTECTED] writes: I am trying to change the colour of links dynamically using dtml. However, I cannot find the right incantation to change my links using an inline style except for a href=A style="color: red"A/a Do you mean something like a href="A" style="color:

[Zope] ZODBC configuration problems

2000-11-28 Thread paul_s_johnson
Alas, I am but a Zope newbie and need help getting my database connections to work. I have previously configured the ODBC Data Source Administrator to link Access mdbs with the PERL DBI module and it has worked with no problems. I have installed the ZODBC product and in the Zope database

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread Chris McDonough
Our client thought that the recent VC money was about 1/2 what would be needed to make it fly. My argument is that money is leveraged by the active Zope community so a crux in my logic is how strong this community is. 1/2 of what would be needed to make it fly with Zope?

[Zope] Python method: recursive function gives NameError

2000-11-28 Thread Willem Broekema
I have a simple recursive function in a Python method that gives a NameError (2.2.4 on Win98). The function (in PM named 'rec'): --- def myfunc(i): if i = 10: return myfunc(1) else: return 1 return myfunc(11) --- The end of the traceback: --- File

RE: [Zope] 2.2.4 upgrade query

2000-11-28 Thread Brian Lloyd
Further to my paniced posting earlier, I reinstalled 2.2.0, copied over my data.fs* and various products and everything fired up fine but i did one experiment (following on from Chris) - i didnt install zdiscussions. This resulted in major oids errors and my broken zclass as before/ install

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Chris McDonough
Yes, there definitely seems to be something funky with ZDiscussions. It's been at the heart of several threads which claim "ZODB corruption". If someone had the time to figure it out, I think we'd all feel better. ;-) - Original Message - From: "Bill Welch" [EMAIL PROTECTED] To:

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger
From: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] References: [EMAIL PROTECTED] Date: Tue, 28 Nov 2000 11:41:50 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express

RE: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Dany Rioux
I was thinking about downloading the ZDiscussions product and install it but from what I can see, it looks like it needs some fixing. I intend to upgrade to zope 2.2.4 when it was proven that it is stable but I don't want to run into more troubles that I can chew on. I will need a Discussion

Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker
In article [EMAIL PROTECTED], Simon Michael [EMAIL PROTECTED] writes Robin Becker [EMAIL PROTECTED] writes: I am trying to change the colour of links dynamically using dtml. However, I cannot find the right incantation to change my links using an inline style except for a href=A

Re: [Zope] html expertise anyone.

2000-11-28 Thread rlanham
dtml as a server side scripting language is not going to change anything dynamically on your page. Maybe you mean DHTML. In IE everything is in the DOM and can be changed. Netscape is not thorough, and I don't think there is a hook that will change a.visited, et al. But you could try. IE has

Re: [Zope] Factoids for supporting zope

2000-11-28 Thread Chris McDonough
Ah. Well, my opinion is that it'd be fairly dangerous to make the assertion that (as great as they both are) Zope and the Zope community can "make up for" the other half of the capital they need to develop the software they want. So what's the decision they're trying to make?

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Jonathan Cheyne
ok, its deffo to do with my data.fs cos the errors only start after that has been copied across. But the errors are different if i compare the console output from a failing 2.2.4 to a 2.2.0. If i do not install zdiscussions on 2.2.0 i only get the oid errors as items requiring display are

Re: [Zope] Building Zope within a Virtual Server

2000-11-28 Thread ethan mindlace fremen
Norman Khine wrote: Hello, The new zope site seems to be running very well. I have a virtual server account on which I had previously installed zope 2.2.2 which was later successfully upgraded to 2.2.4, unfortunantly I had problems in setting up MySQLdb. I have now removed zope and

Re: [Zope] Zope mailing list doesn't work

2000-11-28 Thread ethan mindlace fremen
Milos Prudek wrote: Today, I can't change my options for [EMAIL PROTECTED] I went to http://lists.zope.org/mailman/listinfo/zope, and it says that the document has moved to http://lists.zope.org/mailman/listinfo/zope, ad infinitum. If youa are reading this then I can post, but I cannot

Re: [Zope] html expertise anyone.

2000-11-28 Thread Oleg Broytmann
On Tue, 28 Nov 2000, Robin Becker wrote: I know about the style="color: red" type of inline, I was looking for the :link, :active, :visited etc attributes for inline style. I can't seem to get these to work. The color attribute seems to set all of the states. I think it's impossible to

[Zope] tree traversing publishing

2000-11-28 Thread Milos Prudek
I do not quite understand how Zope traverses a tree. I created "ZooExhibit" Z Class within ZooExhibit factory, and "ExhibitProperties" prop.sheet within that class, with an "animal" property. I made association between "Edit" name and propertysheets/ExhibitProperties/manage. I made an instance

[Zope] Problem with an INTERBASE connection

2000-11-28 Thread Francois-regis Chalaoux
Trying to run a connection with this Database Connection String : 'C:?Program Files?Borland?InterBase?examples?Database?employee.gdb sysadm masterkey', I got the following error : Invalid connection string: 'C:?Program Files?Borland?InterBase?examples?Database?employee.gdb sysadm masterkey'.

[Zope] ZODBC configuration problems

2000-11-28 Thread Capesius, Alan
Are you running 2.2? Look at: http://www.egroups.com/message/zope/36392 Is the Access DB on the same server as Zope? If not, you may be running into problems accessing the network. The Zope service may need to be switched to run under a user account that has access to the network resource. The

[Zope] ZCatalog and dates

2000-11-28 Thread James Sintz
I have a ZCatalog set up to index a date field and a title field. When I do a search for meta_type "news" I get a tabular list back of all 18 cataloged items showing, among other things the date field (goLiveDate) and the title field. If I do a search for both meta_type of "news" a date of

Re: [Zope] ZODBC configuration problems

2000-11-28 Thread Pavel V. Piankov
sources I receive the error "Invalid connection string" except for one of If you are using the last ZODBCDA there should be no problems granted that you have provided the proper connection string. check the connection object, there sould be written down smth. like 'datasource login pass' or

[Zope] change object ownership from DTML?

2000-11-28 Thread Kyler B. Laird
I'm allowing users to initialize their own folders, but I've run into a problem with ownership. If I simply do manage_addFolder(), the folder is created "unowned". I feel like I've looked everywhere for a clue on how to set the ownership, but I haven't caught it. Surely I'm missing something

RE: [Zope] ZCatalog and dates

2000-11-28 Thread James Sintz
They are a date type. The date index or goLiveDate index is now a keyword index instead of a text index. However, when I try to find items of the meta_type "news" to catalog I get an AttributeError with an error value of __getitem__ !-- Traceback (innermost last): File

Re: [Zope] ZCatalog and dates

2000-11-28 Thread Uros Midic
If I do a search for both meta_type of "news" a date of 2000/11/16 in the goLiveDate field the results page returns "There was no data matching this Catalog query". Yet when I do a search for the meta_type of "news" alone I see that indeed the Catalog contains 2 entries with 2000/11/16 in the

Re: [Zope] AND operator and ZCatalog

2000-11-28 Thread The Doctor What
* Michel Pelletier ([EMAIL PROTECTED]) [001128 15:26]: Text indexes implicitly Or their search terms if no operator is specified. Don't ask me why, I don't know. if you want to change this behavior, edit lib/python/SearchIndex/UnTextIndex.py on or about line 451, change the

Re: [Zope] Instance within Instance

2000-11-28 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: The problem here is that even though you set REQUEST, it is a string. You need to be in the context of the parent _object_. You should try dtml-with "_.getitem(parent_id)". What's happening now is that my class2 is getting created at the same

Re: [Zope] Zope+PostgreSQL

2000-11-28 Thread Martin Winkler
At 19:02 28.11.2000, Robert Senger wrote: The ZPoPyDA module refuses to work properly. I'm using ZPygreSQLDA - just installed it today on yet another server and have no problems with it. Just read the README-file thoroughly and you should be successful in an hour or so. Martin

[Zope] ZCatalog and LoginManager - be aware.

2000-11-28 Thread Oliver Bleutgen
Hi, I just wanted to mention a IMO bad pitfall when using ZCatalog, for the sake of sparing others some time. I'm running Zope 2.2.2 with LoginManager with SQL in a subfolder and was getting the following error when trying to find dtml-documents into ZCatalog: Error Type: AttributeError

Re: [Zope] ZCatalog and LoginManager - be aware.

2000-11-28 Thread Michel Pelletier
Oliver Bleutgen wrote: Hi, I just wanted to mention a IMO bad pitfall when using ZCatalog, for the sake of sparing others some time. I'm running Zope 2.2.2 with LoginManager with SQL in a subfolder and was getting the following error when trying to find dtml-documents into ZCatalog:

Re: [Zope] html expertise anyone.

2000-11-28 Thread Robin Becker
In article 009c01c05961$a584d6a0$ae03a8c0@fork, Andy McKay [EMAIL PROTECTED] writes I think this is a css question and not related to DTML. Go to http://freezope.nipltd.net/dna and you will see a simple style sheet that shows use of active and visited links. -- ... yes I know how to set up style

Re: [Zope] ZCatalog and LoginManager - be aware.

2000-11-28 Thread Oliver Bleutgen
Oliver Bleutgen wrote: I fiddled around somewhat and discovered that disabling subtransactions in ZCatalog does help (required for using ZSQL Methods and ZCatalog in the same transaction). Yeah, that sux. I think this is a known limitation. I'm not sure. It is, unfortunately this is only

Re: [Zope] External Methods

2000-11-28 Thread Dieter Maurer
Kini Natekar writes: How to call an External Method from another External Method and pass parameters ? I am just a beginner, so intricate details would be appriciated. def Method1(self, ...further args...): . self.Method2(self, ...params for method2...) # or:

Re: [Zope] Instance within Instance

2000-11-28 Thread Dieter Maurer
Daryl Stultz writes: "REQUEST.set" to influence where instance is created "createInObjectManager" is uninterested in "REQUEST". It creates the new object (usually, exception when its object has a special "Destination" attribute) in the parent (aq_parent) of its object. Your

Re: [Zope] ZCatalog: How to request boolean NOT searches?

2000-11-28 Thread Dieter Maurer
Doug Morse writes: ... negating a ZCatalog index lookup ... Only ZCatalog text indexes support a restricted form of negation. Keyword and field indexes do not. Text indexes support only "and not": e.g. "Zope and not databases". Free standing "not" or combined with "or" (rather than "and") is

Re: [Zope] Instance within Instance

2000-11-28 Thread Dieter Maurer
Daryl Stultz writes: Tim Cook wrote: The problem here is that even though you set REQUEST, it is a string. You need to be in the context of the parent _object_. You should try dtml-with "_.getitem(parent_id)". Sorry, I thought of more... It's my understanding that dtml-with

Re: [Zope] html expertise anyone.3A23A8D6.ECDD8BBF@nipltd.com

2000-11-28 Thread Dieter Maurer
Robin Becker writes: In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: I can do this using a class So maybe do it using a class then? ;-) Chris yes I am, but surely there has to be a way to do this stuff in line. That way I

Re: [Zope] context in Python Script

2000-11-28 Thread Dieter Maurer
Chris Gray writes: "context" in external Python Script I do not yet know, what an external Python script is. In the old "external methods", you had to use "self" as first parameter. Then (in most cases), you could use "self" inside the function body, as you would now use "context".

Re: [Zope] ZCatalog and LoginManager - be aware.

2000-11-28 Thread Chris McDonough
The problem is that one of your databases doesn't define the commit_sub() and abort_sub() methods on the DB class it exposes. You don't say which SQL database you're using, but this happened to me on a consulting project with ZOracleDA. A solution is to add the following methods to the database

Re: [Zope] html expertise anyone.

2000-11-28 Thread Phil Harris
Robin, My educated guess is that what you want can't be achieved other than with css. The a tag has no properties for changing colors of one particular link. The body tag is the only place for this and as you know this changes them globally. This taken from the HTML reference Library: A

Re: [Zope] Zope+PostgreSQL

2000-11-28 Thread Andreas
Robert Senger wrote: Hi all, The ZPoPyDA module refuses to work properly. After several problems installing PostgreSQL (V. 7.0.3), ZPoPyDA (0.7 or 0.5) and PoPy (V. 1.4.1), Zope says at start that to please 'update your version of PoPy'. But I already have the newest available versions.

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Jonathan Cheyne
Hi Deiter Thus, install "ZDbase" or determine, why it can not import it. Already installed in 2.2.0 before upgrade. I have perused the output on the console but its a bit beyond me. cannot import name ZDiscussions You have ZDiscussion installed? Already from before. Reinstalled as well

  1   2   >