[Zope-dev] Poor programming practice?
I have been trying to make use of the builtin medusa ftp_server classes and after struggling a while came across the strange practice some internal zope developer has of dynamically changing classes at runtime. ie in ZServer.FTPServer I came across from medusa.ftp_server import ftp_channel, ftp_server, recv_channel ... ... # Override ftp server receive channel reponse mechanism # XXX hack alert, this should probably be redone in a more OO way. def handle_close (self): .. self.readable=lambda :0 # don't call close again recv_channel.handle_close=handle_close which makes it virtually impossible to re-use medusa's ftp_server in a reasonable way. The comment says it all. The real problem is that ftp_channel uses a method make_recv_channel which uses a global class recv_channel and the recv_channel class has a particular method which zope wants to override. How ought this kind of situation to be handled more cleanly? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Poor programming practice?
Robin Becker wrote: The real problem is that ftp_channel uses a method make_recv_channel which uses a global class recv_channel and the recv_channel class has a particular method which zope wants to override. How ought this kind of situation to be handled more cleanly? I haven't looked at the code, so the following is based only on your paragraph above, and probably doesn't apply to the real classes we're talking about :-) This sounds like a classic application of the Factory Method pattern. In brief, you have the ftp_channel class. Its instances have a make_recv_channel method. This is the Factory Method. It returns whatever is appropriate for a recv_channel. You create a subclass derived fom ftp_channel called perhaps zope_ftp_channel, which defines a new make_recv_channel method. This new method does whatever Zope needs for making the recv_channel. The other option is to use the Abstract Factory pattern. In this case, you'd pass the constructor of the ftp_channel class a bound method (or a function) that returns the appropriate kind of recv_channel. You could let an ftp_channel instance know about this bound method (or function) by other means instead, rather than passing it in the constructor. Both patterns are discussed in the infamous "Gang Of Four book" Design Patterns: Elements of reusable object-oriented software, Gamma, Helm, Johnson and Vlissides. There will be explanations on the web somewhere too, no doubt. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope] Found an fatal error in Zope 2.3.0 :)
On Wed, Jan 31, 2001 at 12:59:55PM +0100, Radek Hnilica wrote: Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The source was taken from zope.org. I'v also look at CVS and there it's missing to. The line has been added by the maintainer of the Debian package of Zope, Gregor Hoffleit. The line was never there in Zope CVS. Zope binary and source distributions use a shell script called 'start' to run z2.py with the python interpreter. Read the documentation that comes with the source distribution. You can of course always add the line yourself. -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] REMINDER: Zope track at Python 9!
Hello all, Just a reminder that the ninth international Python conference is right around the corner, and that there will be a Zope track again this year. More information on the Zope Track at Python 9 may be found at: http://www.python9.org/p9-zope1.html We invite you to come out and meet fellow Zopistas, learn about Perl for Zope, the future of ZPatterns and what's in store for Zope in 2001. Note that "early bird" registration for Python 9 ends February 2nd - for more information about Python 9 or the Zope Track see http://www.python9.org/. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [medusa] Re: [Zope-dev] asynchat producer ready() method patch.
On Wednesday 31 January 2001 04:18, Donovan Baarda wrote: On Mon, Jan 29, 2001 at 07:26:56PM +0100, Dieter Maurer wrote: Donovan Baarda writes: On Sun, Jan 28, 2001 at 09:31:07PM +0100, Dieter Maurer wrote: Donovan Baarda writes: I remember reading ages ago on a wishlist for ZServer that someone was thinking of adding blocking support to producers. This patch adds support for just that in a non-intrusive way. I haven't tried applying this patch to ZServer, but it _should_ work. What does "blocking support dor producers" mean? Disclaimer: you must be moderately familiar with ZServer/medusa/asynchat for the following to make sense; Asynchat used by ZServer and medusa use producers as a way to "push" data through an async interface. The current version of asynchat requires that producers be able to produce data immediately on calling their more() method, untill they are finished, when they return ''. My patch adds support for producers being able to "block" by letting asynchat know if they are ready via a ready() method. This allows you to use the simple producer model to push data that may not be immediately available. An example would be a http-fetch producer that fetches data from upstream for a proxy. This patch is only useful for people creating or modifying things like medusa or ZServer. Thank you for this good explanation. By now, I think, it would not be usefull for ZServer, at least not for standard operations. ZServer is a multi-threaded server, where different requests are serviced by different threads. The thread may block and does simply not return from "more()". On first thought, you patch might free some blocked threads to do productive work. However, Zope's transaction system is linked to thread management. If you patch would be used for that, Zope's transaction subsystem would need to be rewritten. Hmmm, it's been a while since I looked at ZServer, I might have to take another look. I thought that it pre-spawned a number of threads that each ran their own asyncore.loop event handler. I thought this was a neat way to get the benefits of async event handlers and distributing threads on multiple processors. Unless it spawns new threads when it needs them, it would still be possible for ZServer to get blocked if all the threads were blocked. disclaimer: insert here. zserver has a main thread which binds and listens, passing requests to a pool of zpublisher threads. the zpublisher threads communicate with the client via the main threads dispatcher, ie output is funneled back into the main thread's dispatcher so as not to tie up threads talking to distant clients. reference: Zserver/medusa/select_trigger.py python has a global interpreter lock, so multiple cpus have little utility. However, my patch is only useful if you _have_ producers that can block. It is usually possible to re-structure your system so that no producers block (typicaly by using a dispatcher instead of a producer). The ready() block feature is really a shortcut way of modifying an existing producer-based design when you realise that the producer can block; ie an alternative way of implementing it that may or may not be better. i've taken a quick look at the patch, i find it interesting in that it provides i think a way to implement a Proactor type server vs the standard medusa Reactor style server. reference: Patterns of System Architecture Vol II. Douglas Schmidt et al reference: http://www.cs.wustl.edu/~schmidt/PDF/proactor.pdf and a webserver that makes use of this pattern http://www.cs.wustl.edu/~jxh/research/ kapil In my case I wanted to create a cached-ftp-backend filesystem that medusa could serve via ftp or http. Unfortunately the existing ftp and http server implementations used producers to pull data from the abstract filesystem. Since my "filesystem" could block pretty severly, I either needed to completely re-write the http and ftp servers to use dispatchers instead of producers, or implement blocking for producers (or use a seperate thread for each request, but I thought that defeated the purpose of using an async event loop). I really must look at ZServer to figure out how it handles things... I suspect that my patch by itself would not _hurt_ ZServer, but perhaps if you started using the ready() feature it provides it might cause problems. I'll have a look at ZServer again soon and give you an evaluation of how my patch would interact with it. Who knows, someone might find a need for blocking producers as ZServer evolves, and if people know the patch exists, they might use it instead of re-structuring to get around it :-) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or
[Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
This is a forwarding of an interesting session-related discussion between Andy and I... it covers the idea of storing session states as "snapshots" at a particular time, later allowing users to select a session state. This is useful if you wish to allow users to make incremental changes to data in a session and "bookmark" a session state for later copying into the current session. This is something that the "bare" session tracking stuff won't do for you, although it can facilitate it tremendously. Input welcomed! - C - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 1:56 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB I think you may be trying to use sessions to do something that sessions don't do. You can *use* the sessioning machinery as a base to build the infrastructure to do such a thing, but it won't do it out of the box. I am currently trying to build an "onSessionStart" and "onSessionEnd" event into session data objects. If you had this capability, an arbitrary Python method (or DTML method or external method) could be called when a session data object is created and when it expires. If you were to make use of these hooks to copy the state of the session data object into another structure (related to the currently logged in user - a "checkpoint" if you will), you could build a catalog of session states that could be recopied into the current session namespace. Alternately, you could forego the use of events and just have a button that says "save session state" somewhere, and copy the contents of the session namespace into something else. Then when a user wanted to choose a session state, copy it back into the current session namespace. This is the same idea, it just lets the user be explicit about what session state he wants to use instead of depending on the event hook to create a new state. Bingo, yes that's it! Does this make sense? Can I cc this to Zope-Dev so we can get some discussion about it? Absolutely! -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 9:53 AM Subject: Re: [Zope-dev] Storing session objects in a ZODB Andy, I'm still not sure why you wouldn't set up an external data container.. if you want, you can call me at 540-371-6909 if you think you can explain it better over the phone... - C - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 12:28 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB Well each user rummages through a site and saves preferences, I use these preferences for displaying things in a certain manner, generating SQL etc. Since some of these SQL statements get quite complex, it would be nice to be to able to pull saved session x which has a query that "looks up by x by y excluding z" etc... So anyway I like using the ZODB for this kind of storage since it's of low volume and a large amount of reads and the users want to use acquisition to the full (we have a wacky hierarchy). If I could pull that into a text area to allow level editing then that would be an added bonus... Did that make sense? -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Monday, January 29, 2001 5:49 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB Sure but users want to be able acess and manipulate the stored session objects, without them being loaded... Im going for a bike ride to think about this one. Erm. What? :-) Can you give me an example? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
Well my quick hack and wacky of doing it is as follows: - I wrote a quick simple class "ZStore" that has as one of its properties a pickle, which you can read and write to using cStringIO - I make a ZStore object, throw in the session object, it pickles it as the data property, I add a few more useful properties, like title, owner etc... - To get it back I get that object, unpickle that property and I have the session back. Quick hack that works for me and allows me to change the content of a session object, without having to change the storage. Im sure someone will come up with a better solution. -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 11:28 AM Subject: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB This is a forwarding of an interesting session-related discussion between Andy and I... it covers the idea of storing session states as "snapshots" at a particular time, later allowing users to select a session state. This is useful if you wish to allow users to make incremental changes to data in a session and "bookmark" a session state for later copying into the current session. This is something that the "bare" session tracking stuff won't do for you, although it can facilitate it tremendously. Input welcomed! - C - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 1:56 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB I think you may be trying to use sessions to do something that sessions don't do. You can *use* the sessioning machinery as a base to build the infrastructure to do such a thing, but it won't do it out of the box. I am currently trying to build an "onSessionStart" and "onSessionEnd" event into session data objects. If you had this capability, an arbitrary Python method (or DTML method or external method) could be called when a session data object is created and when it expires. If you were to make use of these hooks to copy the state of the session data object into another structure (related to the currently logged in user - a "checkpoint" if you will), you could build a catalog of session states that could be recopied into the current session namespace. Alternately, you could forego the use of events and just have a button that says "save session state" somewhere, and copy the contents of the session namespace into something else. Then when a user wanted to choose a session state, copy it back into the current session namespace. This is the same idea, it just lets the user be explicit about what session state he wants to use instead of depending on the event hook to create a new state. Bingo, yes that's it! Does this make sense? Can I cc this to Zope-Dev so we can get some discussion about it? Absolutely! -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 9:53 AM Subject: Re: [Zope-dev] Storing session objects in a ZODB Andy, I'm still not sure why you wouldn't set up an external data container.. if you want, you can call me at 540-371-6909 if you think you can explain it better over the phone... - C - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 12:28 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB Well each user rummages through a site and saves preferences, I use these preferences for displaying things in a certain manner, generating SQL etc. Since some of these SQL statements get quite complex, it would be nice to be to able to pull saved session x which has a query that "looks up by x by y excluding z" etc... So anyway I like using the ZODB for this kind of storage since it's of low volume and a large amount of reads and the users want to use acquisition to the full (we have a wacky hierarchy). If I could pull that into a text area to allow level editing then that would be an added bonus... Did that make sense? -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Monday, January 29, 2001 5:49 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB Sure but users want to be able acess and manipulate the stored session objects, without them being loaded... Im going for a bike ride to think about this one.
Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
Cool! Note that the session data object implements the mapping interface, so you don't really need to pickle up a copy of it. I'd recommend against this, although it seems to be working well for you. Instead, to save a session state, I'd just grab the current session data object and iterate over its items, grabbing things out of it that are interesting to my application. Then I'd copy these things into another data structure, maybe by sticking them into an instance of a class that also implements the mapping interface and put that instance in a folder somewhere which is related to the currently logged-in user. Then when a user wanted to restore a saved session state, get a list of session state objects in his session state folder, present them to him, have him select one. When he does, copy the items out of it into the current session data object. The nice thing about this general strategy is that you can work with the current session data object in all of your app code that depends on session state. How the session state is saved and restored (and what the session data object values are) is completely independent of the app code. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 2:47 PM Subject: Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB Well my quick hack and wacky of doing it is as follows: - I wrote a quick simple class "ZStore" that has as one of its properties a pickle, which you can read and write to using cStringIO - I make a ZStore object, throw in the session object, it pickles it as the data property, I add a few more useful properties, like title, owner etc... - To get it back I get that object, unpickle that property and I have the session back. Quick hack that works for me and allows me to change the content of a session object, without having to change the storage. Im sure someone will come up with a better solution. -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 11:28 AM Subject: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB This is a forwarding of an interesting session-related discussion between Andy and I... it covers the idea of storing session states as "snapshots" at a particular time, later allowing users to select a session state. This is useful if you wish to allow users to make incremental changes to data in a session and "bookmark" a session state for later copying into the current session. This is something that the "bare" session tracking stuff won't do for you, although it can facilitate it tremendously. Input welcomed! - C - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 1:56 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB I think you may be trying to use sessions to do something that sessions don't do. You can *use* the sessioning machinery as a base to build the infrastructure to do such a thing, but it won't do it out of the box. I am currently trying to build an "onSessionStart" and "onSessionEnd" event into session data objects. If you had this capability, an arbitrary Python method (or DTML method or external method) could be called when a session data object is created and when it expires. If you were to make use of these hooks to copy the state of the session data object into another structure (related to the currently logged in user - a "checkpoint" if you will), you could build a catalog of session states that could be recopied into the current session namespace. Alternately, you could forego the use of events and just have a button that says "save session state" somewhere, and copy the contents of the session namespace into something else. Then when a user wanted to choose a session state, copy it back into the current session namespace. This is the same idea, it just lets the user be explicit about what session state he wants to use instead of depending on the event hook to create a new state. Bingo, yes that's it! Does this make sense? Can I cc this to Zope-Dev so we can get some discussion about it? Absolutely! -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 9:53 AM Subject: Re: [Zope-dev] Storing session objects in a ZODB Andy, I'm still not sure why you wouldn't set up an external data container.. if you want, you can call me at 540-371-6909 if you think you can explain it better over the phone... - C
Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
Cool! Note that the session data object implements the mapping interface, so you don't really need to pickle up a copy of it. I'd recommend against this, although it seems to be working well for you. Any special reason why I shouldn't pickle apart from the fact that the ZODB will do it to save the object? Instead, to save a session state, I'd just grab the current session data object and iterate over its items, grabbing things out of it that are interesting to my application. Then I'd copy these things into another data structure, maybe by sticking them into an instance of a class that also implements the mapping interface and put that instance in a folder somewhere which is related to the currently logged-in user. Cool, I'll have to look at the mapping interface. I use a "fixed" version of UserInfoFolder to maintain a folderish object on each person, Im throwing this into there. Works nicely. Then when a user wanted to restore a saved session state, get a list of session state objects in his session state folder, present them to him, have him select one. When he does, copy the items out of it into the current session data object. The nice thing about this general strategy is that you can work with the current session data object in all of your app code that depends on session state. How the session state is saved and restored (and what the session data object values are) is completely independent of the app code. Yep this is what I like. Im actually thinking this simple ZStore class is a useful little object for throwing stuff into, if I get mapping working I'll release the whole 50 lines of code it currently is... Thanks for your help. -- Andy McKay. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
Any special reason why I shouldn't pickle apart from the fact that the ZODB will do it to save the object? The session data object class may move in the future, which in the "normal" case would only require that you restart the server (if they're transient) or flush your data container (if they're persistent). But if you've got pickles of older session data objects hanging around (which point to a no-longer-existing class), your app will likely break. Instead, it's better to rely on a class that you have some control over. Using pickles of session data objects, you're depending on an implementation detail that may change. Additionally, I doubt it's the case in your implementation, but unpickling arbitrary user-contributed data can be a serious security hole. In broader terms, however, you already have a superpickler (the ZODB), you might as well use it. ;-) When I say mapping interface, I just mean that the session data object looks like a dictionary. So: mystorageobject = mycustomclassthatlookslikeadictionary() data = sdm.getSessionData() for k,v in data.items(): mystorageobject[k] = v afolder._setObject('anid', mystorageobject) Will do the right thing. Yep this is what I like. Im actually thinking this simple ZStore class is a useful little object for throwing stuff into, if I get mapping working I'll release the whole 50 lines of code it currently is... It would be really useful to have generalized support for something like this. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope] Fwd: What group is user zope in, and what is its home dir?
Subject: What group is user "zope" in, and what is its home dir? Which files are owned by "zope" which by "root" and which by "nobody"? --== Sent via Deja.com ==-- http://www.deja.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] Zope Permission object destroys Security tab
Hi, I have a Zope product, with a lot of ZClasses in it. I defined a Zope Permission in this product with id='change_my_objects_permission' and name='Change My Objects'. I assigned this permission to several classes - not sure which ones. When I click on Security in the top Zope folder I get this: Error Type: AttributeError Error Value: __getitem__ Traceback (innermost last): File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /opt/Zope/lib/python/AccessControl/Role.py, line 262, in manage_access (Object: ApplicationDefaultPermissions) File /opt/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: _normal_manage_access) File /opt/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py, line 353, in _bindAndExec (Object: _normal_manage_access) File /opt/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py, line 236, in _exec (Object: _normal_manage_access) File /opt/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /opt/Zope/lib/python/DocumentTemplate/DT_In.py, line 660, in renderwob (Object: permission_settings) File /opt/Zope/lib/python/AccessControl/Role.py, line 185, in permission_settings (Object: ApplicationDefaultPermissions) File /opt/Zope/lib/python/AccessControl/Role.py, line 180, in lambda AttributeError: (see above) I added this statement to permission_settings (line 176 of AccessControl/Role.py): print('name=%s, value=%s, roles=%s' % (name, value, roles)) When it gets to my permission it outputs this: name=Change My Objects, value=(), roles=Rewrapper instance at 8735f30 I deleted the problem permission and created a new one called Test. This time the Security page worked and I got: name=Test, value=(), roles=['Manager'] If I recreate the problem permission, the problem returns. The only difference is that 'Change My Objects' is used somewhere in a ZClass. But a) I can't find out where it's used other than by manually checking 20 ZClasses, and b) why would that be a problem anyway? And what's this Rewrapper thing? And why am I suddenly attracting all these annoying bugs? -- Itai Tavor -- "Je sautille, donc je suis."-- [EMAIL PROTECTED]-- - Kermit the Frog -- -- -- -- "Every day, once a day, give yourself a present" - Dale Cooper -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope on OpenBSD 2.8 problem solved
Start Zope, and you will find that it works fine now. Zope also works fine in the CURRENT tree of OpenBSD, so presumably it will work out-of-the-box on OpenBSD 2.9. This is the safest way of getting it to work at the moment. Did you understand form Jason Ish's message that it should be working with -current or did you compile and test it yourself? I compiled -current last week and it didn't work and there have been no changes to the source since then. Ragnar ___ 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] where can I find Debianised source for zope-2.3.0 ?
Hello all, I'm using Debian/GNU Linux Potato on all my machines. And I want try to install Zope 2.3.0 on my server. I'm capable of compiling zope from debian source package, but on main zope site zope.org I found only plain zope source. This package doesn't contain debian directory. Do anyone know where the debianised source can be taken from. Thanks -- Radek Hnilica Radek_Hnilica at LinuxFan dot COM http://www.balga.cz/hnilica ___ 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] User Sessions
state with authenticated users. It's just not as useful because once they're authenticated you'd probably be better off associating the state with their user object. Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in order? How I'd like to see text box widths and top frame preference stored against the user, not the domain name/browser... :-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] where can I find Debianised source for zope-2.3.0 ?
I belive they are not released yet. If you do a search on http://www.debian.org/distrib/packages it will tell you. /Gordon At 11:08 2001-01-31 +0100, Radek Hnilica wrote: Hello all, I'm using Debian/GNU Linux Potato on all my machines. And I want try to install Zope 2.3.0 on my server. I'm capable of compiling zope from debian source package, but on main zope site zope.org I found only plain zope source. This package doesn't contain debian directory. Do anyone know where the debianised source can be taken from. Thanks -- Radek Hnilica Radek_Hnilica at LinuxFan dot COM http://www.balga.cz/hnilica ___ 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] PCGI and MS-IIS on Nt5
Hi there, >For that the easiest solution is to put a redirect in your root to: >http://localhost/scripts/zope.pcgi either through a server setting or >through an asp script with a "Response.Redirect('scripts/zope.pcgi')" >You could also put your zope.pcgi in your root folder and make it a default >document (just like 'default.htm', 'index.asp' etc), but somehow I guess >that that will bring your troubles later on. Thanks for the input... but it doesnt seem to work. I get: TD WIDTH="90%"> H2>Zope Error/H2> P>Zope has encountered an error while publishing this resource. /P> P>STRONG>exceptions.ImportError/STRONG>/P> (class ZODB.POSException.StorageSystemError at 668838>, 'Could not lock the database file. There must be\012another process that has opened the file.\012p>') !-- Traceback (innermost last): File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 130, in publish File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 270, in get_module_info File E:\!BRAIN~1\lib\python\Zope\__init__.py, line 110, in ? File E:\!BRAIN~1\lib\python\ZODB\FileStorage.py, line 262, in __init__ File E:\!BRAIN~1\lib\python\ZODB\lock_file.py, line 115, in lock_file ImportError: (see above) For that matter, it seems the normal convention doesnt work anymore of going through the pcgi file, so something has definatley gone wrong. Should IIS be configured for the pcgi file to be a header or...? I'll try the siteaccess, but i assume its in 2.3? how is it invoke if it is a built in product? Thanks again, Paz Max M wrote: From: Paul Zwarts >so, technically I did set it up correctly, but I want to configure the >default document so when I just put in: >http://localhost For that the easiest solution is to put a redirect in your root to: http://localhost/scripts/zope.pcgi either through a server setting or through an asp script with a "Response.Redirect('scripts/zope.pcgi')" You could also put your zope.pcgi in your root folder and make it a default document (just like 'default.htm', 'index.asp' etc), but somehow I guess that that will bring your troubles later on. >I will get the root folder of my zopesite WITH the PCGI working. Now, I >need to use: >http://localhost:8080 >If I goto http://localhost/scripts/zope.pcgi, I get what I want with the >PCGI, but I cannot use the site because the links do not work. If you are not using Zope 2.3 You will probably want to use: http://www.zope.org/Members/4am/SiteAccess2 It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Decision question from a beginner
--- In [EMAIL PROTECTED], "Christophe Lombart" [EMAIL PROTECTED] wrote: Tha's clear Zope is really interesting for my web application but I have a small issue concering java. My customer is using Java (mainly servlet EJB). It is a well know question on your mailing lists but I want to be sure to understand everything. So, can you confirm or give some feedbacks on the following questions : 1. Is it possible to add a servlet in my Zope server. By this way, I have the strong features like security defined in Zope and it is not necessary to rewrite the code defined in this servlet. 2. If I understand, I can write my business logic in python. From this python code, I can used a java package (thanks to jython). So I can call an EJB method from a zope object. Is it correct ? This kind of integration is much interesting for my customer than rewrite all in python. In fact, his idea is using Zope for the content management and EJB for the business logic. All comments are welcome on that. Many thanks in advance Christophe I think there are no servlet plugholes in Zope. From my basic understanding, I would state that integration of Zope with Java (ie EJB server) is possible only through CORBA and a Python ORB (ie OmniORB), which would be quite nice technical work.-- Godefroid Chapelle BubbleNet 30, rue Victor Horta B-1348 Louvain-la-Neuve (Belgium) +32 (10) 45 06 46 ___ 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] where can I find Debianised source for zope-2.3.0 ?
On Wednesday 31 January 2001, at 11 h 8, the keyboard of Radek Hnilica This is quite common: most upstream maintainers do not want to ship debian/ directory, ".spec" file, etc. For example the Gwydion Dylan compiler has debian directory in their CVS. It's nice thing if it's up to date. Do anyone know where the debianised source can be taken from. 2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive. I know how to get and compile debianized source, but in official tree the latest version of zope is 2.2.4-3. In this time I'm trying to use debian directory from 2.2.4 and for sure rename 2.3.0 to 2.2.9-1. -- Radek Hnilica Radek_Hnilica at LinuxFan dot 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] User Sessions
On Wed, 31 Jan 2001, Chris Withers wrote: state with authenticated users. It's just not as useful because once they're authenticated you'd probably be better off associating the state with their user object. Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in order? How I'd like to see text box widths and top frame preference stored against the user, not the domain name/browser... :-S Oh, no, no, no. I, for example, use at least two different computers with 2 different screen resolutions, so I certainly want to store these preferences in my cookie files (these files are different on these 2 computers, of course). Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [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] Re: [Zope-dev] Poor programming practice?
What's the go4 book? Ragnar yes I have the go4 book and I fully agree that one or other of the above patterns would be feasible. The problem is that the base medusa comes from Sam Rushing and Zope makes use of it. I guess since I already patch the Zope code I could just extend the patch, but the best solution would come from having two main players agree on such stuff. -- Robin Becker ___ 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: where can I find Debianised source for zope-2.3.0 ?
On Wed, 31 Jan 2001, Stephane Bortzmeyer wrote: Like every Debian package: 1) (simplest way but you need deb-src lines in your sources.list): apt-get source zope 2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive. Not to forget: 3) ship patches to the maintainer if it works for you - may be this will help him :) Kind regards Andreas. ___ 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] problem with ZUBB / no topic set
Hello, after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with the single exception that the topic of no message gets set. That means, after posting, all messages show "(no subject)". The message preview HTML source still shows the correct value in the hidden input form tag named "title". Could the problem be a clash between the "title" form entry and the title of another Zope object? I am using ZDiscussions-0.6 and Zope 2.3.0. thanks --Oliver ___ 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] Problem with LocalFS (_local_path)
Hi, I am trying to install LocalFS 0.9.6 on Zope 2.3.0 and get the following error: Error Type: AttributeError Error Value: _local_path Traceback (innermost last): File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt2/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 353, in _bindAndExec (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/App/special_dtml.py, line 236, in _exec (Object: manage_main) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_In.py, line 711, in renderwob (Object: objectItems) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: sequence-key) File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_Var.py, line 271, in render (Object: bobobase_modification_time) File /opt2/Zope-2.3.0-src/lib/python/Products/LocalFS/LocalFS.py, line 979, in bobobase_modification_time (Object: rafiles) AttributeError: (see above) this seems to add the localfs but makes listing the contents of the containg folder impossible. What's ging on here? thanks --Oliver ___ 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] Poor programming practice?
In article p04330111b69dab5cf543@[134.76.136.114], Ragnar Beer [EMAIL PROTECTED] writes What's the go4 book? Ragnar yes I have the go4 book and I fully agree that one or other of the above patterns would be feasible. The problem is that the base medusa comes from Sam Rushing and Zope makes use of it. I guess since I already patch the Zope code I could just extend the patch, but the best solution would come from having two main players agree on such stuff. -- Robin Becker gang of four Gamma et al -- Robin Becker ___ 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] Found an fatal error in Zope 2.3.0 :)
Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The source was taken from zope.org. I'v also look at CVS and there it's missing to. -- Radek Hnilica Radek_Hnilica at LinuxFan dot 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] Re: where can I find Debianised source for zope-2.3.0 ?
Not to forget: 3) ship patches to the maintainer if it works for you - may be this will help him :) I'm in mail contact. If I found something interesting, I send it to him. -- Radek Hnilica Radek_Hnilica at LinuxFan dot 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] LoginManager dlpierson example
I just realized that I responded in terms of a PythonMethod when you asked about a PythonScript. My ZClass functions for my LoginManager subclass are all PythonMethods, yet to be converted to Python Scripts. My 'authenticate' method takes (self, password, request) as parameters and has for the function body only return password == self.password I suspect that an equivalent PythonScript will need to take password and request as parameters (not so sure about 'request') and will have a body like this: return password == container.password Ah, what the heck... OK, I just converted my authenticate script as above and it seems to still work fine. On Wed, Jan 31, 2001 at 07:32:14PM +1300, W. Robert Kellock wrote: On passing 'request' (why the extra argument anyway?) I got Error Type: TypeError Error Value: not enough arguments; expected 3, got 2 so I'm wondering have you got LoginManager to work on the Zope 2.3.0 release? -- Fred Yankowski [EMAIL PROTECTED] tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA ___ 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] User Sessions
Oleg Broytmann wrote: Oh, no, no, no. I, for example, use at least two different computers with 2 different screen resolutions, so I certainly want to store these preferences in my cookie files (these files are different on these 2 computers, of course). No problem, just have another _user_ preference which says whether ZMI preferences are stored as Browser Preferences or User Preferences. Then you and me can both be happy, even if we're using the same server ;-) 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] .isCurrentDay strangeness
i have been testing this for a few days and it rectifies the problem quite nicely. thanks for your help!! -mike- -Original Message- From: JP Gilles [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 11:40 AM To: Michael Angelo Cc: [EMAIL PROTECTED] Subject: Re: [Zope] .isCurrentDay strangeness hi This work - tested TABLE dtml-in expr="PARENTS[0].objectValues(['DTML Document','File','Folder'])" sort="bobobase_modification_time" reverse dtml-let date="bobobase_modification_time()" dtml-unless "_.string.find(_['id'],'index_html')==0" TR TD bgcolor="#DD"a href="dtml-absolute_url;"dtml-var title_or_id/a/TD dtml-if "date.isCurrentYear() and date.isCurrentMonth() and date.isCurrentDay()" TD bgcolor="#FF8080"dtml-var date fmt="aCommon"/TD dtml-elif "date.isCurrentYear() and date.isCurrentMonth()" TD bgcolor="#BEFAB4"dtml-var date fmt="aCommon"/TD dtml-else TD bgcolor="#EE"dtml-var date fmt="aCommon"/TD /dtml-if TD bgcolor="#4269D6" small[a href="dtml-var URL1/dtml-var id/manage"font color="#00"Edit/font/a]/small /TD /TR /dtml-unless /dtml-let /dtml-in /TABLE Michael Angelo a crit : hi all, i have an indexing script which highlights the modification date table cell depending on whether the indexed object was modified today or in the past month. however, it seems a bit flakey. todays red cells (modified today) were objects modified on Aug 25, 2000 6:34 pm and Sep 25, 2000 5:09 pm. i am thinking that the .isCurrentDay method is buggy. anyway, here is the script - if i goofed maybe you can find it. dtml-in expr="PARENTS[0].objectValues(['DTML Document','File','Folder'])" sort="bobobase_modification_time" reverse dtml-unless "_.string.find(_['id'],'index_html')==0" tr td bgcolor="#DD"a href="dtml-absolute_url;"dtml-var title_or_id/a/td dtml-if "bobobase_modification_time().isCurrentDay()" td bgcolor="#FF8080"dtml-var bobobase_modification_time fmt="aCommon"/td dtml-elif "bobobase_modification_time().isCurrentMonth()" td bgcolor="#BEFAB4"dtml-var bobobase_modification_time fmt="aCommon"/td dtml-else td bgcolor="#EE"dtml-var bobobase_modification_time fmt="aCommon"/td /dtml-if td bgcolor="#4269D6" small [a href="dtml-var URL1/dtml-var id/manage"font color="#00" Edit/font/a] /small /td /tr /dtml-unless /dtml-in Zope overlord wisdom greatly appreciated ;-) -mike- ___ 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] Change Security settings.
Dear group. Is it possible and do I change the Security settings for an Object programmaticly? Regards Gordon ___ 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] performance problem
hello, could anybody help? Have a perforemance prob. The DB (Data.fs) size is 25 MB. If using ZOPE "normal" the process will be around 35 MB. Ok. Have sopme pdf documents in the presentation. I reduced the DB size with the LocalFS Product. After a search-engine scan over my site the process grows up to 100 MB and more The server slows down. ...and there will be some doc's more in future. My question: is there a way to keep the process-size a little smaller? Thanks, Torsten. ___ 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] http protocol
On Fri, 26 Jan 2001 09:17:02 +0100, Oliver Vecernik [EMAIL PROTECTED] wrote: Hi all, I'd like to write an http client for an embedded system to get information from Zope. For debugging I want to see the traffic between the client and Zope (http protocol). How can this be achieved? One option is a debugging http proxy I like http://www.cyberclip.com/webdebug/index.html Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Error defining permissions in ZClass in Zop3-2.3
When I want to define a permission a ZClass or a folder in a ZClass with the management - Interface in Zope 2.3, I alwasy get the following error message: Error Type: TypeError Error Value: too many arguments; expected 2, got 3 When I did exactly the same thing under the same circumstances in Zope-2.2.5, it worked fine. Because of this error, it's now impossible to access a dtml-method in a folder in a ZClassby an object of this ZClass. Has anybody an indea what I'm might doing wrong, or what has changed in 2.3 that I have to do it differently an how? Or ist this simply a bug? Thanks, Klaus ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problem with LocalFS (_local_path)
Oliver Frommel wrote: this seems to add the localfs but makes listing the contents of the containg folder impossible. What's ging on here? http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/61B0755228EDCCB7 Just yesterday. The mailing list archives are a wonderful resource. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government." - Woodrow Wilson ___ 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] compress data.fs
Control_Panel-Database-Pack. - Original Message - From: "Olaf Zanger" [EMAIL PROTECTED] To: "Zope Mailinglist" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 6:43 AM Subject: [Zope] compress data.fs hi there, my data.fs grew to formidable 42MB, since we'd deleted quite some stuff we'd like to compress it (get rid of the undo data for old stuff) how to do that? thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.soli-con.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] problem with ZUBB / no topic set
Hey Oliver, I have not yet tested ZUBB 0.6 on 2.3 (will try soon) but I think I have seen this before. Did you remember to give the ZTopic a title when you created it? J At 1:05 PM +0100 1/31/01, Oliver Frommel wrote: Hello, after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with the single exception that the topic of no message gets set. That means, after posting, all messages show "(no subject)". The message preview HTML source still shows the correct value in the hidden input form tag named "title". Could the problem be a clash between the "title" form entry and the title of another Zope object? I am using ZDiscussions-0.6 and Zope 2.3.0. thanks --Oliver ___ 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] Error defining permissions in ZClass in Zop3-2.3
When I want to define a permission a ZClass or a folder in a ZClass with the management - Interface in Zope 2.3, I alwasy get the following error message: Error Type: TypeError Error Value: too many arguments; expected 2, got 3 When I did exactly the same thing under the same circumstances in Zope-2.2.5, it worked fine. Because of this error, it's now impossible to access a dtml-method in a folder in a ZClassby an object of this ZClass. Has anybody an indea what I'm might doing wrong, or what has changed in 2.3 that I have to do it differently an how? Or ist this simply a bug? It was a bug (already fixed in CVS). You can get the updated lib/python/App/Permission.py from the public CVS to work around it for now. I anticipate making a 2.3.1 release in the next few weeks - we want to allow enough time for all of these kinds of things to shake out. In the meantime, I may post some sort of unofficial update .tgz so that people who are CVS-averse aren't blocked by the issues that come up along the way. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] http protocol
Toby Dickenson wrote: One option is a debugging http proxy I like http://www.cyberclip.com/webdebug/index.html Also try Shane's TCPWatch.py script :-) 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] CoreSessionTracking timeout
Oliver, If timeout expires I expect 'Before change:' to be empty again, thus generating a new token. But it isn't. It still uses the old token. What's going on? Just for clarification: core session tracking tokens don't expire. Session data objects associated with tokens expire. See the section "Session Id (Non-)Expiration" in the help doc. Your question is still valid, however. The timeout parameter isn't exact. In the current implementation, for example, if your timeout is set to 20 minutes, it could take up to 40 minutes to expire the data object associated with the token. It will expire, however. I need to work on making this more exact, but for now consider the timeout the "minimum" amount of time before a session data object will expire. HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Rating site.
Hello, I'm trying to build a rating site for medical software which will be identical in functionality to the http://www.icewalker.com and/or http://www.zope-treasures.com site except for the purple colors. I'm currently running squishdot, which I could use pretty easily if you could add extra fields associated with a squish article, but so far I haven't had success in that direction :-( I've asked the zope-treasures people for their code, but they are running Sybase behind theirs and I'm using Zope only. Does anyone know of something that I might use for this? Or if it is possible to add fields to a squish article? I know PTK will have this, but I'm facing competition so I need to get something working soon. -- IV ___ 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] Additional user properties
Hello, I nned to retrieve some additional properties with my users. How can I make AUTHENTICATED_USER.email to be valid? Thanks Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905Fax: +46-8-534 609 06 ___ 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] Found an fatal error in Zope 2.3.0 :)
On Wed, Jan 31, 2001 at 12:59:55PM +0100, Radek Hnilica wrote: Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The source was taken from zope.org. I'v also look at CVS and there it's missing to. The line has been added by the maintainer of the Debian package of Zope, Gregor Hoffleit. The line was never there in Zope CVS. Zope binary and source distributions use a shell script called 'start' to run z2.py with the python interpreter. Read the documentation that comes with the source distribution. You can of course always add the line yourself. -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Fwd: What group is user zope in, and what is its home dir?
This depends almost entirely on your installation. See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO for more information (and a particular strategy) for setting UNIX permissions for Zope. - Original Message - From: "Deja User" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 3:21 AM Subject: [Zope] Fwd: What group is user "zope" in, and what is its home dir? Subject: What group is user "zope" in, and what is its home dir? Which files are owned by "zope" which by "root" and which by "nobody"? --== Sent via Deja.com ==-- http://www.deja.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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope on OpenBSD 2.8 problem solved
I understood that the workaround he suggested also works with -current. I submitted the bug a couple of days ago. The ID is 1631 if you want to search for it. Ragnar Ragnar Beer wrote: Did you understand form Jason Ish's message that it should be working with -current or did you compile and test it yourself? I compiled -current last week and it didn't work and there have been no changes to the source since then. I just took his word for it: - python on this system uses /usr/lib/libc_r.so.3.3 hmm, freaky.. works fine on my -current system.. I remember it being a bitch with Zope 2.2.4. well, the management interface works just fine where it was dying before. So if it doesn't work, somebody should notify the OpenBSD people. I assume other Python applications than Zope have problems with this? Alexander Limi. ___ 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: sessions/noundo dbs/mounting/exmount
thanks for the prompt replies. to recap, i have -Berkeley DB -External Mount -something that i'm not too sure of :) as i see it, i can use External mount to mount berkeley Db. that will then give me a nonundo, nonversioning db.. right? Well, I know you're using ZEO with a FileStorage as your "main" storage, so you'll need to mount a ClientStorage which talks to a ZEO server backed by a nonundo db. The ZEO docs give some info about using a single ZEO server to serve two databases (see the -S switch to the ZEO 'start' command). So basically, you need do do something like: Client Client Client | | | | | | | | | Zeo Storage Server / \ nonundostorage (mounted) filestorage (main) Where all clients have a "main" database that is the ZSS' filestorage and all clients additionally have a ClientStorage mounted (via exmount or another way) that points to the ZSS' nonundo storage. An alternate way is: Client Client Client | | | | | | | | | Zeo Storage Server | | nonundostorage (main) In this case, all clients use a "main" database that is nonundoing, so you can put the external data container right in there without worrying about any mounting. if i use FileStorage with ExternalMount, it'll be just another ZODB. i hope i'm right. Yes. if i want to use it across ZEO Clients, i *must* use ZEO.ClientStorage. correct me if i'm wrong, please. Yes. to test a simple setup, i tried FileStorage with External Mount. and i encountered a little problem. here's what i have -ExternalMount -External Method[1] when i tried adding an ExternalMount, i got this[2] traceback. help? I think this exposes an error in Mount.py. :-( Is there anything in your debug log? p/s - what about storing CoreSessionTracking data in RDB? It's my hope that people will write session data managers that do just this. The session tracking stuff is extensible. As a matter of fact, I don't think it would be too hard to adapt the existing FSSession and SQLSession products to be session data managers. -- [1] ---ExtDB.py import ZODB from ZODB.FileStorage import FileStorage def createDB(): return ZODB.DB(FileStorage('/home/kdie/Zope/var/ext.fs')) [2] PSTRONGNameError/STRONG/P Sorry, a Zope error occurred.p !-- Traceback (innermost last): File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/kdie/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/kdie/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addExternalMount) File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addExternalMount) File /home/kdie/Zope/lib/python/Products/ExternalMount/ExternalMount.py, line 112, in manage_addExternalMount (Object: ApplicationDefaultPermissions) File /home/kdie/Zope/lib/python/ZODB/Mount.py, line 279, in _test (Object: A) File /home/kdie/Zope/lib/python/ZODB/Mount.py, line 246, in _getOrOpenObject (Object: A) NameError: mcc http://www.kedai.com.my/kk http://www.kedai.com.my/eZine as you woke this morning, and open up your eyes, did you notice the tear stains lining your face were mine.. ___ 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] DumbZPatternsExample
Hi all, The files found at http://www.zope.org/Members/sspickle/DumbZPatternsExample are not usable with Zope 2.3. Would it be possible to someone (Steve S. ;-) to update them ? Thanks a lot. -- Godefroid Chapelle BubbleNet 30, rue Victor Horta B-1348 Louvain-la-Neuve (Belgium) +32 (10) 45 06 46 PS Sorry if this is a second instance of the message but other messages I posted later than first try are already mirrored on egroups... ___ 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] ZDatabaseTool PDF
Hi Andreas and all the others, here is another Newbie to zope :-) The ZDatabaseTool seems to be the solution for some tasks I have. Especially the "print to pdf" option. How did you solve it, Andreas? I heard something about a pdf-library for python, but I am just beginning programming in python and Zope, so I don't know where to start. Is there a how-to somewhere or can you give me some hints how to realize that? Apart from that I am getting some javascript errors when I trying the demo: At "What selection criteria do you require?". IE 5.0: Zeile: 218 Zeichen: 1 'document.FORMKEYPAD is not an object' Code: 0 * + Netscape 4.7: JavaScript Error: http://www.easyleading.org/demo/000Free20010129165939/zzztest20010130160005/sqlWizardSelect5, line 218: document.FORMKEYPAD has no properties. + But it seems to work ingnoring the error. When I finally can make my query I get a new error: IE 5.0: Zeile: 44 Zeichen: 3 'undefined is not an object' Code: 0 URL: http://www.easyleading.org/demo/000Free20010129165939/zzzdopes_query20010130152417 * + Netscape 4.7: JavaScript Error: http://www.easyleading.org/demo/000Free20010129165939/zzztest20010130160005/index_html, line 42: display has no properties. + But anyway it seems to work and I like it so far. cheers Damir On Tue, 30 Jan 2001, Andreas Heckel wrote: Thank you all for your interest in my new Zope Product. In the past 36h there were avg 750 visits (26000 hits) on my page :-) Some of you asked me for username/password. So here it is ... To create new ZDatabaseWizard objects at http://www.easyleading.org/demo first go to the folder named "Free". username: demo password: demo Hope the online demo makes more sense to you with this info ;-) Andreas ___ 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] Re: PopMail Client
Hi Jerry, It's hard to diagnose from what you've sent me. Can you send me the full traceback (from the HTML source code of the error page)? That will make determining where the error occurred a lot easier. "Spicklemire, Jerry" wrote: Hi David, I'm looking at your Pop3 Client tool for Zope and have hit a snag. Is there any documentation about correct usage, or example (Zope) code? I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3, and PopMail .0.0.2 I have looked over POP.py, and have a glimmer of what to do to call these methods and functions. I have added a Pop Client Folder, and a client account object, but when I try to use the "View" tab in the Zope TTW GUI, I get the tracebacks, below. The 'error_proto' is a reference to the first class listed in poplib.py, which simply 'pass(es)' when an Exception is used as a parameter. One thing I noticed is that poplib seems to treat error_proto as a function sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind. Now you know as much (hopefully much more!) than I do. Thanks for any help! Jerry S. - First this shows up, Zope Error Zope has encountered an error while publishing this resource. Error Type: error_proto Error Value: -ERR Not implemented - and then a few seconds later this one, Zope Error Zope has encountered an error while publishing this resource. Error Type: error_proto Error Value: -ERR Mailbox in use -- David Shaw Senior Software Developer ZapMedia 678.420.2715 ___ 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: PopMail Client
David promptly replied: Hi Jerry, It's hard to diagnose from what you've sent me. Can you send me the full traceback (from the HTML source code of the error page)? That will make determining where the error occurred a lot easier. So the very least I could do was respond with: - The first one: Traceback (innermost last): File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: POPMailAccountBase) File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: ListMessages()) (Info: ListMessages) File lt;stringgt;, line 0, in ? File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in ListMessages (Object: POPMailAccountBase) File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in UpdateStatus (Object: POPMailAccountBase) File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect (Object: POPMailAccountBase) File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in pass_ File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in _shortcmd File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in _getresp error_proto: (see above) --- The second one: Traceback (innermost last): File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: POPMailAccountBase) File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index_html) File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: ListMessages()) (Info: ListMessages) File lt;stringgt;, line 0, in ? File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in ListMessages (Object: POPMailAccountBase) File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in UpdateStatus (Object: POPMailAccountBase) File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect (Object: POPMailAccountBase) File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in pass_ File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in _shortcmd File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in _getresp error_proto: (see above) "Spicklemire, Jerry" wrote: Hi David, I'm looking at your Pop3 Client tool for Zope and have hit a snag. Is there any documentation about correct usage, or example (Zope) code? I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3, and PopMail .0.0.2 I have looked over POP.py, and have a glimmer of what to do to call these methods and functions. I have added a Pop Client Folder, and a client account object, but when I try to use the "View" tab in the Zope TTW GUI, I get the tracebacks, below. The 'error_proto' is a reference to the first class listed in poplib.py, which simply 'pass(es)' when an Exception is used as a parameter. One thing I noticed is that poplib seems to treat error_proto as a function sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind. Now you know as much (hopefully much more!) than I do. Thanks for any help! Jerry S. - First this shows up, Zope Error Zope has encountered an error while publishing this resource. Error Type: error_proto Error Value: -ERR Not implemented - and then a few seconds later this one, Zope Error Zope has encountered an error while
[Zope] REMINDER: Zope track at Python 9!
Hello all, Just a reminder that the ninth international Python conference is right around the corner, and that there will be a Zope track again this year. More information on the Zope Track at Python 9 may be found at: http://www.python9.org/p9-zope1.html We invite you to come out and meet fellow Zopistas, learn about Perl for Zope, the future of ZPatterns and what's in store for Zope in 2001. Note that "early bird" registration for Python 9 ends February 2nd - for more information about Python 9 or the Zope Track see http://www.python9.org/. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Parameter from DTML-Document to SQL-Method
Very strange that you don't get an error though. Your DTML is wrong. You're not sending the _value_ or 'value' you're sending a value that looks like this: "dtml-var value" Here's the correct way. dtml-let value="'Test'" dtml-in expr="sql_query(para=value)" Peter - Original Message - From: "Axel Missbach" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 4:52 PM Subject: [Zope] Parameter from DTML-Document to SQL-Method Hi to all, I am trying a long time to get the result of an query in the document, or perhaps get the parameter in the query. It looks like this: dtml-let value="'Test'" dtml-in expr="sql_query(para='dtml-var value')" dtml-var code #code is part of the query-result . . /dtml-let Viewing the document, i got no result (and no error). Testing the query with value= Test, the result is ok! thanks very much in advance axel ___ 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] A little sqltest patch: op=ne multiple
Hi guys, The following trivial patch lets dtml-sqltest make sense of multiple inequality tests, that is: Currently dtml-sqltest name op="ne" multiple has the funny behavior of rendering nameval when passed a single value, and name in (val1,val2) when a list is passed. With this fix, the latter case becomes name not in (val1,val2) (It might be considered a good idea to take care of the other ops too, but that would be non-trivial ;-) Have fun, Shai. *** sqltest.py Wed Jan 31 19:42:15 2001 --- old_sqltest.py Tue May 30 18:46:55 2000 *** *** 222,229 if len(vs) 1: vs=join(map(str,vs),', ') - if (self.op == comparison_operators['ne']): - return "%s not in (%s)" % (self.column,vs) return "%s in (%s)" % (self.column,vs) return "%s %s %s" % (self.column, self.op, vs[0]) --- 222,227 ___ 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] Need zope sales training :)
Hello folks, We have a project being discussed here at work where I think zope would fit nicely. I explained my thoughts on how zope fits to the project manager and all I got for my efforts was a blank stare. Obviously some miscommunication. The project is a resume "database". The user would upload resumes into a database, with some additional fields for other information related to the person. The resumes and additional fields would be searchable. The user thought it would be very interesting for them if the resumes, searching, etc were available over the Web so that field offices could access them. My thought is that this would be perfect for zope using zcatalog. Now I haven't done any work with zcatalog but it sure seems like a perfect fit. Am I on the right track here? What points can I bring to bear? Thanks for any advice Tom Jenkins |xmlIts devIS - Development InfoStructure |all you 703.525.6485 [EMAIL PROTECTED] |need it http://www.devis.com |to be/xml ___ 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] Need zope sales training :)
I think something like this has already been done quite nicely in Zope: http://www.hiretechs.com, although to look at how it actually works I think you'd need to get a login. - Original Message - From: "Tom Jenkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 1:49 PM Subject: [Zope] Need zope sales training :) Hello folks, We have a project being discussed here at work where I think zope would fit nicely. I explained my thoughts on how zope fits to the project manager and all I got for my efforts was a blank stare. Obviously some miscommunication. The project is a resume "database". The user would upload resumes into a database, with some additional fields for other information related to the person. The resumes and additional fields would be searchable. The user thought it would be very interesting for them if the resumes, searching, etc were available over the Web so that field offices could access them. My thought is that this would be perfect for zope using zcatalog. Now I haven't done any work with zcatalog but it sure seems like a perfect fit. Am I on the right track here? What points can I bring to bear? Thanks for any advice Tom Jenkins |xmlIts devIS - Development InfoStructure |all you 703.525.6485 [EMAIL PROTECTED] |need it http://www.devis.com |to be/xml ___ 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] Zope memory usage / cache
On Tuesday 30 January 2001 21:21, Ron Bickers wrote: -Original Message- From: ender [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 10:12 AM To: Ron Bickers; [EMAIL PROTECTED] Subject: Re: [Zope] Zope memory usage / cache this sounds like normal operating system behavior. memory isn't being free'd just dealloc and returned to the program heap and marked as available. Ok. So you're saying that even though it says it's taking 50MB, much of that memory is probably available for other applications? warning: i'm on shaky ground here. this is very os dependent. most os's don't resize a process's heap down on a dealloc. instead the heap has more available memory for that process (ie Zope), other processes will have to alloc from free memory. the management of free heap space and disk caching is again os dependent, but a good os should try to do some optimization of heaps before thrashing, so starting a new process should cause a problem. Does this mean that if another application actually starts to use that memory that the Zope process should start showing a reduction in use? no. How can I (if I can) see how much is really available? i'm not sure how you would do this on linux. Also, does the free memory below not necessarily reflect the amount of memory that is actually available for applications that may need it? no it does not (again os dependent). free memory is indicator of the os free resources for new and current processes. for existing processes it is a indicator not a def. answer. total used free sharedbuffers cached Mem:126312 122936 3376 48424 5820 29952 -/+ buffers/cache: 87164 39148 Swap: 530104 21876 508228 Sorry if this is inappropriate for the Zope list. I have only *noticed* this behavior with Zope, but that may not mean anything. if you're on linux trying starting up a large app (gimp comes to mind as a good one) and loading and unloading some large docs, and watch what happens 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] SiteAccess affects the Zope management interface
I hadn't realized it before, but SiteAccess can cause really confusing things in the Zope management interface! When I installed Zope 2.3.0 and ran it on an unused port number to check it out while the main Zope was still running, the top-level Zope folder displayed with the new look (which is very well done, BTW), but when I would drill down into a folder governed by a SiteRoot object the folders appeared with the old (2.2.x) look. This was quite a mystery until I realized that although the tree frame on the left (and the new top frame) were displaying pages served by the new Zope 2.3.0 process, the right/folder frame was actually displaying a page served by my older production Zope process running Zope 2.2.5! My Zope tree is something like this: / + /subsite1 + /subsite2 subsite1 has a SiteRoot that gives the folder a new Base of "http://subsite1.org". Apache is sitting on port 80 and using ProxyPass to map http://subsite1.org to http://myhost.org:8080/subsite1. Assume the new Zope ZServer is running on port 9090. So the listing for 'subsite1' in the tree display has an HREF of http://myhost.org:9090/subsite1/manage_main. When I click on that, the browser requests that URL from Zope on myhost.org:9090. Because of the SiteRoot object, the server sends back an HTTP 302 response redirecting the browser to http://subsite1.org/manage_main, which the browser dutifully requests. The Apache server gets that request and forwards it via ProxyPass to http://myhost.org:8080/subsite1/manage_main. The other/older Zope server on port 8080 fields that request (with SiteAccess converting URLs) and sends it back to the browser, which displays it in the large/right frame. So now the left frame is displaying the objects served by ZServer on port 8080 but the right frame is displaying the contents of some object served by ZServer on port 9090. One outcome of this for me is that I will now test the staging server by running it this way (from bash): SUPPRESS_SITEROOT=1 ./start.bat so that SiteRoot translations are disabled. -- Fred Yankowski [EMAIL PROTECTED] tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to get a name of uploaded file
Hello zopists, I create a small application. User enters file via web interface, and this is parsed and pushed into SQL. the input form is DTML method like this DTML method: send_file == I use [] instead of [dtml-var standard_html_header] ... [form action="receive_file" method="post" enctype="multipart/form-data"] ... [input type="File" name="file" value=""] ... [input type="submit" value=" Send File "] ... [/form] [dtml-var standard_html_footer] == end of file = The receive_file is external python method = receive_file, function name= rcv_file from string import strip import pg def rcv_file(self, REQUEST): ... fileobj = REQUEST.form['file'] filelist = fileobj.readlines() fileobj.close for line in filelist: (* parse line and push it into SQL server *) ... == end of file Is there any way how to get a name of uploaded file. I mean another than let user type the name in another field. I was looking in REQUEST object and nothing about the filename found there. I allso read Zope Book, digging in documentation arround, but with no success. -- Radek Hnilica Radek_Hnilica at LinuxFan dot 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] Found an fatal error in Zope 2.3.0 :) RESOLVED
This problem was completly resolved. My mistake, I incorrectly create debian binary package. After creating correct package the new zope 2.3.0 is up and running. -- Radek Hnilica Radek_Hnilica at LinuxFan dot 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] orphan handling/sequence-size bug?
sorry, got probably lost in space hi there, we take the sequence-size as seq_size for a dtml-in statement from a formular with 'get' (as shown in DTML.html under batch processing) (dtml-in rep.sql size=seq_size start=query_start) if the seq_size is 2 and larger there is no trouble, if it is 1 (seq_size=1query_start=2) 'next-sequence' does not exist in the second batch. therfore it doesn't show a next-batch-link in the second batch. seems to be a problem with the orphan handling thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.soli-con.com begin:vcard n:Zanger;Olaf Marc tel;cell:+41-76-572 9782 tel;work:+41-31-332 9782 x-mozilla-html:FALSE url:www.soli-con.com org:soli-con Engineering Zanger adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland version:2.1 email;internet:[EMAIL PROTECTED] title:Dipl.-Ing. note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A x-mozilla-cpt:;-32176 fn:Olaf Zanger end:vcard begin:vcard n:Zanger;Olaf Marc tel;cell:+41-76-572 9782 tel;work:+41-31-332 9782 x-mozilla-html:FALSE url:www.soli-con.com org:soli-con Engineering Zanger adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland version:2.1 email;internet:[EMAIL PROTECTED] title:Dipl.-Ing. note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A x-mozilla-cpt:;-32176 fn:Olaf Zanger end:vcard
[Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)
Hi, folks-- I'm trying to set up a Zope-based intranet web site for my company, but there's a very puzzling performance issue. Basically, any attempt to connect to the server from another machine on the local network is really, really slow: for example, I just visited the default home page (the "Welcome to Zope" page that comes w/ the installation), and it took 25 seconds to load. More complex pages can take over a minute. I don't think Zope itself is running slowly, because if I log onto the server and access the site locally, it pops right up. I'm also running IIS on the same machine, and have no trouble accessing the IIS website from various hosts (I did make sure they weren't trying to use the same port -- Zope is on 8080, IIS is on 9680). Here's some info about the environment: Server Platform: OS: Windows 2000 Professional w/ Service Pack 1 (installed w/ Norton Ghost) Hardware: Celeron 600 Mhz, 160MB RAM Quirks: I added PyXML and ReportLab to zope_dir\lib\python. I also added an external path with some other python packages to sys.path in z2.py. There is a separate Python 1.5.2 installation on the machine. Network: Type: Ethernet 10-base-T, single subnet Router: FlowPoint DSL OSs: Mainly Windows 2000, with one Solaris box and a small but varying number of Linux, NT 4.0, and Win98 boxes. Domain Controllers (2): Windows 2000 Server running in mixed mode By the way, we have frequent performance problems with the network, but nothing nearly as severe as this. We suspect that not having enuf client licenses for Win2k Server may be part of the problem, but I don't see why that would affect Zope, especially since IIS seems to be fine. I would greatly appreciate any suggestions you may have. -- Matt Gushee Consultant Architag International 6989 South Jordan Road, Suite 6 Englewood, CO 80112 Phone: 303.766.1336, x124 Cell:303.941.0759 Fax: 303.699.8331 E-Mail: [EMAIL PROTECTED] Web: http://architag.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] Additional user properties
Hello Jens, to add additional user attributes you will need to replace the standard user folder that ships with zope with one of the replacement user folders available on zope.org. looking through the products or searching for user folder should bring up quite a few results. I already tried that. But I didn't find any product which mentions additional properties. Do you know one? Thanks Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905Fax: +46-8-534 609 06 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zope.org downtime
Zopatistas, Zope.org has suffered a disk failure that evidently our raid array did not correctly recover from. We should be back up shortly in "degraded" mode. I am going to be working on changing things around so that the zeo clients to continue operating in read-only mode even if the storage/ staging server goes down. Once replicated storage comes about, this single point of failure will go away. Thanks for your understanding, -- ethan mindlace fremen zopatista community liason ___ 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] Extremely slow connection on local network (Zope 2.2.5, Win2k)
If you visit localhost via the IP address (127.0.0.1), do you experience the same problem? - Original Message - From: "Matt Gushee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 3:16 PM Subject: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k) Hi, folks-- I'm trying to set up a Zope-based intranet web site for my company, but there's a very puzzling performance issue. Basically, any attempt to connect to the server from another machine on the local network is really, really slow: for example, I just visited the default home page (the "Welcome to Zope" page that comes w/ the installation), and it took 25 seconds to load. More complex pages can take over a minute. I don't think Zope itself is running slowly, because if I log onto the server and access the site locally, it pops right up. I'm also running IIS on the same machine, and have no trouble accessing the IIS website from various hosts (I did make sure they weren't trying to use the same port -- Zope is on 8080, IIS is on 9680). Here's some info about the environment: Server Platform: OS: Windows 2000 Professional w/ Service Pack 1 (installed w/ Norton Ghost) Hardware: Celeron 600 Mhz, 160MB RAM Quirks: I added PyXML and ReportLab to zope_dir\lib\python. I also added an external path with some other python packages to sys.path in z2.py. There is a separate Python 1.5.2 installation on the machine. Network: Type: Ethernet 10-base-T, single subnet Router: FlowPoint DSL OSs: Mainly Windows 2000, with one Solaris box and a small but varying number of Linux, NT 4.0, and Win98 boxes. Domain Controllers (2): Windows 2000 Server running in mixed mode By the way, we have frequent performance problems with the network, but nothing nearly as severe as this. We suspect that not having enuf client licenses for Win2k Server may be part of the problem, but I don't see why that would affect Zope, especially since IIS seems to be fine. I would greatly appreciate any suggestions you may have. -- Matt Gushee Consultant Architag International 6989 South Jordan Road, Suite 6 Englewood, CO 80112 Phone: 303.766.1336, x124 Cell:303.941.0759 Fax: 303.699.8331 E-Mail: [EMAIL PROTECTED] Web: http://architag.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 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] Extremely slow connection on local network (Zope 2.2.5, Win2k)
Hmmm. I have a feeling that this may be related to a DNS lookup problem in user folders that was solved in Zope 2.3. Is it feasible for you to try 2.3? - Original Message - From: "Matt Gushee" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 3:52 PM Subject: Re: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k) Chris McDonough wrote: If you visit localhost via the IP address (127.0.0.1), do you experience the same problem? Nope. When I'm sitting in front of the server, the connection is equally fast whether I use the actual host name, 'localhost', 127.0.0.1, or the external IP address (which is assigned by DHCP, by the way). Similarly, from a remote host, the connection is equally slow whether I use the bare or qualified hostname, or the IP address. I'm trying to set up a Zope-based intranet web site for my company, but there's a very puzzling performance issue. Basically, any attempt to -- Matt Gushee Consultant Architag International 6989 South Jordan Road, Suite 6 Englewood, CO 80112 Phone: 303.766.1336, x124 Cell:303.941.0759 Fax: 303.699.8331 E-Mail: [EMAIL PROTECTED] Web: http://architag.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] www.zope.org down?
On Wed, Jan 31, 2001 at 01:40:54PM -0600, Steve Drees wrote: Or is it a routing issue on my end? No, it is a problem on our end. Bind has been upgraded yesterday (probably related to the security issues found this week), and the latest release must be giving our hosting provider some problems. With bind bailing out, Zope.org won't accept new connections. Before the refusal of connections, mail didn't work either, so all Tracker, Zope.org registartion and review activities were broken. bayMountain is working to resolve the problems. -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Trying to Upload a File
Yvonne Totty writes: Anyway, I have a .pdf file going into a directory. I go to 'Add File' and I get the error I sent before. The directory happened to be in a "LocalFS". Maybe, you are affected by a Zope 2.3/LocalFS incompatibility. Search the mailing list archives. I saw recently (today or yesterday) a path for LocalFS. 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] 2.3 PythonScripts problem...
On Monday 29 January 2001 20:45, Dario Lopez-Ksten wrote: are you using Internet Explorer to manage your site? No.. I am using Netscape 4.76 under Linux We've had several problems where, in IE, Zope redirects evrything to index_html. We are forced to use Netscape to manage our sites. Is this your case too? We have this problem with 2.2.4, 2.2.5. I never used PythonScripts under 2.2.x, only PythonMethods. /dario Curtis. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] www.zope.org down?
Or is it a routing issue on my end? ___ 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] www.zope.org down?
Steve Drees wrote: Or is it a routing issue on my end? Dead as a doornail for me :-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 )