[Zope] GUF and manage_addGenericUserFolder not working
I try to call the function manage_addGenericUserFolder in a DTML Method but I keep getting a NameError for it. It's as if Zope can't find the definition. I'm stumped as to why it won't work in DTML. - The product is installed and not broken. - I can add GUF's under the management screen with 'Add' and everything works fine. - I've tried to make the call with all of the possible parameters but nothing helps. - manage_addUserFolder works fine. Has anyone else had this problem? I just upgraded to Zope 2.2.1 and I haven't tried an older release. Do you think this might have to do with the changes to the security model in 2.2.1? Should I use manage_clone instead? Thanks for any help, Jason __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.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] ZCatalog in 2.2.x
I am not searching from a form in that sense...I am talking about at the python level. I have self.searchResults({'description':'blah'}) where description is meta data in the catalog and a textindex and 'blah' is in the Vocabulary. This previously worked in zope2.1.6. Now in 2.2.0 and 2.2.1 it doesn't work. The only thing way I can get searchResults() to return a non empty list is to search using a Field index and a valid string to match with. [EMAIL PROTECTED] wrote: > Terry Kerr <[EMAIL PROTECTED]> said: > > > Hi, > > > > I have a python product which uses a ZCatalog and CatalogAware > > products. The catalog has a number of Field and TextIndex indexes. > > Search the ZCatalog has worked fine when my product is instantiated in > > 2.1.6. But now when I instantiate my product in 2.2.0 or 2.2.1, > > searching only works when I search using a field index. Searching using > > a textindex always results in an empty result, even tho I can see the > > words I am searching for in the Vocabulary! Any suggestions? I have > > tried reindexing, completey recreating the Zcatalog, recreating the > > Vobulary and reindexing, and nothing has changed the behaviour. Are > > textindexes simply broken? > > > > > > ZCatalog seems very volatile to me! Every time I have upgraded way back > > from zope2.1.3, something in zcatalog has changed and boken my product. > > So far I have managed to find fixes, but this one has got me baffled!! > > > > My experience has been that if field indexes are unspecified, the catalog > will only match where those fields are empty. In other words, by not > specifing anything for the field indexes, you are actually specifying that > for a match, they need to be empty. > To get around this, I put another method between the form for entering what > you wish to search for, and the method that actually searches the form. This > method looks at the field indexes, and if nothing has been specified, it > doesn't pass them on to the method that does the actual search. > An alternative to this, is to use names for the field indexes that aren't in > the catalog index, and then at the start of the search method, check those > names, and if they have a value associated with them, add to REQUEST what the > names in the index are with the appropriate values. > > There may be a better way, I'm still pretty new to Zope and DTML sort of > stuff. > > Peter Armstrong -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381 ___ 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] SSL and PGP
Sounds interesting, I ve checked out M2Crypto (downloaded it and checked the files but no install), it patches Medusa and ZServer in order to handle HTTPS, so Zope itself becomes a SSL enabled server without needing a proxy or gateway. But modifications to Zope's core components such as Medusa seem risky to me as long as Digital Creations don't integrate them into the official release, because every update to a new Zope release can become a horror trip when the SSL patches clash with the new Zope version. Are there any plans by DC to do something in that matter? Philipp Auersperg (zwork) *** REPLY SEPARATOR *** On 29.08.2000 at 19:39 R. David Murray wrote: >On Tue, 29 Aug 2000, Diego Rodrigo Neufert wrote: >> Anyone know how to send a pgp cryped email in zope? (using or >> anything else) >> >> and >> >> How to run a SSL server with ZServer? > >Search for M2Crypto on zope.org. It does both. > >--RDM > > >___ >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 to keep stuff out of undo
Roman Milner wrote: > Hi. We have a product (an mp3 jukebox) that uses the ZODB to store a large > data structure of all the albums and track names. Many people are > allowed to add/remove albums from the database. The problem is, when > they do this the entire data structure is backed up for undo. So, by > the end of each day, our ZODB has grown so large we are out of disk space. The way I'm reading this, you have this entire database of albums and tracks as a sinle object in your ZODB. Don't do that. Refactor your product to use subobjects of your Jukebox object as albums, and subobjects of those as tracks. Then, only a small amount of data gets rewritten on each transaction. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.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 )
Re: [Zope] SSL and PGP
On Wed, 30 Aug 2000, Philipp Auersperg wrote: > Sounds interesting, I ve checked out M2Crypto > (downloaded it and checked the files but no install), > it patches Medusa and ZServer in order to handle HTTPS, > so Zope itself becomes a SSL enabled server without needing > a proxy or gateway. > > But modifications to Zope's core > components such as Medusa seem risky to me as > long as Digital Creations don't integrate them into the > official release, because every update to a new Zope release > can become a horror trip when the SSL patches clash with > the new Zope version. Install Apache+SLL in front of Zope... Oleg. Oleg Broytmannhttp://phd.pp.ru/[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] Is anyone know when Zope was born ???
Is anyone know when Zope was born ??? ___ 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: Website design / spec / development resources
Have a look at http://www.amazon.com/exec/obidos/ASIN/156205810X/goeldiengineerin/ A must-read for real webdesigners. >I am looking for some good guidelines in designing, spec'ing and >developing large complex websites. Anything like guidelines, steps, >howtos, etc would be much appreciates. From theory to practice. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 )
[Zope] Z Database Connections - pass uid/pwd to RDB
When you create a Z database connection you must supply a fixed connection string with a fixed uid/pwd to open that connection. So every user that connects to Zope connects with the fixed uid/pwd to the relational database. Is there any way or workaround to dynamically pass the Zope uid/password to the relational database? This is important when user security is maintained by the database scheme. Not that I really want this feature for my use but we have projects where the customer has the database model ready and wants the users to be individually authenticated at the relational database (in this case: Oracle). thanks Philipp Auersperg(zwork)
Re: [Zope] Z Database Connections - pass uid/pwd to RDB
+---[ Philipp Auersperg ]-- | When you create a Z database connection you must supply a fixed connection | string with a fixed uid/pwd to open that connection. | | So every user that connects to Zope connects with the fixed uid/pwd to the |relational database. | | Is there any way or workaround to dynamically pass the Zope uid/password to the |relational database? | This is important when user security is maintained by the database scheme. When the user logs in, part of the login procedure can create their connection for them (if it doesn't exist) or connect it. If they work in their own area, they will acquire their database connection and all ZSQL methods will use that connection first. There are otherways, but, I don't really know enough about your setup to suggest anything else. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[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] Is anyone know when Zope was born ???
Frederic Quin wrote: > > Is anyone know when Zope was born ??? Paul, you must know the answer to this one ;-) 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] Logfile analyzer
On Tue, Aug 29, 2000 at 03:36:25PM -0700, Kapil Thangavelu wrote: > > Anyway, I've been thinking of polishing and expanding what I've > > written some, so it's suitable for public use (or at least use by > > people who know Zope/Python fairly well). But this requires work that > > I probably wouldn't do for myself -- so I'm writing to see if there > > are enough people who have interest in this to make it worth it. [Or > > if this already exists and I just haven't found it] > > zope's logs are in a pretty standard format so most of your loganalyzers > should handle them well and several of them can be customized to ignore > certain ips or urls. Of course. I'm actually parsing Apache logs on my own site, as this covers both the Zope and non-Zope portions of my page. The basic analysis isn't Zope-specific, just more Zope-accessible. For instance, hits are returned as a list of page/count pairs, and then you can format then as you wish with DTML. Any of these things that I've done could be done by other log analyzers, and I expect they have been. They could probably be done better: the real advantage of what I'm doing (in my own experience) is that I have a fair amount of control to do whatever I want, not just what was included in the software. Anyone who knows some Python would be able to have a similar amount of control. > i've been told that http://www.webalizer.org/ is pretty nice. > > a zope web logs analyzer that makes images with PIL integrated into the > control panel, is on my list of things to do although its pretty low at > the moment. I hadn't been thinking of using PIL myself -- though it would be relatively easy, I suppose, to add another layer that creates graphs from the (relatively) raw data. -- Ian ___ 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] GUF and manage_addGenericUserFolder not working
Jason Byron wrote: > I try to call the function manage_addGenericUserFolder > in a DTML Method but I keep getting a NameError for > it. It's as if Zope can't find the definition. Try somethign like the following: 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] Versions...
Chris McDonough wrote: > Mounted storages fall down with versions (do not use versions in > conjunction with mounted storages, it will do bad things to you). Is it just me or are versions not exactly the most robust things around? (I'm thinking external methods here, and ftp access into a version, amongst others ;-) 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] Management Interface Refactoring?
Dieter Maurer wrote: > > - it sends me to the management screen afterwards, and I'm > >calling it from the public interface. > This means, you want to look at the source of "manage_delObjects" > (-> "OFS.ObjectManager") to see, how it sends you to the management interface. > > You will see, that it contains: > > if REQUEST is not None: > return self.manage_main(self,REQUEST,update_menu) > > Thus, do not pass it a REQUEST. It's this kindof hackiness which I really hope MJ's work eventually gets rid of. This is the sort of thing I was talking about when I said "using bits of the management interface in other contexts" a while back. what do other people think? How do we go about making progress on this? 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] ZCatalog in 2.2.x
Terry Kerr wrote: > ZCatalog seems very volatile to me! Every time I have upgraded way back > from zope2.1.3, something in zcatalog has changed and boken my product. > So far I have managed to find fixes, but this one has got me baffled!! Can I just say a big "me too!" here. At the EuroZope meeting in Paris, quite a few people mentioned this as well. It's be nice if ZCatalog had a good general purpose interface, and was a bit more robust. (the BTree implementation which has been mentioned a few times springs to mind here ;-) 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] help
Chris McDonough wrote: > > " pROBLEM(100) zSERVER COMPUTING DEFAULT HOSTNAME" > This is a normal message, please ignore it.. Maybe it shouldn't be a 'PROBLEM' then? ;-) cheers, Chris PS: Yes, I know it goes away if you aren't running in Debug mode... ___ 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] Management Interface Refactoring?
Chris Withers wrote: > > Dieter Maurer wrote: > > > - it sends me to the management screen afterwards, and I'm > > >calling it from the public interface. > > This means, you want to look at the source of "manage_delObjects" > > (-> "OFS.ObjectManager") to see, how it sends you to the management interface. > > > > You will see, that it contains: > > > > if REQUEST is not None: > > return self.manage_main(self,REQUEST,update_menu) > > > > Thus, do not pass it a REQUEST. > > It's this kindof hackiness which I really hope MJ's work eventually gets > rid of. > > This is the sort of thing I was talking about when I said "using bits of > the management interface in other contexts" a while back. > > what do other people think? > > How do we go about making progress on this? A simple but effective approach would be to split up every manage_* method into two methods: - manage_do_* does the work. - manage_* calls manage_do_* then returns HTML. Perhaps this could be added to the "clean up the core" proposal. Shane ___ 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] symbolic links or invisible objects..?
"R. David Murray" wrote: > > Is there any way to make zope understand something like a UNIX symbolic > > link? There was some discussion on this a while back on zope-dev. Check the archives... > How about creating a custom management page that just lists the > objects they need to change? Or just filtering the listing so objects they can edit show up? 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] How to logout users when using LoginManager?
Brad Clements wrote: > Can anyone share some tips on how to logout users from a web page, > using cookies or otherwise, allowing them to relogin as another user > without having to quit/start their browser? Well, with cookies, it's simple: delete the cookie. I think most fo the Login-type stuff has interfaces to do this for you (like the logout link on zope.org) With Basic Auth it's a bit tricky. Basic Auth really only works 'cos browsers cache your username and password and send it each time you request a new page that it thinks those details apply to. So you just have to persuade the browser to stop cachign that info ;-) I think you can do something like: which works on most of the browsers around. I don't know though, maybe I got the syntax wrong :S 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] FTP crashing Zope?
Dario Lopez-KXsten wrote: > Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the > latter is the case, what can I do to a) turn off FTP access, b) make sure > that my Zope is up and running automagically after a crash? Ewww.. this seems quite nasty :( If you can reproduce this, I'd stick it with a really detailed description into the collector Has anyone else seen this? 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] Generic Workflow Products?
i haven't had time to read through the links, although i will once i get some more of that mystical free time stuff, but i wanted to clarify about PTK workflows. most of the existing workflow structs in PTK were doc based with simple workflows, but there has been a concerted effort to refactor PTK into Singleton objects which give abilities to all objects vs. the old method of inheritance for abilities. In this scenario workflow objects can be plugged into the architecture. Another item that gives support for complex workflows is the event/subscriber/publisher system being developed right now. check out the later half of the PTK archives for August to get some more background. if you want to influence the project, now is the time, make your voice/needs heard. One place to start would be to have a look at openflow.sourceforge.net. This Zope based workflow system is based on WFMC's reference model. It does not have everything you would want but it is a good start. Once reason to be looking a WFMC is that such an implementation would allow integration with existing workflow systems such as Staffware's. SWAP and the newer WFMC XML wrapping would also be worth considering as they would be like XML-RPC for workflow which would enhance interoperability. There is a need to execute a workflow box which would exec a app associated with the box on data -- this data not being just one doc in a members PTK folder but a suite of data for the step. There is opportunity for a Zope based system to be the web publishing side of existing workflow systems, like Staffware's. Staffware's white paper on how they will do web-based workflow begged for a solution like Zope. Staffware is one of the better workflow systems that includes the ability to execute programs within workflow. Certainly for usecase analysis one could look at existing packages like Staffware. For events, one might consider adopting some of the "webwise" event system standards coming out. I have not followed these closely, but I know they exist. One reason to do so is that this would enhance interoperability with external packages that also adopt standards. Regards, Albert Boulanger [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] ZClass <--> Product
Karl Anderson wrote: > What FTP editing options are there for ZClass definitions? Your email address suggests you should be able to find out more easily than me ;-) Maybe you could suggest better editing support for FTP or is WebDAV the way of the future? Mention was made of Adobe GoLive! in Paris, what's that like for doing this sort of this? 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] How to logout users when using LoginManager?
On Wed, 30 Aug 2000, Chris Withers wrote: > Brad Clements wrote: > > Can anyone share some tips on how to logout users from a web page, > > using cookies or otherwise, allowing them to relogin as another user > > without having to quit/start their browser? > > Well, with cookies, it's simple: delete the cookie. You cannot just delete the cookie 'cuase Zope is server, but cookies are on client side. You are to send "delete" command to browser, but there is no "delete cookie" command in cookie protocol :( You have to expire the cookie to really delete it from the browser. Oleg. Oleg Broytmannhttp://phd.pp.ru/[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] Cash for TreeTag.py? ;-)
Tony McDonald wrote: > There's been some talk on the Zope list about rewriting the tree tag > somewhat. Can I make a plea that this is considered too? if this gets put on cosource.com, I wonde hwo many peopel would fork up some cash for it? ;-) 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] FTP crashing Zope?
I have seen it in a beta version. Every time I connect a FTP client it crashed. Tried it 4 - 5 times. J > From: Chris Withers <[EMAIL PROTECTED]> > Organization: New Information Paradigms > Date: Wed, 30 Aug 2000 13:49:58 +0100 > To: Dario Lopez-KXsten <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] FTP crashing Zope? > > Dario Lopez-KXsten wrote: >> Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the >> latter is the case, what can I do to a) turn off FTP access, b) make sure >> that my Zope is up and running automagically after a crash? > > Ewww.. this seems quite nasty :( > > If you can reproduce this, I'd stick it with a really detailed > description into the collector > > Has anyone else seen this? > > 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 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] ZCatalog in 2.2.x
This is not right, obviously. Can you rebuild your indexes (by deleting and reentering them), recatalog, and see if the problem goes away? We haven't had any colluding reports of something like this, and I'm using the 2.2.1 catalog with textindexes successfully on a customer project. > -Original Message- > From: Terry Kerr [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 30, 2000 3:27 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Zope] ZCatalog in 2.2.x > > > I am not searching from a form in that sense...I am talking > about at the python > level. > > I have self.searchResults({'description':'blah'}) where > description is meta > data in the catalog and a textindex and 'blah' is in the > Vocabulary. This > previously worked in zope2.1.6. Now in 2.2.0 and 2.2.1 it > doesn't work. The > only thing way I can get searchResults() to return a non > empty list is to search > using a Field index and a valid string to match with. > > > [EMAIL PROTECTED] wrote: > > > Terry Kerr <[EMAIL PROTECTED]> said: > > > > > Hi, > > > > > > I have a python product which uses a ZCatalog and CatalogAware > > > products. The catalog has a number of Field and > TextIndex indexes. > > > Search the ZCatalog has worked fine when my product is > instantiated in > > > 2.1.6. But now when I instantiate my product in 2.2.0 or 2.2.1, > > > searching only works when I search using a field index. > Searching using > > > a textindex always results in an empty result, even tho I > can see the > > > words I am searching for in the Vocabulary! Any > suggestions? I have > > > tried reindexing, completey recreating the Zcatalog, > recreating the > > > Vobulary and reindexing, and nothing has changed the > behaviour. Are > > > textindexes simply broken? > > > > > > > > > ZCatalog seems very volatile to me! Every time I have > upgraded way back > > > from zope2.1.3, something in zcatalog has changed and > boken my product. > > > So far I have managed to find fixes, but this one has got > me baffled!! > > > > > > > My experience has been that if field indexes are > unspecified, the catalog > > will only match where those fields are empty. In other > words, by not > > specifing anything for the field indexes, you are actually > specifying that > > for a match, they need to be empty. > > To get around this, I put another method between the form > for entering what > > you wish to search for, and the method that actually > searches the form. This > > method looks at the field indexes, and if nothing has been > specified, it > > doesn't pass them on to the method that does the actual search. > > An alternative to this, is to use names for the field > indexes that aren't in > > the catalog index, and then at the start of the search > method, check those > > names, and if they have a value associated with them, add > to REQUEST what the > > names in the index are with the appropriate values. > > > > There may be a better way, I'm still pretty new to Zope and > DTML sort of > > stuff. > > > > Peter Armstrong > > -- > Terry Kerr ([EMAIL PROTECTED]) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 938 124 > ICQ: 79303381 > > > > > ___ > 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] Export/import problem
Hi I have two different Zope types (Zope 1.10.3 (binary release, python 1.5.1, win32-x86) and Zope version: Zope 2.2.1 (binary release, python 1.5.2, win32-x86)) and our intranet is located in the older version. I thought that exporting/importing would be a great idea. I managed to export *.bbe file and I copied it in import catalog in new Zope, but the new version of Zope announced, that: Zope has encountered an error while publishing this resource. Error Type: ExportError Error Value: Invalid export header Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. --- Traceback (innermost last): File C:\PROGRA~1\WebSite2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\WebSite2\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\WebSite2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File C:\PROGRA~1\WebSite2\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\WebSite2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File C:\PROGRA~1\WebSite2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File C:\PROGRA~1\WebSite2\lib\python\OFS\ObjectManager.py, line 504, in manage_importObject (Object: ApplicationDefaultPermissions) File C:\PROGRA~1\WebSite2\lib\python\ZODB\ExportImport.py, line 143, in importFile ExportError: (see above) Can anyone pls help me in this case pls - Kaarel Oras ___ 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 to logout users when using LoginManager?
It's: You are not authorized. > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 30, 2000 8:48 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] How to logout users when using LoginManager? > > > Brad Clements wrote: > > Can anyone share some tips on how to logout users from a web page, > > using cookies or otherwise, allowing them to relogin as another user > > without having to quit/start their browser? > > Well, with cookies, it's simple: delete the cookie. I think > most fo the > Login-type stuff has interfaces to do this for you (like the > logout link > on zope.org) > > With Basic Auth it's a bit tricky. Basic Auth really only works 'cos > browsers cache your username and password and send it each time you > request a new page that it thinks those details apply to. So you just > have to persuade the browser to stop cachign that info ;-) > > I think you can do something like: > > > > which works on most of the browsers around. I don't know > though, maybe I > got the syntax wrong :S > > 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 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] ZCatalog Queries...
Chris McDonough wrote: > > > It's be nice if ZCatalog had a good general purpose > > interface, and was a > > bit more robust. > > (the BTree implementation which has been mentioned a few times springs > > to mind here ;-) > > Can you be more specific? Andy can fill you in on the specifics. > What's insufficient about the current > implementation? It doesn't scale well, especially for things where you have lots of new data arriving (this is the BTree problem, I think...) It has no published and well defined query syntax (there's patches here, bits there, but no definitive document on how to use it, how to batch with it, how to perform complex and structured queries, particularly with TextIndex'es) Don't get me wrong, it is very cool, but only kindof 70% there :S (and I get the impression that doing the remaining 30% properly would require a rewrite...) As an example, we've been trying to do Zope-based versions of the mailing list archives for a coupla months now and the Catalog keeps exploding in different ways (huge resource consumption, even for only 30K messages or so, no matter what storage is used) Then there's the ubiquitous 'KeyError's and other associated weirdness, all of which leaves me feeling a lot less than totally confident in the Catalog ;-) comments very welcome, 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] FTP crashing Zope?
>Dario Lopez-KXsten wrote: >> Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the >> latter is the case, what can I do to a) turn off FTP access, b) make sure >> that my Zope is up and running automagically after a crash? > >Ewww.. this seems quite nasty :( > >If you can reproduce this, I'd stick it with a really detailed >description into the collector > >Has anyone else seen this? Unfortunately I do... :( Crash occurs when I try to use various FTP command during using telnet on port 8021 and when I type QUIT command immediately _after_ _initialize_ data transmission. Of course I didn't able to seen any data on telnet console (data transmission port is assigned automacically and quite different then control port). More precisely, crash (Python crash) happend immediately after sequention: RETR index_html QUIT I try reproduce this error once or twice but without effect. Before crash I (if remember precisely) was trying: RETR index_html ABOR QUIT several times and don't happened something wrong. PS: I dont remember if crash occurs in PASV mode. -- Adam Karpierz [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] ZCatalog in 2.2.x
> It's be nice if ZCatalog had a good general purpose > interface, and was a > bit more robust. > (the BTree implementation which has been mentioned a few times springs > to mind here ;-) Can you be more specific? What's insufficient about the current implementation? ___ 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] Versions...
Versions are problematic in combination with mounted storages in particular because there is no link in versioning between storages. You can easily create a versioned object in one storage, then traverse to another part of the instance space that's been mounted and use that version cookie to make a change. But you need to commit the two versions separately. If you commit one of them, you'll be left scratching your head as to why the other storage didn't commit. I'd say in this particular that it's perhaps a limitation of mounted storages rather than versions. > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 30, 2000 8:28 AM > To: Chris McDonough > Cc: 'Roman Milner'; [EMAIL PROTECTED] > Subject: [Zope] Versions... > > > Chris McDonough wrote: > > Mounted storages fall down with versions (do not use versions in > > conjunction with mounted storages, it will do bad things to you). > > Is it just me or are versions not exactly the most robust > things around? > > (I'm thinking external methods here, and ftp access into a version, > amongst others ;-) > > 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 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] ZMenu 0.1.0 released
Yellow ppl, ZMenu is a complete navigational system that uses a tree like display. It allows you to dinamicly add a navigational link menus system to your site. This ZClass based product is still in a development stage and I'dd like to have some feedback about it... so email me about any problems or sugestions. You can download it here (there is also a pic): http://www.zope.org/Members/hramos/products/ZMenu regards = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! ___ 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] FSSession problems...
Curtis, Could you describe how often does the problem happen? How many session users goes to the site? You mentioned about a month of public usage. During that month, did you have one single incident? How many sessions happened during that month? All key-based session management systems are intrinsically unsafe, since other people can tap into your session, with non-zero probability, if the key-length is finite. The only hope is to make the key long enough, so even if the hacker has a supercomputer, it would still take him/her the age of the universe to crack into your website. One thing I mentioned to Pavlos (and/or Anthony Baxter?) before is that the key lengths of their cookies are a bit too short. For my HappySession product (another session management product, which is RAM based), I cranked up the key length to 128 alphanumeric char key, exactly because I wanted no key collision for a long long time. :) Another thing I observed during the development of HappySession was that on Linux (and Debian) server systems, I had problem with deleting the cookies of the clients. (No problem with NT server.) At the end, I chose not to delete cookies but instead setting their values to blank, when the session expires. It was a weird problem, I did not know why I couldn't delete client cookies (maybe it was a mistake on my part), but I chose the simple way out by setting the cookie to blank. And it worked fine. So instead of detecting the presence of the cookie alone, I detected the presence AND whether the cookie was blank. regards, Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 )
[Zope] inserting or modifying REQUEST.form objects ???
Can objects be added to or modified in the REQUEST.form? I can add/modify objects in REQUEST as in: expr="REQUEST.set('myVar',3)" but I can't seem to do this for the REQUEST.form dictionary... expr="REQUEST.form.set('myVar',3)" <- error expr="REQUEST.form['myVar']=3" <- error Neither the DTML-like or Python-like syntax seems to work. ..is there some syntax which can modify (in place) or add things to REQUEST.form? Is REQUEST.form READ-ONLY for some reason? Brian Withun ___ 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] ZCatalog Queries...
> > > It's be nice if ZCatalog had a good general purpose > > > interface, and was a > > > bit more robust. > > > (the BTree implementation which has been mentioned a few > times springs > > > to mind here ;-) > > > > Can you be more specific? > > Andy can fill you in on the specifics. OK... > > > What's insufficient about the current > > implementation? > > It doesn't scale well, especially for things where you have > lots of new > data arriving (this is the BTree problem, I think...) Yes, we're still working on a "broadtree" implementation that may allay some of these problems, although I don't have an ETA. > > It has no published and well defined query syntax (there's > patches here, > bits there, but no definitive document on how to use it, how to batch > with it, how to perform complex and structured queries, particularly > with TextIndex'es) Hopefully, the Zope book will make it more clear from a user perspective, and sometime in the very distant future I will be writing a chapter in the developer's guide about the catalog. I agree that the ZCatalog wrapper should probably wrap more of the underlying catalog's methods, but these need to be rationalized, defined and then documented in the API docs. This is something for dev.zope.org, probably. > > Don't get me wrong, it is very cool, but only kindof 70% there :S > (and I get the impression that doing the remaining 30% properly would > require a rewrite...) > > As an example, we've been trying to do Zope-based versions of the > mailing list archives for a coupla months now and the Catalog keeps > exploding in different ways (huge resource consumption, even for only > 30K messages or so, no matter what storage is used) Yes. Tweaking and the broadtree stuff should make this a little better. > > Then there's the ubiquitous 'KeyError's and other associated > weirdness, > all of which leaves me feeling a lot less than totally > confident in the > Catalog ;-) These are independent of the coupling problem in the btree, and I'm trying to vanquish them now. This is why the annoying logging code was added to the catalog. It seems to be related to the TextIndex implementation, but I'm still trying to pin it down. ___ 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] Graphics served randomly. Apache - pcgi cacheing problem
Has anyone seen the following behavior: I am using PCGI with Zope 2.1.6 and Apache 1.3.9. Everything works fine except when reloading the same page, the graphics in it are not "painted" by the client browser. Checking on the apache logs, I found there is a 304, meaning the object has not changed on the web server and therefore the client should be using its local cached copy. On the Z2.log, for the same graphics requests, there are no 304's but 200's meaning Zope DID serve the graphic through pcgi. So, It appears Apache is loosing the graphics somewhere. Nevertheless, the graphic is never rendered. Weirdly this happens on IE 5.0, Netscape 4.75 and StarOffice 5.2. All browsers do have at least 5 MB of disk cache and 3 MB of memory cache. This confirms the problem lies on Apache itself. Am I right? This happens in a random fashion. I have not been able to establish some pattern. The text on the pages gets rendered fine. Any ideas on how to solve this issue will be greatly appreciated, Best regards. Felipe Barousse begin:vcard n:Barousse Boué;Felipe E. tel;fax:+(52) 5247-0272 tel;work:+(52) 5247-0272 x-mozilla-html:FALSE url:http://www.piensa.com/ org:Bufete Consultor de México (BCM);Piensa Systems version:2.1 email;internet:[EMAIL PROTECTED] title:Director General adr;quoted-printable:;;Mailing address:=0D=0AAp. Cap. Polanco 336=0D=0ACol. Anzures;Mexico City;D.F.;11550;Mexico note;quoted-printable:Supercomputer clusters systems group=0D=0ATel./ Fax. +(52) 5247-0272 x-mozilla-cpt:;-30560 fn:Felipe E. Barousse Boué end:vcard
Re: [Zope] SSL and PGP
On Wed, Aug 30, 2000 at 11:44:56AM +0200, Philipp Auersperg wrote: > But modifications to Zope's core > components such as Medusa seem risky to me as > long as Digital Creations don't integrate them into the > official release, because every update to a new Zope release > can become a horror trip when the SSL patches clash with > the new Zope version. Hi, Not quite a horror trip, but yes, eyeballing the stuff all over is necessary. Speaking as the developer of ZServerSSL, use Apache+SSL or Roxen+SSL for production. ;-) ZServerSSL isn't working well with Zope 2.2.1 currently. I haven't found out if it's due to changes in Zope 2.2.1, bugs introduced while evolving M2Crypto, changes in OpenSSL 0.9.5 versus 0.9.4, or the much faster CPUs I'm now developing on. Python 2.0 is yet another variable in the equation. For your other requirement, ZSmime (also on my website) generates S/MIME-signed/encrypted messages. In my HOWTO, I give an example of combining ZSmime's dtml-smime tag with dtml-sendmail to send S/MIME messages. Netscape Messenger handles the S/MIME fine. So should Outlook, I imagine. However, the Zope 2.2 change that Zope's superuser cannot do too much means GuardedFile (a supporting product) is now probably broken. I've been busy at work in the past months. I'm only now revisiting this. Things should be fixed over the next fortnight or so. Cheers. -- Ng Pheng Siong <[EMAIL PROTECTED]> * http://www.post1.com/home/ngps ___ 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] The tree tag, SQL and what should be simple
"Rik Hoekstra" <[EMAIL PROTECTED]> writes: > Unless I do not quite understand you I think you missed Anthony Baxter's > tree_and_sql howto > (http://www.zope.org/Members/anthony/tree-coding-tricks ). It will probably > give you either exactly what you want or enough ideas to get you further. Hi Yes, I looked over that document and unfortunately it doesn't help me. It talks about a *one* file structure where each item in a file can be related to another item. I'm looking at a simple two file structure of records and categories and being able to display those categories in a shallow, two level tree. I've given up for the moment and written my display screen in a way which probably makes more sense but I'd still be interested to know for the future how it works Cheers Ian ___ 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] Can't connect Zope FTP from NAT
I use reserved IP under NAT and try to connect a remote Zope FTP server. The connection can't be established. But if I am not under NAT and use a legal public IP, the ftp connection is very well. Is there any solution? ___ 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] Can't connect Zope FTP under NAT
Dear folks, I can't connect remote Zope FTP Server when I use the reserved IP udner NAT. If I use public IP, the connection is ok. Is there any solution? -- Patrick Hsieh<[EMAIL PROTECTED]> Cyberwork Solution Inc., System Engineer http://www.cyberworksolution.com TEL: 0933201800 ___ 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] Can't connect Zope FTP from NAT
> "zope" == zope <[EMAIL PROTECTED]> writes: zope> I use reserved IP under NAT and try to connect a remote Zope FTP zope> server. The connection can't be established. But if I am not under zope> NAT and use a legal public IP, the ftp connection is very well. zope> Is there any solution? Try configuring your FTP client to use passive mode (PASV). -- Bob Bob Finch email: [EMAIL PROTECTED] Network Access Services, Inc. voice: (360) 733-9279 P.O. Box 28085fax: (360) 676-0345 Bellingham, WA 98228-0085WWW: http://www.nas.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 )
[Zope] GUF Idle Timeout?
Hello all, Does GUF have an idle timeout setting? I'm seeing the behavior where if my GUF authenticated user is idle for more than 10-15 minutes they lose their authentication and are asked to log in again. If there is such a setting, how can I increase the amount of idle time? Thanks -=Brad=- ___ 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] Generic Workflow Products? --some pictures
i haven't had time to read through the links, although i will once i get some more of that mystical free time stuff, but i wanted to clarify about PTK workflows. most of the existing workflow structs in PTK were doc based with simple workflows, but there has been a concerted effort to refactor PTK into Singleton objects which give abilities to all objects vs. the old method of inheritance for abilities. In this scenario workflow objects can be plugged into the architecture. Another item that gives support for complex workflows is the event/subscriber/publisher system being developed right now. check out the later half of the PTK archives for August to get some more background. if you want to influence the project, now is the time, make your voice/needs heard. Here are two useful diagrams from WFMC's white paper, "Workflow and Internet: Catalysts for Radical Change" ( http://www.aiim.org/wfmc/finalwp.pdf ). The first is a diagram of WFMC's reference model. The second is a diagram of workflow concepts. http://www.zope.org/Members/aboulang/wfmc1.gif and http://www.zope.org/Members/aboulang/wfmc2.gif Regards, Albert Boulanger [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] RE[3]: [Zope] Product inheritance question. ==> Pb. moving class from a product to another + etc.s from a product to another + etc.
Title: RE[3]: [Zope] Product inheritance question. ==> Pb. moving class from a product to another + etc. Hello, >> If it is a class method, it must be inherited by any derived class. This is what I had done. However, I had the time finally to conduce the following tests. - create a Product P1 (Note: I used the word "package" instead of Product in my previous postings) - create a Class A in P1 - create a method z in the Class A - create a Product P2 - create a Class AA that inherits A in product P2. - create an object 'o' instance of Class AA. - make the test of calling the method z on 'o'. Results: everything works fine !! So everything seems to work correctly with the new version. However, when I try to do the same (create a method z and test) for Packages that I had created in the previous version of Zope, it just does not work !! (I have imported in the new version the class I had created in the previous version). I believe that this had to do with the trick I used to split and existing Product in several Products: Since I could not move a class directly from a package to another, I created 2 copies of the same packages. I deleted from the first package the class I wanted to move. From the second package, I deleted the classes I didn't want to move. The result was 2 packages with each the correct set of classes. The problem is that this seems to have generated some kind of inconsistancy, in particular related to the namespace: the second package do not have access to the namespace of the first package. I know this was a relatively ugly way to proceed, but I found at that having a zillion of classes in a same package was even more ugly, and I needed to reduce this complexity by introducing more modularity. Of course, at the beginning I couldn't predict which Products and which classes would exist and I decided to start with one package and split it later. If you had nor noticed I used some kind of incremental/prototypical/evolutionary/blablabla methodology. Unfortunatly, not being able -- to move classes from one product to another -- makes the use of this methodology problematic :-(. Another similar problem is that you can not modify a posteriori the inheritance tree. (for instance when you decompose a class into 2 subclasses that inherit from one another). To conclude, I find Zope to be a very interesting systems (because it is dynamic, object-oriented, integrate seamlessly an OO database, etc.). However, it would be an even better system if it provided more flexibility to reengineer an architecture. (very important when you use a prototypical approach). Or perhaps, there is something I have not understood ? Thierry Nabeth Research Fellow INSEAD CALT (the Centre for Advanced Learning Technologies) http://www.insead.fr/CALT/ -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Monday, August 21, 2000 10:47 PM To: [EMAIL PROTECTED] Subject: Re: RE[2]: [Zope] Product inheritance question (similar question) NABETH Thierry writes: > What I will have to do: > - create a Package (Zope product). > - create a class in this package, and a method (my_method) This should be a method of the class, not a method in the packages. If it is a class method, it must be inherited by any derived class. Dieter -Original Message- From: NABETH Thierry Sent: Friday, August 18, 2000 9:29 AM To: '[EMAIL PROTECTED]' Subject: RE: [Zope] Product inhetitance question (similar question) And what happen if the Class A is in a package PA. Clabb B is in a package PB. How do you access the namespace of PA from PB ? When I have tried, the inherited methods from A where not visible from B, and I and to recreate a copie of the method. (which is ugly !!!). Any suggestion ? Thierry Nabeth Research Fellow INSEAD CALT (the Centre for Advanced Learning Technologies) http://www.insead.fr/CALT/
[Zope] ZClass and Propertysheets
Hi, I have created a ZClass with a propertysheet called "Basic". I added a property "db_id", integer value with a default value of 0. Then I created two instances and changed the value to 1 in the first and 2 in the second instance. When I try to render the property with a I get a 1 in both instances. That's not what I expected in the beginning. In particular not because there doesn't seen to be anything wrong when I have a look at the property sheet in the instance's management screen. I have different values there. Am I wrong or is there something wrong with Zope 2.2.1 and ZClasses? Andy Pahne [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] Bug Tracking Product Recommendation?
Hi, I want to setup a Zope-based bug tracking system. Can anyone recommend a Zope product that would do this relatively well? Thanks --Sean ___ 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] Squishdot/zcatalog question goes unanswered...
I have asked the following question on the zope list, the squishdot site, and the squishdot eGroups site without a single response. Is there something I am leaving out or is it a hard one? Question: I am running Zope 2.1.6 and Squishdot 6 (upgraded from 2->3->5->6). I have created a keyword search of my entire site. I see the Squishdot site listed as a cataloged object, but when I run a keyword search of my site, I get everything but the squishdot site items. Since my last upgrade I have updated the catalog to no avail. Incidentally, I have the zope chat example running also, and it shows every single posting by every user in the catalog objects, but these also don't show in search results (but this may be a design issue for chat). Any help resolving the Squishdot issue would be greatly appreciated. I don't care about chat very much. Thanks in advance! --Sean ___ 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] Overriding server's notion of SERVER_NAME, SERVER_PORT, etc.
In 2.2.1 I can no longer override ZServer's notion of SERVER_NAME, SERVER_PORT, etc. from the invoking shell environment. (I am currently running 2.0.0, so this may well be true of other earlier 2.1.x and 2.2.x versions. With a little luck, I may actually be able to upgrade in the next few days...) I run ZServer listening to 127.0.0.2, port 9673. The only thing that talks directly to it is my front-end Apache server via its proxy module, so I want any HTML generated to reflect the visible address and port, not ZServer's hidden address and port. I was previously able to force these variables to be what I wanted by simply setting them before running the server: SERVER_NAME=dolphin.mojam.com ; export SERVER_NAME SERVER_PORT=80 ; export SERVER_PORT HTTP_HOST=$SERVER_NAME:$SERVER_PORT ; export HTTP_HOST SCRIPT_NAME=/ ; export SCRIPT_NAME but 2.2.1 ignores these settings. I made a few simple changes to ZServer/HTTPServer.py and lib/python/ZPublisher/HTTPRequest.py that use environment variables as defaults if they're available. Context diffs are attached to this msg. I'd appreciate feedback from those in the know if these were the correct sort of changes to make or if there is a better (supported) way to achieve my goal. Thx, -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/ diff -rc Zope-2.2.1-src/ZServer/HTTPServer.py Zope-2.2.1-src-new/ZServer/HTTPServer.py *** Zope-2.2.1-src/ZServer/HTTPServer.pyTue Jun 27 10:55:14 2000 --- Zope-2.2.1-src-new/ZServer/HTTPServer.pyWed Aug 30 13:47:12 2000 *** *** 223,238 server=request.channel.server env = {} env['REQUEST_METHOD']=upper(request.command) ! env['SERVER_PORT']=str(server.port) ! env['SERVER_NAME']=server.server_name env['SERVER_SOFTWARE']=server.SERVER_IDENT env['SERVER_PROTOCOL']=request.version env['channel.creation_time']=request.channel.creation_time if self.uri_base=='/': ! env['SCRIPT_NAME']='' ! env['PATH_INFO']='/' + path else: ! env['SCRIPT_NAME'] = self.uri_base try: path_info=split(path,self.uri_base[1:],1)[1] except: --- 223,242 server=request.channel.server env = {} env['REQUEST_METHOD']=upper(request.command) ! env['SERVER_PORT']=os.environ.get("SERVER_PORT", str(server.port)) ! env['SERVER_NAME']=os.environ.get("SERVER_NAME", server.server_name) env['SERVER_SOFTWARE']=server.SERVER_IDENT env['SERVER_PROTOCOL']=request.version env['channel.creation_time']=request.channel.creation_time if self.uri_base=='/': ! env['SCRIPT_NAME']=os.environ.get("SCRIPT_NAME", '') ! if not env['SCRIPT_NAME']: ! env['PATH_INFO']='/' + path ! else: ! env['PATH_INFO'] = env['SCRIPT_NAME'] + path else: ! env['SCRIPT_NAME'] = os.environ.get("SCRIPT_NAME", ! self.uri_base) try: path_info=split(path,self.uri_base[1:],1)[1] except: diff -rc Zope-2.2.1-src/lib/python/ZPublisher/HTTPRequest.py Zope-2.2.1-src-new/lib/python/ZPublisher/HTTPRequest.py *** Zope-2.2.1-src/lib/python/ZPublisher/HTTPRequest.py Tue Aug 15 15:07:37 2000 --- Zope-2.2.1-src-new/lib/python/ZPublisher/HTTPRequest.py Wed Aug 30 13:43:05 2000 *** *** 266,272 else: b='' while b and b[0]=='/': b=b[1:] ! server_url=get_env('SERVER_URL',None) if server_url is not None: other['SERVER_URL'] = server_url = strip(server_url) else: --- 266,272 else: b='' while b and b[0]=='/': b=b[1:] ! server_url=get_env('SERVER_URL',os.environ.get("SERVER_URL", "")) if server_url is not None: other['SERVER_URL'] = server_url = strip(server_url) else:
Re: [Zope] ZClass <--> Product
Chris Withers <[EMAIL PROTECTED]> writes: > Karl Anderson wrote: > > What FTP editing options are there for ZClass definitions? > > Your email address suggests you should be able to find out more easily > than me ;-) Well, I'm pretty sure the answer is "none", but I'm asking to the list so if someone does have some kind of workaround, the reply will be public. > Maybe you could suggest better editing support for FTP or is WebDAV the > way of the future? > Mention was made of Adobe GoLive! in Paris, what's that like for doing > this sort of this? FTP is limited for this sort of thing because it works on files with no metadata. I *think* that the only reason one can't edit DTML methods in a ZClass definition is that the intermediate steps don't support a FTP directory interface. That'd be a nice first step. I've heard some ideas about how we could edit properties, permissions, etc. with FTP, some more hackish than others. Best is probably some sort of XML text file associated with an item. But from what I've been reading, the focus will be on through the web editing whenever possible. I personally find it much more convenient to work with python baseclasses & have a python shell looking at the ZODB in an emacs buffer, so I have a history of what I've done and seen and can look at the objects & attributes on any level. And yes, the wave of the future does appear to be with the various clients that are coming out, Radio Userland being the most recent that I've heard about. -- Karl Anderson [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] Export/import problem
On Wed, 30 Aug 2000, Oras Kaarel (2914) wrote: > I have two different Zope types (Zope 1.10.3 (binary release, python 1.5.1, > win32-x86) and Zope version: Zope 2.2.1 (binary release, python 1.5.2, > win32-x86)) and our intranet is located in the older version. I thought that > exporting/importing would be a great idea. I managed to export *.bbe file > and I copied it in import catalog in new Zope, but the new version of Zope > announced, that: Somewhere in the 2.2.1 tree there should be a utility for converting bbe files to the new format (zexp). --RDM ___ 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] Redirection and Authentication
On 30 Aug 2000, at 19:03, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > > The problem is now that after the Redirect AUTHENTICATED_USER is again > > set to Anonymous (which I tested by printing AUTHENTICATED_USER). If I > > do no redirect but put a normal link back to the list document, > > everything works as expected (thus showing the edit button). Reminds me some strange behaviour i had while redirecting to an URL with a variable. When i changed the redirect with "hard coding" the URL this disapeared. ___ 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] Keeping app logic in Zope (was Paul's talk in Paris)
Warning, this message has been composed over several days. If my thoughts wander, that's one excuse. :) Simon Coles wrote: [snip] > Python products could be endangered species because its managed in the file > system, which isn't in the "all tiers as managed content" thing. I guess this means that Python Methods and ZClasses will be the preferred model? The reason I wonder is because I am right now beginning development of a new website. I had been planning on doing most of my development in Python Products as I currently have no particular need of thru the web development and I like Python. No particular aversion to ZClasses or Python Methods just that I know Python products can do what I want and need. I understand the the desire to move to a system where the all of the web app resides within the Zope environment instead of parts on the file system. What is the current status regarding incorporating Python Methods into the Zope core? Just looked at the Python Methods wiki at: http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/FrontPage This is issue also affects the Problem paragraph of the Vision Statement on this wiki, as this broadens the scope of users who choose to use PMs or reasons thereof. Also within the desires stated above (to remain with the Zope environment, ZODB) will there be a means for those with "authority" to authoritatively do stupid things with Python such as shoot yourself in the foot? :) Not that anyone desires to do something stupid, but sometimes the ability to do harm also enables the ability to do good. That is an aspect of freedom. Some things require interaction outside of the Zope environment. What will be the official Zope way of handling these types of things? Back again from the Python Methods wiki. :) A question/suggestion as a part of the Python Methods proposal was to move External Methods to become a part of Python Methods. This is on the Current Issues pages. I added a comment to the wiki. Basically, in light of Paul's comments and my above desires for necessary expressiveness depending on the authority of the user and the situation, I think putting External Methods into the Python Methods part of Zope core would be good. It would allow for EMs to be in the ZODB instead of on the file system. As I've thought about these issues and with knowing that I want to use ZEO I think the above would be of benefit in developing my site. The less I involve the file system the easier it should be to distribute my web app logic throughout the ZEO system. I think I'm talking myself into it. :) For me this is a change in direction for Zope development thought. Any suggestions, thoughts or comments appreciated. Thanks for letting me ramble. 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 )
[Zope] Case Studies (good!)
Does anyone else love those case studies? I have was grinning ear to ear reading the new one about replacing all Notes/Domino (which I know and respect) with Zope. I would love to see more studies on all sorts of different sites (big, small, database driven, not). They are also really useful for those of us who need to try and convince management that 'others are doing it too', which is a cold hard fact of the corporate world. I would love to see much more (weekly) as well as more on hardware and hits. Keep up the great work DC. Cheers, 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] Socket.Error
The other day I have change my hostname. Today I have restart ZOPE and I get follow Error-Message: 2000-08-30T20:12:44 PROBLEM(100) ZServer Computing default hostname Traceback (innermost last): File "/opt/zope/2-1-6/z2.py", line 493, in ? logger_object=lg) File "/opt/zope/2-1-6/ZServer/medusa/http_server.py", line 560, in __init__ ip = socket.gethostbyname (socket.gethostname()) socket.error: host not found Is the changing of the hostname the reason for this? 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] FTP crashing Zope?
Dario =?ISO-8859-1?Q?Lopez-K=E4sten?= writes: > Using FTP Explorer I crashed (killed) my Zope instance while ftping in to > port 8021. This was achieved by not setting FTP Explorer to use PASSIVe > connections. Using Passive it works like a charm. > > Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the > latter is the case, what can I do to a) turn off FTP access, b) make sure > that my Zope is up and running automagically after a crash? a) look at the documentation in "z2.py". It tells you, how to selectively enable/disable protocols. b) When my Zope had crashed, it usually restarted automatically. Dieter ___ 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] ZCatalog in 2.2.x
Terry Kerr writes: > But now when I instantiate my product in 2.2.0 or 2.2.1, > searching only works when I search using a field index. Searching using > a textindex always results in an empty result I use ZCatalog text indexes under 2.2.1b1 without problems (with a globbing lexicon!). I had to fix some glitches (search for "ZCatalog glitches" and "Globbing Lexicon bug" in the Collector). However, none of my fixes had to do with your problem description. Dieter ___ 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] symbolic links or invisible objects..?
Geoffrey L. Wright writes: ... symbolic links ... If your content is simple, i.e. does not contain URL references, then symbolic links can easily be emulated with DTML methods. Suppose, you have the following structure: A/ A/A1/ A/A1/a1 A/A1/an A/B1/b1 A/B1/bn and you want "A/B1/bi" be a symbolic link to "A/A1/ai", then "bi" would be the following DTML method: . This will not work, if "ai" make a URL reference to an "aj" unless "aj" and "bj" have the same id and "bj" is a symbolic reference to "ai". For more complex situations, you may use the product SiteAccess (--> zope.org) to redirect requests transparently according to situation. You may look at URL:http://www.dieter.handshake.de/pyprojects/zope/Localizer.py This is used as a SiteAccess AccessRule for localization. Requests going to a folder controlled by this rule are served from this folder, if possible. If not possible, the request is redirected to a different folder. I think, this method can be abused to get what you want. Dieter ___ 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: mod_perl, mod_rewrite, prefix
>(1) I have mod_rewrite statically >(2) I have mod_perl statically >(3) prefix is /usr/mydir Okie, I figured it out. So I'll reply to myself. :) By the way, I am on Linux platform. So the appropriate commands are (1) Download latest apache and mod_perl. Unzip and untar them. (2) Place the untarred mod_perl-1.24 into your apache_1.3.12 folder. (3) cd into the mod_perl-1.24 folder. (4) perl Makefile.PL \ USE_APACI=1 \ APACI_ARGS='--enable-module=rewrite' \ APACHE_PREFIX=/usr/mydir (5) make (6) make install (this will install the the httpd executable but not override the existing httpd.conf file. If you want to play safe, make a backup of the httpd executable before installing the new one.) C'est tout! Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 )
[Zope] Newbie SQL problem: Query Error: Cannot render query template
Hello. I am running Zope as a service on NT4WS. I have multiple MS Access databases connected to different ZJetDAs and I am not able to modify the data in them with SQL statements. For example, INSERT INTO test VALUES (, ) returns the error "Query Error: Cannot render query template". Can you tell me what the cause is. I think it might be a permissions problem, but I have everything wide open and I can't figure it out. Thanks. Troy Farrell Troy Farrell Video Operations Technician II Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:[EMAIL PROTECTED] http://www.williams.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 )
[Zope] Mime types for email attachments
I am battling to find the information needed to attach word, excel, and pdf documents to an email based on the input from a form. I know that there is a howto that uses a python method, but I do not want to use this option. Where can I get the necessary mime types and structure to accomplish this? This is what I have so far: To: From: WebForm <[EMAIL PROTECTED]> Subject: Web doc request Attached is the document you requested. disposition=attachment encode=quoted-printable> > Thanks Brendon -- 70South: the No.1 source for Antarcticles. For the latest news and views on Antarctica visit : http://www.70south.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 )
[Zope] Apache: mod_perl, mod_rewrite, prefix
Hi, Although this is more an Apache question, I would guess that a lot of Zope users have gone through exactly the same problem I am going through, so I might as well try it out here. As you can probably tell, I am trying to hook up Zope and Apache via PCGI. The thing is, I need also mod_perl, and my Apache root prefix is non-standard (not /usr/local/apache). I want to build Apache from source such that (1) I have mod_rewrite statically (2) I have mod_perl statically (3) prefix is /usr/mydir Now, those are three requirements, and things got too complicated. I know how to do (1) and (2) together, I know how to do (1) and (3) together, but I still fail to do (1)(2)(3) all together. Anyone cares to share their experience? I want a final httpd executable, so that I can simply copy and replace my current copy of apache. I have read: http://perl.apache.org/guide/install.html but I am still a bit confused. Thanks, Hung Jung PS- I think mod_perl is an example of big failure when it comes to installation, since it tries to control and override the apache installation process. What a mess! In comparison Zope product installations are as easy as drag and drop. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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] SSL and PGP
On Wed, 30 Aug 2000, Terry Kerr wrote: > We have done this in our Etailer product...grab the source and take a look... > http://e-tailer.adroit.net/. Basically we just pipe the string to be > encrypted to the gnu pgp program on a linux box. Take a look at > http://www.pgpi.org/products/gnu/gpg/. I'm working with two other developers to build an entire Python->GPG API, so that we can access all GnuPG functionality from Python. It's GPL and if anybody here's interested in participating, send me a mail. Regards, Morten ___ 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] Bug Tracking Product Recommendation?
I am interested in this as well! [EMAIL PROTECTED] wrote: > Hi, > I want to setup a Zope-based bug tracking system. Can anyone > recommend a Zope product that would do this relatively well? > > Thanks > > --Sean > > ___ > 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 ) -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381 ___ 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] CRC-32 checksum
Does anyone have or know the whereabouts of a python module that will do 32 bit CRC checksums? I am converting an existing application to Zope and need to be able to generate CRC-32 checksums for checking file integrity of software we produce. __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ ___ 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] SSL and PGP
coolI am eagerly waiting... [EMAIL PROTECTED] wrote: > On Wed, 30 Aug 2000, Terry Kerr wrote: > > > We have done this in our Etailer product...grab the source and take a look... > > http://e-tailer.adroit.net/. Basically we just pipe the string to be > > encrypted to the gnu pgp program on a linux box. Take a look at > > http://www.pgpi.org/products/gnu/gpg/. > > I'm working with two other developers to build an entire Python->GPG API, > so that we can access all GnuPG functionality from Python. It's GPL and > if anybody here's interested in participating, send me a mail. > > Regards, Morten -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381 ___ 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] FSSession problems...
On Thu, 31 Aug 2000, Hung Jung Lu wrote: > Curtis, > > Could you describe how often does the problem happen? How many session > users goes to the site? You mentioned about a month of public usage. During > that month, did you have one single incident? How many sessions happened > during that month? > So far, we have one recorded incident, and one anecdotal (from internal) incident. I am having some more extensive testing done soon, so we can try to pin down further the exact circumstances which cause this problem. The site is used for issuing product return authorities, and so far, over 160 RAs have been issued. Yes, it is a fairly low traffic site. Session data is retained between visits (a side effect, but a welcome one), so I really cannot be sure of how many sessions were used. > All key-based session management systems are intrinsically unsafe, since > other people can tap into your session, with non-zero probability, if the > key-length is finite. The only hope is to make the key long enough, so even > if the hacker has a supercomputer, it would still take him/her the age of > the universe to crack into your website. One thing I mentioned to Pavlos > (and/or Anthony Baxter?) before is that the key lengths of their cookies > are a bit too short. For my HappySession product (another session > management product, which is RAM based), I cranked up the key length to 128 > alphanumeric char key, exactly because I wanted no key collision for a long > long time. :) > Well, yes and no. This really depends on the sensitivity of your data, and how likely it is for someone to try to crack your site. In this case, both are fairly low, so the key strength is fine, IMHO. > regards, > > Hung Jung > ___ 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] GUF and manage_addGenericUserFolder not working
--- Chris Withers <[EMAIL PROTECTED]> wrote: > Jason Byron wrote: > > I try to call the function > manage_addGenericUserFolder > > in a DTML Method but I keep getting a NameError > for > > it. It's as if Zope can't find the definition. > > Try somethign like the following: > > > params, here)"> > > > cheers, > > Chris Hey, that worked! Thanks Chris Now, *why* does that work? The function manage_addProduct looks like its for adding new products under the Control_Panel. That isn't what it's for? I don't have to do to use manage_addUserFolder ? I noticed this in the OFSP stuff. from :lib/python/Products/OFSP/__init__.py line :153 context.registerClass( AccessControl.User.UserFolder, constructors=(AccessControl.User.manage_addUserFolder,), icon='images/UserFolder_icon.gif', legacy=(AccessControl.User.manage_addUserFolder,), ) context.registerBaseClass(AccessControl.User.UserFolder, 'User Folder') context.registerBaseClass(AccessControl.User.User) Could adding something like this to the GUF fix the problem I had and let manage_addGenericUserFolder work by itself? Jason __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.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] Bug Tracking Product Recommendation?
It would also be nice if it was tied to a ODBC compliant database like MS SQL or Access! On 31 Aug 2000, at 9:38, Terry Kerr wrote: > I am interested in this as well! > > [EMAIL PROTECTED] wrote: > > > Hi, > > I want to setup a Zope-based bug tracking system. Can anyone > > recommend a Zope product that would do this relatively well? > > > > Thanks > > > > --Sean > > > > ___ > > 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 ) > > -- > Terry Kerr ([EMAIL PROTECTED]) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 938 124 > ICQ: 79303381 > > > > ___ 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] ANNOUNCE ZEO 0.3 Released
A new release of Zope Enterprise Objects (ZEO) is available at: http://www.zope.org/Products/ZEO. This release fixes a bug that caused spurious conflict errors and that could eventually make it impossible to make changes without restarting a ZEO client (e.g. Zope process). The release also has two enhancements when running the ZEO server on Unix: - When the storage server start script is run as root, the script will switch to a different user (nobody by default). There is a new '-u' option that can be used to specify the user. - The storage server will gracefully close served storages when the server is killed with a SIGTERM or SIGHUP. If a FileStorage is being served, then an index file will be written. If you encounter problems with ZEO, please report them using the ZEO issue tracker at: http://www.zope.org/Products/ZEO/Tracker. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ 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] ZCatalog Queries...
I saw this email with some interest since i had an offlist conversation with some of the people at nipltd regarding a mailing list project, but i chose to do it outside of zope because of lingering doubts about zope's suitability(more ZCatalog) for the task. Chris Withers wrote: > > Chris McDonough wrote: > > > > > It's be nice if ZCatalog had a good general purpose > > > interface, and was a > > > bit more robust. > > > (the BTree implementation which has been mentioned a few times springs > > > to mind here ;-) > > > > Can you be more specific? > > Andy can fill you in on the specifics. > > > What's insufficient about the current > > implementation? > > It doesn't scale well, especially for things where you have lots of new > data arriving (this is the BTree problem, I think...) > > It has no published and well defined query syntax (there's patches here, > bits there, but no definitive document on how to use it, how to batch > with it, how to perform complex and structured queries, particularly > with TextIndex'es) > > Don't get me wrong, it is very cool, but only kindof 70% there :S > (and I get the impression that doing the remaining 30% properly would > require a rewrite...) more of the same... I think that zcatalog is great for simple property indexing but it has some signifigant drawbacks for its most common use, which is mass text indexing, and searching. As object an catalog, its fine, But i think as a mass text indexing/searching machinery it bites. I think Zope could really use either a companion to zcatalog for text searching or a replacement. If i'd like to index 50M i'd like not to have my search take unreasonable long, give erroneous results, thrash my machine because i choose to index it at once, yet these are all things that i've experienced with zcatalog since i started using zope. for sure its gotten much better, but it still can't handle my use cases. So i've accepted that ZCatalog isn't a site wide nor a scalable tool. ok so the question(at least to me) than becomes what to implement. i'm not totally sure... i've taken a look/leaning towards Evolution's text indexing (libibex), i consulted some of the evolution developers and this is the response i got 8/5/00(us) >> You probably dont want to use libibex as it is now - all indexes are stored in memory for example, and it uses a lot of memory as well (uses gtree's). It will handle 100MB of mail fine enough though on modern hardware, if you ahve the spare memory. At some point we are going to change the backend to use a disk based storage, using the search engine used in nautilus (can't remember what its called), although we will probably make a wrapper so the api should remain. >> which takes back to square one. i am convinced of the need for full-text reliable search on a site or a part of site. but i'm unsure of what the best way to do it would be. my2cents kapil > As an example, we've been trying to do Zope-based versions of the > mailing list archives for a coupla months now and the Catalog keeps > exploding in different ways (huge resource consumption, even for only > 30K messages or so, no matter what storage is used) > > Then there's the ubiquitous 'KeyError's and other associated weirdness, > all of which leaves me feeling a lot less than totally confident in the > Catalog ;-) > > comments very welcome, > > 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 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] ZClass <--> Product
How about: /you@server port:/Control_Panel/Products/YourProduct/YourZClass/propertysheets/methods/yourMethod -steve > "Karl" == Karl Anderson <[EMAIL PROTECTED]> writes: Karl> What FTP editing options are there for ZClass definitions? Karl> I've never been able to do much. What I have done is use Karl> folderish ZClasses, edit DTML methods contained in the Karl> *instance* thru FTP, and then moved them to the definition Karl> latler, but that's kind of hacky - it adds a little more Karl> confusion about finding things with large projects. Karl> -- Karl Anderson [EMAIL PROTECTED] Karl> ___ Zope Karl> maillist - [EMAIL PROTECTED] Karl> http://lists.zope.org/mailman/listinfo/zope ** No cross Karl> posts or HTML encoding! ** (Related lists - Karl> http://lists.zope.org/mailman/listinfo/zope-announce Karl> 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] Bug Tracking Product Recommendation?
You could explore the Tracker Product available from zope.org's cvs. its used for zope. it is unsupported. [EMAIL PROTECTED] wrote: > > It would also be nice if it was tied to a ODBC compliant database > like MS SQL or Access! nope. did you mean ODBC or MS compliant;) the only DB solutions i know for bug tracking are bugzilla available from mozilla.org's ftp (which is tied to mysql). and the SDM module from arsdigita's ACS(either oracle or postgres). 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 )
[Zope] indexing pdf files
Hi, I need to be able to index the text within pdf files. I assume I will somehow use PrincipiaSearchSource, but I need to know how to get the text out of the pdf when it is uploaded to the ZODB. Has anyone done this before? Are there any packages around that I can use that run in python or at least on a linux box that I can pipe to and from? terry -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381 ___ 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] NTuser folder problem : [ registry keys ]
Hi all, I am facing problem using and configuring zope NTuserFolder. I want to use this products and validate against the users in my domain. Depending on the user i want to assign them roles. For e,g ---Business folder subfolder - ntuserfolder .. I have used local roles to assign neeloy role of manager. when i want to go to the manage screen of Business folder and login with neeloy and his password i am unable to do so. I am able to get all the users for my domain[ neeloy is one ] name though... but get this following warning in the nt user folder. Warning: The following roles are valid in Zope, but do not have a corresponding registry key: ['Contributor', 'Manager', 'Member', 'Owner', 'Reviewer'] how do we go abt fixing this .. i know there is nothing wrong with the product... but i am unable to configure it. Thx in advance. -neeloy ___ 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 )