Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?))
On Thu, 28 Jun 2001, Stephan Richter wrote: I think we need to setup a separate mailing list for this project. Can you do that? I think the discussion is getting too specific now. We can use the mk-zprod-devel mailinglist at thingamy.com: URL:http://www.thingamy.com/mailman/listinfo/mk-zprod-devel/ ___ 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: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?))
On Thu, 28 Jun 2001, Stephan Richter wrote: All what the wizard will do is provide the user with a nice interface/GUI to enter the information. I will then pass the information to the above mentioned management methods and the MakeZProduct Product will then generate the code and save it to the file system. Oki. What I currently have is a Zope product that you instanciate (maybe in the context of the wizard) and that instance then provides you with those methods you wanted. The instance is the only thing persisten, since all else will be written out to files (it can quite easily be done to write them as persistent DTML Documents or somesuch if one wanted to pause the setup or something, but that's outside the scope of round 1). BTW, we will assume that the user that runs the Zope engine has write access to /ZOPE/lib/python/Products. Yeah. ___ 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] New Versions of SmartWizard, SmartSections and ProductGenerator Frontend
Hello everyone, I have uploaded my newest development version of SmartWizard and SmartSections, but I am not not sure they are more stable. They fix some serious bugs and some more comfort was added to SmartWizard. I also put the Product Generator Frontend (very, very early version) as an example of SmartWizard at http://www.zope.org/Members/srichter/Products/SmartWizard/ProductGenerator.zexp/view. (requires OrderedFolders, CoreSessionTracking, TransparentFolders, Formulator and SmartSections) Product Links: http://www.zope.org/Members/srichter/Products/SmartWizard (requires OrderedFolders, CoreSessionTracking and TransparentFolders; to make the experience worthwhile: Formulator, SmartSections) http://www.zope.org/Members/srichter/Products/SmartSections (requires OrderedFolders, Formulator) NOTE: All that is in early stages of development. When I come back from my trip, I will stabalize everything and hope to reach version 1.0 of these products quickly. If you have questions and bug reports, please e-mail me. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development Technical Project Management ___ 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: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?))
This will be the last post from on this thread. We moved all discussions to [EMAIL PROTECTED] Sign up at: http://www.thingamy.com/mailman/listinfo/mk-zprod-devel/ Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development Technical Project Management
Re: [Zope-dev] RestrictedDTML w/isPrincipiaFolderish: error with CMF 1.1 and Zope 2.4.0
Joseph Wayne Norton wrote: Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** ^^ Joe, small point, but this belongs on the CMF list only ;-) cheers, Chris ___ 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-CMF] Re: [Zope-dev] RestrictedDTML w/isPrincipiaFolderish: error with CMF 1.1and Zope 2.4.0
Chris Withers wrote: Joseph Wayne Norton wrote: Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** ^^ Joe, small point, but this belongs on the CMF list only ;-) ...so clueless people like me don't cross post all the replies too :-) Chris ___ 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] Re: Zcatalog bloat problem (berkeleydb is a solution?)
The Zope version we use contains the new btree catalog by default. So, when we recreated the catalog from scratch, it was created as a btree catalog. The traces that you saw comes from the new catalog (the btree one). -giovanni - Original Message - From: Chris Withers [EMAIL PROTECTED] To: Giovanni Maruzzelli [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Chris McDonough [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 6:27 PM Subject: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?) Giovanni Maruzzelli wrote: The catalog is a pristine 2.3.3b1 catalog. I'm sure that'll need upgrading then... We have recreated the catalog from scratch because we tried manage_convertBTrees , but it don't work for us, it return with an error (and the same happens with 2.3.3 final): Error Type: TypeError Error Value: second argument must be a class Weird... from your earlier posting it looked like you _had_ successfully upgraded and updated (BTrees.IOBTree in your traceback rather than IOBTree.IOBTree) cheers, Chris ___ 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] CMF 1.1
Hi I have installed Zope2.3.3 with the INSTANCE_HOME SOFTWARE_HOME structure. The $INSTANCE_HOME has the directories var Products and also the files - zctl.py, access, custom_zodb.py and zope.conf. I followed the Advanced Production Site Setup with ZEO. by D Shaw. I have now installed CMF1.1 in the Products directory under $INSTANCE_HOME. When I go the management interface, I am not able to see the CMF under Products in the Control Panel. I start Zope from $INSTANCE_HOME by typing - ./zctl.py start. Can anyone please tell me how I can solve this? Zope version I am using is - 2.3.3 and python version is 1.5.2. Thanks Priya ___ 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] help with external method
Hi... I'm just new with Zope, and I m trying to make an external method with python that return me the names of the files that are in an especific folder of the Zope i.e:the folder: Root Folder/function_repository.. (For files, I mean every kind of them...dtml methods, instances of zclass, etc.). It's that posible? If anyone can help me with thisi'll be very gratefully.thanks... PD: Sory for my English Edgardo Zulian. El Sitio.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 )
Re: [Zope-dev] help with external method
On Fri, 29 Jun 2001, Edgardo Zulian wrote: I'm just new with Zope, and I m trying to make an external method with python that return me the names of the files that are in an especific folder of the Zope i.e:the folder: Root Folder/function_repository.. I'm not quite sure what you want to do, but you could try to add a a DTML Method in the folder which contained this: dtml-in objectValues() dtml-var id /dtml-in This would print all the names (I guess you ment id's) of the objects in that folder. HTH. ___ 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] help with external method
On Fri, 29 Jun 2001, Edgardo Zulian wrote: I'm just new with Zope, and I m trying to make an external method with python that return me the names of the files that are in an especific folder of the Zope i.e:the folder: Root Folder/function_repository.. I'm not quite sure what you want to do, but you could try to add a a DTML Method in the folder which contained this: dtml-in objectValues() dtml-var id /dtml-in Hi, that's work pretty fine, but the problem is that I want to get that result with an external method because then I want to assign that result to a text folder's property ___ 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] Data.fs lost?? ideas?
In an attempt to upgrade the Zope from 2.3.1b1 to 2.3.2 we encountered a problem. All the data in out Data.fs file was lost so it had to be restored from a backup. Any ideas as to what the problem may have been??? Procedure Stopped the Zope instance Changed the Zope instance home and port Restarted Came back to prompt quickly Logs were empty when checked Enabled Debug Restarted Logs show Data.fs is locked Made sure Zope was stopped Killed the process that had the file locked (kill -9) Restart Realised file was 1.6meg not 700 Ideas guys?? Cheers Chris Keyes Andy Dawkins ___ 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] Data.fs lost?? ideas?
Chris Keyes wrote: Restart Realised file was 1.6meg not 700 Data.fs is question was of one of our FreeZope servers :-( Wgh... Anyone got any ideas what could have happened or what we should start looking for? cheers, Chris ___ 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] UML and XMI support now available in TransWarp CVS
Recently, there has been much interest (on Zope-Dev and elsewhere) in creating Zope and Python applications from UML diagrams. Since to my knowledge there are no other Python libraries currently available for UML/XMI processing, I decided to get busy and release a version of TransWarp with support for querying/manipulating UML models and reading XMI files. That version is now available at cvs.eby-sarna.com, for brave UML hackers to experiment with. I say release, but if you've ever heard the jokes about Klingon programmers, you'll know that Klingon programmers do not *release* code. Their code escapes, leaving the bloody corpses of testers, users, and documentation writers in its wake. This is pretty much the case for this rough draft of UML/XMI support. It is functional, but the interfaces are subject to future upheaval as I continue refactoring. This release is ONLY for people who have a good understanding of UML, and aren't afraid to UTSL (Use The Source, Luke). Current Features: * Load an XMI file into a UML Model object * Query UML model using full StructuralModel features and querying interface * Create your own custom classes for UML elements - e.g. you could redefine ModelElement to include a method to print out a nice report on the element's features. You could also implement executable UML with this approach. Current Limitations: * **ALL** model attributes are strings, rather than their correct type, so booleans for example are represented as the strings true and false. Note that this doesn't mean you can't manipulate a UML model which *defines* non-string attributes. It's the attributes of the model *itself* (like the 'isRoot' attribute of a 'GeneralizableElement') which are currently all strings. (This will be fixed when I finish refactoring to the full Service-Element-Feature pattern, and every element class has a corresponding Service object responsible for marshalling to/from strings.) * Only the InMemory StructuralModel implementation can currently be used, mainly because there aren't any other implementations of the StructuralModel. Example of use (note, this is *all* subject to interface upheaval in future): # begin example code from TW.UML import UMLRecipe from TW.StructuralModel.Queries import Type, ANY # if you have your own specs for classes, add them to UMLRecipe first UMLModel = UMLRecipe(name='UMLModel') myModel = UMLModel() myModel.importFromXMI('someXMIfile.xml') # print the names of all classes print myModel.Where(Type('Foundation.Core.Class')).Get('name') # Shortcut to get a type name if you only know the short form... But # it's better to just do this manually once to find out the name for # future use; I'm not guaranteeing that _XMINames will always exist in # its present form! Package = UMLModel.Package._XMINames[0] isPackage = Type(Package) # print the names of all packages which contain other packages print myModel.Where( isPackage ANY('ownedElements',isPackage) ).Get('name') # end example code I'm willing to answer questions about the TW parts of this (how-to's, problems, etc.), but can't provide handholding for anything else. For example, me explaining XMI or the UML metamodel in general is out of scope. So if for example, the code barfs in the 'xml' package because it can't parse your XMI file, it's probably a problem with the program that generated the XMI. If it barfs in the 'TW' package, it's probably something to do with my code, unless you just have a very nastily malformed XMI file (in which case I'll want to see the smallest version you can send me that still produces the error). Feedback from UML/XMI hackers is welcomed and encouraged. Please direct all responses to the TransWarp list, [EMAIL PROTECTED] To subscribe to the TransWarp list, visit: http://www.eby-sarna.com/mailman/listinfo/TransWarp Thanks. ___ 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] Zope 2.4.0b2 seems to be broken on Windows
I installed it on two different machines and get the same error on both: 2001-06-29T21:49:06 PANIC(300) z2 Startup exception Traceback (innermost last): File d:\dev\zope24\z2.py, line 564, in ? File string, line 1, in ? File D:\dev\zope24\lib\python\Zope\__init__.py, line 95, in ? File D:\dev\zope24\lib\python\OFS\Application.py, line 90, in ? File D:\dev\zope24\lib\python\App\Product.py, line 118, in ? File D:\dev\zope24\lib\python\HelpSys\__init__.py, line 87, in ? File D:\dev\zope24\lib\python\HelpSys\HelpSys.py, line 90, in ? File D:\dev\zope24\lib\python\Products\ZCatalog\__init__.py, line 88, in ? File D:\dev\zope24\lib\python\Products\ZCatalog\ZCatalog.py, line 99, in ? File D:\dev\zope24\lib\python\Products\ZCatalog\Catalog.py, line 89, in ? File D:\dev\zope24\lib\python\Products\PluginIndexes\__init__.py, line 99, in ? (Object: Products.PluginIndexes.KeywordIndex) ImportError: cannot import name ZopeSplitter ___ 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 )