Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products
Steve Alexander wrote: "Phillip J. Eby" wrote: So, I am thinking perhaps I should split ZPatterns into two products: PlugIns and DataSkins. If 'PlugIns' includes plugins, plugin groups and plugin containers, then that's a pretty good name :-) (If I've missed bits out and the like, please let me know, I'm trying to keep up to date ;-) 'DataSkins' doesn't mean a lot to me as a name :S What components would go into this product? I'm all for this proposal. Yup, sounds like a great idea. Hopefulyl Pluggins could get into the Zope core ASAP. I reckon they might be quite useful to ZMI mark II :-) The only problem I see is that the work of updating the developer documentation on the Wikis, and putting "historical documents", like the IRC chat transcript, in a context where they make sense. I'm willing to spend some time on the documentation work. Has anyone done anything with the 'glossary wiki' idea I punted out a while back? I would have liked to have done it but have been a little busy :( anyway, sounds cool :-) 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] patches to make ZServer's http_request subclassable
Hi all - I made a couple of patches to ZServer (medusa, actually) to make medusa'a http_request objects subclassable... the motivation is to make customizing medusa / ZServer's logging easier to do just overriding http_request's log() method in a subclass. Patches are attached to this message, suggestions welcome! --Brian Hooper Tokyo, Japan medusa-2.1.6.patch medusa-2.2.0.patch
Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products
Chris Withers wrote: 'DataSkins' doesn't mean a lot to me as a name :S What components would go into this product? An object that has DataSkin as a base class allows a DataManager to look after its data storage requirements. The DataManager stores all the propertysheets and attributes, and works out what to do and who to notify when things change. There are various types of DataManager in ZPatterns, and the important ones take plug-ins so that you can greatly modify their behaviour. Specialists and Customizers (aka Folders w/ customizer support) are the main DataManagers you build an application out of. Specialists may have Racks inside them to actually do the work of storing the data, so you can think about your application's architecture at many different levels of abstraction. You can say "The AddressBook specialist manages Address DataSkins" but you can also say "The Addresses rack in the AddessBook specialist stores the Address DataSkins". When Objects get created or deleted or changed, a DataManager will tell any Agents it knows about that this has happened, in case they are interested. An Agent is anything that monitors the events produced when things happen to DataSkins. A Trigger is a kind of Agent that does something concrete, like calling a method, in response to a change in a DataSkin. You can use a Trigger to update a ZCatalog when a DataSkin gets added or deleted or changes. This is good because catalog-awareness gets to move out of the domain objects (business objects, or whatever) and into the parts of your system that are concerned with the management of those objects. You can even use two Triggers to update two different Catalogs when a DataSkin changes -- for example, the AddressBook catalog, and also a SiteIndex catalog for searching all the data in your system. Perhaps the SiteIndex holds just minimal indexes and meta-data, whereas the AddressBook catalog holds meta-data and indexes more specialised to an address book. Two other important aspects of the DataSkins part of ZPatterns are SheetProviders and AttributeProviders. These plug into Racks (and anything else that takes "Data Plugins") and do the work of getting propertysheets and calculating or importing attributes. These attributes and propertysheets generally end up as the data belonging to the DataSkins. Yup, sounds like a great idea. Hopefulyl Pluggins could get into the Zope core ASAP. I reckon they might be quite useful to ZMI mark II :-) What is ZMI? -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products
At 09:51 AM 7/28/00 +0100, Chris Withers wrote: Steve Alexander wrote: "Phillip J. Eby" wrote: So, I am thinking perhaps I should split ZPatterns into two products: PlugIns and DataSkins. If 'PlugIns' includes plugins, plugin groups and plugin containers, then that's a pretty good name :-) Yes. 'DataSkins' doesn't mean a lot to me as a name :S What components would go into this product? DataSkins themselves, and all the things that support them. Data Managers (Racks and Customizers), Data Manager containers (Specialists and Folders w/Customization Support), and Data Plug-Ins (Attribute Providers, Sheet Providers, Triggers, etc.) Yup, sounds like a great idea. Hopefulyl Pluggins could get into the Zope core ASAP. I reckon they might be quite useful to ZMI mark II :-) That might be, but the PlugIns part isn't really where it should be before it could even be proposed to go into the Zope core. The biggest hurdle remaining is full ZClass support. I would like to have it so that if you base a ZClass on PlugInContainer, you get a tab in the ZClass management screen where you can add and configure plug-in groups... and the groups themselves would be plug-ins, so that you could have specialized forms of plug-in groups. Has anyone done anything with the 'glossary wiki' idea I punted out a while back? I don't believe so. But I think that splitting the package will make documentation easier. Partly because it will allow starting from a fresh viewpoint that is DataSkins-centric and more use-oriented. I figure on leaving the ZPatterns Wiki alone for the most part until the DataSkins docs start to mature, and then yanking out documentation-type stuff from the ZPatterns Wiki and re-purposing it to focus on application design, object modelling, and the like, in the context of the DataSkins and PlugIns packages. ___ 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: [Zope-PTK] PROPOSAL: Splitting ZPatternsinto two products
"Phillip J. Eby" wrote: DataSkins themselves, Okay, I'm being dumb again, but could someone explain to me how the name DataSkin came about and how it relates to what these objects do? :S That might be, but the PlugIns part isn't really where it should be before it could even be proposed to go into the Zope core. The biggest hurdle remaining is full ZClass support. How does this interact with DC's plans to redo ZClasses? (although I'm not sure there are plans here yet, I just got the feeling there were..) Has anyone done anything with the 'glossary wiki' idea I punted out a while back? I don't believe so. But I think that splitting the package will make documentation easier. Partly because it will allow starting from a fresh viewpoint that is DataSkins-centric and more use-oriented. I figure on leaving the ZPatterns Wiki alone for the most part until the DataSkins docs start to mature, and then yanking out documentation-type stuff from the ZPatterns Wiki and re-purposing it to focus on application design, object modelling, and the like, in the context of the DataSkins and PlugIns packages. Sounds great :-) 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-dev] Stuff hanging off user not in cookies
On Tue, 25 Jul 2000, Brian Lloyd wrote: I'm thinking of the dimensions/etc of the edit boxes and the like. I do a lot of work through virtual domains and it's a real pain having to resize that edit box every time I log in through a different domain or on a different computer... Have you looked at the "Better User Management" proposal? One aspect of it is a better level of lowest-common-denominator support for extended attributes. I think that a prerequisite On the other hand, Chris's specific proposal has some problems grin. Suppose I'm running Netscape in view and IE in another...I don't want the same size edit box in both...nor do I necessarily even if I just have more than one window of the same kind of browser open. This whole issue is a user preference thing, so you really ought to support a 'default' setting and a 'this screen' setting. (And while we're at it, those buttons ought to be some sort of image map or multi-button scale bar so you could just click to the size you want instead of having to click-wait-click-wait-click-wait) Actually, I use w3m, so in reality I don't *care* what the size of the edit box is, so don't tell me that patches are accepted grin. --RDM ___ 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: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products
Steve Alexander wrote: An object that has DataSkin as a base class allows a DataManager to look after its data storage requirements. The DataManager stores all the propertysheets and attributes, and works out what to do and who to notify when things change. Okay, makes sense... There are various types of DataManager in ZPatterns, and the important ones take plug-ins so that you can greatly modify their behaviour. I thought there were only two right now? Specialists may have Racks inside them to actually do the work of storing the data, Now what's a rack in Plugin terminology? so you can think about your application's architecture at many different levels of abstraction. You can say "The AddressBook specialist manages Address DataSkins" but you can also say "The Addresses rack in the AddessBook specialist stores the Address DataSkins". By DataSkins here, particularly in the secodn phrasing, wouldn't it be better to say the AddressBook specialist stores the flesh and bones of the Address DataSkins? When Objects get created or deleted or changed, a DataManager will tell any Agents it knows about that this has happened, in case they are interested. Are 'Objects' here DataSkins, non-DataSkins or either? An Agent is anything that monitors the events produced when things happen to DataSkins. But they're actually called by the Data Managers? A Trigger is a kind of Agent that does something concrete, like calling a method, in response to a change in a DataSkin. You can use a Trigger to update a ZCatalog when a DataSkin gets added or deleted or changes. Sounds cool, where does SkinScript fit in here? This is good because catalog-awareness gets to move out of the domain objects (business objects, or whatever) and into the parts of your system that are concerned with the management of those objects. I think I like this... You can even use two Triggers to update two different Catalogs when a DataSkin changes -- for example, the AddressBook catalog, and also a SiteIndex catalog for searching all the data in your system. Now how would these triggers actually get added to the datamanager in the above example? I like this very much as it's something I've often wondered about but which CatalogAware never seemed to address... Two other important aspects of the DataSkins part of ZPatterns are SheetProviders and AttributeProviders. These plug into Racks (and anything else that takes "Data Plugins") and do the work of getting propertysheets and calculating or importing attributes. These attributes and propertysheets generally end up as the data belonging to the DataSkins. Ah, okay, I see now. So, for example, a SheetProvider would prove a property sheet for each DataSkin served by the DataManager in which it was located? What is ZMI? Zope Management Interface (specifically Mark II ;-) It's a proposal on dev.zope.org... 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-dev] PROPOSAL: Splitting ZPatterns into two products
At 10:22 PM 7/28/00 +0100, Chris Withers wrote: Steve Alexander wrote: There are various types of DataManager in ZPatterns, and the important ones take plug-ins so that you can greatly modify their behaviour. I thought there were only two right now? Technically, there are three - Specialist, Rack, and Customizer. But Specialist is never directly used by a DataSkin as its data manager, because of the Rack. Specialist derives from DataManager, though, so it can have data plug-ins for use by its Racks. So there are only two "true" DataManagers - Rack and Customizer. I don't expect there will be any more in future, because I don't know of any other ways to organize Zope objects besides: 1) a flat namespace (Rack), or 2) a sub-object tree (supported by Customizers). Specialists may have Racks inside them to actually do the work of storing the data, Now what's a rack in Plugin terminology? A plug-in that's also a plug-in container. so you can think about your application's architecture at many different levels of abstraction. You can say "The AddressBook specialist manages Address DataSkins" but you can also say "The Addresses rack in the AddessBook specialist stores the Address DataSkins". By DataSkins here, particularly in the secodn phrasing, wouldn't it be better to say the AddressBook specialist stores the flesh and bones of the Address DataSkins? Here's how I prefer to say it... An "AddressBook" specialist is where you get, create, or manipulate en-masse, things which you'd like to have in an address book. It may contain one or more racks which store some particular concrete class of things which have addresses, and which you want to have available through your addressbook specialist. The rack does not necessarily store the "flesh and bones", because that might reside in LDAP, SQL, the filesystem, or something else altogether. The rack is a "storage manager" which manages the process of realizing DataSkins of a particular class with common storage characteristics. When Objects get created or deleted or changed, a DataManager will tell any Agents it knows about that this has happened, in case they are interested. Are 'Objects' here DataSkins, non-DataSkins or either? DataSkins only. An Agent is anything that monitors the events produced when things happen to DataSkins. But they're actually called by the Data Managers? Yes. DataSkins tell their DataManager they've changed; the DM forwards the appropriate messages to the Agents. A Trigger is a kind of Agent that does something concrete, like calling a method, in response to a change in a DataSkin. You can use a Trigger to update a ZCatalog when a DataSkin gets added or deleted or changes. Sounds cool, where does SkinScript fit in here? SkinScript can be used to specify DTML expressions to be called as triggers, or to be used to calculate attributes, etc. In place of an AttributeProvider or Trigger, you plug-in a SkinScript Method to a DataManager, then write the SkinScript code to describe all the attributes and triggers, etc. you want. You can even use two Triggers to update two different Catalogs when a DataSkin changes -- for example, the AddressBook catalog, and also a SiteIndex catalog for searching all the data in your system. Now how would these triggers actually get added to the datamanager in the above example? You go to its Data Plug-ins tab, and select from the "Add" dropdown the kind of trigger or provider you want. Then you fill in its settings to do what you want it to do. Ah, okay, I see now. So, for example, a SheetProvider would prove a property sheet for each DataSkin served by the DataManager in which it was located? Yep. ___ 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 Client.py bug(?) in 2.2.0 affects ZScheduler
In Zope version 2.2.0b3 Client.py calls connect in httplib (in two different places) like this: sock.connect(self.host,self.port) In Zope version 2.2.0 (final) it's like this: sock.connect((self.host,self.port)) In the latter case, Python complains: TypeError: 'argument 1: ..., tuple found' Does anyone know what was the motivation for the change in the syntax for the call to connect? Should I drop this in the Collector? -- Loren ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] [Re: [Zope-dev] ZPatterns Documentation]
"Phillip J. Eby" wrote: Despite the implications of the bait-and-switch subject line, I have not yet written any substantial amounts of documentation. I have, however, written this: http://www.zope.org/Members/pje/Wikis/ZPatterns/DataSkinsOverview Which was actually exceptionally useful, at least for me :-) Thanks, Chris PS: Could anyone who gets a chance please give me some feedback? I'd like to know if this is the kind of stuff that people would like to see more of, Yes please! :-) whether it's too much detail, Perhaps still a little too much jargon still, if there's anything to complain about. I can't help thinking that a _really_ simple example that _only just_ uses the available features would help to make it real for people like me... ___ 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] New Client.py bug(?) in 2.2.0 affects ZScheduler
Loren Stafford wrote: Does anyone know what was the motivation for the change in the syntax for the call to connect? To make it Python 2 compatible, but this shouldn't cause these errors since connect is supposed to be able to takea tuple now. Confusedly, 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: [Zope-dev] ZPatterns Documentation]
Chris Withers wrote: I can't help thinking that a _really_ simple example that _only just_ uses the available features would help to make it real for people like me... Well, I have made a 'News Article' toy from ZPatterns, more so to get a feel for the mechanics than for any 'advantage' ZPatterns offers (AIUI). I could post the process I made, like a walkthrough if anyone is interested. (Thanks to Steve Alexander for som ehelp on #zope last night!) Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] Client.py prevents ZScheduler with SSL? (was: Zope.org feedback)
Moving this to zope-dev and changing title... From: "Jim Sanford" [EMAIL PROTECTED] We have no http access to our site. It is a corporate Client Relationship Management, Job Tracking and Order Processing, Production and Tracking system that is accessed from all over the world. I will send this to the list to see if any one else can provide help. From: Loren Stafford [EMAIL PROTECTED] From: "Jim Sanford" [EMAIL PROTECTED] URL: http://www.zope.org/Members/lstaffor ZScheduler uses Client.py. Would it be correct to say that if my entire site is only accessible via SSL (https) that ZScheduler will not work? I hadn't thought about this before, so you probably know more about it than I do. But given that the python lib that Client.py uses for http (httplib.py) doesn't support https, then you're right. Solutions? 1. Permit http traffic to your site if it comes fromt the same IP and is for URLs that end in "/trigger". I suppose that IP spoofing makes this something of a security hole. How bad? 2. Enhance either Client.py or httplib.py to support at least enough https to get the job done. I know nothing about this. Is it reasonably doable? Is there a Zopista willing and able to do it? 3. ? -- Loren ___ 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] Membership 0.6.1 available
OK, I have an updated Membership product avalable at http://www.zope.org/Members/Bill/Products/Membership Basically, it fixes the keyword parameter problem, and I've started adding the hooks to eventuall plant a user management interface onto. I just need one crucial piece of the puzzle ... I think. ;) Anyway, same warnings on this as with the version Kevin had. Use in production at your own risk (yes, I take the risk ;) Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] anyone skilled in the ways of changing page properties?
::: on a standard page served by zope, user enters pagename into a field and presses submit form method=GET action=createwikipage input type="text" name="pagename" input type="submit" name="submit" value="Submit" /form ::: createwikipage is a dtml method to which pagename is passed onto ::: a ZWiki page is now successfully created with the pagename specified by the user as the id dtml-call "manage_addZWikiPage(id=pagename, title='')" ::: thanks to Geoff Gardiner's managed mode additions, the ZWiki page has an extra boolean property called managed_mode, which i would like to set to true (1) : this is where, my troubles begin, and i have tried with the help of those helpful souls in #zope on irc.openprojects.net, many many combinations dtml-with "_[pagename]" dtml-call "manage_editProperties({'managed_mode':1, 'type':'int'})" /dtml-with the above proceeds with no problems, but doesnt change the managed_mode to 1 dtml-with "_[pagename]" dtml-call "REQUEST.set('managed_mode', 1)" dtml-call "manage_editProperties(REQUEST)" /dtml-with which again "works" but without any change like the first one, and after digging through the mailing list archive, i tried: dtml-call "_[pagename].propertysheets.Basic.manage_changeProperties(manage_mode=1)" which unfortunately leads to an attribute error with Error Value: 'string' object has no attribute 'propertysheets' i have tried god knows how many different combinations along similar lines, but they either give me zope errors or even worse, "work" but without having changed the value of the property. i would appreciate it if anyone could point me to what i am doing wrong here. i believe the main problem lies in "passing" the pagename to the dtml method for it to change the properties of. other than that, i have no idea what i am doing wrong, and i am close to tearing out my hair in frustration ::: now, if ever, i get that solved, i would also like to set the user who submitted the pagename as the page_owner of the new page. again, page_owner is a new ZWiki property due to Geoff's work =) and for this, i presume, whatever dtml works with the above change for managed mode, with the slight change of : manage_changeProperties(page_owner=AUTHENTICATED_USER) or manage_changeProperties('page_owner', 'AUTHENTICATED_USER.getUserName()', 'string') ::: now, i would like to create a new property on the ZWiki page, called page_creation_time, and set the the creation time/date as the value manage_addProperty('page_creation_time',ZopeTime(),'date') ::: and finally, the user is redirected to the editform of the page (and i am proud to say that this is working ;) dtml-call "RESPONSE.redirect(_['URL1'] + '/' + REQUEST['pagename'] + '/editform?cols=60rows=20')" if anyone can help me with the setting of the managed_mode, i would be delighted and they would earn a big spot on this site of mine g and, if anyone can also provide code that works to set the page_owner and page_creation_time, then i will do anything to make you happy. thanks in advance for any help -- best regards, tav [slackware, running zope 2.2, served through Apache ProxyPass + Site Access, with ZWiki 0.6.1 with Geoff Gardiner's mm3 and the CVS version of PTK from two days ago] ___ 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] Moving site from dev to prod.
I can't quite seem to figure out how to move my web site from my development machine to my production machine with Zope v2.1.x. Under Zope v1.0.9, I simply copy the data.bbb file. Under Zope v2.1.x, this file seems to be data.fs, but copying it doesn't seem to work as I get a NameError on REQUEST. I've also tried to use the import/export capability, but I can't figure out how to get the entire site to export. I been through the zope.org sites, docs and recent emails, but can't seem to find guidance on this topic. My development machine is Zope v2.1.4 on NT and the production machine is Zopev2.1.6 on NT. Both installs use FSSession v0.3.1 and LocalFS v0.1.5 If someone could guide me to documentation, or give me the basics of what needs to happen, I would appreciate it. Thanks. --- Jeff Nielsen http://www.UgoFast.com/ "Where U Go Fast" ___ 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] hypothetically simple Login Manager Question
OK, I am working on a rather large scope site. In this site, I will have the need to create Objects (called Clubs). These Clubs will need their own membership setup, but stil be authenticate against the overall site. I have considered a few ways of doing this... to wit: A. A Membership folder in each tree that 'fails' to the next higher leve. - Advantage: Can scale all the way up the domain. - Advantage: Should be easy enough, have the LM pass fails up the chain ..somehow. - Disadvantage: Don;t know if LM can handle this B. A single site-wide membership object, with each club storing a subset of members. - Disadvantage: sounds complicated - Disadvantage: I don't think it scales well - Advantage: simple to implement C. The wild idea... If I had a MountableZEOStorage mountpoint, I could use a single domain Membership object, and just 'mount' the Membership section where needed. In the member properties. I would store the sections they belong to. - Advantage: Damn that's cool. - can scale - Disadvantage: MountableZEOStorage is vaporware ATM For an Idea of the scope of the site, think yahoo's 'member' setup. You can join/create clubs, each with it's own membership they have different services on different servers (mail.yahoo.com, personal.yahoo.com, clubs.yahoo.com, classifieds.yahoo.com, etc), yet only the one account suffices. I would like to keep a ZODB based solution, and stay away from RDBMSes (if for nothing other than I'd rather not be the one to write a login/membership product that uses SQL ... yet). I like using the ZODB, it makes sense to me, ad I will be making my 'management' tools in Python/GTK-GNOME (or FLTK) on Linux. I can do the second one again but don't want to. the third one looks the coolest by far. and the first one looks the easiest, non-ugly one. urgh. I am open to recommendations. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] zzLocale 0-0-3a released on Zope Japan
On Thu, 27 Jul 2000 12:30:41 +0200 "Johan Carlsson" [EMAIL PROTECTED] wrote: I have another feature that would be nice for the zzLocale framework. Support for localized images. As far as I know the Zope Management Interface doesn't use any images containing strings, but I know that I might use images that needs to be localized in my products. So far, there is no specific plan to provide localized images support. In fact, you can already use the current framework to provide localized images: since the images are usually referenced by an IMG tag in a DTML code, and since zzLocale allows you to localize this DTML code, you can do the following: In the French DTML template: img src="fr_icon" In the Swedish DTML template: img src="sv_icon" Create the appropriate fr_icon and sv_icon, and there you are: localized images! :) Are there any zzLocale Wiki for frameworks discussions? No there isn't, but thanks for the suggestion. I'll look into creating one. Regards, -- Yves-Eric Martin Digital Garage Inc. [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] New Zope Book
Hi, when do you think there will be the first part of the O'Reilly-book be online?? I thought in August there should be partly online. ___ 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] anyone skilled in the ways of changing page properties?
Hi tav, Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. _[pagename] will call the object's __call__ method, if it has one and return the result, rather then the actual object. Which can be more than a little irritating ;-) getitem gives you more control: getitem(object,0) will always return the object. getitem(object,1) will __call__ it if it can. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zboard 0.2.3 released
I do not really get it: Zboard (as of 0.2.4) is not a product (that sucks). After importing it into /somewhere and trying to view it I get a authentification failure (oops), though I am superuser ... when checking it out it tells me: -- You are not authorized to access Clist. Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in publish File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 165, in publish File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in mapply (Object: Drainlood) File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 102, in call_object (Object: Drainlood) File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: Drainlood) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: Drainlood) File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 162, in __call__ (Object: Dlist) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: Dlist) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py, line 148, in render (Object: _[Vfolder]) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in render (Object: Vobj="[]") File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_In.py, line 611, in renderwb (Object: Vobj) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in render (Object: Vitem=sequence-item) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py, line 148, in render (Object: _.getitem(Vitem)) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Let.py, line 145, in render (Object: Vstr=__str__) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py, line 335, in eval (Object: Dlis(reply=reply, Vtime=bobobase_modification_time, Vstr=Vstr, type=type, id=id, author=author, Vqs=Vqs, title=title)) (Info: Vstr) File string, line 0, in ? File /usr/share/zope/lib/python/OFS/DTMLDocument.py, line 162, in __call__ (Object: Dlis) File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: Dlis) Unauthorized: (see above) - And when I start looking for Clist I cannot even find one, nor any other method starting with C ... Here is what was in the Zboard0.2.4.zexp: --- Articles Articles2 Ddate Ddelete Dedit Dfooter Dheader Dlis Dlist Dlred Drainlood Dread Dwpn Dwrite Len Lko Mdel Mdelete Medit Mfile Mread Mwrite index_html -- ... - Holger Am Fre, 28 Jul 2000 schrieb rainlood: Hello. I was done some bug fix. http://www.zope.org/Members/rainlood/Zboard/ Thanks all zope hacker. good bye. == ¿ì¸® ÀÎÅͳÝ, Daum Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀÏ³Ý Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼ºñ½º Daum FIREBALL http://www.daum.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ 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] Searching static copy
My current Zope site has most of its copy taken from databases. But it also has a number of static pages. I need an all-in-one search that will go through all of the content. Most of this is easy: search through the three databases in turn and present their results. But how do I search through the contect of DTML pages and methods? -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415 ___ 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] form to a email in a correct presentation ?
Hello everybody, I have a problem, can you tell me if it's possible : I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it "good_reception". I hope that it's possible but if it isn't possible tell me. I thank all of you a lot for all of your help... Vincent. bad_reception.gif good_reception.gif
Re: [Zope] anyone skilled in the ways of changing page properties?
Chris Withers wrote: Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. Chris, you are a star! I made the whole of the site in two days, but wasnt able to work out this particular problem for over another two days!. learnt a lot of dtml in an attempt to do so, but still hadnt solved it :/ once again, thanks Chris for the lifesaver. Also, special thanks to AdamK, who followed me up on IRC, and helped resolve it. now, only one more thing needs resolving... g ... when i do the following: manage_changeProperties(page_owner=AUTHENTICATED_USER) i get the error - Error Type: ValueError Error Value: Invalid property value: wrapped object - course, if i put ' ' around AUTHENTICATED_USER, it works but it then uses that literally, which is not what is needed. any ideas as to how i can insert the username into the property field? much appreciated, and once again, thanks in advance. -- best regards, tav ___ 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] anyone skilled in the ways of changing page properties?
tav, try manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) - Original Message - From: "tav" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 28, 2000 12:14 PM Subject: Re: [Zope] anyone skilled in the ways of changing page properties? Chris Withers wrote: Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. Chris, you are a star! I made the whole of the site in two days, but wasnt able to work out this particular problem for over another two days!. learnt a lot of dtml in an attempt to do so, but still hadnt solved it :/ once again, thanks Chris for the lifesaver. Also, special thanks to AdamK, who followed me up on IRC, and helped resolve it. now, only one more thing needs resolving... g ... when i do the following: manage_changeProperties(page_owner=AUTHENTICATED_USER) i get the error - Error Type: ValueError Error Value: Invalid property value: wrapped object - course, if i put ' ' around AUTHENTICATED_USER, it works but it then uses that literally, which is not what is needed. any ideas as to how i can insert the username into the property field? much appreciated, and once again, thanks in advance. -- best regards, tav ___ 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] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..
Kindest .. I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. .. and I have manually checked that "import _mysql" works in python .. so it has mysql support. .. however this error message occurs when I restart Zope and check if the product was imported fine (which is obviously was not!) ZMySQLDA Import Traceback Traceback (innermost last): File "/usr/local/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/Application.py", line 396, in import_products File "/path/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? import sys, os, Globals, DA File "/path/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/DA.py", line 108, in ? from db import DB File "/usr/share/zope/lib/python/Products/ZMySQLDA/db.py", line 106, in ? ImportError: No module named _mysql Why does this path occur; "/usr/share/zope/lib/python/Products/ZMySQLDA/db.py" ?? I have not referenced anything there.. and should be in the general Zope implementation.. should it not? Anyone had similar problems and solved them? -- Med vennlig hilsen, Jørgen Skogstad /\System Specialist \\ \ \ \\ / Sun Microsystems AS / \/ / / Gjerdrums vei 12 / / \//\N-0486 Oslo, NORWAY \//\ / / / / /\ / Phone:+ 47 22 02 39 00 / \\ \ Cellular: + 47 92 41 30 23 \ \\ Fax: + 47 22 02 39 99 \/EMail:[EMAIL PROTECTED] Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer. ___ 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] Searching static copy
Andy Gates wrote: Most of this is easy: search through the three databases in turn and present their results. But how do I search through the contect of DTML pages and methods? Add a ZCatalog to the root folder of your site and use it's 'find' tab to catalog all the relevent objects. You can then search tha Catalog as well as your three databases. The following might be helpful for the Catalog: http://www.zope.org/Documentation/How-To/ZCatalogTutorial http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching http://www.zope.org/Members/AlexR/KeywordIndexes HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] form to a email in a correct presentation ?
Vincent Maton wrote: I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it "good_reception". Hmm, can you send the DTML either to me (or to the list?) that generated the 'bad_reception' email and I'll give it a go :-) 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] search on www.zope.org
Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term. Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ 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] anyone skilled in the ways of changing page properties?
tav, try manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) Phil, cheers, that works =) though, the strangest thing is that i had tried that and had gotten attribute errors, which i thought was arising due to the lack of ' ' around it... hmz, strange, but it works now... so. thanks i hope that i do justice to the help that you have all given me; i just need to do a bit more work, and then i can launch the site for everyone to see -- best regards, tav ___ 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] search on www.zope.org
Andy Pahne wrote: Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 IIRC, The splitter on Zope.org treats punctuation as stop characters, that includes . - and _ So searches like yours, or for dtml-in, etc will return nothing. However, as search for pcgi2 returns lots. dtml-in isn't too easy since I think 'in' is too short to actually turn up in a catalog and 'dtml' doesn't exactly get what you're after :S Good luck, Chris PS: I think Mindlace is looking into this right now... ___ 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] search on www.zope.org
Well the fact is the searchengine on zope.org really s*cks. They really should do something about it... Peter Andy Pahne skrev: Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term. Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ 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] Snapshots and Demo of Products
+[ Peter Bengtsson ]- | | This is especially important for the Zope product itself. I have noticed | that the first thing I do when I browse zope competitors homesites, is to | look at screenshots. Screenshots of the website you're currently looking at probably won't have the impact you would expect -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Displaying Lines? was: form to a email in a correct presentation ?
Vincent Maton wrote: I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it "good_reception". I wish I could help. But I recognize the problem as a side effect of using 'lines' type (and maybe tokens?) Other than iterating through the property is there a way to display or present the lines property for edit without the containing ['brackets', '', 'ticks']? s I'd like to (probably out of laziness) just be able to enter a list of items into a textarea store it as 'lines', let a user edit it in a textarea without the [''] visible. Let them save it again and then iterate over the property later. Well it works as long as I tell the user they have to enter each item into the box seperated by commas enclosed in single-quotes and contained in the list brackets. YEAH RIGHT! VBG That'll never fly. -- Tim Cook -- FreePM Project Coordinator - http://www.freepm.org OS Healthcare Alliance Supporter - http://www.oshca.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] migration from 2.1.6 - 2.2.0 breaks ZClass
Hi, I have migrated from 2.1.6 to 2.2.0 by copying Data.fs. Everything works except when I try to create a new ZClass, I get "Could not load oid" error. Any help how to fix it is appreciated. Thanks, Padhu Traceback (innermost last): File E:\2gtzope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\2gtzope\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\2gtzope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File E:\2gtzope\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\2gtzope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_addZClass) File E:\2gtzope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_addZClass) File E:\2gtzope\lib\python\ZClasses\ZClass.py, line 154, in manage_addZClass (Object: ElementWithAttributes) File E:\2gtzope\lib\python\OFS\ObjectManager.py, line 260, in _setObject (Object: ElementWithAttributes) File E:\2gtzope\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: CDClass) File E:\2gtzope\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: CDClass) File E:\2gtzope\lib\python\ZODB\Connection.py, line 447, in setstate File E:\2gtzope\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info: m) File E:\2gtzope\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\005m', --snip--- Could not load oid m, pickled data in traceback info may contain clues: (see above) ___ 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] security model
authentification request bug and fail when running an sql method through an external method (python 1.5.42+) in a dtml-tree tag zope(2.2dev) asks me to login again, what i do without success. Indeed, all separate components work fine. Any idea ? 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] Zope + _mysql + mysql database adapter ..
Kindest.. I've compiled the "ZMySQLDA-1.2.0.tar.gz" for Zope v2.2 and mysql with success. No errors occur exept after I restart Zope. I have two python instances on my machine .. one in the Zope dir (bundled with Zope) .. and the ordinary in /usr/local/bin/python .. the Zope python instance does not recognize the _mysql module, but the /usr/local/bin/python does; 15:32 root@nexus [ /home/kroot /usr/local/bin/python Python 1.5.2 (#1, Jul 13 2000, 23:33:39) [GCC 2.95.2 19991024 (release)] on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam import _mysql ^D 15:32 root@nexus [ /home/kroot 15:31 root@nexus [ /service/zope /local/zope/Zope-2.2.0-solaris-2.6-sparc/bin/python Python 1.5.2 (#8, Nov 16 1999, 10:05:41) [GCC 2.8.1] on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam import _mysql Traceback (innermost last): File "stdin", line 1, in ? ImportError: No module named _mysql ^D 15:31 root@nexus [ /service/zope ^D How can I make sure that the Zope bundled python instance also gets access to the _mysql python module? I am sure this is just a matter of arguments or possibly some env variables.. .. but as of right now; I am lost. ;) Would apriciate any input! ;) -- Med vennlig hilsen, Jørgen Skogstad ___ 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] Zcounter permission problems
I use the - http://www.zope.org/Members/srichter/Products/ZCounter - ZCounter product on my Zope site. I create a Zcounter easily and I call i mycounter for example. I then call for it like this dtml-call "mycounter.count_user(REQUEST)" (as taken from the above URL) When I open a new browser window (not Ctrl+N), so that login is "reset", the page where I use mycounter requires login in Zope. How do I prevent this? How do I make it work like a regular hit-counter without needs for login? Or more simply, how do I change the proper permission settings to the 'mycounter'? Peter Bengtsson - bloody good programmer ___ 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] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..
Hi! Kindest .. I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. Try to use the most recent packages to be found at: http://www.dustman.net/andy/python Don't use any patch or whatever.. This should solve your problems. cheers, Christian -- Christian Scholz MrTopf@IRC COM.lounge http://comlounge.net/ communication design [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] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..
I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. Try to use the most recent packages to be found at: http://www.dustman.net/andy/python Don't use any patch or whatever.. This should solve your problems. Got it running now.. wierd stuff.. I had an old implementation og Zope in /usr/local... .. and the new in /test .. and when I added the db adapter to the /zope thing .. the paths went all crazy .. .. though; when I added the $PYTHONPATH to the /site-packages dir with the mysql db adapter and the mysqlclient.so file.. even the zope packaged python could import _mysql .. so; now all is well and I am ready to conquer mysql land once again. Thanks alot for the input.. and you guys have a real nice weekend. ;) -- Med vennlig hilsen, Jørgen Skogstad /\System Specialist \\ \ \ \\ / Sun Microsystems AS / \/ / / Gjerdrums vei 12 / / \//\N-0486 Oslo, NORWAY \//\ / / / / /\ / Phone:+ 47 22 02 39 00 / \\ \ Cellular: + 47 92 41 30 23 \ \\ Fax: + 47 22 02 39 99 \/EMail:[EMAIL PROTECTED] Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer. ___ 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] email with HTML inside with ZOPE
Hi, I would like to know if it is possible to send an email with HTML code in the mail using zope ? Vincent
[Zope] Displayed Dates out by 1 day ...
I have a zclass containing a date field - when displayed with dtml-var event_date, if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use dtml-var "event_date + 1" but this seems surreal. What am I doing wrong? puzzled Jonathan ___ 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: migration from 2.1.6 - 2.2.0 breaks ZClass
I have migrated from 2.1.6 to 2.2.0 by copying Data.fs. Everything works except when I try to create a new ZClass, I get "Could not load oid" error. Any help how to fix it is appreciated. Just checking - but did you also reinstall (from the original tgz's) all of the products you make have based your zclasses on? I have seen oids on standard output until I had fully reinstalled optional products. If in doub, reinstall everything listed under control-panel, products. maybe nothing to do with it of course .. Jonathan ___ 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] Displayed Dates out by 1 day ...
Jonathan Cheyne wrote: I have a zclass containing a date field - when displayed with dtml-var event_date, if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use dtml-var "event_date + 1" but this seems surreal. There have been bugs (okay, unexpected functionality ;-) in this area, especially if you use the fmt option. What version fo Zope are you using and what timezone are you in? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Znolk - Not recognizing ODBC
I just checked Znolk and ODBC - it works correctly (I checked that with Win 2k, NT4 on different machines with Zopes = 2.1.4, Oracle and MSSQL ODBC drivers ) check the following: - Have you verified that you have a valid ZODBC database connection in the scope of your actual folder ( you can check that with for example a Z Search interface ) - clear the browser's cache (memory and disk) , do a refresh - uuhrg, last try with restarting Zope If nothing helps: feed me with more information, I am sure that I can help you with that Philipp Auersperg (zwork) *** REPLY SEPARATOR *** On 27.07.2000 at 16:47 Jim Sanford wrote: I have downloaded the latest Znolk which claims to now support the Z ODBC DA. When I try to run the Znolk wizard it tells me I have no DB connections when I do. Any suggestions? __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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] Displayed Dates out by 1 day ...
2.2.0 final, london, uk. And yes, I make use of fmt in order to rearrange the dates the brit way. I just checked and that seems to be the prob. If I display the yank way then all is ok. ah weel the work around is fairly easy for now. Chris Withers wrote: Jonathan Cheyne wrote: I have a zclass containing a date field - when displayed with dtml-var event_date, if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use dtml-var "event_date + 1" but this seems surreal. There have been bugs (okay, unexpected functionality ;-) in this area, especially if you use the fmt option. What version fo Zope are you using and what timezone are you in? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Moving site from dev to prod.
In the "utilities" directory there is a program that converts from bbb to fs. Sorry, I don't remember which one or how it works, but this should point you in the right direction. -- Loren - Original Message - From: "Jeff Nielsen" [EMAIL PROTECTED] To: "Zope" [EMAIL PROTECTED] Sent: July 27, 2000 11:07 PM Subject: [Zope] Moving site from dev to prod. I can't quite seem to figure out how to move my web site from my development machine to my production machine with Zope v2.1.x. Under Zope v1.0.9, I simply copy the data.bbb file. Under Zope v2.1.x, this file seems to be data.fs, but copying it doesn't seem to work as I get a NameError on REQUEST. I've also tried to use the import/export capability, but I can't figure out how to get the entire site to export. I been through the zope.org sites, docs and recent emails, but can't seem to find guidance on this topic. My development machine is Zope v2.1.4 on NT and the production machine is Zopev2.1.6 on NT. Both installs use FSSession v0.3.1 and LocalFS v0.1.5 If someone could guide me to documentation, or give me the basics of what needs to happen, I would appreciate it. Thanks. --- Jeff Nielsen http://www.UgoFast.com/ "Where U Go Fast" ___ 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] Displayed Dates out by 1 day ...
Jonathan Cheyne wrote: 2.2.0 final, london, uk. And yes, I make use of fmt in order to rearrange the dates the brit way. I just checked and that seems to be the prob. If I display the yank way then all is ok. ah weel the work around is fairly easy for now. I'm pretty sure this'll be fixed in 2.2.1 :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] search on www.zope.org
Don't overlook the Google Search on http://www.zope.org/SiteIndex/searchForm. It works nicely. Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term. ___ 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] email with HTML inside with ZOPE
I would like to know if it is possible to send an email with HTML code in the mail using zope ? yes. ___ 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] In fact, it was HOW can I write an email with HTML inside... ;-)
Thanks
[Zope] README.txt Tab
How do I get the README tab to appear in a product? I created a product and it is working great. However, I would like to add the 'README' tab to the product (and if possible to each instance of the product). I looked at other products that have the README tab and looked at the Product.py source code. It appears that I should just be able to put a README.txt file in my product subdirectory and the tab should automagically appear. It doesn't. What do I need to do? ___ 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] Batchprocessing with multiple conditions?
On Tue, 25 Jul 2000, Peter Arvidsson wrote: I have objects of a certain meta-type. They have some properties and one of the properties is a boolean. How do I make a dtml-in loop among those objects with the boolean set to yes? I dont want it to traverse any other value at all only those that match the condition should be included in the sequenze because I am doing batchprocessing like in I believe you have two choices: do if tests inside the dtml-in, or set up a ZCatalog with indexes for the relevant fields and use a catalog search call to retrieve the correct list of objects. That's still not easy if you want to do anything but an AND between the fields (see the Advanced ZCatalog Searching HowTo), but it should work. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] email with HTML inside with ZOPE
But don't post HTML to this mailing list, please I would like to know if it is possible to send an email with HTML code in the mail using zope ? yes. ___ 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] Full path var on Zope.org login link (Ethan!)?
"J. Atwood" wrote: What DTML-VAR do they use on Zope.org to populate the came_from variable for the 'login' link? http://www.zope.org/standard_html_header/view_source dtml-URL0; :-) -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ 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] Netscape Open session with NT active user
Vincent wrote: Hi, In fact, it is not just a question about Zope, it is a question about Netscape : When you protect a directory and ask for a password, I would like to know if Netscape is able to access to the parameters of the loged user (under NT). PS : In fact, I would like that the users do not need to enter twice their login/password. Then, in fact, you are asking the wrong list. :) -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] demo Zboard 0.2.4
In article [EMAIL PROTECTED], rainlood [EMAIL PROTECTED] writes Hello. Zboard run on my server http://gnome.wdb.co.kr:8080/ Not found. something problem on filename.. You can get Zboard 0.2.4 http://www.zope.org/Members/rainlood/Zboard/ Your source code makes 5 references to a 'Clist' but this is not defined anywhere. -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and 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] In fact, it was HOW can I write an email with HTML inside... ;-)
dtml-sendmail mailhost="MailHost" To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: HTML in Email HTML HEADTITLESending HTML to the list/TOPIC/HEAD BODY pplease don't send HTML formatted mail to the list! p(I know, I'm being a hypocrite) /BODY /HTML /dtml-sendmail Also see the sendmail tag, in the DTML user's guide. Hope that helps... -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ 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] Session
Hi, walking trought zope.org I found a lot o Session Managers products like HappySession and SQLSession. Anyone know what's the best Session product for a production site??? thanks... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr) ___ 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.org feedback
We have no http access to our site. It is a corporate Client Relationship Management, Job Tracking and Order Processing, Production and Tracking system that is accessed from all over the world. I will send this to the list to see if any one else can provide help. - Original Message - From: Loren Stafford [EMAIL PROTECTED] To: Jim Sanford [EMAIL PROTECTED] Sent: Friday, July 28, 2000 5:14 PM Subject: Re: Zope.org feedback URL: http://www.zope.org/Members/lstaffor ZScheduler uses Client.py. Would it be correct to say that if my entire site is only accessible via SSL (https) that ZScheduler will not work? I hadn't thought about this before, so you probably know more about it than I do. But given that the python lib that Client.py uses for http (httplib.py) doesn't support https, then you're right. Solutions? 1. Permit http traffic to your site if it comes fromt the same IP and is for URLs that end in "/trigger". I suppose that IP spoofing makes this something of a security hole. How bad? 2. Enhance either Client.py or httplib.py to support at least enough https to get the job done. I know nothing about this. Is it reasonably doable? Is there a Zopista willing and able to do it? 3. ? -- Loren ___ 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] (no subject)
Subject: Potential tree bug (was: Re: [Zope] dtml-tree question) In-Reply-To: [EMAIL PROTECTED] X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Jonothan Farr writes: What is the difference between using the dtml-tree tag in a dtml method and using it in a dtml document? I have code that works perfectly in a dtml method but when I try the exact same code in a dtml document it doesn't display anything. During rendering, the acquisition mode of a DTMLDocument is changed. There are too acquisition modes: "implicit" and "explicit". For implicit acquisition, an attribute access "o.a" automatically searches "a" in the acquisition context of "o", too, if it cannot be found in "o". For explicit acquisition, the attribute access "o.a" looks only in "o". However, the method "aq_acquire" can be used to extend the search over the acquisition context. Usually, both DTMLMethod and DTMLDocument use implicit acquisition. DTMLDocument, however, renders with its explicit acquisition variant. This does not affect DTML code, because it uses "aq_aquire" for attribute access. However, unaware Python code may get strange effects. In your case, the tree code uses "hasattr(self,args['branches'])" to test whether the branches method exists. This fails, because due to explicit acquisition only, your SQL method in the parent is no longer seen automatically. Probably, this is a bug. But maybe, it is a feature. 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 )
[Zope] Re: Displaying Lines? was: form to a email in a correct
Tim Cook wrote: Other than iterating through the property is there a way to display or present the lines property for edit without the containing ['brackets', '', 'ticks']? s Something like this: dtml-var "_.string.join(lines_property, 'br')" or this: dtml-var "_.string.join(lines_property, '\n')" -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] counter
I downloaded the Zcounter from Zope into our system and it seems to "reset" the counting number and start at one again after a certain amount of time. I have no idea why. Can anybody help? Also, we are looking for a more sophisticated counter, with already integrated graphics etc. Does anybody know, another counter, that can be integrated into Zope? thanks, Uschi ___ 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] Session
Hi! On Fri, Jul 28, 2000 at 05:34:52PM -0300, Diego Rodrigo Neufert wrote: Hi, walking trought zope.org I found a lot o Session Managers products like HappySession and SQLSession. Anyone know what's the best Session product for a production site??? I am using SQLSession here and haven't had any problems by now. (using it with cookies and with sessionid in the url). I've heard that someone had problems with FSSession, though. About the rest I dunno anything ;-) -- christian -- Christian Scholz MrTopf@IRC COM.lounge http://comlounge.net/ communication design [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] HELP
Hi On Fri, Jul 28, 2000 at 05:08:59PM +0100, Chris Withers wrote: Norman Khine wrote: I have just installed the Zope Server on my NT and have gone through the tutorial about building the Job_Board. All works OK, but I am at a bit of a loss as to HOW I can make the SEARCH open. So that if I just wanted to see say all the jobs with Programmer in the description. I think you're looking for ZCatalog. There are a few how-to's on zope.org For example can I make a wild-card search ie Pr* Sadly, AFAIK, ZCatalog doesn't support this yet :S Hm, wasn't there some discussion about this on the IRC today and did not itamar say that globbing is possible since 2.2 ? (Actually there's also some globbing related stuff in the Source code, especially the vocabulary settings..) cheers, Christian -- Christian Scholz MrTopf@IRC COM.lounge http://comlounge.net/ communication design [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Can multiple processes access a ZODB3 file?
If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to check them for validity, send out confirmation or error messages, and eventually tally the results. I definitely want a persistent store, so ZODB seems good. Also, I eventually would like this to be a Zope product, with people able to access the results on the web (and, in the future, vote on the web). But getting it Zoped may be too much work in the short run. So, I'll have a Zope server running on my Debian system, and another process will be going through the mail. It would be more straightforwad if that other process worked directly with the database, rather than going through Zope via http or xml-rpc or something similar. So I'm wondering if that's possible. I can always take the indirect route if, as I suspect, that's necessary. I'm cribbing from parts of the Poll product as appropriate. The polling machinery is considerably more complex though: a restricted list of voters, various muckings around to get the info out of the email, and preference voting (1 for first choice, 2 for second, etc with an instant run off). I know Zeo is more in the multi-process space, but I don't want to use it for this project because I don't have time to learn it; it's alpha; and it seems like overkill for my problem. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Can multiple processes access a ZODB3 file?
Ross Boylan wrote: If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to check them for validity, send out confirmation or error messages, and eventually tally the results. [...] I know Zeo is more in the multi-process space, but I don't want to use it for this project because I don't have time to learn it; it's alpha; and it seems like overkill for my problem. Actually, AFAIK, ZEO is the only way to have multiple processes accessing a ZODb concurrently. There really isn't much to 'learning ZEO'. AMK has a good intro to using the ZODB, which has a ZEO section. I don't have the URL handy though ... wait, yes I do... http://starship.python.net/crew/amk/python/writing/zodb-zeo.html IMO, going the ZEO route would be easier than the xml-rpc route. YMMZ -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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 for secure transactions?
hi everyone, i am looking out for the feasibility of developing a ecom portal over zope. regarding this i have a few queries. 1. Can Zope support SSL or https? 2. Is there some way in Zope through which i can use secure transactions. 3. If Zope can run which Apache , can SSL be used? Thanks Rajil Saraswat ___ 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] 2.2.0, LoginManager and ZPatterns
Hmm..., so I've decided to upgrade to Zope 2.2.0. Most of my site works fine :) I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with default settings in folder 'test1', I get following error: Error Type: TypeError Error Value: keyword parameter redefined Traceback (innermost last): File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/ Publish.py, line 222, in publish_module File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/ Publish.py, line 187, in publish File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/Zope/ __init__.py, line 221, in zpublisher_exception_hook File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/ Publish.py, line 171, in publish File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/ mapply.py, line 160, in mapply (Object: manage_addLoginManager) File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/ Publish.py, line 112, in call_object (Object: manage_addLoginManager) File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/Products/ LoginManager/LoginManager.py, line 237, in manage_addLoginManager File /usr/local/digicool/Zope-2.2.0-linux2-x86/lib/python/Products/ ZPatterns/PlugIns.py, line 313, in _constructPlugIn TypeError: (see above) I've tried installing ZPatterns from sources and from binary release (both 0.3.0) - same results. LoginManager - 0.8.6. Of course I've created user with manager role in root folder's acl_users folder. What's wrong, Zopistas ? ololo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2.2.0, LoginManager and ZPatterns
On Sat, 29 Jul 2000, Aleksander Salwa wrote: I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with default settings in folder 'test1', I get following error: [...] Answering my own question: I installed newer versions of both products (ZPatterns 0-4-0a5 and LoginManager 0-8-7a1) and now it seems to be alright. Of course, I need to customize and test my LoginManager instance, so new troubles may arise soon :) ololo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Can multiple processes access a ZODB3 file?
The ZODB is generally process-locked. It's not possible, to my knowledge, to access it from different python processes simultaneously. To solve this, I'd highly encourage you to use ZEO, despite your desire not to use it. There's very little to learn with ZEO, and its proven very stable over the last few months. It works just like FileStorage, you just need to install it, edit a couple files, create a custom_zodb.py file in your software home and go. (all hail jim fulton!!) -Original Message- From: Ross Boylan [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 8:55 PM To: [EMAIL PROTECTED] Subject: [Zope] Can multiple processes access a ZODB3 file? If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to check them for validity, send out confirmation or error messages, and eventually tally the results. I definitely want a persistent store, so ZODB seems good. Also, I eventually would like this to be a Zope product, with people able to access the results on the web (and, in the future, vote on the web). But getting it Zoped may be too much work in the short run. So, I'll have a Zope server running on my Debian system, and another process will be going through the mail. It would be more straightforwad if that other process worked directly with the database, rather than going through Zope via http or xml-rpc or something similar. So I'm wondering if that's possible. I can always take the indirect route if, as I suspect, that's necessary. I'm cribbing from parts of the Poll product as appropriate. The polling machinery is considerably more complex though: a restricted list of voters, various muckings around to get the info out of the email, and preference voting (1 for first choice, 2 for second, etc with an instant run off). I know Zeo is more in the multi-process space, but I don't want to use it for this project because I don't have time to learn it; it's alpha; and it seems like overkill for my problem. ___ 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 )