Re: [Zope-dev] Recursive folders from Python
Try something like (taken from my own code, so it works for me, caveta emptor): def mkcontext(self,context=None): global default_dd if not context: return 'EH!' c=string.split(context,'/') newself=self for a in c: try: newself.manage_addFolder(a,createPublic=0,createUserF=0,REQUEST=getattr(self ,'REQUEST',None)) except: pass newself=getattr(newself,a) ## this is the relevant line newself.manage_addLocalRoles(c[-1],['Manager']) try: newself.manage_addDTMLMethod('index_html','Start Page',file=default_dd) except: pass This func takes a slash separated list of folders (actually a NDS context like 'dacs/media/stf/wmlph' and creates the folder hierarchy. It's probably overkill for what you want but the relevant line is the getattr one (as marked). hth Phil - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Jason Spisak" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 30, 2000 6:43 PM Subject: Re: [Zope-dev] Recursive folders from Python Jason Spisak writes: Does anyonw know why this code won't create a folder within a folder. It's tells me the id is already in use, so that means it's not descending into the newly created folder to make another folder. def create(self): for digit in range(0, 10): folder= self.manage_addFolder(str(digit), str(digit)) subfolder = self.folder.manage_addFolder(str(digit), str(digit)) Apparently, the above line should add a new folder in (say) '00'. What it does, however, is trying to add the new folder in the object named 'folder' (accessible from 'self'). This may well go wrong. Keep in mind, that the local name space of the function 'create' (where your variable 'folder' lives) is disjunct from the attribute namespace of 'self' (where the attribute 'folder' lives). Dieter ___ 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 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] Using the monitor_client
When using the monitor_client, I do this: -- Start monitor_client usage python monitor_client.py localhost 8099 Enter Password: warning: unhandled connect event Python 1.5.2 (#1, Mar 11 2000, 13:03:53) [GCC 2.95.2 19991024 (release)] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam Welcome to secure_monitor_channel connected 127.0.0.1:2959 at 88fbf80 import Zope app=Zope.app() app.addDTMLMethod Traceback (innermost last): File "/usr/local/Zope/ZServer/medusa/monitor.py", line 94, in found_terminator result = eval (co, self.local_env) File "secure_monitor_channel connected 127.0.0.1:2959 at 88fbf80", line 0, in ? AttributeError: addDTMLMethod app.manage_addDTMLMEthod Traceback (innermost last): File "/usr/local/Zope/ZServer/medusa/monitor.py", line 94, in found_terminator result = eval (co, self.local_env) File "secure_monitor_channel connected 127.0.0.1:2959 at 88fbf80", line 0, in ? AttributeError: manage_addDTMLMEthod app.manage_addDTMLMethod Python Method object at 82ee058 app.manage_addDTMLMethod('tester','tester','tester') '' app._p_jar.sync() get_transaction().commit() warning: unhandled close event closed. morten@slakka:/usr/local/Zope/ZServer/medusa -- End monitor_client usage However, when I enter the management screen of the Zope instance, no DTMLMethod called tester is listed.. (I used http://www.zope.org/Documentation/Misc/DEBUGGING.txt as a guide..) Can anyone see what I'm doing wrong? Thanks in advance. -Morten ___ 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] ZPatterns + Skinscript
OK I think I found the problem(s): *** Expressions.py 2000/10/18 23:11:55 1.1.1.3 --- Expressions.py 2000/10/31 14:14:09 *** *** 133,139 def eval(self,mapping): """Return the result of looking up/calling the name from 'mapping'. If the object was created with 'call==1', call it before returning it.""" ! return md.getitem(self.name,self.call) del Eval, expr_globals, TemplateDict, Base, ComputedAttribute --- 133,139 def eval(self,mapping): """Return the result of looking up/calling the name from 'mapping'. If the object was created with 'call==1', call it before returning it.""" ! return mapping.getitem(self.name,self.call) del Eval, expr_globals, TemplateDict, Base, ComputedAttribute *** SkinScript/Compiler.py 2000/10/18 23:11:56 1.1.1.4 --- SkinScript/Compiler.py 2000/10/31 14:12:09 *** *** 168,174 class Compute(AST): type = 'COMPUTE' ! def __init__(self,*args,**args): self._kids=list(args)+kw.items() class Trigger(Compute): --- 168,174 class Compute(AST): type = 'COMPUTE' ! def __init__(self,*args,**kw): self._kids=list(args)+kw.items() class Trigger(Compute): Try these patches and see if it works... -steve ___ 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] Using the monitor_client
[Yves-Eric Martin] | - Zope.app() gives you a *copy* of the *real* application object. | - app._p_jar.sync() reloads your copy with the real (losing your changes) Ah, there it is; sync discards the changes made from the monitor, and then reloads... An extra thanks for the thorough (not-very-newbie-like) explanation, much appreciated! =) -Morten ___ 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] Using the monitor_client
Yves-Eric Martin wrote: I am no Zope monitor expert, but maybe you will find my newbie point For some definition of newbie... :-) of view helpful. Here is my understanding of the magic of this very helpful tool: - Zope.app() gives you a *copy* of the *real* application object. - app._p_jar.sync() reloads your copy with the real (losing your changes) - get_transaction().commit() writes your copy to the real (applying your changes) I didn't realize sync() was there. Thanks for the tip! Shane ___ 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] ZPatterns + Skinscript
Hi Joachim, "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim Hi Steve, Joachim that did it, many thanks, how did you debug this ? The debugger is your friend. ;-). Seriously I'd be lost without it: http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend Joachim By the way, it only work if specify a DataSkin derived ZClass Joachim under the Storage tab. Yes... did you attempt to use a 'pure' DataSkin? -steve ___ 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] ZPatterns + Skinscript
Hi Steve, On Tue, 31 Oct 2000, Steve Spicklemire wrote: Joachim By the way, it only work if specify a DataSkin derived ZClass Joachim under the Storage tab. Yes... did you attempt to use a 'pure' DataSkin? after your advise not to use a 'pure' DataSkin, I did all the testing with a DataSkin derived ZClass, when that was working, I tried the 'pure' DataSkin and it didn't work. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ 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] Compiling of the DynPersist module (ZPatterns)
At 04:44 PM 10/30/00 +0100, Morten W. Petersen wrote: After compiling the DynPerist module, I try to import it in the Python interpreter: """ morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns gcc -o DynPersist.so -c DynPersist.c -I../../ZODB -I../../../Components/ExtensionClass -I/usr/include/python1.5 morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns python Python 1.5.2 (#1, Mar 11 2000, 13:03:53) [GCC 2.95.2 19991024 (release)] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam import DynPersist Traceback (innermost last): File "stdin", line 1, in ? ImportError: ./DynPersist.so: ELF file's phentsize not the expected size """ Any ideas what I'm doing wrong (is it maybe the compiler)? There's a couple things wrong here. First, you're compiling a .c directly to an .so, which is wrong. GCC is obeying your command and making a .o file with an .so extension, which will not work. You really should use the standard python module make process. Copy Makefile.pre.in from your python tree into the directory, then run "make -f Makefile.pre.in boot", followed by "make". Then you'll end up with a working DynPersist.so. Second, don't try to load it from python in the ZPatterns directory, because DynPersist is dependent on the cPersistence and ExtensionClass .so modules, which Python won't be able to find if you run it in that directory. You need to include the directories containing those things on your PYTHONPATH, if you want to use it. As a practical matter, however, DynPersist is pretty useless outside the Zope environment, so I'd say just build it the correct way and give it a try in Zope. ___ 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] ZPatterns + Skinscript
At 04:42 PM 10/31/00 +0100, Joachim Schmitz wrote: Hi Steve, On Tue, 31 Oct 2000, Steve Spicklemire wrote: Joachim By the way, it only work if specify a DataSkin derived ZClass Joachim under the Storage tab. Yes... did you attempt to use a 'pure' DataSkin? after your advise not to use a 'pure' DataSkin, I did all the testing with a DataSkin derived ZClass, when that was working, I tried the 'pure' DataSkin and it didn't work. DataSkin is strictly a mix-in class. Sometimes I forget to remind people of that, and sometimes I even forget it myself. :( ___ 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] ZPatterns + Skinscript
"Phillip J. Eby" wrote: DataSkin is strictly a mix-in class. Sometimes I forget to remind people of that, and sometimes I even forget it myself. :( DataskinAddons provides a nice DataSkin-derived class for debugging purposes - it has a debug() method that prints out __dict__, and lets you getattr attributes through the web as well. So you can use that for testing purposes. http://www.zope.org/Members/stevea/DataSkinAddons -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C ___ 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] ZPatterns/PlugIns bug fix releases
I've released new 0.4.3 beta 2 versions of ZPatterns and PlugIns to fix the minor bugs reported to date in beta 1. Specifically, the PlugIns package now contains a "help" directory, and the problem with "name" shorthand in SkinScript has been fixed as well. They can be found in the usual places. (By the way, if you haven't yet seen the latest zope.org download page, it's really cool... go to http://www.zope.org/Products/ and check it out.) ___ 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] Questions about implementing object models with ZPatterns
Hi, How do I implement gen-spec classes using ZPatterns and ZClasses? For example, I want to implement Person and Customer. Writing it in Python, it would be easy to subclass Person to get Customer, and Customer would inherit Person's properties and methods. If I instead create a specialist and ZClass for each class, do I use a SkinScript to remap Person's properties into Customer? And what about the methods - Customer can't inherit Person's methods, so I have to write methods in Customer which call the same methods in Person. This seems terribly complicated... am I missing something? Another question: In Coad's examples, if a class has an 'n' order relationship to another class - say Order and OrderItems, Order would contain a list of OrderItems. Each OrderItem would contain the id of the Order it belongs to. It seems to me that it would be easier for Order to call OrderItems.getItemsForOrder(self.id), then I don't have to maintain a list in Orders, and if I add an OrderItem the Order will immediately know about it without me having to call it and tell it the OrderItem was added. Is there anything wrong with this approach? TIA, Itai -- Itai Tavor"Je sautille, donc je suis." C3Works[EMAIL PROTECTED] - Kermit the Frog "If you haven't got your health, you haven't got anything" ___ 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] Questions about implementing object models with ZPatterns
At 12:35 PM 11/1/00 +1100, Itai Tavor wrote: Hi, How do I implement gen-spec classes using ZPatterns and ZClasses? For example, I want to implement Person and Customer. Writing it in Python, it would be easy to subclass Person to get Customer, and Customer would inherit Person's properties and methods. If I instead create a specialist and ZClass for each class, do I use a SkinScript to remap Person's properties into Customer? And what about the methods - Customer can't inherit Person's methods, so I have to write methods in Customer which call the same methods in Person. This seems terribly complicated... am I missing something? If you want subclasses, just subclass ZClasses. As for the remapping, etc., it depends on what you want to do. Keep in mind that Specialists are created per *role* or *interface*, not per class. You can have a "People" specialist that has a personRack and a customerRack in it, for example. Specialists are application- and usage-driven; you don't always end up creating specialists for every class in your object model. (By the way, note that if you have a personRack and customerRack in the same specialist, they can share data plug-ins (such as SkinScript methods) placed directly in the specialist. The ranking order of the parent plug-ins in the child racks is determined by where you place a "Link to Parent Data Plug-Ins" in the racks' data plug-in lists.) Another question: In Coad's examples, if a class has an 'n' order relationship to another class - say Order and OrderItems, Order would contain a list of OrderItems. Each OrderItem would contain the id of the Order it belongs to. It seems to me that it would be easier for Order to call OrderItems.getItemsForOrder(self.id), then I don't have to maintain a list in Orders, and if I add an OrderItem the Order will immediately know about it without me having to call it and tell it the OrderItem was added. Is there anything wrong with this approach? Nothing at all. It's the recommended approach, actually. This is how you make frameworks work... by delegating to specialists responsible for a role in the application. That is, instead of the Orders system having to know anything about how order items are actually implemented, it can delegate that function to an OrderItems specialist that could have such things as DiscountItems, ReturnItems, and all sorts of other objects that implement an OrderItem interface. Similarly, rather than an Order providing its own interface for entering an order item, the UI code can be (should be) placed in the OrderItems specialist, and called by the Order object's add/edit forms. Encapsulation at its very best. :) That's the ZPatterns way; the tools were specifically created to make it easy to do things the "right" way from a seperation-of-powers standpoint. ___ 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] Questions about implementing object models withZPatterns
Phillip J. Eby wrote: At 12:35 PM 11/1/00 +1100, Itai Tavor wrote: Hi, How do I implement gen-spec classes using ZPatterns and ZClasses? For example, I want to implement Person and Customer. Writing it in Python, it would be easy to subclass Person to get Customer, and Customer would inherit Person's properties and methods. If I instead create a specialist and ZClass for each class, do I use a SkinScript to remap Person's properties into Customer? And what about the methods - Customer can't inherit Person's methods, so I have to write methods in Customer which call the same methods in Person. This seems terribly complicated... am I missing something? If you want subclasses, just subclass ZClasses. As for the remapping, etc., it depends on what you want to do. Keep in mind that Specialists are created per *role* or *interface*, not per class. You can have a "People" specialist that has a personRack and a customerRack in it, for example. Specialists are application- and usage-driven; you don't always end up creating specialists for every class in your object model. Ok... I think I get the "Specialist per role, not per class" part. But I still can't make the jump from a class diagram to a ZClass/Specialist setup. I can solve some of it by subclassing ZClasses. So, if I need Customers and Resellers, I'll make a Specialist for each, and a Customer and Reseller ZClasses, both subclassed from Person which stores common properties for a person. This part is ok. But it gets more complex than that. Take this example: Every OrderLineItem object can have one or more Payment objects associated with it. There are 3 possible payment types - Check, Charge and BankDeposit, so I make a ZClass for each one, all subclassed from a general Payment ZClass. I create one Payments Specialist with 3 Racks. Where do I store methods that are specific to one payment type? In the Rack? I can't store them in the Specialist - it would be a mess, and I can't store them in the ZClass, because the ZClass doesn't know about the rest of the application. Actually, writing this down makes me realize that it could work... would Payments.getItem(some_payment_id).someMethod() call someMethod in the Rack if one exists, and the one in the Specialist if not? I guess that would make it very easy... subclassing moves into the Specialist. Another problem I'm having is how to store id's for different objects in the the same field. In the Payments example above this is not a problem, because all payments are supplied by the Payments specialist. But what about another example - Customers and Resellers are two totally different roles, so they each get a Specialist. the Payment object has from_id and to_id fields, and each of those can hold the id of a customer or reseller, or some special code to indicate the store. I could add from_type and to_type fields, or I could prefix the id with a code letter, but neither seem like a good solution. Is there a recommended approach for solving this problem? (By the way, note that if you have a personRack and customerRack in the same specialist, they can share data plug-ins (such as SkinScript methods) placed directly in the specialist. The ranking order of the parent plug-ins in the child racks is determined by where you place a "Link to Parent Data Plug-Ins" in the racks' data plug-in lists.) Another question: In Coad's examples, if a class has an 'n' order relationship to another class - say Order and OrderItems, Order would contain a list of OrderItems. Each OrderItem would contain the id of the Order it belongs to. It seems to me that it would be easier for Order to call OrderItems.getItemsForOrder(self.id), then I don't have to maintain a list in Orders, and if I add an OrderItem the Order will immediately know about it without me having to call it and tell it the OrderItem was added. Is there anything wrong with this approach? Nothing at all. It's the recommended approach, actually. This is how you make frameworks work... by delegating to specialists responsible for a role in the application. That is, instead of the Orders system having to know anything about how order items are actually implemented, it can delegate that function to an OrderItems specialist that could have such things as DiscountItems, ReturnItems, and all sorts of other objects that implement an OrderItem interface. Similarly, rather than an Order providing its own interface for entering an order item, the UI code can be (should be) placed in the OrderItems specialist, and called by the Order object's add/edit forms. Encapsulation at its very best. :) That's the ZPatterns way; the tools were specifically created to make it easy to do things the "right" way from a seperation-of-powers standpoint. Thanks! I feel a little better now :) -- Itai Tavor"Je sautille, donc je suis." C3Works[EMAIL PROTECTED] - Kermit the Frog "If you haven't got your health, you
Re: [Zope] Almost Done.
hi Jason, dtml-in tablename by itself does what you ask it to do: it runs through the rows of your tinytable and that's it. If you want to see the content of your table, you'll have to construct a html table with fieldnames in the cells: table tr tddtml-var fieldname1/td tddtml-var fieldname2/td ... tddtml-var fieldnameN/td /tr /table Then you're done. cb - Original Message - From: Jason C. Leach [EMAIL PROTECTED] To: Erik Enge [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 8:03 AM Subject: Re: [Zope] Almost Done. hi, Gave that a shot, no luck. I just dones nothing where as if I misspel the object ID it screams (so it's finding it). I can edit and View the object fine, just not call it. I'm running Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A j. .. . Jason C. Leach ... University College of the Cariboo. .. On Tue, 31 Oct 2000, Erik Enge wrote: On Mon, 30 Oct 2000, Jason C. Leach wrote: hi, Hi. How do I get a TinyTable to display it's contents? All I find in the docs is !--in# tablename-- and that does not seem to work for me, unles I am lacking a tag? Try this: dtml-in tablename (and next time, post the error message, Zope version and OS you are running :-) ___ 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] one more
Hi, I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Thanks bye, jacintha ___ 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 Book Beta
On 30 Oct 2000, 17:32 Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] siteaccess, hosting etc, sanity check
Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: Jonathan Cheyne wrote: Ah, no, I though that was if you were doing the virtual hosting in zope (as opposed to virtual hosts in httpd.conf or a rewrite)? I will add one, pronto Sorry, I didn't mean to confuse you. If you're using Apache Virtual hosting, you don't need an access rule. I thought that you might have one that was conflicting. One thing that might help you figure this out is to add a 'debug' DTML Method to your root folder that contains: dtml-var REQUEST And trying various URLs with /debug tacked on the end to see how the HTTP request is being rewritten. HTH, Michael Bernstein. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] AW: [Zope] Zope Book Beta
Thanks! Pretty neat thing :-) I like the ducks: a-hi-ru. "Kore wa desu? Ahiru desu." It must have been something like that... p@ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Wolfgang Strobl Gesendet: Dienstag, 31. Oktober 2000 10:58 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: [Zope] Zope Book Beta On 30 Oct 2000, 17:32 Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Book Beta
There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel ___ 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] Gadfly
jacintha menezes wrote: I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Soft] [Fwd: [Zope] PoPy]
first of all, always install the latest versions of popy and zpopyda. you can get them on our website, www.mixadlive.com. you don't need to compile the .py files of the database adapter, zope takes care of loading them through python that will compile them on the fly. please, when a compilation fails, send use some more information, at least the compiler error message and, if you can, installed packages/programs, etc... hope this helps, federico p.s. if you use the Debian distribution you can install popy and zpopyda by simply invoking "apt-get install python-popy zope-popyda" I am new with Zope and I don't know Python. I want to use Zope with PostgreSQL. I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ? I have tried, and some errors appeared : when compiling __init__.py : ImportError: No module named Globals when compiling PoPy_db.py : The PoPy module is old: Update your version of PoPy So, I tried to install PoPy-1.3.6, but I failed! Is there someone who could help me ??? :-( -- Federico Di Gregorio MIXAD LIVE System Programmer [EMAIL PROTECTED] Debian GNU/Linux Developer Italian Press Contact[EMAIL PROTECTED] Those who do not study Lisp are doomed to reimplement it. Poorly. -- from Karl M. Hegbloom .signature ___ 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 Book Beta
Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: two more questions
You should probably try to give your mails more helpful subject lines, something like "adding acl_users and databases" would have been great in this case ;-) jacintha menezes wrote: 1. I have some dtml tags to add new acl_users sent by Daniel .But role doesn't get assigned even if i specify it. Kindly let me know, is there anyway by which when i add an acl_user, role as manager is taken automatically. tags used are as follows : dtml-call "REQUEST.set('name', login_name)" dtml-call "REQUEST.set('password', password)" dtml-call "REQUEST.set('confirm', confirm)" dtml-call "REQUEST.set('roles', roles)" dtml-call "acl_users.manage_users(submit='Add', REQUEST=REQUEST)" Not really sure what you're trying to do here. It soudns like you're trying to add new users to an acl_users folder. Not sure why you need all those REQUEST.set's, why not just pass them as keyword arguments to manage_users? 2. Is there any other reliable database which we can use. MySQL, Oracle, PostGres... all have adapters for Zope. You could, of course, use the ZODB, but that's a slightly different kettle of fish. cheers, Chris PS: Please email the list and CC me in rather than just emailing me, there are many more people on the list who will have more knowledge than me in the areas you're asking about. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ssl w/ modrewrite
On Mon, Oct 30, 2000 at 04:10:51PM +, Bill Welch wrote: Please say what Port, Listen, and VirtualHost directives you have in place. I think that's really where the trouble. but it works as typed in the server withour CRs.) I added modssl, but when I go in on an https I get the original apache root page, and can only access zope at https://address/cgi-bin/Zope . Furthermore, since Thanks! I copied my modrewrite stuff into the SSL virtual host and everything worked fine after that. -- Harry Henry Gebel, ICQ# 76308382 West Dover Hundred, Delaware ___ 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 and Sybase Stored Procedures
Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am trying to do all my SQL requests by using stored procédures. The only thing that goes wrong is that I don't know how to make a call to a Sybase Stored Procedure within Zope. Can anyone help me ? Sincerly, Badara POUYE Infosources 16, rue Hoche Tour Kupka B 92906 Paris La Défense Tel.: (+33)141028000 ___ 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] Almost Done.
Jason pondered: How do I get a TinyTable to display it's contents? All I find in the docs is !--in# tablename-- and that does not seem to work for me, unles I am lacking a tag? Try it like this: dtml-in tablename dtml-var fieldname1 dtml-var fieldname2br /dtml-in where tablename is the name of your table, and fieldname1, fieldname2 are names of fields. I've not used TinyTables, but this works with other tabular systems. Later, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] how do I get rid of 'ghost' objects in Data.fs
Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info maycontain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' 215 % grep -i trackerbase Data.fs Binary file Data.fs matches doh! I change my PYTHONHOME to point to a Zope 2.2.1 installation that a lot of servers use. The lib/python/Products directory there shows no TrackerBase there. No TrackerBase in the (local, ie server-specific) directory, Products, either. Can anyone give me a clue as to where to look for this errant Product? Tone ps *excellent* news about BDFL and his troupe joining DC! -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope ___ 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] meta type?
Hallo Jason, you are on the right way. Try this in a folder: - dtml-in all_meta_types mapping dtml-var name /dtml-in - You'll get the names of all the metatypes in the current folder. Bye Sven P.S.:the "available objects" button shows all available metatypes in your installation(you can add more by installing products or creating them on your own). = Original Message From "Jason C. Leach" [EMAIL PROTECTED] = hi, What is ment by a meta type? Is that like 'Image' in the case of images, and Folder in the case of folders? j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ 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] ZDNet compares 4 our rivals
Hello! ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP: http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Scripting in ColdFusion found to be the best choice :) Oleg. Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how do I get rid of 'ghost' objects in Data.fs
I had a similar problem a month ago with PTK and ZDiscussions and I consider this to be corruption of the ZODB not related to the particular products. You might be able to fix it by going into the DB directly through python; stop zope start python in zope/lib/python 'import Zope, ZServer; root = Zope.app(); dir(root)' and dig around from there I didn't know that trick at the time, so I fixed it by: exporting my objects from the root folder (fortunately, I'm virtual hosting and I only had to export a couple of folders) stopping zope replacing Data.fs with Data.fs.in starting zope importing my objects On Tue, 31 Oct 2000, Tony McDonald wrote: Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info maycontain clues Error value: None ___ 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] Restart Zope script
Hello. Do you like my script to restart Zope? I don't. I followed instructions in the Zope archive to write a restart script for Zope. It works if I run it from the command line but if I put it in a cron job, it hangs and does not start properly. Can you help me? THANK YOU. Heather #!/usr/bin/python import os, string # My Zope is installed in /usr/zope # So the commands to stop and start it are, stopcmd = "/usr/zope/stop" startcmd = "/usr/zope/start " # Command to check Zope processes running, cmd = "ps aux | grep zope" # Find the Zope PIDs that are actually running, readstdin = os.popen(cmd).readlines() pids = [] for eachline in readstdin : words = string.split(eachline) if len(words) 2 : pids.append(words[1]) pids.append(string.split(eachline)[1]) # Find the PIDs that should be running, pidsfile = "/usr/zope/var/Z2.pid" f = open(pidsfile, 'r') data = f.read() f.close() runningpids = 0 zopepids = string.split(data) for eachpid in zopepids : if eachpid in pids : runningpids = runningpids + 1 if runningpids != 2 : os.popen(stopcmd) os.popen(startcmd) __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Book Beta
Phil Harris wrote: Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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 Book Beta
Nah, I use the offical stuff , Adobe Distiller. For the eBook stuff I use a Microsoft Word Add-in, available from www.pocketpc.com (really microsoft under a pseudonym) hth Phil - Original Message - From: "Ender" [EMAIL PROTECTED] To: "Phil Harris" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 12:52 PM Subject: Re: [Zope] Zope Book Beta | Phil Harris wrote: | | Give me a few hours and I'll be knocking out the eBook and PDF versions. | | By the end of the day. | | Phil | | Hi Phil, | | how do you do that? for the pdf are you dumping stuff into reportlab? | | Kapil | | | - Original Message - | From: "Chris Withers" [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] | Sent: Tuesday, October 31, 2000 11:49 AM | Subject: Re: [Zope] Zope Book Beta | | There a PDF of it anywhere? | | cheers, | | Chris | | Michel Pelletier wrote: | |Amos and I are gibbering like madmen with excitement to announce the |Zope Book Beta. This is the complete, technical draft of the book with |all screenshots (but minus illustrations, those are on there way!). |Some other things like a colophon and information about the authors is |missing. The beta includes all completed chapters, the API reference, |and the DTML reference. We've received over a hundred comments, |corrections, and ideas from you the community and it has made a much |better book. This is the one to print out and give to your friends as |christmas gifts, folks, so get crackin and start reading at |http://www.zope.org/Members/michel/ZB/. | |Enjoy, | |-Michel | |___ |Zope maillist - [EMAIL PROTECTED] |http://lists.zope.org/mailman/listinfo/zope |** No cross posts or HTML encoding! ** |(Related lists - | http://lists.zope.org/mailman/listinfo/zope-announce | http://lists.zope.org/mailman/listinfo/zope-dev ) | | ___ | Zope maillist - [EMAIL PROTECTED] | http://lists.zope.org/mailman/listinfo/zope | ** No cross posts or HTML encoding! ** | (Related lists - |http://lists.zope.org/mailman/listinfo/zope-announce |http://lists.zope.org/mailman/listinfo/zope-dev ) | | ___ | Zope maillist - [EMAIL PROTECTED] | http://lists.zope.org/mailman/listinfo/zope | ** No cross posts or HTML encoding! ** | (Related lists - | http://lists.zope.org/mailman/listinfo/zope-announce | http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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 rendering of a folder
Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
Wolfgang Strobl wrote: On 30 Oct 2000, 17:32 Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. I believe that O'Reilly doesn't want the book redistributed before it is printed. I'll recheck with them. Take a look at the copyright stuff info on each page. Luckily the book will soon be under an open content license, and then you'll be free to do what ever you wish. Thanks for taking a look at the book! -Amos -- Amos Latteier mailto:[EMAIL PROTECTED] 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 )
[Zope] preventing acquisition
I have some folderish Zclasses which have index_html methods to implement a UI. I would like to inhibit acquisition of these. So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like dtml-if "PARENTS[0].id not in PARENTS[1].objectIds()" dtml-raise NotFound h2You're not supposed to be looking at dtml-var "absolute_url()" /h2 /dtml-raise /dtml-if in my index_html, but this doesn't work for the second case. Is there a generic way to do this? -- 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] Mapping tools with Zope
I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T -- Trevor Wiens [EMAIL PROTECTED] The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) ___ 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] Sorry, resolved
Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Danny William Adair Gesendet: Dienstag, 31. Oktober 2000 19:38 An: [EMAIL PROTECTED] Betreff: [Zope] Change rendering of a folder Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
On 31 Oct 2000, at 10:39, Amos Latteier wrote: I believe that O'Reilly doesn't want the book redistributed before it is printed. It's gone. I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? Take a look at the copyright stuff info on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope Apache/ProxyPass : environment variables
Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... On Tue, 31 Oct 2000, TFE WSD JARVIS JOHN wrote: Yes, but you have to do in it a round about way. (Actually, I've seen mention of a patch to Apache that does this, but I don't think it's neccessary) Here's the setup I'm using: RewriteEngine On RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} [QSA,L,P] RewriteRule ^/p_/(.*)http://localhost:8080/p_/$1 [L,P] RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH -Original Message- From: Aaron Straup Cope [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 5:47 AM To: [EMAIL PROTECTED] Subject:[Zope] Zope Apache/ProxyPass : environment variables Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if it's all in vain. Thanks, ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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 Book Beta
Chris Withers wrote: There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see what I'm talking about. As soon as the book is published it will go under an open content license and we'll make PDF, and probably other formats available. At that time you'll also be able to convert the book to whatever formats you want and redistribute it as you wish. Thanks for your patience. -Amos -- Amos Latteier mailto:[EMAIL PROTECTED] 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] Zope Book Beta
In article [EMAIL PROTECTED], Michel Pelletier [EMAIL PROTECTED] writes Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel ... wonderful, but the stuff on Python methods seems to refer to features which are certainly not in 2.2.2 and apparently not in CVS. Indeed CVS Zope2 doesn't seem to contain any Python method product! Indeed we will apparently soon be able to create XSLT methods! Which potential Zope does the book address? -- 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 )
Re: [Zope] preventing acquisition
In message [EMAIL PROTECTED] iams.com, Farrell, Troy [EMAIL PROTECTED] writes Sorry for the blank. That was my mistake. Try the dtml-with tag and the "only" keyword. ... It's quite difficult to get netscape/ie to do a dtml-with only! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- 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 )
Re: [Zope] Zope Apache/ProxyPass : environment variables
From: Aaron Straup Cope [EMAIL PROTECTED] Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? That, or mangling the URL in some way and then unmangling on the Zope end. If someone out there has any experience with Apache modules, they could earn the undying gratitude of many Zopistas by enhancing mod_forwarding to do this sort of thing. Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
Wolfgang Strobl wrote: On 31 Oct 2000, at 10:39, Amos Latteier wrote: I believe that O'Reilly doesn't want the book redistributed before it is printed. It's gone. I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? That was a joke. Sorry. -Michel ___ 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 Book Beta
Chris Withers wrote: There a PDF of it anywhere? No, we won't produce one until the book goes to an open content license when it hits the shelf. -Michel cheers, Chris Michel Pelletier wrote: Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel ___ 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 Book Beta
Hello Congratulations on getting the book to this stage!! It is very readable and I hope it is well promoted, and well received. One obvious presentation improvement I suggest is that you make ALL zope code references in the same typographic style. For example throughout most of the text you sensibly have DTML and Python examples in courier or equivalent. But in the Appendices, for example http://www.zope.org/Members/michel/ZB/AppendixA.html under sections marked 'Attributes', there is not a clear consistent distinction: encode=string MIME Content-Transfer-Encoding header, defaults to base64. Valid encoding options include base64, quoted-printable, uuencode, x-uuencode, uue, x-uue, and 7bit. If the encode attribute is set to 7bit no encoding is done on the block and the data is assumed to be in a valid MIME format. "encode=string" should display in courier also like all examples. And if possible put one extra line space after each Attribute description before the next entry. Thought this takes up a little more space, it is white space well used adn really helps one to find and absorb this crucial content better. An editorial suggestion I would make is that in the Appendices, MORE examples would be BETTER and clearer definitions and examples of the attributes arguments would really help too. Even a single one or two-line example after each 'Attributes section would be a godsend. I imagine there are lots of juicy examples in the archives. For example check sendmail, mailhost ="mailhostnamegoeshere" Also there is no mention about the sendmail quirkiness of formatting, needing space after the subject: line This is a FAQ and surely belongs in the appendix of the only Zope book. Are there others? In general for the Appendices, please check that explicitly it is clear and consistent when and if anything is returned, and when and how arguments are needed. You all know, and take all this for granted no doubt, but others truly don't. The API aspect is one that holds so many people back and so many questions about real-world use. Copious well placed examples go a long way. I know how hard it is use to make a book and how many endless fiddly time-consuming tasks there are. But it really is worth getting this right. I work for 10 years in the design and production side of book publishing. Ditto the index. I hope you push to make sure your editorial team at OReilly are really behind you on helping to produce a great index and will sweat all the details and typographic minutiae which do matter so much when you hold the final result. A classic example is 'Lingo in a Nutshell' [ORA] which has very detailed examples and excellent tables and appendices, but was marred by a cheap fast shallow index. It was author Bruce Epstein's painful learning curve. It is still the definitive LINGO book, but widely criticized for lack of serious index. Bruce later added stuff online and vowed to fix it in the next edition. As I recall from his post to the Direct-L mailing list, he said that he had not been personally very involved in the index, and as an exhausted and tired new author, he had not reckoned on what could go wrong, nor how important the index is to a static printed paper book. Very different from the dynamic online world where a few searches on google or wherever will get a handy reference, backed up by a post to xyz-mailinglist. Best wishes - Jason Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector ___ 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] Mapping tools with Zope
I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T PS. I'm posting this a second time as I accidentally posted the first message as part of the Zope Book Beta thread. Sorry. -- Trevor Wiens [EMAIL PROTECTED] The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
On 31 Oct 2000, at 12:54, Michel Pelletier wrote: That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope Apache/ProxyPass : environment variables
Aaron Straup Cope writes: I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... The "doc/WEBSERVERS.txt" contains some information about how to convince Apache to pass "REMOTE_USER". I am not sure, it will be enough for you. 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] incorporating generated sub-websites within a Zope site
Fred Yankowski writes: ... publishing content created with standard web design tools via Zope ... There have been some discussions about this in "zope-dev" in relation with "HiperDOM" and "XHTML" templates. Maybe, you search the "zope-dev" archive to get an overview. As far as I know, DC plans to support such publication. HiperDOM might already go some way into this direction (for tools that generate XHTML). There is an easy way to provide header and footer to your content -- provided you are ready to use a bit uncomfortable URLs, i.e. to view an object with URL "u", you use "u/view". "view" is a method (DTML or PYTHON) that operates on "u". It removes the header and footer in "u" and replaces it with header and footer of your choice, after passing values extracted from the original header to the new header (e.g. title, link, meta tags). With some advanced Zope, maybe the "Traversable" product, it might be possible to get around the additional "/view" URL suffix. 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] how do I get rid of 'ghost' objects in Data.fs
Tony McDonald writes: I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info maycontain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' The problem will probably disappear, when you do install "TrackerBase". 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] Gadfly
Chris Withers writes: jacintha menezes wrote: I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. It is very easy to make them persistent. When I remember correctly, it was only necessary to pass "commit" to Gadfly. 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] Re: [Zope-book] Re: [Zope] Zope Book Beta
Hi all, If your talking about me with the PDF and eBook, then if it's a problem I won't redistribute it. It's actually sitting on my machine waiting to go, but I'll hold if need be. Let me know either way. hth Phil - Original Message - From: "Wolfgang Strobl" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Amos Latteier" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 10:08 PM Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta | On 31 Oct 2000, at 12:54, Michel Pelletier wrote: | | That was a joke. Sorry. | | Uh, oh. Well, my thought was as follows: people are already | annoucing making PDF versions, which are a much greater | potential harm to to the number of sales of a printed book.With a | good pdf file, I can get to my local prinshop and get a perfect | bounded book back within half an hour. | | On the other hand, a MS HTML help file is of little use other than | having a compact, searchable file which fits well into a | development environment on Windows. Frankly, I can't see how | these could do any harm to selling your book. To the contrary; I | tend to beleive that having a properly indexed and tightly | integrated online format might even might help selling the book. | | For example; I have HTML help versions _and_ printed copies of | the - outdated - Zope docs, and one of each from the actual | howto-collection, and I'm using them both. | | -- | Wolfgang Strobl | | ___ | Zope maillist - [EMAIL PROTECTED] | http://lists.zope.org/mailman/listinfo/zope | ** No cross posts or HTML encoding! ** | (Related lists - | http://lists.zope.org/mailman/listinfo/zope-announce | http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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] preventing acquisition
Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use dtml-with inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -Original Message- From: Robin Becker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: [EMAIL PROTECTED] Subject: Re: [Zope] preventing acquisition In message [EMAIL PROTECTED] iams.com, Farrell, Troy [EMAIL PROTECTED] writes Sorry for the blank. That was my mistake. Try the dtml-with tag and the "only" keyword. ... It's quite difficult to get netscape/ie to do a dtml-with only! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- 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 )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
At 10/31/00 11:08 PM, Wolfgang Strobl wrote: For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. Wolfgang - How about putting up your HTML help version of the howto-collection? That would be very cool. Thanks! -- Dennis Nichols [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
On Tue, 31 Oct 2000, Wolfgang Strobl wrote: On 31 Oct 2000, at 12:54, Michel Pelletier wrote: That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. I certainly can't speak for O'Rielly, but I can take a guess at their logic. It goes something like this: If people begin reproducing copies of the book, in PDF, HTML Help, whatever form, and distributing it, they will soon be all over the net. It is not in its finished form. It may have misspellings, or technical errors that will (hopefully) be corrected before publication. When the final version comes out, will they be able to guarantee that all old copies of the book are updated with the final version? If someone downloads a copy with a lot of errors, and gets a bad impression of the book, is that fair to O'Reilly, given that it was not the final version they were looking at? If we simply wait until its final before reproducing it, this becomes much easier to manage. At least, that's my $0.02. Wolfgang Strobl --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtual, L.L.C. http://www.goingv.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] I need help.
How to change superuser's password in Zope 2.1.4 Linux? I find some document about this problem.But I can't find file:access and zpasswd.py. Anybody can help me? thanks
Re: [Zope] I need help.
On Wed, 01 Nov 2000, Dylan Chi wrote: Firstly, just so you don't miss it, PLEASE, do NOT send HTML encoded messages to this list. How to change superuser's password in Zope 2.1.4 Linux? I find some document about this problem.But I can't find file:access and zpasswd.py. Anybody can help me? thanks Change to the install directory if Zope, and you will find access and zpasswd.py. zpasswd.py has help in it, so it should be simple enough to figure out something like: python zpasswd.py -u name -p password access should work. Have a better one, Curtis Maloney ___ 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] I need help.
These are normally in the root zope directory. Im sure you can get another version from Zope.org CVS if they have been deleted. - Original Message - From: "Dylan Chi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 7:30 PM Subject: [Zope] I need help. How to change superuser's password in Zope 2.1.4 Linux? I find some document about this problem.But I can't find file:access and zpasswd.py. Anybody can help me? thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZSQL ? PoPy
Hi all Can someone please tell me what is going on here? I have an query that selects data into a temp table. It then deletes some stuff from the temp table Then is deletes some more stuff Then i select the remaining records and drop the table The problem is that when i try to select the remaining records it just hangs. I do a ps on this i and i can see the query is running but it just does not return anything and fills up disk. I am using PoPy 1.4 Postgres 6.5.1 on i386-unknown-freebsd2.2.7, compiled by gcc 2.7.2.1] any clues Thanks Mark ___ 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] Proper way to do a search.
hi, Is this correct: dtml-if _.count(_.str(title_or_id),'Bridge',0) Spam I am. /dtml-if This is part of a larger loop, that prints all the images in a folder with their titles. I'd like to search the object's title for the word Bridge, even though I know it has it, still it does not print my test phrase. Thanks, j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ 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 )