[Zope-dev] Problems with EMarket
Hi, I'm discovering the EMarket Product and test it to with it in our Firm. I'm working with Zope 2.2.0 and i have 2 problems. First I added a MarketItemsFolder to MarketItems then a added 2 MarketItems in the MarketItemsFolder but none of the 2 MarketItems shows on the website. The Items are enabled and have a quantity of 500. When i check the option sell as auction nothing happens. Whats the problem ? Second when i try to sign in the after i submit the siginform i get a http-authentication request and no login works with it. Whats the problem ? I'm searching for everything in the source but i don't find anything please help thanks as ___ 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] RFC: page contracts
Petru Paler wrote: Hi eveyone. While playing around with the development version of ACS (ArsDigita Community System), I noticed a very nice feature they introduced, namely page contracts. I've been working with the ACS quite a bit lately (day-job:). its a nice a system that offers a lot utility functions that would be nice to see ported over to zope. most of its value lies in its data models. zope and the acs have vastly different semantic models. i honestly see a lot of the acs work as hacks around some of the problems of the programming paradigms enforced by aolserver, that have little meaning in a system as expressive and customizable as zopes(object publishing v. page publishing sql apps). with regards to the page_contract. IMO its def. useful from the standpoint of documentation and error checking for your variables. implementing this as a folder of utility methods and simply calling them from any doc that acquires from them, passing in the request and optional args (props of doc?a nd this()?), achieves the needed effect without much effort, and offering quite a bit by way of customization. its also possible to do this as a python mixin class for objects. but it would require a alot more work to do it transparently to the developer. Kapil In ACS, this means that every tcl page starts with a call to ad_page_contract. In the parameters passed, you specify: - general page documentation (what it does) - author(s) - creation date (not needed for Zope since we have bobobase_modification_time) - CVS ID (not quite applicable for Zope (yet?)) - the expected input variables (from forms) along with their default values (where applicable) and types (having a couple of types like "integer" and "string" predefined and an easy-to-use plugin system to add custom types) - an optional validation block in which you can check the input data ranges and validity (you can also make validation rules depend on each other so if one fails, the rules which depend on it aren't tried) - an optional custom error messages section (to use when one of the required input variables is not there or does not match the format, or when a validation block fails). If you don't provide this some reasonable defaults are provided. IMHO, such a feature would be very useful for Zope too. I find myself quite often doing input validation and error handling in DTML, which is (to say the least) painful. I would be interested to give a try at implementing this, but before starting I wanted to hear community's opinion on: - whether this would be useful - how this should be aproached (the two possibilities I have in mind until now are either a separate manage tab for the page contract, and there a HTML-based interface for building it, either a dtml-contract tag which surrounds the page contract (written in python probably) and placed at the top of DTML documents/methods). -- Petru Paler, mailto:[EMAIL PROTECTED] http://www.ppetru.net - ICQ: 41817235 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] New version of PortalMembership likely coming within 24 hours
If you said you had patches for me, now is the time. I have some fairly significant improvements and fixes ready (missing a deluser function at the moment, can't even find delItem in my tree anywhere...) (I've been working at it for the last 5 hours straight, my brain is a bit too fizzeled to remember who had patches for me) 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 )
Re: [Zope-dev] Problems with EMarket
On Thu, 31 Aug 2000, Andre Schubert wrote: I'm discovering the EMarket Product and test it to with it in our Firm. I'm working with Zope 2.2.0 and i have 2 problems. EMarket is not yet 2.2-safe, as Steve mentioned. If you come up with bug fixes, let us know grin. That said, I don't have any problem adding MarketItems in 2.2, or signing in. I don't *think* I hacked anything to get me to that point, but I could be misremembering as it was about a month ago I last had time to work on it. I did fix a little bug in the previous verison of EMarket that kept items from appearing after you added them, but that fix should be in the current version. I have not played with the auction support, so I can't speak to that at all. The login problem might be a result of permissions on the eMarketMailHost object; this needs to be usable ('use mailhost services') by Anonymous for registration to work. I have a feeling that that's not it, though, since if it were, logging in as a manager would probably have allowed it to complete the transaction. If giving anonymous 'use mailhost services' doesn't fix it, then when you get the page with an authorization error, do a view source and see what object it is that you don't have authorization to access. Where I'm running into problems with 2.2 is viewing the shopping cart. I haven't figured out how to get zope to let me grant permission to view 'basket' objects, which are objects stored in a property on a 'shopper'. Unless the meeting with our client tomorrow goes differently than I expect, I will be working on EMarket again this month. If that happens, I'll coordinate with Steve and maybe we can produce some sort of interim release that at least plays nice with 2.2. Since I don't yet know the client's requirements, though, I can't promise that. --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] New version of BTreeFolder
On Mon, 28 Aug 2000 20:41:05 -0700, Kapil Thangavelu [EMAIL PROTECTED] wrote: i ran some basic tests comparing a btree folder against a folder. i'm not sure about my testing methodology but here are the results. the test code is at the end of this email. Im not sure this benchmark is measuring the things that a BTreeFolder should excel at One advantage of a BTreeFolder is that you can access *one* if its contained items without having to load *all* of the others. All of your tests iterate through the whole content. Secondly, it should be possible to add two items simultaneously without causing a conflict, however your creation test has no concurrency. Toby Dickenson [EMAIL PROTECTED] ___ 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: ANNOUNCE: Zope 2.2.1 released - breaks my zclass instances too.
I'm absolutely sure that NONE of the things which were broken in the original Data.fs had the slightest/faintest connection with any of the products I expunged. It was removing the cruft alone which fixed the problem. Doesn't this (and the other episode reported by Andy) raise the issue of what we can do to ensure that a broken product or piece of a product doesn't stop a healthy product and its instances (completely independent in the sense of not using any of the broken product's base classes or classes) from working? I havent been able to reproduce Andy's issue yet either (though we're working to figure it out). At this point the only common thread seems to be "nested ZClasses", though it is apparently not as simple as that. Anyone seeing this problem who can provide me with a zipped up Data.fs and a _complete_ description of what (Python) products are installed in the affected installation would help greatly in being able to reproduce the problem... Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns 0.4.2a1 released
Mostly bugfixes and internal reorganizations, some very minor feature additions. This thing is finally beginning to stabilize a bit. Wish me luck on getting some time to document SkinScript... :) Meanwhile, my department is about to embark on a significant production product using ZPatterns, and I hope to funnel some of its design and/or code out as a ZPatterns example. Wish me luck on that, too. Anyway, 0.4.2a1 can be found in its usual place at: http://www.zope.org/Members/pje/ZPatterns/ ___ 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] ANNOUNCE: OracleStorage 1.0.0 beta 1
The initial beta release of an Oracle-based storage for ZODB is available at: http://www.zope.org/Products/OracleStorage The Oracle storage provides full ZODB storage capabilities, including undo and versions, by storing serialized objects and meta data in Oracle tables. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope-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: ANNOUNCE: OracleStorage 1.0.0 beta 1
Jim Fulton wrote: The initial beta release of an Oracle-based storage for ZODB is available at: http://www.zope.org/Products/OracleStorage The Oracle storage provides full ZODB storage capabilities, including undo and versions, by storing serialized objects and meta data in Oracle tables. Chris McDonough pointed out that I had left some specific table names in some SQL statements rather than using "prefix" specific names. This would lead to pack failures (unless you chose the prefix "jim_" foy your Oracle objects. :) Thanks Chris. I've fixed this and made beta 2 available at the location above. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope-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] MailHost, 2.2.1, and tracebacks
OK, I've bee trailing this bug for quite some time, and haven't found a solution other than not use 2.2.1 :( In PortalMembership's acl_users folder's MailPassword Process ... We have mailPasswordTemplate. == dtml-var standard_html_header dtml-call "REQUEST.set('MailHost', MailHost)" dtml-sendmail mailhost="MailHost" From: "dtml-email_from_name;" dtml-email_from_address To: dtml-var email Subject: Membership reminder Your password: dtml-var password Request made by IP dtml-var "REQUEST.REMOTE_ADDR" at dtml-var ZopeTime /dtml-sendmail pYour password has been mailed. It should arrive in your mailbox momentarily./p dtml-var standard_html_footer = And when called via the mailPassword method I get: === Traceback (innermost last): File /local/ZopeSites/TestBed/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /local/ZopeSites/TestBed/lib/python/ZPublisher/Publish.py, line 187, in publish File /local/ZopeSites/TestBed/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Transactional) File /local/ZopeSites/TestBed/lib/python/ZPublisher/Publish.py, line 171, in publish File /local/ZopeSites/TestBed/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: mailPassword) File /local/ZopeSites/TestBed/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: mailPassword) File /local/ZopeSites/TestBed/lib/python/Products/PythonMethod/PythonMethod.py, line 168, in __call__ (Object: mailPassword) (Info: ((LoginManager instance at 8689058, 'Bill2',#Isnippedformcontents#), {}, None)) File string, line 10, in mailPassword (Object: Transactional) File /local/ZopeSites/TestBed/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: mailPasswordTemplate) File /local/ZopeSites/TestBed/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: mailPasswordTemplate) File /local/ZopeSites/TestBed/lib/python/Products/MailHost/SendMailTag.py, line 182, in render (Object: MailHost) File /local/ZopeSites/TestBed/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: mailPasswordTemplate) File /local/ZopeSites/TestBed/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /local/ZopeSites/TestBed/lib/python/AccessControl/ZopeSecurityPolicy.py, line 178, in validate File /local/ZopeSites/TestBed/lib/python/AccessControl/Owned.py, line 152, in getOwner (Object: mailPasswordTemplate) ValueError: (see above) === The exact same code (copy-paste, also prior product) works under 2.2.0. Also, for some reason, I have to have a MailHost in the acl_users folder, and that shouldn't be...I have one in root. Grumpily, 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] _setObject error - urgent!
Hi, I think I have traced my error with cut and paste, I am getting an error on _setObject. If the object is not registered with Zope properly this will be a problem. Basic synopsis: Im importing an object from a script so Im getting a handle to the folder I would like the object to be in: this is obj. Then I call add and set object: obj._setObject(id, globals()[doctype](id, m)) This rather unusual syntax allows me to use a constructor for man different objects. The type is specified in 'doctype', I then get this error: 2000-08-31T16:56:57 PROBLEM(100) ASPNDoc Error: [exceptions.NameError: cat] Any ideas? Thanks in advance ___ 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] NTuser folder problem : [ registry keys ]
Hi all, I am facing problem using and configuring zope NTuserFolder. I want to use this products and validate against the users in my domain. Depending on the user i want to assign them roles. For e,g ---Business folder subfolder - ntuserfolder .. I have used local roles to assign neeloy role of manager. when i want to go to the manage screen of Business folder and login with neeloy and his password i am unable to do so. I am able to get all the users for my domain[ neeloy is one ] name though... but get this following warning in the nt user folder. Warning: The following roles are valid in Zope, but do not have a corresponding registry key: ['Contributor', 'Manager', 'Member', 'Owner', 'Reviewer'] how do we go abt fixing this .. i know there is nothing wrong with the product... but i am unable to configure it. Thx in advance. -neeloy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Searching in all field with ZCatalog
Hi All, Is it possible to search in all the indexed fields of a ZCatalog with only **one** input form ? FR ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: File Attachments with Sendmail
Brendon Grunewald wrote: The form looks like this: snip form That looks okay... meta http-equiv="Refresh" content="5; url=!--#var Redirect_URL--" could you just use: dtml-call "RESPONSE.redirect(Redirect_URL)" somewhere on the page instead of the meta-refresh nastiness? Attached is the document you requested: dtml-var Required_Doc I do hope Required_Doc is a string or a function returning a strign and not the actual document ;-) dtml-boundary name="dtml-var Required_Doc" type=application/octet-stream ^^^ Oops, DTML-inside-DTML error ;-) ...and a major falling down of the sendmail tag, this should be expressionable, I don't know if there is somethign to solve this yet... disposition=attachment encode=base64 dtml-var "Required_Doc.read()" /dtml-mime what is Required_Doc? 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] Z2 CONFLICT Competing writes and synchronization woes
(Google -- which normally does an absolutely stunning job of directing me to answers to Zope questions -- has drawn a blank on this one:) I have an external method that writes stuff to a file. I want to synchronize access to the file so that multiple callers can be adding stuff to the file without problems. Without any synchronization I get interleaved output most of the time and occasionally an error message like this: "Z2 CONFLICT Competing writes at, /foo" I tried using the threading module and creating a Lock object as a global in the external method. This does not help as each request gets allocated its own Lock object. I tried Rlock got an error message I didn't understand and concluded I don't know what I'm doing:-) Any pointers to the best way to do synchronization of access to the filesystem from external methods? regards, Sean McGrath ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] ChatRoom
Not Zope specific, but may be important for many web-masters... Some days ago I was told to make a chatroom in our site. I took a look at some products, but no one has satisfied me yet. If anybody knows about _good_ chatroom, please let me know ! Where _good_ means: + highly customizable view of the chatroom + non-flickering refresh (I used jzChat from www.javazoom.net, but it uses JavaScript on client side, so refresh is flickering) So, it should be Java applet on client side. It can be almost anything on server side - Java servlet, Java stand-alone application, native binary program, standard IRC server, CGI script, Zope Product, etc... I don't need many channels at one time. If you have seen (almost) ready-to-use chatroom solution, your help is greatly appreciated ! :) [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope.org is soooooo slow.
Zope.org is slow as hell. A couple of days a week at least. It doesn't exactly work in favor for Zope when I try to show of Zope.org to friends, collegues or potential customers and the site won't even respond. Argh! Why is it so slow? Do something about it! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: File Attachments with Sendmail
Required_Doc is the variable set in the form. (see my previous email for details onthe form). Basically I want the following functionality: 1. Enter email address: 2. Select document of file to be emailed. 3. Click Send and Bang, off it goes! Brendon - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Brendon Grunewald" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, 31 August, 2000 14:22 Subject: Re: File Attachments with Sendmail Brendon Grunewald wrote: The form looks like this: snip form That looks okay... meta http-equiv="Refresh" content="5; url=!--#var Redirect_URL--" could you just use: dtml-call "RESPONSE.redirect(Redirect_URL)" somewhere on the page instead of the meta-refresh nastiness? Attached is the document you requested: dtml-var Required_Doc I do hope Required_Doc is a string or a function returning a strign and not the actual document ;-) dtml-boundary name="dtml-var Required_Doc" type=application/octet-stream ^^^ Oops, DTML-inside-DTML error ;-) ...and a major falling down of the sendmail tag, this should be expressionable, I don't know if there is somethign to solve this yet... disposition=attachment encode=base64 dtml-var "Required_Doc.read()" /dtml-mime what is Required_Doc? 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] File Attachments with Sendmail
What's the new syntax style? - Original Message - From: Chris Withers [EMAIL PROTECTED] I do wish you'd move to the new syntax style :P ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to use DocumentTemplate custom formats from Python?
I wrote: I'm using DocumentTemplate from Python (not in Zope) and I want to use a custom format 'javascript_quote' that I've written. Kapil Thangavelu wrote: you should implement a formating function and register it with special_format. for examples of both look near the end /DocumentTemplate/DT_Var.py Thanks. I did as below, which worked. Is that the official way? - I couldn't see any dedicated function to register a format. DT_Var.special_formats['javascript_quote'] = javascript_quote Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Old and New DTML Tag Styles
Bob Crosley wrote: What's the new syntax style? dtml-TAGNAME as opposed to: !--#TAGNAME -- 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] Zope.org is soooooo slow (not really)
[J. Atwood] | Umm.. what makes you say it is slow? It popped up just as fast as | Microsoft.com and Apple.com this morning (with each page after even | faster). It _was_ slow. | Might be your connection. Certainly not slow from here (NYC, DSL) No. I check a zillion other sites; they were fast and responsive. The Zope.org site is back up again now. At one point, just before it came back to life, it reported a Proxy error. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope.org is soooooo slow (not really)
Umm.. what makes you say it is slow? It popped up just as fast as Microsoft.com and Apple.com this morning (with each page after even faster). Might be your connection. Certainly not slow from here (NYC, DSL) J From: Erik Enge [EMAIL PROTECTED] Organization: EMM Solutions Date: 31 Aug 2000 14:45:15 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Zope.org is soo slow. Zope.org is slow as hell. A couple of days a week at least. It doesn't exactly work in favor for Zope when I try to show of Zope.org to friends, collegues or potential customers and the site won't even respond. Argh! Why is it so slow? Do something about it! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] dtml-with and PARENTS[0]
OK, I have a standard_html_header for my site that uses the following dtml-with "PARENTS[0]" titledtml-var head_title/title META NAME="keywords" CONTENT="dtml-var meta_keywords" META NAME="description" CONTENT="dtml-var meta_description" META NAME="author" CONTENT="dtml-var meta_author" META NAME="copyright" CONTENT="dtml-var meta_copyright" dtml-var head_javascript snipped rest of document dtml-var id /dtml-with In this way, the properties of the ZClass (into which the standard_html_header is placed) are used for the for the meta author/copyright/keywords/description/javascript. All of those that I just mentioned work perfectly well, with the correct property being inserted, however, dtml-var id results in the id of the parent folder of standard_html_header being inserted, instead of the id of the zclass. Could anyone point out how I can get hold of the zclass id? thanks very much tim ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] dtml-with and PARENTS[0]
on Thursday, August 31, 2000 Tim Hicks wrote : TH OK, I have a standard_html_header for my site that uses the following [snip] THwith the correct property being TH inserted, however, dtml-var id results in the id of the parent TH folder of standard_html_header being inserted, instead of the id of TH the zclass. Could anyone point out how I can get hold of the zclass TH id? first of all : make sure your standard_html_header is a method, not a document -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie SQL problem: Query Error: Cannot render query template
Troy- Have you tried running this from the DOS prompt? I ran into all sorts of problems running 2.1.6 on NT4WS with the ODBCDA. Everything was fine when I used the start and stop scripts from the command line. When I moved to starting zope as a service, my ODBC connections kept failing. Never did find an NT solution, I just moved everything to Linux. It's worth a try. - Steve On Wed, 30 August 2000, "Farrell, Troy" wrote: Hello. I am running Zope as a service on NT4WS. I have multiple MS Access databases connected to different ZJetDAs and I am not able to modify the data in them with SQL statements. For example, INSERT INTO test VALUES (dtml-sqlvar value_one type=string, dtml-sqlvar value_two type=int) returns the error "Query Error: Cannot render query template". Can you tell me what the cause is. I think it might be a permissions problem, but I have everything wide open and I can't figure it out. Thanks. Troy Farrell Troy Farrell Video Operations Technician II Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:[EMAIL PROTECTED] http://www.williams.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) __ Get your Private, Anti-Spam, Free Email at http://e3mil.com and Step into a Friendly Universe! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zzLocale problems
After installing zzLocale I get an "AttributeError" every time I try to add a ZGadfly Connection: -- Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_addZGadflyConnectionForm) File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_addZGadflyConnectionForm) File C:\PROGRA~1\WebSite\lib\python\Products\ZGadflyDA\__init__.py, line 131, in manage_addZGadflyConnectionForm (Object: Traversable) File C:\Programme\WebSite\lib\python\Products\zzLocale\zzLocale.py, line 119, in __call__ (Object: addConnectionForm) AttributeError: dft_addConnectionForm -- Right now I don't have the time to go take a deeper look at this (or isn't it that deep?), so I tried to DE-install zzLocale, just for now. Well: Zope(Win2k :-() won't work without it anymore!!! -- 2000-08-31T13:35:20 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\00 0\000\000\006' Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZODB\Connection.py, line 447, in setstate ImportError: No module named zzLocale.zzLocale Traceback (innermost last): File "C:\Programme\WebSite\z2.py", line 554, in ? exec "import "+MODULE in {} File "string", line 1, in ? File "C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py", line 144, in ? OFS.Application.initialize(c) File "C:\PROGRA~1\WebSite\lib\python\OFS\Application.py", line 317, in initial ize app.Control_Panel.initialize_cache() File "C:\PROGRA~1\WebSite\lib\python\ZODB\Connection.py", line 447, in setstat e state = unpickler.load() ImportError: No module named zzLocale.zzLocale -- Who can help me with either one of the problems? TYVMIA, Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem with zope mailing list
Hi All, Since longtime now I have a problem with the Zope mailing list : I always receive, the messages from "[EMAIL PROTECTED] " not from the name of the right person (for 97% messages) ? Any idea ? FR ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] dtml-with and PARENTS[0]
- Original Message - From: "Geir Bfkholt" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 31, 2000 2:30 PM Subject: Re: [Zope] dtml-with and PARENTS[0] on Thursday, August 31, 2000 Tim Hicks wrote : TH OK, I have a standard_html_header for my site that uses the following [snip] THwith the correct property being TH inserted, however, dtml-var id results in the id of the parent TH folder of standard_html_header being inserted, instead of the id of TH the zclass. Could anyone point out how I can get hold of the zclass TH id? first of all : make sure your standard_html_header is a method, not a document Yup, definitely a method. Out of interest, if it were a document, why would all of the dtml-var's work except id? tim -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ALERT: rally to the flag, troops!
I hate it when this happens - I just had the IS department throw out 2 months of work because it doesn't conform to corporate standards. That's because they have no standard and all the developers do is fight over what vendors to use and who will do the development. I hope your project goes better than mine... Good Luck. - Steve On Thu, 31 August 2000, Jean Jordaan wrote: Hello Zopers This is serious business. As you know, I've been asking questions of various levels of ineptitude during the last few weeks. Meantime I've been building some entry-level ZClasses as part of the insides of Mosaic's Intranet. This culminated in a demo a couple of days ago, when I showed the one CEO and the rest of the communications department what I have been doing. __ Get your Private, Anti-Spam, Free Email at http://e3mil.com and Step into a Friendly Universe! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Objet : Re: [Zope] Searching in all field with ZCatalog
Hi Chris and All, No, you asked the right question, scuse me for the error !! I would like only one entry in the form to search in all indexed fields. I like this solution cause it is sometimes difficult for a no regulmar user in this aera (Protein Data Bank) to question the right field. In fact I would like create a simple form ;) FR [EMAIL PROTECTED]%internet 31/08/00 12:38:15 Organization: New Information Paradigms X-Accept-Language: en Errors-To: [EMAIL PROTECTED] X-Mailman-Version: 1.0b8 Precedence: bulk List-Id: Users of the Z Object Publishing Environment zope.zope.org X-BeenThere: [EMAIL PROTECTED] Francois-Regis CHALAOUX wrote: Hi All, Is it possible to search in all the indexed fields of a ZCatalog with only **one** input form ? Woudl having a field for each index on the one form do it? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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[2]: [Zope] dtml-with and PARENTS[0]
on Thursday, August 31, 2000 Tim Hicks wrote : TH Yup, definitely a method. Out of interest, if it were a document, why TH would all of the dtml-var's work except id? acquisition, i guess.. satandard_html_header would not usually have those properties itself.. if it was a document, and had those other properties, the ones from the header would be used.. Seems rather strange that id from standard_html_header is used if it is a method.. puzzling.. cannot think of a reason.. -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Slow zope.org?
Erik Enge wrote: [J. Atwood] | Umm.. what makes you say it is slow? It popped up just as fast as | Microsoft.com and Apple.com this morning (with each page after even | faster). It _was_ slow. The main problem is that *nothing* on zope.org is cacheable. Therefore, any intermittent slowdown between you codeit is going to hurt. Short term, we will soon have a mirror of zope.org, which should reduce the possibility of slowdown. At some point in the future, there'll be more fine-grained caching availiable, at which time all the pages that can be cached will be, which should speed up Zope.org's percieved performance. | Might be your connection. Certainly not slow from here (NYC, DSL) No. I check a zillion other sites; they were fast and responsive. The Zope.org site is back up again now. At one point, just before it came back to life, it reported a Proxy error. Zope fell over and died due to a database error. We're beginning to suspect that there may be hardware issues. We'll keep this list (or zope-web) posted on the details. -- 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] Problem with zope mailing list
Since longtime now I have a problem with the Zope mailing list : I always receive, the messages from "[EMAIL PROTECTED] " not from the name of the right person (for 97% messages) ? Any idea ? Take a look at the headers of a Zope list message (ctrl-U in Messenger). It correctly states the "sender" as [EMAIL PROTECTED], and also correctly states that the message is "from" whoever sent it to the list. For some reaon your mail client is getting these confused, and I don't know why or how to fix it. I can say that using practically the same client that you used to send the message I'm replying to I'm not experiencing that problem. So in short: I dunno. --jcc -- "No! I am not Prince Hamlet, nor was meant to be." http://www.owlnet.rice.edu/~jccooper/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Newbie SQL problem: Query Error: Cannot render query template
When starting Zope as a service under Win NT always make sure that the ODBC data sources you use are *system* data sources and not *user* data sources. This could explain why your ODBC connections work when you start Zope from the console and don't work when starting it as service. Anyhow: Zope 2.1.6 is not the best for SQL (problems with recordsets show up when used in dtml-tree) Zope 2.2.0 has problems with ZODBC under Windows 2000 (Authorisation dialogs pop up). My hint: Use 2.1.4 or 2.2.1 (does it fine with SQL under Linux and Windows ) phil *** REPLY SEPARATOR *** On 31.08.2000 at 06:40 Stephen Nosal wrote: Troy- Have you tried running this from the DOS prompt? I ran into all sorts of problems running 2.1.6 on NT4WS with the ODBCDA. Everything was fine when I used the start and stop scripts from the command line. When I moved to starting zope as a service, my ODBC connections kept failing. Never did find an NT solution, I just moved everything to Linux. It's worth a try. - Steve On Wed, 30 August 2000, "Farrell, Troy" wrote: Hello. I am running Zope as a service on NT4WS. I have multiple MS Access databases connected to different ZJetDAs and I am not able to modify the data in them with SQL statements. For example, INSERT INTO test VALUES (dtml-sqlvar value_one type=string, dtml-sqlvar value_two type=int) returns the error "Query Error: Cannot render query template". Can you tell me what the cause is. I think it might be a permissions problem, but I have everything wide open and I can't figure it out. Thanks. Troy Farrell Troy Farrell Video Operations Technician II Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:[EMAIL PROTECTED] http://www.williams.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) __ Get your Private, Anti-Spam, Free Email at http://e3mil.com and Step into a Friendly Universe! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] GUF Idle Timeout?
The first word that came to my mind after reading your response was "Duh!". This was something I should have figured out on my own. Thanks for the help! -=Brad=- -Original Message- From: Stuart Bishop To: Mabe, Brad Cc: '[EMAIL PROTECTED] ' Sent: 8/31/00 3:42 AM Subject: Re: [Zope] GUF Idle Timeout? On Wed, 30 Aug 2000, Mabe, Brad wrote: Hello all, Does GUF have an idle timeout setting? I'm seeing the behavior where if my GUF authenticated user is idle for more than 10-15 minutes they lose their authentication and are asked to log in again. If there is such a setting, how can I increase the amount of idle time? Go to the properties page of your GUF instance and change the 'Inactive Cookie Expires' property. -- Stuart Bishop Work: [EMAIL PROTECTED] Senior Systems Alchemist Play: [EMAIL PROTECTED] Computer Science, RMIT University ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] worldpilot: copy of message to sent folder
Hi there, I'd like to put a copy of each sent mail to a sent folder. Creating folders named "sent" or "SENT" under the INBOX did not help. Further I'd like to send a bcc of each sent mail to an external address. How do I do that? Thanks Marcus --- WorldPilot - Get Synced - http://www.worldpilot.org The Open Source Personal Information Manager Server Powered by Python and Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope.org is soooooo slow.
Erik Enge wrote: Zope.org is slow as hell. A couple of days a week at least. It doesn't exactly work in favor for Zope when I try to show of Zope.org to friends, collegues or potential customers and the site won't even respond. Argh! Why is it so slow? Do something about it! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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.org is free as hell. Why don't you get creative and donate something to the effort and stop bitching. If you need to make pictures with words it means that you don't have a grasp on basic reality and attempt to shuttle form into desire. It's childish - sooo childish. Here's a solution - why don't you find out if you can mirror the site somehow. Why is it so free? Do something about it! J.P. Racine Thot Networks [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] problem on newly installed Zope2.2.0: I have lost a folder
does this error means something for you: 2000-08-31T14:06:05 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\014\021' Traceback (innermost last): File /home/sms/Zope_220/lib/python/ZODB/Connection.py, line 447, in setstate SystemError: Failed to import class MEM from module __main__ It means that the object can't be unpickled because the module that the objects class is defined in cannot be imported. Whatever product / python code defines the MEM class is probably installed in your old instance but not in your new instance... Hope this helps! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope.org is soooooo slow (not really)
Erik Enge wrote: [J. Atwood] | Umm.. what makes you say it is slow? It popped up just as fast as | Microsoft.com and Apple.com this morning (with each page after even | faster). It _was_ slow. Next time www.zope.org appears to be slow, try accessing www.codeit.com as well since the two are hosted in the same location AFAIK. If there is a problem, report it to [EMAIL PROTECTED] and remember to include the exact time and time zone. BTW there have been some outages due to misconfiguration and network problems. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-ZEO] ANNOUNCE ZEO 0.3 Released
this is great news. btw, what causes the spurios conflict errors, if you don't mind telling thanks again p/s i will never regret running my site with zope~ thanks DC and all -Original Message- From: Jim Fulton [EMAIL PROTECTED] To: Zope Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, August 31, 2000 8:20 AM Subject: [Zope-ZEO] ANNOUNCE ZEO 0.3 Released A new release of Zope Enterprise Objects (ZEO) is available at: http://www.zope.org/Products/ZEO. This release fixes a bug that caused spurious conflict errors and that could eventually make it impossible to make changes without restarting a ZEO client (e.g. Zope process). The release also has two enhancements when running the ZEO server on Unix: - When the storage server start script is run as root, the script will switch to a different user (nobody by default). There is a new '-u' option that can be used to specify the user. - The storage server will gracefully close served storages when the server is killed with a SIGTERM or SIGHUP. If a FileStorage is being served, then an index file will be written. If you encounter problems with ZEO, please report them using the ZEO issue tracker at: http://www.zope.org/Products/ZEO/Tracker. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Bug reports, feature requests, etc. go in the ZEO Tracker: http://www.zope.org/Products/ZEO/Tracker Conversations etc. can take place in the Wiki: http://www.zope.org/Products/ZEO/Wiki Zope-ZEO maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-zeo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] SQL Methods
i think you need to look at the sql methods permission. -Original Message- From: RC Compaan [EMAIL PROTECTED] To: Zope [EMAIL PROTECTED] Date: Thursday, August 31, 2000 3:06 PM Subject: [Zope] SQL Methods I have a sql method and a dtml method calling the sql method. They live in the same folder and the dtml method's proxy roles are set. I've tried everything and Zope tells me I don't have permission to do view the sql result returned by the sql method. This worked fine in Zope 2.1.6 so I guess it has something to do with the new security model. I also have explicit ownership of all objects that I'm working with - still no luck. Any advise? Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] ChatRoom
If you have seen (almost) ready-to-use chatroom solution, your help is greatly appreciated ! :) Although it's not ported to Zope yet (I'm too much of a newbie), I have a very simple, non-flickering, streaming chat system available as open source at http://screwdriver.net/stutter/ It's not Java, but it does the trick. Try out the demo. The way it works, btw, is that it sends an "infinitely" long html page, never closing the HTTP connection, and only sending data when new messages are entered, then flushing the output thus far. It's written in PHP, and expects a SQL server. If nothing else, you can get an idea of how it works, and possibly write something similar in Python or whatnot. -- /chris/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] ZCatalog Queries...
It's be nice if ZCatalog had a good general purpose interface, and was a bit more robust. (the BTree implementation which has been mentioned a few times springs to mind here ;-) Can you be more specific? Andy can fill you in on the specifics. OK... Specifics, hmmm OK Machine 1: (2gb free hard drive space, 64Mb Memory, 128Mb swap, AMD Athlon 600, Linux Red Hat 6.1) I created a new Zope Instance and installed ZMailIn porduct on to it. (Catalog Aware) I created a ZCatalog. I sent 30,000 mail messages from [EMAIL PROTECTED] to the ZMailIn product. These messages were catalog aware so they indexed themselves, one-by-one in to the catalog. Indexing the entire message body. I went home. When I came back the next day the machine had successfully completed 5,000 messages, eaten all the memory, eaten 99% of the swap and was chugging away a 1 mail message per 5 seconds. Additionally the Data.fs was 1.5Gb I decided this was going to take forever and ended it all. (FYI: After packing the database it strank to 30Mb) I started again from nothing. This time i didn't create a ZCatalog. I ran the import routines and 30,000 documents were successfully imported in to the ZODB through ZMailIn in about 2 hours. I created a catalog and manually added all items of type "ZMailMessage". After about an hour of serious crunching. All memory eaten, all swap eaten. It reports that we are out of hard drive space. I tried again after with various sub transactions sizes (ie. 1, 5000, 1000, 200) but no change, except on the amount of time before it blows up. After a couple of messages to [EMAIL PROTECTED] and [EMAIL PROTECTED] we decide that it may be worth another try without transactions, i.e. Replacing the ZODB3 with The Berkeley Database. Machine 2: (4.5gb free hard drive space, 256Mb Memory, 256Mb swap, Dual PentiumIII 450, Linux Red Hat 6.2) I created a new Zope Instance and installed ZMailIn porduct on to it. (Catalog Aware) I plugged in the BerkeleyDB I imported all 30,000 mail messages. I selected all ZMailMessage instance for cataloging and let it go. About half a hour later the thing crashes with the error "file too large" and corupts my Berkeley Database. I try several sub transaction sizes (1, 5000, 1000, 200) to no avail. The only time I ever got it to work is if I removed the body of the mail message from the catalogs indexes. Which is the most important thing to be indexed. After tearing my hair out, i have put it aside and am working on something else. (I hope that is what Chris meant by Specifics) What's insufficient about the current implementation? It doesn't scale well, especially for things where you have lots of new data arriving (this is the BTree problem, I think...) Yes, we're still working on a "broadtree" implementation that may allay some of these problems, although I don't have an ETA. It has no published and well defined query syntax (there's patches here, bits there, but no definitive document on how to use it, how to batch with it, how to perform complex and structured queries, particularly with TextIndex'es) Hopefully, the Zope book will make it more clear from a user perspective, and sometime in the very distant future I will be writing a chapter in the developer's guide about the catalog. I agree that the ZCatalog wrapper should probably wrap more of the underlying catalog's methods, but these need to be rationalized, defined and then documented in the API docs. This is something for dev.zope.org, probably. Don't get me wrong, it is very cool, but only kindof 70% there :S (and I get the impression that doing the remaining 30% properly would require a rewrite...) As an example, we've been trying to do Zope-based versions of the mailing list archives for a coupla months now and the Catalog keeps exploding in different ways (huge resource consumption, even for only 30K messages or so, no matter what storage is used) Yes. Tweaking and the broadtree stuff should make this a little better. Then there's the ubiquitous 'KeyError's and other associated weirdness, all of which leaves me feeling a lot less than totally confident in the Catalog ;-) These are independent of the coupling problem in the btree, and I'm trying to vanquish them now. This is why the annoying logging code was added to the catalog. It seems to be related to the TextIndex implementation, but I'm still trying to pin it down. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Log file settings
From z2.py: # Location of the ZServer log file. This file logs all ZServer activity. # You may wish to create different logs for different servers. See # medusa/logger.py for more information. if not os.path.isabs(LOG_FILE): LOG_PATH=os.path.join(CLIENT_HOME, LOG_FILE) else: LOG_PATH=LOG_FILE I hope your python is better than mine! Troy Farrell -Original Message- From: Marcus Mendes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 30, 2000 8:57 AM To: [EMAIL PROTECTED] Subject: [Zope] Log file settings Hello, How can i set options for z2.log, as what informations i want etc? I d'ont need, for example, information about FTP at the same log file. Thanks. Marcus Mendes ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zope.org
what's happenng to zope.org? i got this message when i tried accessing it !-- Traceback (innermost last): File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/dc/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/dc/Zope2/lib/python/ZPublisher/BaseRequest.py, line 309, in traverse File /usr/local/dc/Zope2/lib/python/ZPublisher/BeforeTraverse.py, line 85, in __call__ File /usr/local/dc/org/Products/SiteAccess/AccessRule.py, line 22, in __call__ File /usr/local/dc/Zope2/lib/python/ZPublisher/BeforeTraverse.py, line 112, in __call__ File /usr/local/dc/Zope2/lib/python/ZODB/Connection.py, line 442, in setstate File /usr/local/dc/zope_soft/lib/python/ZEO/ClientStorage.py, line 289, in load (Object: /usr/local/dc/org/var/sserver.soc) File /usr/local/dc/Zope2/lib/python/ZEO/zrpc.py, line 180, in __call__ (Object: dispatcher) File /usr/local/dc/Zope2/lib/python/ZEO/smac.py, line 184, in message_output (Object: dispatcher) Disconnected: (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] Zope chat
I'm not sure what type of chatroom functionality you're looking for, but you might have options through Jabber Instant Messenger (www.jabber.org), which includes a groupchat transport. I have personally been looking at ways to implement the groupchat using a Java applet for specific projects managed through an intranet. As in Lotus Quickplace, when a team member loads the project homepage, I would like for the applet to load automatically, indicating the online presence of other team members and providing the groupchat function. Ideally, this would take advantage of existing zope authentication. I know LDAP and ODBC user storage has been implemented in the CVS version of the Jabber server, so it should be able to query the same user database as zope. There is also an effort to implement the Jabber server and groupchat transport in python at pyjama.sourceforge.net. Information regarding java functionality, including a sample applet I think, can be found at jabberbeans.org. I would love to hear from anyone interested implementing this type of integration between Jabber and Zope. Good luck, David Message: 66 Reply-To: [EMAIL PROTECTED] From: "Danny William Adair" [EMAIL PROTECTED] To: "Aleksander Salwa" [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] ChatRoom Date: Thu, 31 Aug 2000 16:07:10 +0200 charset="us-ascii" The most awesome - though commercial - chat system that I know of, is "SpinChat": homepage: http://chat.spin.de/en/index.shtml try one of the demos: http://chat.spin.de/en/demos/index.shtml or see it in action and chat with others: http://www.spinchat.com It's a highly configurable java chat system. I would rather like to see one of the OpenSource Chats get integrated into Zope (e.g. get pseudonym from LoginManager UserSource, integrate administration in Zope management interface etc.), I'm not very happy with ZRTChat. http://www.zope.org/Members/jwashin/ZRTChat It's a great example and "100% Zope", but it will (would) need a lot of enhancements for prod sites. Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Aleksander Salwa Gesendet: Donnerstag, 31. August 2000 14:30 An: [EMAIL PROTECTED] Betreff: [Zope] ChatRoom Not Zope specific, but may be important for many web-masters... Some days ago I was told to make a chatroom in our site. I took a look at some products, but no one has satisfied me yet. If anybody knows about _good_ chatroom, please let me know ! Where _good_ means: + highly customizable view of the chatroom + non-flickering refresh (I used jzChat from www.javazoom.net, but it uses JavaScript on client side, so refresh is flickering) So, it should be Java applet on client side. It can be almost anything on server side - Java servlet, Java stand-alone application, native binary program, standard IRC server, CGI script, Zope Product, etc... I don't need many channels at one time. If you have seen (almost) ready-to-use chatroom solution, your help is greatly appreciated ! :) [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [squishdot] Announce: Squishdot 0.7.0 now available!
On Tue, 29 Aug 2000, Chris Withers wrote: I'm not 100% happy about how the 2.2 support was achieved, so expect a 0.7.1 release in the near future. Is this the __allow_access_to_unprotected_subobjects__=1 within the Posting class you're referring to? How big of an issue is it using this within Squishdot, I mean, what kind of malicious things could be done to a Squishdot site with it set? Do you have any working ideas on how to deal with it without _allow_access...=1 ? -Lance ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog and foreign characters
On Wed, 30 Aug 2000, Radim Gelner wrote: On Tue, Aug 29, 2000 at 11:57:08PM +0200, Dieter Maurer wrote: If you work with a fixed locale, you can use the "-L" switch to inform Zope about your locale. Then the splitter should work correctly (for your locale). Yes, that helped. I've called Zope with -L cs_CZ switch, rebuilt the catalog and now searching works as it should. Great, but what about FreeBSD ? I work on Linux at home, but few days ago someone decided that our production server will be FreeBSD. What is the right locale string format on FreeBSD (version 3.5) ? I've tried "pl_PL", "iso-8859-2", "pl_PL.iso-8859-2" - no success... :( For now, I made hack in Spliter.c - I wrote my own replacements for isalpha and isalnum functions. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problem with zope mailing list
Francois-Regis CHALAOUX wrote: Any idea ? A broken X.400 e-mail gateway? Your sysadmin should be able to help you. | Received: (from x400@localhost) | by gtlhpmed.paris.sanofi.com (8.8.6 (PHNE_17135)/8.8.6) id PAA29215 | for [EMAIL PROTECTED]; Thu, 31 Aug 2000 15:38:29 +0200 (METDST) | Original-Encoded-Information-Types: IA5-Text | X400-MTS-Identifier: [/P=SANOFI/A=ATLAS/C=FR/;39AE6FD6.32D4.06A7.000] Cheers, Nils -- [EMAIL PROTECTED] | [EMAIL PROTECTED] (preferred) [EMAIL PROTECTED] | [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: FTP from NAT: Zope or FTP problem...
"Chris" == Chris Withers [EMAIL PROTECTED] writes: Chris Bob Finch wrote: Try configuring your FTP client to use passive mode (PASV). Chris Now is this because Zope is doing something silyl or Chris because FTP behind NAT is like SSH, and must be passive Chris regardless of the FTP server you're using? This is an issue with FTP and NAT in general. PASV also helps if the client has a firewall or packet filter that denies incoming TCP connections. When transferring a file in the default (active) mode, the FTP server opens a TCP connection back to the client. Some NAT implementations aren't smart enough to be able to route this incoming connection to the correct internal host. Passive FTP avoids this problem by doing outgoing connections from the client for the data transfer. During a file transfer, the server instead waits for an incoming connection from the client. No more incoming TCP connections and NAT is happy :-) -- Bob ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] CRC-32 checksum
On Wed, 30 Aug 2000, Jim Sanford wrote: Does anyone have or know the whereabouts of a python module that will do 32 bit CRC checksums? I found a crc32 function in the zlib module for python. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Re[2]: [Zope] dtml-with and PARENTS[0]
- Original Message - From: "Geir Bfkholt" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 31, 2000 2:56 PM Subject: Re[2]: [Zope] dtml-with and PARENTS[0] on Thursday, August 31, 2000 Tim Hicks wrote : TH Yup, definitely a method. Out of interest, if it were a document, why TH would all of the dtml-var's work except id? acquisition, i guess.. satandard_html_header would not usually have those properties itself.. if it was a document, and had those other properties, the ones from the header would be used.. Seems rather strange that id from standard_html_header is used if it is a method.. puzzling.. cannot think of a reason.. DOH! There was me thinking that I had to use PARENTS[0] in order to get hold of the zclas that had standard_html_header inserted into it... when I don't! Taken out all the PARENTS[0]'s and it is behaving like it should do. Now it's working, I think I actually understand how it works as well! Sorry about that, I think I made things more complicated than they are. tim -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog and foreign characters
For now, I made hack in Spliter.c - I wrote my own replacements for isalpha and isalnum functions. Oops, my solution doesn't work. Probably it needs more hacking in python code So, how to do it under FreeBSD ? [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZClass -- Product
Steve Spicklemire [EMAIL PROTECTED] writes: How about: /you@server port:/Control_Panel/Products/YourProduct/YourZClass/propertysheets/methods/yourMethod How about it? Hint: that ZClass doesn't look like a directory to FTP. -steve "Karl" == Karl Anderson [EMAIL PROTECTED] writes: Karl What FTP editing options are there for ZClass definitions? Karl I've never been able to do much. What I have done is use Karl folderish ZClasses, edit DTML methods contained in the Karl *instance* thru FTP, and then moved them to the definition Karl latler, but that's kind of hacky - it adds a little more Karl confusion about finding things with large projects. Karl -- Karl Anderson [EMAIL PROTECTED] Karl ___ Zope Karl maillist - [EMAIL PROTECTED] Karl http://lists.zope.org/mailman/listinfo/zope ** No cross Karl posts or HTML encoding! ** (Related lists - Karl http://lists.zope.org/mailman/listinfo/zope-announce Karl http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Karl Anderson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Success in installing ZPoPyDA (after 3 months...)
Good news. I finally succeeded in installing ZPoPyDA (PostgreSQL database adapter for Zope.) I think it was more than 3 months ago when I started to try to install ZPoPyDA. The process involved many tricky steps, the most tricky one was, uh, installing a whole new Linux operating system. (Upgrade from 5.2 to 6.2) :) But sweat and blood were involved in many other little tiny things. Including installing PostgreSQL and its dev package RPMs, Python Dev, figuring out what was missing in os.h and where to find linux.h for the PostgreSQL, version compatibility problems between PoPy and ZPoPyDA, etc. So many steps that I don't remember them all, now. Do I recommend PostgreSQL to other Zope users? Probably yes. But I'd advise them to give themselves *plenty* of time to deal with installation issues. I know, some have been lucky and did not have any problems. But for me, it's been a horrible experience. But I hope the reward of a good (and cheap) database will compensate all the bad times. regards, Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] The Challenge: Zealots vs. Skeptics
A recent thread has developed on a well established web development list concerning the viability of zope as an appserver. I dont want to continue the thread here, but a good question was asked and no suitable answers have come in. Surely this list can help. The question is this: "What are some examples of high-profile and/or enterprise level ecommerce or web production sites using zope?" Send me examples and i'll post them to the original thread. Marty PS: dont send me to YOUR website, unless you can provide the traffic numbers that back it up. ## Marty McKeever - [EMAIL PROTECTED] ## Manager / Web Services Division ## Going Virtual LLC., Matthews NC ## http://www.goingv.com (704) 849-0731 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Objet : Re: [Zope] Searching in all field with ZCatalog
Francois-Regis CHALAOUX writes: No, you asked the right question, scuse me for the error !! I would like only one entry in the form to search in all indexed fields. This is not easy. A ZCatalog search usually combines searches to the different indexes with an "And". You want to combine them with an "Or". There is an example for this in the Advanced ZCatalog Tutorial (-- zope.org). There has recently been a discussion in this list (-- searchable archive). Apparently, there is no comprehensive solution. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Z2 CONFLICT Competing writes and synchronization woes
Sean McGrath writes: I want to synchronize ... I tried using the threading module and creating a Lock object as a global in the external method. This does not help as each request gets allocated its own Lock object As you observed, each thread gets its own global namespace for a file containing an external method. The namespace of a true Python module, however, is shared by all threads. Therefore, it is a good place for your lock. Do the following (or something along similar lines): * create a properly named subpackage in "lib/python/Shared" (to avoid name clashes), say "myCompany". * create a Python module in "myCompany", say "myLock.py". * create your lock in this module, say "Lock" * access it in your external method by: from Shared.myCompany.myLock import Lock Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Overriding Z Class methods in instances
Johann Visagie writes: It seems you cannot overload the methods of a Z Class in an instance of that class. If you try to, you get a message that the method's id is invalid since it is already in use. If this is really the case, then how can one achieve the necessary separation between presentation and business logic? E.g. if I have a Z Class with an index_html method, all instances of that Z Class will display in exactly the same way. It is, at least now. On zope-dev, it was discussed how this restriction can be removed in the future in a controlled way (you do not want to make everything overwritable). To avoid the problem, you can add in your class method something like: dtml-if index_html_specialized dmtl-var index_html_specialized dtml-else /dtml-if and define "index_html_specialized" in your instance, whenever you would like to have specialized behaviour. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] manage
neeloy_saha writes: when i do http://localhost:8080/manage it pops up a login window which asks for username and password. what is the entry point after that?? That is exactly what one would expect. Enter the username and password that was assigned during installation or that you set with python zpasswd.py access Is there a way of running zope with debugger?? There is "Test.py" in "lib/python/ZPublisher". It will, however, not help you with the above problem. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problem on newly installed Zope2.2.0: I have lost a folder
Gilles Lavaux writes: 2000-08-31T14:06:05 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\014\021' Traceback (innermost last): File /home/sms/Zope_220/lib/python/ZODB/Connection.py, line 447, in setstate SystemError: Failed to import class MEM from module __main__ It seems that something in your folder need a class with name "MEM" that was defined inside an extension (a file used for an external method or a custom class for SQL methods). Such classes cannot be loaded, because the unpickler does not find the source file (it thinks, the class comes from module "__main__", which is not true). Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Mime types for email attachments
Brendon Grunewald writes: I am battling to find the information needed to attach word, excel, and pdf documents to an email based on the input from a form. You already discussed lots of things with Chris I hope, I say only new things: * you will need the MIME patch. It allows you to supply expressions as values for the various arguments of the sendmail tag and its friends rather than constants. Search zope.org or the list's archive (the MIME patch has been mentioned recently, with URL where it can be found). * Use the following MIME types: wordapplication/msword excel application/vnd pdf application/pdf Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZClass -- Product
Steve Spicklemire [EMAIL PROTECTED] writes: Umm.. did you try it? I use it all the time... it does really work. You just can't use the ZClass 'folder' directly, you need to 'skip' to propertysheets/methods. Amazing! Yeah, I tried it by walking from the root, but as you demonstrate, if you go directly to the method, you can edit it. I swear this didn't work before. I haven't thrown away days of my life editing in the textarea. Really. -- Karl Anderson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] HappySession
I'm making a site with frames with session management. I'm using HappySession to do it... I need to call SESSION['something'] in various frames at the same time, but when a SESSION expire I got a Transaction Error that blow up my Zserver... Anyone know how to solve this or another SESSION product that doesnt have that problem? Thanks in advance -- --- 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 )
Re: [Zope] How to use DocumentTemplate custom formats from Python?
Dieter Maurer wrote: All other "*_quote" features are implemented via *arguments* (sql_quote, html_quote, url_quote). Why do you want to make your "javascript_quote" a format? Note, that you may want to quote a (otherwise) formatted value. I don't especially want to make it a format rather than a modifier - I take your point about being able to modify a formatted value. Before I was directed to the DT_Var module, I had been going just on what is in the DTML Reference, where it mentions only custom formats. I've now had a look at the DT_Var module, but I don't see an obvious way to register my own modifier without hacking the module. Hamish Lawson = Hamish Lawson [EMAIL PROTECTED] Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Localtime logging
Does anyone happen to know if Zope can be made to log in local time instead of UTC? David Trudgett ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: HappySession
--- In [EMAIL PROTECTED], Diego Rodrigo Neufert [EMAIL PROTECTED] wrote: I'm making a site with frames with session management. I'm using HappySession to do it... I need to call SESSION['something'] in various frames at the same time, but when a SESSION expire I got a Transaction Error that blow up my Zserver... Anyone know how to solve this or another SESSION product that doesnt have that problem? Arghh! Sorry about that. It made you very unhappy, I guess. :( Please try SQLSession and FSSession. I'll go dig into the problem. Could you provide a little bit more details? Anything will help. (Is your server Unix of Windows based? Have you had more then one crash?) obrigado, Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Localtime logging
I think the most recent release does do this.. at least I dimly remember a checkin message to that effect. David Trudgett wrote: Does anyone happen to know if Zope can be made to log in local time instead of UTC? David Trudgett ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to use DocumentTemplate custom formats from Python?
Hamish Lawson wrote: I'm using DocumentTemplate from Python (not in Zope) and I want to use a custom format 'javascript_quote' that I've written. In my DTML file I have: [snip] you should implement a formating function and register it with special_formats for examples of both look near the end /DocumentTemplate/DT_Var.py Kapil Another suggestion -- If the thing identified by the 'name' attribute is an instance of a class that you have implemented, then implement javascript_quote as a method in that class. If not, then use Kapil's suggestion above. In either case, you can find the relevant code in /DocumentTemplate/DT_Var.py. Search for 'special_formats' to find out how DocumentTemplate processing does the lookup and applies the formatting format/function/method. - Dave ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re[2]: [Zope] dtml-with and PARENTS[0]
Geir BXkholt wrote: ... acquisition, i guess.. satandard_html_header would not Now that is one 'hell' of a typo! ;^)= -- 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] Re: HappySession
My conjecture now is that your error-handling HTML might be accessing attributes from Zope server. A more correct way of handling exceptions should have been using the dtml-try...dtml-except.../dtml-try block. But I kind of make a cheat sheet recipe recommendation, tweaking the standard_error_message, which was not a good idea. When Zope arrives to standard_error_message, the transaction has been aborted and if your session_not_found_html is not simple enough and uses more DTML features, I can see that it can cause transaction error. Can you send me your session_not_found_html? I think this was the problem. In the future I will remove the standard_error_message trick from the help file and instead tell people to use proper exception handling, which is the right way of doing things. But it will require people to structure their sites more carefully so they can catch the SessionNotFound exception. Basically, it is recommended that you have single (or few) index_html on your site, and place a dtml-try...dtml-except ../dtml-try block to capture all exceptions from Zope and deal with them. It's the right way of doing things, it's just that many people tend to have many index_html and it will make their site harder to catch exceptions and deal with them in a centralized way. In short, HappySession itself is probably not the cause of the transaction error. The problem probably comes from bad exception handling. If you want to use the standard_error_message trick, then please use a simple html page for session_not_found_html without additional Zope features. If I find out more, I'll let you know. regards, Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The Challenge: Zealots vs. Skeptics
Marty McKeever at Work wrote: The question is this: "What are some examples of high-profile and/or enterprise level ecommerce or web production sites using zope?" Send me examples and i'll post them to the original thread. Did you try here? http://www.zope.org/Resources/CaseStudies -- Tim Cook -- FreePM Project Coordinator http://www.freepm.org OS Health Care 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 )
Re: [Zope] The Challenge: Zealots vs. Skeptics
Marty McKeever at Work wrote: A recent thread has developed on a well established web development list concerning the viability of zope as an appserver. I dont want to continue the thread here, but a good question was asked and no suitable answers have come in. Surely this list can help. The question is this: "What are some examples of high-profile and/or enterprise level ecommerce or web production sites using zope?" Send me examples and i'll post them to the original thread. Marty PS: dont send me to YOUR website, unless you can provide the traffic numbers that back it up. http://www.netcraft.com/survey/Reports/0008/bydomain/com/Zope.html Is a decent starting point... Particularly noteworthy entries: www.toyota-motorsports.com www.hiretechs.com www.hiringtools.com www.codecatalog.com and of course, zope.org. It may help to define what you mean by 'enterprise level'. Seems everyone has a different meaning for it. -- 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] Zope.org is soooooo slow (not really)
On Fri, 01 Sep 2000, J. Atwood wrote: Umm.. what makes you say it is slow? It popped up just as fast as Microsoft.com and Apple.com this morning (with each page after even faster). Might be your connection. Certainly not slow from here (NYC, DSL) J I have to agree with Erik... Sometimes (much of the time) it comes through just fine. But on some days (and it does seem to last just the day) it's slower than a wet weekend. Saying it works fine for you isn't really all that fair, since you are in the same country. What would be interesting to know is WHY it gets slow. If it really is something beyond their control, perhaps mirror sites? Have a better one, Curtis. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )