[Zope] what's with zope.org?
got this traceback -- -- http://www.kedai.com.my/kk Am I Evil? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope and IIS image path problem
Hi I have followed brianh and jephte's instructions with success. Thanks chaps! A small problem is that some (but not all :-?) of the image paths in the management screen are broken. I will continue to investigate, but if anyone knows this problem (and the solution) I would be grateful for some advice. Neil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Subclassing File
So, perhaps I'm stupid. I created a new ZClass and set its base class to File. I did think because I wanted to create a ManagedDocument that's like a File but also keep track of a bunch of additional (dumb) metadata (like Status, Author, etc.) I added these items to a new property sheet, but now I don't seem to be able to create any instances of this new object. When I do, I'm prompted for the id for the new object, but then get an error about 'title' being undefined. So maybe I'm stupid; or maybe it's late. Is there some reason why subclassing File should be less-straightforward than just creating a vanilla ZClass without any base class (which works fine for me)? Thanks, David ___ David Ornstein, CTO, NuvoMedia, Inc. AIM: dbo666 voice: 650-314-1200 web: http://www.nuvomedia.com/ PGP Public Key Available at: ldap://certserver.pgp.com "An honest man is able to speak for himself, when a knave is not." Shakespeare, King Henry VI., Part 2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Too many Roles?
- Original Message - From: "David Ornstein" <[EMAIL PROTECTED]> To: "zope-admin" <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 11:25 PM Subject: [Zope] Too many Roles? > >>> Is it crazy to have 20 or 30 roles in my Zope system? > > I've got members of the site who sit on this working group or that working > group and various subgroups and I need to be able to control access to the > various areas of the site based on this membership. Roles seem like the > right choice here, but I'm wondering if this is crzay. Does this rub any of > the Zopexperts the wrong way? You might want to look at Local Roles. I believe using Local Roles, you could create a role like "WGMember", and then designate that certain people have the WGMember role in certain folders... this may work out to be cleaner than building separate roles for working group... Kevin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Too many Roles?
Hi All, As I mentioned in my last post: [I'm trying to put in place the infrastructure to manage a trade organization that does a lot of standards work for the eBook world (http://www.openebook.org/). At the moment, the site is all static. We now have a handful of working groups with subgroups, etc. I'm trying to pick the right technology to build a much fancier site with lots of groupware stuff. Zope looks pretty good..] >>> Is it crazy to have 20 or 30 roles in my Zope system? I've got members of the site who sit on this working group or that working group and various subgroups and I need to be able to control access to the various areas of the site based on this membership. Roles seem like the right choice here, but I'm wondering if this is crzay. Does this rub any of the Zopexperts the wrong way? David ___ David Ornstein, CTO, NuvoMedia, Inc. AIM: dbo666 voice: 650-314-1200 web: http://www.nuvomedia.com/ PGP Public Key Available at: ldap://certserver.pgp.com "An honest man is able to speak for himself, when a knave is not." Shakespeare, King Henry VI., Part 2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: Fwd: Re: [Zope] PoPy module
On Mon, 05 Jun 2000, Thierry MICHEL wrote: > > > 2. Whether Auto-commit mode is on or off on ZPoPyDA the new postgres > > 7.0 syntax > > "select * from foo limit 20 offset 10" returns all records of foo and > > not only 20 ! > > With PyGreSQLDA it works :-) > > That's running every where, it's strange that's not running on your system. > Do you have packed the database of Zope ? Do you have create a new object ? > i will vouch for this, although i'm using postgres 6.5 (from rpm). i packed the database, stop and start zope. create a zpopyda connection, and test the connection with SQL query. and limit doesn't work. > PygresqlDA runs ok because it doesn't deal with cursors ... :-) > > Thierry > [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] dtml-tree help
Pete Kazmier wrote: > > Hi, > > I think this is a simle question but I've been struggling for the last > two days trying to get it to work. I have a heirarchy of folders > (really a custom container class) and files (really a custom object). > I want to emulate the Window's Explorer interface, left side of page > occupied with a tree of the entire hierarchy, and the right side > contains the details. > > Is this possible? Is it also possible to synchronize both views, for > example, if the user decides to navigate with the right half of the > screen, the left half would update accordingly? Does anyone have any > pointers for me or links or examples? How about the Zope mgmt interface? > One other question, how do I refer to a specific object in a python? > If /status is a folder, how would I refer to the /status folder from > any number of subfolders within? acquisition. :-) i'd give a longer answer but it would take five pages. You can also use the PARENTS construct to get the root object ala: root = self.PARENTS[-1] status = root.status ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 admin/backup question
>>> ethan mindlace fremen wrote > > Also, are the Data.fs.in and Data.fs.lock files necessary for restore or 'm oving' a Zope > > install? I have already just moved the Data.fs file over to a virgin Zope i nstall and it > > seems to be working OK. > > Data.fs.in is an index that helps zope get started faster. If you start Data.fs.in is the starting default Data.fs. Data.fs.index is the index. Pedantically, Anthony ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Virtual host admin under Apache+ZServer+SiteAccess
J M Cerqueira Esteves wrote: > However, I'm using Apache with ZServer and SiteAccess for virtual > hosting as documented in http://www.zope.org/Members/anser/apache_zserver, > and this has a nasty implication: once I activate a SiteRoot inside some > Zope folder "/parrot" for making it the top folder of a virtual host > http://parrot.bar/, the use of URLs under http://parrot.bar/ is forced > whenever administering content under the "/parrot" folder, even if > arriving from a foo.bar:8080 document: the browser is then no longer > connecting through the secure channel but talking directly with > http://parrot.bar/. Of course this could also be redirected, but not so > easily. > > In this example, it would be nice to be able to administer the contents > of http://parrot.bar/ either via parrot.bar (typically for less > sensitive content, end users) or via foo.bar:8080 (more delicate > administrative tasks, administrators which know how to encrypt > communication with ssh). Is there interest (or is it feasible) to make > virtual hosting support evolve to allow this? You can do it now with a properly formed siteaccess rule. I think this code works, but I don't know if Zope "sees" localhost or foo.bar : change as necessary. Get the hostname: http://foo.bar:8080/')"> If we're managing /parrot, make sure to reset the SiteRootPATH At this point you need to leave SiteRootBASE & PATH blank in all folders and set them programmatically with the Access Rule. You could probably generalize this. ~emf Zopista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] CHAT
Gonçalo Gomes wrote: > > Silver_Surfer: how do you see the future of Zope fighting against PHP > space on the web? > > Jim: I don't know much (enough) about PHP, but from what I vaguely > know, PHP methods seem like a logical step. > > this answer was done to my question (i am lucipher) and i asked > > "how do you define zope and php?" Hey, that's cool. When a similar question gets asked by several people, for the summary, I have to choose. I thought it was more ... poetic as I summarized it. ~ethan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 admin/backup question
Andrew Diller wrote: > > Backing up Data.fs everynight--- is it in a usable state if it is backed up while >Zope is > running? new or changed objects are just appended to the existing file. Anything appended whilst copying will not be in the backup. The backup, however, should be fine. > Also, are the Data.fs.in and Data.fs.lock files necessary for restore or 'moving' a >Zope > install? I have already just moved the Data.fs file over to a virgin Zope install >and it > seems to be working OK. Data.fs.in is an index that helps zope get started faster. If you start without it, then zope has to read the entire Data.fs file. Data.fs.lock file is the file that says that the data.fs is in use. If you delete this whilst running, and start zope again on the same zodb, Very Bad Things(tm) could happen. ~emf Zopista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZOPE, Xemacs, html-mode, & indentation
> "jiva" == [EMAIL PROTECTED] <[EMAIL PROTECTED]> writes: jiva> I am using XEmacs with it's html mode to work on some dtml code. I jiva> can get it to switch to html mode easily for the dtml stuff even jiva> though I'm not naming my files with .html extensions by doing: M-x jiva> html-mode Unfortunately, no matter what I do, I can't get it to do jiva> it's indentation on anything unless it's actually *started* in the jiva> html-mode (ie: I do a new file with a .html extension) I just ran into the same problem. It appears that XEmacs html-mode parses the html in the buffer. If it doesn't parse correctly, the indentation stuff doesn't work. To see this, try editing something without any dtml in it -- indentation should work fine. As soon as you add at the top, indentation stops working. I guess the fix is to write a dtml DTD for XEmacs html-mode. Has anyone already done this? -- 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 )
[Zope] dtml-tree help
Hi, I think this is a simle question but I've been struggling for the last two days trying to get it to work. I have a heirarchy of folders (really a custom container class) and files (really a custom object). I want to emulate the Window's Explorer interface, left side of page occupied with a tree of the entire hierarchy, and the right side contains the details. Is this possible? Is it also possible to synchronize both views, for example, if the user decides to navigate with the right half of the screen, the left half would update accordingly? Does anyone have any pointers for me or links or examples? One other question, how do I refer to a specific object in a python? If /status is a folder, how would I refer to the /status folder from any number of subfolders within? Thanks in advance!! Pete -- Peter Kazmier http://www.kazmier.com PGP Fingerprint 4FE7 8DA3 D0B5 9CAA 69DC 7243 1855 BC2E 4B43 5654 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Documentation Chat!
Zopistas! Amos Latteier and Michel Pelletier will be on #zope Tuesday, 19:00 EST June 06th, to talk about the state of documentation in zope. More information is availiable at: http://www.zope.org/Documentation/Chats/ Be there or be square. ~ethan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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't edit saved file
Try turning off caching on your browser - Original Message - From: "Jilani Khaldi" <[EMAIL PROTECTED]> To: "Zope ML" <[EMAIL PROTECTED]> Sent: 06 June 2000 00:00 Subject: [Zope] Can't edit saved file > Hi, > I can't edit modified and saved files and everytime I open the folder > and press the edit tab I see: > > > > > This is the Document. > > > > As it was the first time I create it. > I am sure the file are saved on the server, because I can see them with > the browser but I can't get them into the Zope editor. I am trying for > hours and hours but without success. What is the trick? Zope is really > difficult to manage :( . I am give it its last chance! > > -- > > ___ > http://space.tin.it/scuola/jkhaldi > FreeBSD ~ The Power to Serve > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** 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] Suggestions for an approach - document library
Hi All, I'm trying to put in place the infrastructure to manage a trade organization that does a lot of standards work for the eBook world (http://www.openebook.org/). At the moment, the site is all static. We now have a handful of working groups with subgroups, etc. I'm trying to pick the right technology to build a much fancier site with lots of groupware stuff. Zope looks pretty good.. I'm looking for suggestions for how to tackle one of the pieces I think I need. I don't know Python (yet), but do know a dozen other OO languages and web stuff pretty much inside out... I've created a WorkingGroup ZClass. I'm going to create WorkingGroups for each of the workign groups in the "real world." I want to give them the ability to have a library of documents that are meaningful for their work. I want to capture certain metadata about each Document (author, etc.). I want the documents to be URL-addressable and to be protectable using the standard Zope security system. I imagine that the DTHL for the index view of WorkingGroup will have, among other things, a list of documents in the document library (for that WorkignGroup) with the ability to add/remove/update/etc... While many of the folks on the working groups will be web-savvy, this whole thing should behave as an application for them. I don't believe I want to expose them to the Zope Management interface. I'm trying to figure out which direction to head. Would you build a new ZClass called DocumentLibrary and another called Document (maybe subclass from File somehow?)? How would you generate the table view of all the documents in a DocumentLibrary (DTML in the index view of the DocumentLibrary)? How would you deal with next/prev if the list's too long? I'm willing to do the work, but I'd rather have a sense that I'm pursuing this in a way that embodies some ZopeSense. Suggestions? Thanks much, David ___ David Ornstein, CTO, NuvoMedia, Inc. AIM: dbo666 voice: 650-314-1200 web: http://www.nuvomedia.com/ PGP Public Key Available at: ldap://certserver.pgp.com "An honest man is able to speak for himself, when a knave is not." Shakespeare, King Henry VI., Part 2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: e-tailer & Mailhost
The e-tailer product has its own mailhost. You dont need to create another instance of a mailhost. Just enter in the standard mailhost parameters in Mailhost tab in the e-tailer management. "J. Michael Mc Kay" wrote: > I'm have some difficuties with e-tailer and setting up mailhost. Where is > the best location for mailhost. > I have a directory structure like this: > > /a_la_cart/mailhost > /a_la_cart/e-tailer > > Mailhost is in the a_la_cart directory with the e-tailer account. In "order > management", when I enter the address to recieve orders, submit it, the > management area does not update but errs out instead. > > I am trying to set-up multiple e-tailers and have them all send mail from > each e-tailer. > > thanks. > > - Original Message - > From: "Terry Kerr" <[EMAIL PROTECTED]> > To: "Graham Chiu" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Sunday, May 28, 2000 9:09 PM > Subject: Re: [Zope] E-Commerce solution using Python and Zope. > > > Graham Chiu wrote: > > > > > > > > > >these problems were fixed...it was only a problem initially caused by > an > > > >upgrade. > > > > > > > > > > Hi, > > > > > > A couple of other things. On your front page, the non-hilighted 'demo' > > > image is broken. If you go to www.adroit.com there are more broken > images. > > > You may not be seeing them if they're in your cache. > > > > > Also, your shopping cart is still broken. > > > > > > Try this > > > > > > 1. select an image and place into cart. > > > 2. go to check out > > > 3. don't enter any details and click on buy > > > 4. It then asks for credit card details - when it shouldn't really allow > you > > > this far > > > 5. Then just keep backing out and the cart empties out :-( > > > > > > I downloaded the latest checkout but haven't had to a chance to see > where > > > the bug is. > > > > > > > Ok...I found the bug that allows you to buy without entering any details > I can > > fix it. > > > > Yes, after you have entered the checkout, you cannot back out. This was > just > > overlooked...it will be fixed. > > > > > > > > Otherwise it looks quite good, though I would prefer a solution that > uses a > > > relational database to save data. ( My own Zope Ecommerce site has about > > > 24,000 items which would be a bit painful to add items using a through > the > > > web interface. ) > > > > > > > We didn't use a relational database because it is way too is too complex > for > > the intended use of the product. The idea behind e-tailer was to have an > > ecommerce product which is extremely simple and quick to setup. Setting > up a > > shop is as simple as adding an e-tailer from the manage screen of a > folder. It > > takes less that 5 minutes to have the shop fully setup and ready to go and > > accepting secure credit information. I don't know of any other ecommerce > > products that are that easy to setup. Besides, there are no easy ways to > > manipulate an SQL backend like we do with the e-tailer catalog. Things > like > > adding and remove product properties, and giving properties to categories > that > > all the products within that category will aquire, and having products and > > categories aquiring template styles, etc. This is all very difficult if > not > > impossible to acheive with a flat relational database. > > > > We never intended for e-tailer to hold 24000 items! Although i dont see > any > > problem with this. We have done some tests with over 5 cataloged > items in > > a zodb and searching was fine. I agree that adding 24000 items through a > web > > interface would be painful ;-) We need to create a tool that can upload > items > > from other storages so that this kind of process can be speed up. > > > > Having said all that, we are looking at possibly integrating a backend > > relational database. > > > > Any more feedback is greatly appreciated! ;-) > > > > terry > > > > > > > > > > --- > > > Graham Chiu > > > http://www.compkarori.co.nz/index.php > > > http://www.compkarori.com/dynamo -- The HomeBuilt Dynamo > > > http://www.compkarori.com/dbase -- The dBase Bulletin > > > > > > > > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > > -- > > Terry Kerr ([EMAIL PROTECTED]) > > Adroit Internet Solutions Pty Ltd (www.adroit.net) > > Phone: (03) 9563 4461 > > Fax: (03) 9563 3856 > > Mobile: 0414 938 124 > > > > > > > > > > ___ > > Zope maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope-dev ) > > > > -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 __
[Zope] Can't edit saved file
Hi, I can't edit modified and saved files and everytime I open the folder and press the edit tab I see: This is the Document. As it was the first time I create it. I am sure the file are saved on the server, because I can see them with the browser but I can't get them into the Zope editor. I am trying for hours and hours but without success. What is the trick? Zope is really difficult to manage :( . I am give it its last chance! -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power to Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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, Xemacs, html-mode, & indentation.
Regarding my html-mode-hook suggestion: >> Nope, didn't work. It looks like html-mode is actually a refinement of sgml-mode. After loading it and asking for help on it, I see Major mode for editing HTML documents. This is based on PSGML mode, and has a sophisticated SGML parser in it. It knows how to properly indent HTML/SGML documents, ... How about (setq sgml-mode-hook (function (lambda () (turn-on-auto-fill instead? Setting text-mode-hook may also do the trick: (setq text-mode-hook (function (lambda () (turn-on-auto-fill In sgml-mode (which html-mode is derived from), I see (run-hooks 'text-mode-hook 'sgml-mode-hook) so either ought to work, presuming sgml-mode doesn't do something further to defeat auto-fill-mode. If all else fails, search the xemacs newsgroup archives at deja.com or mail the package's maintainer (his email is at the top of psgml.el)... -- Skip Montanaro, [EMAIL PROTECTED], http://www.mojam.com/, http://www.musi-cal.com/ "We have become ... the stewards of life's continuity on earth. We did not ask for this role... We may not be suited to it, but here we are." - Stephen Jay Gould ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] DCOracle hit by new [].append() behavior?
Luis Cortes <[EMAIL PROTECTED]> writes: > >From what I understand ( reading what has changed in Python 1.6 ), you can make > the arguements a tuple and you should be okay. like so: > > out.append( (buf,dbsize,dbtype,ind,alen,arcode, f) ) Yes, I understand what sorts of things need to change and how to change them. However, it was DCOracle code, not mine, that had this bug. I was simply asking if someone had already made the appropriate changes to DCOracle. If not, I'll make them myself. I don't know if that particular bit of code in ociCurs.py is the only thing in DCOracle that is affected by this, and figured that I'd see if anyone else had tracked it down yet. -Justin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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, Xemacs, html-mode, & indentation.
No, this just lets you hit tab to indent. HTML mode has a special automatic indentation capability that isn't working here. That's what I am trying to turn on. On Mon, Jun 05, 2000 at 03:32:01PM -0400, Chris McDonough wrote: > I don't know about xemacs, but gnu emacs has indented-text-mode > > M - x indented-text-mode > > > From: Skip Montanaro [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 05, 2000 3:28 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: [Zope] ZOPE, Xemacs, html-mode, & indentation. > > > > > > > > >> So the question is, how do I turn on auto-indent in > > xemacs for dtml > > >> code? Does anyone have a mode specially for this? > > > > You should be able to define an html-mode-hook that goes > > something like > > > > (setq html-mode-hook > > (function > >(lambda () > > (turn-on-auto-fill > > -- Only someone with nothing to be sorry for smiles back at the rear of an elephant. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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, Xemacs, html-mode, & indentation.
Nope, didn't work. On Mon, Jun 05, 2000 at 02:27:52PM -0500, Skip Montanaro wrote: > > >> So the question is, how do I turn on auto-indent in xemacs for dtml > >> code? Does anyone have a mode specially for this? > > You should be able to define an html-mode-hook that goes something like > > (setq html-mode-hook > (function > (lambda () >(turn-on-auto-fill > -- Many aligators will be slain, but the swamp will remain. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 needed for a new zope fan!
Try http://localhost:8080/manage > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Jilani Khaldi > Sent: Monday, June 05, 2000 2:02 PM > To: Zope ML > Subject: [Zope] Help needed for a new zope fan! > > > Hi, > I have just installed Zope on Linux, Windows NT, and Windows 2000 Pro. > No problem, it works. I have created a new user, and logged in. I have > added a folder (id=home and Title= my home page). I opened the folder > "home" and edited some text, I saved the change and "View in New > Window"; I saw the result as expected in : http://localhost:8000/home . > Ok. I closed my Zope very happy; but when later I tried to edit my home > page I find only the text generated by Zope and I can see it only when I > call it from the browser (http://localhost:8000/home). How to re-edit a > page already saved? > > Thank you. > > ps. > I have had the same problem following step-by-step the example giver > with Zope. > > -- > > ___ > http://space.tin.it/scuola/jkhaldi > FreeBSD ~ The Power to Serve > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** 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] DCOracle hit by new [].append() behavior?
>From what I understand ( reading what has changed in Python 1.6 ), you can make the arguements a tuple and you should be okay. like so: out.append( (buf,dbsize,dbtype,ind,alen,arcode, f) ) Let me know, Luis. On Mon, 05 Jun 2000, you wrote: >> I have successfully built DCOracle 1.3.1b1 under Python 1.6a2, and >> connected to an Oracle database. >> >> However... >> >> >>> cursor1.execute('select * from sometable') >> Traceback (most recent call last): >> File "", line 1, in ? >> File "/home/justin/py/DCOracle/ociCurs.py", line 299, in execute >> r = self._execute(params__, kw) >> File "/home/justin/py/DCOracle/ociCurs.py", line 241, in _execute >> out=self._describe(self._ft) >> File "/home/justin/py/DCOracle/ociCurs.py", line 201, in _describe >> out.append(buf,dbsize,dbtype,ind,alen,arcode, f) >> TypeError: append requires exactly 1 argument; 7 given >> >>> >> >> Looks to me like DCOracle doesn't comply to the definition of >> [].append(), and has thus been bitten by Guido's changes to make this >> behavior more strictly enforced. >> >> Has anyone already done the necessary patches, or shall I do it myself? >> >> -Justin >> >> >> >> ___ >> Zope maillist - [EMAIL PROTECTED] >> http://lists.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> http://lists.zope.org/mailman/listinfo/zope-announce >> http://lists.zope.org/mailman/listinfo/zope-dev ) -- == Luis Cortes Pollak EPD (915) 621-6113 == ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] is WebDAV a security hole?
> Thanx for an informative response! > > Btw I tried WebDAV vs. www.zope.org and that site refused the > connection > attempt. > Is there some obvious setting that I can use to disable > WebDAV, since I > don't need it (as far as I know;) DAV won't work for zope.org because it runs behind apache and we've never done the incantation apache requires to let cgi-ish processes handle their own DAV requests. As far as disabling DAV support, there's no real way to do that (except for running behind apache or another server that interferes with DAV requests by default). This really shouldn't be a problem - the extended HTTP methods that provide DAV support all basically have Zope api corollaries, so the DAV methods are protected by the analogous permissions. For example: PROPFIND -> manage properties PROPPATCH -> manage properties DELETE-> delete objects MKCOL -> Add folders ...and so on. GET, POST and PUT are used by DAV exactly as in the HTTP spec, so if you can "download" something via DAV then you could also have gotten it with your normal non-DAV aware browser. 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 )
[Zope] DCOracle hit by new [].append() behavior?
I have successfully built DCOracle 1.3.1b1 under Python 1.6a2, and connected to an Oracle database. However... >>> cursor1.execute('select * from sometable') Traceback (most recent call last): File "", line 1, in ? File "/home/justin/py/DCOracle/ociCurs.py", line 299, in execute r = self._execute(params__, kw) File "/home/justin/py/DCOracle/ociCurs.py", line 241, in _execute out=self._describe(self._ft) File "/home/justin/py/DCOracle/ociCurs.py", line 201, in _describe out.append(buf,dbsize,dbtype,ind,alen,arcode, f) TypeError: append requires exactly 1 argument; 7 given >>> Looks to me like DCOracle doesn't comply to the definition of [].append(), and has thus been bitten by Guido's changes to make this behavior more strictly enforced. Has anyone already done the necessary patches, or shall I do it myself? -Justin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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, Xemacs, html-mode, & indentation.
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode > -Original Message- > From: Skip Montanaro [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 05, 2000 3:28 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] ZOPE, Xemacs, html-mode, & indentation. > > > > >> So the question is, how do I turn on auto-indent in > xemacs for dtml > >> code? Does anyone have a mode specially for this? > > You should be able to define an html-mode-hook that goes > something like > > (setq html-mode-hook > (function > (lambda () >(turn-on-auto-fill > > -- > Skip Montanaro, [EMAIL PROTECTED], http://www.mojam.com/, > http://www.musi-cal.com/ > "We have become ... the stewards of life's continuity on > earth. We did not > ask for this role... We may not be suited to it, but here we are." > - Stephen Jay Gould > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZOPE, Xemacs, html-mode, & indentation.
>> So the question is, how do I turn on auto-indent in xemacs for dtml >> code? Does anyone have a mode specially for this? You should be able to define an html-mode-hook that goes something like (setq html-mode-hook (function (lambda () (turn-on-auto-fill -- Skip Montanaro, [EMAIL PROTECTED], http://www.mojam.com/, http://www.musi-cal.com/ "We have become ... the stewards of life's continuity on earth. We did not ask for this role... We may not be suited to it, but here we are." - Stephen Jay Gould ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] import-export
Hi, My Little Problem : I have zope version 2.1.6 running on two servers. I have a folder containing dtml methods and zsqlmethods which I want to import from server A to server B It doesn't work. It used to work, but not any more. this is the error it throws... File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/ObjectManager.py, line 484, in manage_importObject (Object: ElementWithAttributes) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZODB/ExportImport.py, line 266, in importFile ExportError: (see above) Help Regards Ronnie ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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, Xemacs, html-mode, & indentation.
I am using XEmacs with it's html mode to work on some dtml code. I can get it to switch to html mode easily for the dtml stuff even though I'm not naming my files with .html extensions by doing: M-x html-mode Unfortunately, no matter what I do, I can't get it to do it's indentation on anything unless it's actually *started* in the html-mode (ie: I do a new file with a .html extension) So the question is, how do I turn on auto-indent in xemacs for dtml code? Does anyone have a mode specially for this? -- Absence in love is like water upon fire; a little quickens, but much extinguishes it. -- Hannah More ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 LDAP Browser
...Well... You should try again...! I do have connexions ! Here is the URL in a "clickable" form : http://www.xlogx.org/Zygopetale If it still doesn't work, then there must be a bug in my multilingual management...! You should then enforce english language by trying http://www.en.xlogx.org/Zygopetale P.-J. Timothy Wilson wrote: > > On Mon, 5 Jun 2000, Pierre-Julien Grizel wrote: > > > I wrote in my spare time a LDAP browser with Zope. You can try it at > > www.xlogx.org/Zygopetale (it's available in french & english). > > I can't find any sign of an xlogx.org domain. Am I missing something? > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > [EMAIL PROTECTED] || http://linux.com/ > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: detail record editing
--- In [EMAIL PROTECTED], Robert Del Huerto <[EMAIL PROTECTED]> wrote: >I can get Zope to generate a table and form like this from an SQL >database. I'm stuck after that. The form only has one 'action' so how >would I get it to handle the right function depending on the button that >was pushed? The short answer is: use JavaScript. Instead of using , I use . I guess an example is better than long explanations. -- -- In the first case (go_notes), your submission is sent to the "Notes" folder inside Zope, and it's handled by the conventional index_html method. In the second case (go_edit), your submission is sent to the "Person" folder and it's handled by the "method_edit" method inside the "Person" folder. The "method_edit:method" tag in the above code tells Zope that "method_edit" is a method. It's a Zope thing, and you won't find it in JavaScript books. I find it useful to put my methods that handle a Person inside the Person folder, so I can have something like method_edit method_delete method_update ... neatly lined up inside the Person folder. Another trick is, inside these handling methods, at the end I do a redirection, something like: That is, the handling methods only handle the logical part. For actually displaying the result, I use redirection to a displaying page. Oh, on the &dtml.url-...; notation: if you need more complicated URLs, you cannot use the "&dtml.url-Object;" notation. You have to use "" notation instead. Now you know how to make Zope work for you. :) regards, Hung Jung Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] Help needed for a new zope fan!
Hi, I have just installed Zope on Linux, Windows NT, and Windows 2000 Pro. No problem, it works. I have created a new user, and logged in. I have added a folder (id=home and Title= my home page). I opened the folder "home" and edited some text, I saved the change and "View in New Window"; I saw the result as expected in : http://localhost:8000/home . Ok. I closed my Zope very happy; but when later I tried to edit my home page I find only the text generated by Zope and I can see it only when I call it from the browser (http://localhost:8000/home). How to re-edit a page already saved? Thank you. ps. I have had the same problem following step-by-step the example giver with Zope. -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power to Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] is WebDAV a security hole?
Brian Lloyd wrote: > > If I used some other WebDAV client, could I then download > > acl_users, and > > if so, would this expose usernames/passwords? > > It would not expose passwords - I believe that what you are seeing > is a sort of non-obvious but basically harmless thing. User folders > (acl_users) do not have an index_html method (by design). When a > DAV client tries to "download" acl_users, it is actually acquiring > the closest index_html from above and downloading that :^) One > could argue that this is lame and that attempting to GET > .../acl_users/ should raise an error (404?). I'm interested in > other viewpoints on this - if there is some consensus, a proposed > change should be put in the Collector. Thanx for an informative response! Btw I tried WebDAV vs. www.zope.org and that site refused the connection attempt. Is there some obvious setting that I can use to disable WebDAV, since I don't need it (as far as I know;) regards /Jacob Lundqvist -- Mail: [EMAIL PROTECTED] Phone: +46-708-555 456 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Proposal for mail-in to Zope
"Cary O'Brien" <[EMAIL PROTECTED]> wrote: > >> - pull mail from a POP or IMAP server. This had the downside that it >>introduced polling into the system (slow) and also required something >>to happen on a schedule, which doesn't happen in Zope yet. >> > >Here I'd have to disagree. I would definately include polling of a >POP box as a way to get mail into the system. I think what we'll try and do is keep the interfaces clean so that a POP collector could be implemented, but its not a priority for us at the moment. I appreciate its important for some people, but I need to solve a particular problem at the moment. >Ok, so you could set up fetchmail to poll the pop box and redeliver >locally, but that is a lot of setup. > >And isn't there a ZScheduler that will schedule operations in the >future? And there is that nice python pop client interface. Apparently ZScheduler doesn't work yet. > > So: >> - Within Exim, use the "pipe" transport to get email for a particular >>host sent to a program on the standard input. If the program called >>returns certain codes then Exim will queue the message and try again. >> > >I think you can do this with sendmail by putting "|command" in .forward. Yeah, but I don't think you can have the program return error codes and have sendmail queue the mail and retry later. We want to avoid building something that has to store the mail in case Zope is down - email systems do that perfectly well at the moment. According to the docs, Exim will queue the mail if the program returns the appropriate error. >The nice thing would be have a nice class for storing mail (either >in the ZODB or an RDBMS), and a couple of ways to feed it (.forward >with a pipe for sendmail, whatever for exim..). That way people >can work with mail no matter how it was dumped into the system. You could certainly put that on top of what we're going to produce. We're trying to keep it very generic and call some kind of (DTML) method, and the world is your oyster from there Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] tree state cookie
I don't think you can disable the tree storing a cookie. I must say though, it is going to get harder and hard to find sites that don't use cookies. It is doable, but not pretty. Cookies are good for you (if you eat them sparingly) :) J > Howdy! > > I just recently got complaints from people visiting my web site. They > have activated the "website wants to set cookie" alarm and they got > lots of alarms when visiting my website. Since I never use any > cookies it wasn't hard to find the cause: I wasn't aware that trees > use cookies to store their state. Is there an option to disable this? > (Cuz I don't want no cookies;) > > --Ragnar ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How do you call the string?
I'm not sure what you mean by "call the string"? If you have some properties of a DTML Document you can call them within that document by saying . So if you had a property "count" you could say If this doesn't answer your question, try to re-phrase it so we can get a better idea of what you are trying to do. - Ian. - Original Message - From: "Martin Seehuusen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 04, 2000 4:26 PM Subject: [Zope] How do you call the string? Hi! I would like to look up the properties on an html file that I've made. I've made a string on my html file, but I'm not sure how to call it! I've understood that a is to be used, but I don't know what the string is called. Could someone help me with that!? /Martin S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] detail record editing
I'm just beginning my journey into Zopeland so please forgive my ignorance. I'd like to be able to give users a chance to edit records found in a table by selecting the desired record's checkbox and then clicking 'Modify'. This is similar to the Zope management screen. I just don't know how to approach it. I can get Zope to generate a table and form like this from an SQL database. I'm stuck after that. The form only has one 'action' so how would I get it to handle the right function depending on the button that was pushed? I'm no HTML expert but I've looked around quite a bit for an answer and I can't seem to find any info on handling multiple submit buttons. Can Zope make this any easier? (using ZClasses, maybe?) I've also tried searching through the mail archives but I haven't found anything yet. (There are a lot of messages to go through them one at a time.) +---+---+-++ | |Doe|Jane |$100.00 | +---+---+-++ | X |Doe|John |$250.00 | +---+---+-++ | |Haggis |Meister |$100.00 | +---+---+-++ | |Zoper |Doper|$723.00 | +---+---+-++ | +--+ +--+ +--+ | | | ADD| | MODIFY | | DELETE | | | +--+ +--+ +--+ | +--+ thanks, robert ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] e-tailer & Mailhost
I'm have some difficuties with e-tailer and setting up mailhost. Where is the best location for mailhost. I have a directory structure like this: /a_la_cart/mailhost /a_la_cart/e-tailer Mailhost is in the a_la_cart directory with the e-tailer account. In "order management", when I enter the address to recieve orders, submit it, the management area does not update but errs out instead. I am trying to set-up multiple e-tailers and have them all send mail from each e-tailer. thanks. - Original Message - From: "Terry Kerr" <[EMAIL PROTECTED]> To: "Graham Chiu" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, May 28, 2000 9:09 PM Subject: Re: [Zope] E-Commerce solution using Python and Zope. > Graham Chiu wrote: > > > > > > >these problems were fixed...it was only a problem initially caused by an > > >upgrade. > > > > > > > Hi, > > > > A couple of other things. On your front page, the non-hilighted 'demo' > > image is broken. If you go to www.adroit.com there are more broken images. > > You may not be seeing them if they're in your cache. > > > Also, your shopping cart is still broken. > > > > Try this > > > > 1. select an image and place into cart. > > 2. go to check out > > 3. don't enter any details and click on buy > > 4. It then asks for credit card details - when it shouldn't really allow you > > this far > > 5. Then just keep backing out and the cart empties out :-( > > > > I downloaded the latest checkout but haven't had to a chance to see where > > the bug is. > > > > Ok...I found the bug that allows you to buy without entering any details I can > fix it. > > Yes, after you have entered the checkout, you cannot back out. This was just > overlooked...it will be fixed. > > > > > Otherwise it looks quite good, though I would prefer a solution that uses a > > relational database to save data. ( My own Zope Ecommerce site has about > > 24,000 items which would be a bit painful to add items using a through the > > web interface. ) > > > > We didn't use a relational database because it is way too is too complex for > the intended use of the product. The idea behind e-tailer was to have an > ecommerce product which is extremely simple and quick to setup. Setting up a > shop is as simple as adding an e-tailer from the manage screen of a folder. It > takes less that 5 minutes to have the shop fully setup and ready to go and > accepting secure credit information. I don't know of any other ecommerce > products that are that easy to setup. Besides, there are no easy ways to > manipulate an SQL backend like we do with the e-tailer catalog. Things like > adding and remove product properties, and giving properties to categories that > all the products within that category will aquire, and having products and > categories aquiring template styles, etc. This is all very difficult if not > impossible to acheive with a flat relational database. > > We never intended for e-tailer to hold 24000 items! Although i dont see any > problem with this. We have done some tests with over 5 cataloged items in > a zodb and searching was fine. I agree that adding 24000 items through a web > interface would be painful ;-) We need to create a tool that can upload items > from other storages so that this kind of process can be speed up. > > Having said all that, we are looking at possibly integrating a backend > relational database. > > Any more feedback is greatly appreciated! ;-) > > terry > > > > > > --- > > Graham Chiu > > http://www.compkarori.co.nz/index.php > > http://www.compkarori.com/dynamo -- The HomeBuilt Dynamo > > http://www.compkarori.com/dbase -- The dBase Bulletin > > > > > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > -- > Terry Kerr ([EMAIL PROTECTED]) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: (03) 9563 4461 > Fax: (03) 9563 3856 > Mobile: 0414 938 124 > > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** 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] ZClass and class variable
Yes, if what you need is a variable shared by all instances of the class. You need to use a property sheet. The "How-To" http://www.zope.org/Members/lstaffor/zProperties might help answer this question, though it speaks more about instance variables. -- Loren > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Francois-Regis CHALAOUX > Sent: Monday, June 05, 2000 09:12 > To: Receipt Notification Requested > Subject: [Zope] ZClass and class variable > Sensitivity: Personal > > > Hi all, > > Is it possible to declare a class variable in a Zclass? > And if yes, how to call this variable in class ZClass methodes? > > Bye, 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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Copy/Paste cookie problem
Hello! I constantly have cookie problem (at least I think it's cookie problem). I cannot copy/paste. What is worse, the behaviour is a bit inconsistent. I have two almost identical installations on two different computers. On one of them I can do copy/paste almost always. (Sometimes Zope doesn't show Paste button). On the other computer Zope dosn't show Paste almost always. When I reboot Netscape, I can do copy/paste for some short time, and then Zope again stops showing Paste button. To trace the problem I've add cookie module to filtering proxy that I'm using (http://theory.stanford.edu/~amitp/proxy.html) and can see the whole cookie sent/received log. Nothing suspicious in th log - browser sends and receives __cp cookie (along with other cookies). Example: (I do copy:) |<--!-- Cookie Received __cp="x%da%d3%60b%60%60%c8%04b%86hF%20%a1%01%e2%16%83%b9,%20%16%07%03%1c0%21q%98%85%909%12%c8%9c%2a%00%c6%0e%04%87"; Path=/pcgi (I switched to different folder:) |--!--> Cookie Sent tree-s="eJyLjlZ3hANPW/XYWAAtiQTP"; __cp="x%da%d3%60b%60%60%c8%04b%86hF%20%a1%01%e2%16%83%b9,%20%16%07%03%1c0%21q%98%85%909%12%c8%9c%2a%00%c6%0e%04%87"; dtpref_cols="55"; dtpref_rows="15" Browser sends all cookies; but Zope doesn't allow Patse :( Details, if this can help: Server1: sun.med.ru; SPARC, Solaris 2.5.1; Zope 2.1.4 (2.1.3 had the problem, too) Server2: phd.russ.ru; Pentium, Debian GNU/Linux; Zope 2.1.4. Both servers have Zope with additional components: SQL adapters, SiteAccess, ZNavigator, etc. The problem manifests itself whether I use Netscape for Linux or for Solaris; whether I use proxies or swith to "no proxy - direct connection". Few of my freiends here reported the same problem with different hardware, OSes, browsers, etc. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ping
Pong! :-) --- Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org - Original Message - From: "ethan mindlace fremen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 4:16 PM Subject: [Zope] ping > ping ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 must be restarted often
Here is the problem, and forgive me if this is a known issue and I just could not find it in the mailing list archive. I am running Zope 2.1.6 under FreeBSD 4-STABLE (May 15). I am running Apache 1.3.12 with mod_ssl/2.6.4 and OpenSSL/0.9.4. Also, I am running Python 1.5.2. What happens is: Zope just stops responding to a browser lookup. I try to browse to it, and Netscape just shows that the server has been contacted and it says "Waiting for reply..." until it times out. If I killall the Python processes and then run the Zope.sh start script, everything is fine again. I have been unable to tie the failure to a time or specific event as of yet. Any help would be appreciated. Thanks, Josh Glover ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: Fwd: Re: [Zope] PoPy module
Thierry MICHEL wrote: ... > > 1. When I try to connect to postgres 6.4 using PoPy the connect fails > >postgres.log: ERROR: parser: parse error at or near "transaction" > > Postgres 6.4 seems not being SQL 92 compliant for the transactions ! > PoPy is ! pygresql no certtainly ! OK ... take it as a note for users still working with postgres 6.4 ;-) > > 2. Whether Auto-commit mode is on or off on ZPoPyDA the new postgres > > 7.0 syntax > > "select * from foo limit 20 offset 10" returns all records of foo and > > not only 20 ! > > With PyGreSQLDA it works :-) > > That's running every where, it's strange that's not running on your system. > Do you have packed the database of Zope ? Do you have create a new object ? > > PygresqlDA runs ok because it doesn't deal with cursors ... :-) I of course I packed the Zope database several times. But after I installed PoPy I did not pack it. I only created a Z PoPy Database connection and a Z SQL Method to test the DA. Please reply if I can help you with some logs or version info of my system. -- _ Andreas Heckel[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN ;-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] www.mysite.com/Members/
I have the source here, perhaps you can point me to where I should be looking - the PTK is reasonably large. AFAICS the PTK uses a folder called Members and adds folders under that for each registered user : Members Fred FredContent1 FredContent2 FredContent3 Jim JimsContent Nothing database-driven about that. Thanks for your help. - Ian. - Original Message - From: "Philipp Dunkel" <[EMAIL PROTECTED]> To: "Ian Sparks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 5:36 PM Subject: Re: [Zope] www.mysite.com/Members/ At 17:23 05.06.00 +0100, Ian Sparks wrote: >Hi, > >I want to produce a home-page on my site using a URL like : > >http://www.zope.org/Members/Fred > > >I'm a little confused as to how I would go about this in a dynamic way where >I would pull the contents of the page out of a database. > >A non-database way would be to : > >/Members (folder) >/Fred (sub-folder or Document) >/Jim (sub-folder or Document) >/Jane (sub-folder or Document) > >But I want to be able to generate the /Members/Fred page dynamically. > >The SQLMethod part I can do, its the structuring of the objects in the >heriarchy which baffles me. > >Ideally I'd like to have a "Members" folder in /, as this reduces the >clutter in /, but then how do I pick up the "Fred" part of the URL once I >have traversed into the members folder and apply it as part of a SQLMethod? > > >- Ian Sparks. You can find a solution in the PTK-Source * Philipp Dunkel ICQ# 60149094 * * zReal Productions* * meet me at DALNet chan #phidu* ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 must be restarted often
Josh Glover writes: Did you try the decapitation patch? Problem: http://www.zope.org/Members/tseaver/Projects/HighlyAvailableZope/IndentingDTMLSpinsZope Solution: http://www.zope.org/Members/tseaver/Projects/HighlyAvailableZope/SpinningDecapitation This would only be the problem if you have one thread that spinns out. You can tell that this is happening if one thread is chewing CPU when thet 'hang' is occuring. > Here is the problem, and forgive me if this is a known issue and I just > could not find it in the mailing list archive. > > I am running Zope 2.1.6 under FreeBSD 4-STABLE (May 15). I am running > Apache 1.3.12 with mod_ssl/2.6.4 and OpenSSL/0.9.4. Also, I am running > Python 1.5.2. > > What happens is: Zope just stops responding to a browser lookup. I try > to browse to it, and Netscape just shows that the server has been > contacted and it says "Waiting for reply..." until it times out. If I > killall the Python processes and then run the Zope.sh start script, > everything is fine again. I have been unable to tie the failure to a > time or specific event as of yet. > > Any help would be appreciated. > > Thanks, > Josh Glover > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] www.mysite.com/Members/
At 17:23 05.06.00 +0100, Ian Sparks wrote: >Hi, > >I want to produce a home-page on my site using a URL like : > >http://www.zope.org/Members/Fred > > >I'm a little confused as to how I would go about this in a dynamic way where >I would pull the contents of the page out of a database. > >A non-database way would be to : > >/Members (folder) >/Fred (sub-folder or Document) >/Jim (sub-folder or Document) >/Jane (sub-folder or Document) > >But I want to be able to generate the /Members/Fred page dynamically. > >The SQLMethod part I can do, its the structuring of the objects in the >heriarchy which baffles me. > >Ideally I'd like to have a "Members" folder in /, as this reduces the >clutter in /, but then how do I pick up the "Fred" part of the URL once I >have traversed into the members folder and apply it as part of a SQLMethod? > > >- Ian Sparks. You can find a solution in the PTK-Source * Philipp DunkelICQ# 60149094 * * zReal Productions* * meet me at DALNet chan #phidu* ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 and Python 1.6
On 5 Jun 2000, Ivan Raikov wrote: > Does Zope run under Python 1.6? If not, is anybody working on a port? There is no such thing as Python 1.6 (yet). Zope has its own problems, it'd wise not to try to port Zope to alpha version of Python. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Q: Namespace, Acquisition, and Properties
> Wilkinson Charlie E wrote: > In the top level folder (root) I have a dtml method title template > that contains html code and dtml vars that are (intended to be) > populated by properties of various subfolders as well as a value or > two passed directly. The title template is "called" from dtml > methods in the root and sub-folders using something like: > > Chances are, you're losing your namespace. When you call another method in quotes, you tend to lose a lot of information unless you use the cryptic: or: I'm guessing this'll fix it for you. :) Good luck! (Oh, and try not to post HTML to the list . . .) -CJ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Strange Zope behavior/Instability (Zope going down)
Harald Ragger writes: > Jason, Rob: > > Ive just seen your mails, and thought uuups! > One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). > Zope has been running fine for more than three months, but on 1st of June it > crashed, and didn't came up again (no response from server even the zope > services seemed to be up and running). every minute or so, we got the > following message in the event-view: restarting zope. Do you mean that zope wouldn't restart? Even if you restarted the server? > The only chance I saw to bring Zope up again, was to reinstall the whole > thing, and use the backed up Data.fs file. > So far so good, its now running again, all data is ok, nothing lost. > But: > whats the reason for this? i simply have no idea (logs didnt show anything > relevant as far as i understand). >why i thought uups, was because of the > same time this happend to me as to you (you also use 2.1.4). could it be a > problem with 2.1.4? should we consider to upgrade to 2.1.6? > It's worth a shot. I don't have any installations running on 2.1.4. Just 2.1.1 and 2.1.6. Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] www.mysite.com/Members/
Hi, I want to produce a home-page on my site using a URL like : http://www.zope.org/Members/Fred I'm a little confused as to how I would go about this in a dynamic way where I would pull the contents of the page out of a database. A non-database way would be to : /Members (folder) /Fred (sub-folder or Document) /Jim (sub-folder or Document) /Jane (sub-folder or Document) But I want to be able to generate the /Members/Fred page dynamically. The SQLMethod part I can do, its the structuring of the objects in the heriarchy which baffles me. Ideally I'd like to have a "Members" folder in /, as this reduces the clutter in /, but then how do I pick up the "Fred" part of the URL once I have traversed into the members folder and apply it as part of a SQLMethod? - Ian Sparks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] ZClass and class variable
Hi all, Is it possible to declare a class variable in a Zclass? And if yes, how to call this variable in class ZClass methodes? Bye, 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] Zope LDAP Browser
On Mon, 5 Jun 2000, Pierre-Julien Grizel wrote: > I wrote in my spare time a LDAP browser with Zope. You can try it at > www.xlogx.org/Zygopetale (it's available in french & english). I can't find any sign of an xlogx.org domain. Am I missing something? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ [EMAIL PROTECTED] || http://linux.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/Apache/NT
Phil Thanks, but I was being a bit lazy. I had read that it had taken people long hours getting the Linux/Apache/Zope combo to work, and so was fearing the worst. Nonetheless, I grasped the nettle and within an hour or so, everything was working fine complete with pass-through proxying, etc. You'd never know it was Zope. Thanks - I may be back if it all comes tumbling down! Paul On Mon, 5 Jun 2000 17:04:56 +0100 Phil Harris <[EMAIL PROTECTED]> wrote: > Paul, > > What do you need to know? > > I've got about 5-6 Zope instances running here for different purposes, > on a > few different machines, so ask away. > > Phil > [EMAIL PROTECTED] > Learning Technology > University of Wales College of Medicine > > > > - Original Message - > From: "Paul Smith" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 05, 2000 1:15 PM > Subject: [Zope] Zope/Apache/NT > > > > Has anyone managed/bothered to get Zope working with Apache on NT yet? > > If they have, could you point me at any documentation? This is > intended > > as a quick fix until I can get round to installing Linux on my > machine.. > > > > Any help would be greatly appreciated! > > > > Thanks, Paul > > > > - > > Paul Smith : [EMAIL PROTECTED] > > http://www.ilrt.bris.ac.uk/ > > Institute for Learning and Research Technology > > University of Bristol, BS8 1HH, UK > > Tel: 0117 928 7192 Fax: 0117 928 7112 > > > > > > ___ > > Zope maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope-dev ) > - Paul Smith : [EMAIL PROTECTED] http://www.ilrt.bris.ac.uk/ Institute for Learning and Research Technology University of Bristol, BS8 1HH, UK Tel: 0117 928 7192 Fax: 0117 928 7112 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope and Python 1.6
Hi all, Does Zope run under Python 1.6? If not, is anybody working on a port? Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Q: Namespace, Acquisition, and Properties
Title: Clear Day Greetings, I've dug around, but not found (or not grokked) the solution to thisparticular puzzle. Could someone more knowledgeable provide a littleenlightenment? In the top level folder (root) I have a dtml method title templatethat contains html code and dtml vars that are (intended to be)populated by properties of various subfolders as well as a value ortwo passed directly. The title template is "called" from dtmlmethods in the root and sub-folders using something like: I have no problem getting at the title template from any of the dtmlmethods. (Thanks to acquistion, yes?) However, I get Zope KeyErrors indicating that the title template isnot seeing the sub-folder properties in its namespace, when I plugthe above code into a dtml method contained in one of those sub-folders. Here's the title_block code: bgcolor="" bgcolor="#55"> color="" color="#009900"> color="" color="#009900"> color="" color="#009900"> (Ok, try not to laugh too hard - I'm Zope newbie...) Some values above are optional (the has_key stuff). Values likeapp_screen may be passed explicitly as literals. The rest (likeapp_title) was intended to be grabbed from the folder/sub-folderproperties I set up for that purpose. So, two questions: 1. Is there a simple way to pass the appropriate sub-folderproperties namespace from a dtml method contained in that sub-folderto the title_block dtml method contained in the root folder? Anexample would be tremendously helpful. 2. Is there a better way to do what I'm trying to do?Thanks for any help, Charlie-- Charlie Wilkinson - TRIS Development Systems Administrator IS:SD:CT:CC:TDPhone: 202-283-3241 MSMail: Charlie E Wilkinson SMTP: [EMAIL PROTECTED] Home: [EMAIL PROTECTED] This message constructed from 90% post-consumer electrons.
Re: [Zope] Zope/Apache/NT
Paul, What do you need to know? I've got about 5-6 Zope instances running here for different purposes, on a few different machines, so ask away. Phil [EMAIL PROTECTED] Learning Technology University of Wales College of Medicine - Original Message - From: "Paul Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 1:15 PM Subject: [Zope] Zope/Apache/NT > Has anyone managed/bothered to get Zope working with Apache on NT yet? > If they have, could you point me at any documentation? This is intended > as a quick fix until I can get round to installing Linux on my machine.. > > Any help would be greatly appreciated! > > Thanks, Paul > > - > Paul Smith : [EMAIL PROTECTED] > http://www.ilrt.bris.ac.uk/ > Institute for Learning and Research Technology > University of Bristol, BS8 1HH, UK > Tel: 0117 928 7192 Fax: 0117 928 7112 > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope/Apache/NT
The "quickest fix" might be installing Linux on your machine. - Original Message - From: Paul Smith <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 7:15 AM Subject: [Zope] Zope/Apache/NT Has anyone managed/bothered to get Zope working with Apache on NT yet? If they have, could you point me at any documentation? This is intended as a quick fix until I can get round to installing Linux on my machine.. Any help would be greatly appreciated! Thanks, Paul - Paul Smith : [EMAIL PROTECTED] http://www.ilrt.bris.ac.uk/ Institute for Learning and Research Technology University of Bristol, BS8 1HH, UK Tel: 0117 928 7192 Fax: 0117 928 7112 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: Fwd: Re: [Zope] PoPy module
On Mon, Jun 05, 2000 at 10:25:20AM +0200, [EMAIL PROTECTED] wrote: > > > -- Forwarded message -- > Da: jani <[EMAIL PROTECTED]> > Soggetto: Re: [Zope] PoPy module > Data: Sun, 04 Jun 2000 20:14:03 -0700 >A: Alexander N Gould <[EMAIL PROTECTED]> >Copia: [EMAIL PROTECTED] > > Alexander N Gould wrote: > > > > I'm trying to install the PoPy Python module on my Yellowdog Linux system > > (a redhat clone for PowerPC hardware). I'm sure it's a simple task, but I > > don't know how to do it. Any suggestions or tips? Thanks in advance. > > > > Building highways to reduce traffic is like loosening your belt to reduce > > obesity > > First make sure that pyton-devel is installed on your system. > It's available at www.python.org I think. > > Untar PoPy-1.1.tar.gz and ZPoPyDA-0.3.tar.gz . > First you have to build PoPy. > On my system I had to modify the lib and include path in Setup and > in PoPymodule.c > > Setup: > *shared* > PoPy PoPymodule.c -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -lpr > > PoPymodule.c: > ... > #include > #include > ... > > Go on with: > make -f Makefile.pre.in boot > make > > You should now have the shared library PoPymodule.so . > Copy this file to python1.5/site-packages on your system. With make install, it compiles and installs directly in the python1.5/site-packages. > Now you have to install zope-popyda-0.3 > "make install" will place the Zope product to > /usr/lib/zope/lib/python/Products/ZPoPyDA > > Just move it to the Product folder of your Zope installation. > Restart Zope and it should work ;-) > > Take a look at the README. It describes the format of the connection > string. > It's different from that of PyGreSQLDA! > Also make sure that you hav set proper permissions on > &PGDATA/pg_hba.conf > > BTW after i recognized some problems using PoPy I switched back to > PyGreSQLDA. > 1. When I try to connect to postgres 6.4 using PoPy the connect fails >postgres.log: ERROR: parser: parse error at or near "transaction" Postgres 6.4 seems not being SQL 92 compliant for the transactions ! PoPy is ! pygresql no certtainly ! > 2. Whether Auto-commit mode is on or off on ZPoPyDA the new postgres > 7.0 syntax > "select * from foo limit 20 offset 10" returns all records of foo and > not only 20 ! > With PyGreSQLDA it works :-) That's running every where, it's strange that's not running on your system. Do you have packed the database of Zope ? Do you have create a new object ? PygresqlDA runs ok because it doesn't deal with cursors ... :-) Thierry [EMAIL PROTECTED] > -- > _ > Andreas Heckel[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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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/Apache/NT
Has anyone managed/bothered to get Zope working with Apache on NT yet? If they have, could you point me at any documentation? This is intended as a quick fix until I can get round to installing Linux on my machine.. Any help would be greatly appreciated! Thanks, Paul - Paul Smith : [EMAIL PROTECTED] http://www.ilrt.bris.ac.uk/ Institute for Learning and Research Technology University of Bristol, BS8 1HH, UK Tel: 0117 928 7192 Fax: 0117 928 7112 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] V2.2
I see the ownership tab in the new Zope. Where can I find some more info on this. Currently my setup says Zope has no owner. Apparently it needs one - Original Message - From: "Oleg Broytmann" <[EMAIL PROTECTED]> To: "JÛrgen Skogstad" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 05, 2000 4:37 AM Subject: [Zope] Re: SV: [Zope] Q: Link status/checking Hi! On Sat, 3 Jun 2000, JÛrgen Skogstad wrote: > Sure! I just did a quick read through of the url you posted and it > looks to me that you've started with what I want. I am very interested > in getting this to work within the Zope framework as well.. with > Sql support etc. as I am doing a project that would require "robotic" > features! ;) Don't we just hate manual labour. ;) Well, the weakiest point in my programs is that these programs operate on the whole tree at once. This isn't a problem for my small database of URLs - there are about 3000 URLs in my bookmarks; but certainly will bring problems for those who would like to have a bigger DB. What I feel is that Zope is not by itself the way to go. It is hard to store the entire URLs tree in Zope and operate via XML-RPC or whatever. I thing much better approach will be to store the tree in separate database (SQL, e.g.) and connect both the robot and Zope to the DB. While we are on subjject - I think about version 4 of the project. I want to define clear APIs for database plugins (including the possibility to operate on a part of DB, down to one URL at at time :) and robots; and remove writers plugins entirely - writers are just storage managers, actually. It is interesting, whow in time Andrew Kuchling announced Oedipus. His announcement came few days after I realized that I need API to operate on a part of DB and started to think about version 4. http://oedipus.sourceforge.net/ We need a DB plugin to connect my robot to Oedipus; and Zope Product... Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Proposal for mail-in to Zope
Simon Coles wrote: > I think this is pretty much what we're intending to do. We haven't > decided about XML-RPC Vs ZClient. The aim is to get something > (anything) working, however hard coded, and then improve it. Use XML-RPC - it's a lot more powerful (e.g. it returns lists and dictionaries and integers and floats, while ZClient can only return strings.) -- Itamar S.T. [EMAIL PROTECTED] "It don't get thingier than that!" ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How do you call the string?
Hi! I would like to look up the properties on an html file that I've made. I've made a string on my html file, but I'm not sure how to call it! I've understood that a is to be used, but I don't know what the string is called. Could someone help me with that!? /Martin S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] another zope site gone...
...finally online! http://druck.kleinezeitung.at/ now holds the 'as printed' version of the 'Kleine Zeitung', one of the bigger austrian newspapers. doing the zope part was the fun bit... thanks to DC for a great product and to the list for real good ressources. hope i get management to adopt zope as our primary platform! ru, peter sabaini. -- _ peter sabaini, mailto: [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] is WebDAV a security hole?
> Been playing around with WebDAV from IE5 connecting to a RedHat 6.1 > +Zope 2.1.6 > > And it seems that quite a bit of the stuff that propably shouldn't be > visible can be seen, > for example acl_users What other things are you referring to? (see answer for acl_users below) > > Without being logged in I can start a download of it, eventually IE5 > fails, but I get this uncomfortable feeling that this is more > due to IE5 > not handling this document type than anything else... > > If I used some other WebDAV client, could I then download > acl_users, and > if so, would this expose usernames/passwords? It would not expose passwords - I believe that what you are seeing is a sort of non-obvious but basically harmless thing. User folders (acl_users) do not have an index_html method (by design). When a DAV client tries to "download" acl_users, it is actually acquiring the closest index_html from above and downloading that :^) One could argue that this is lame and that attempting to GET .../acl_users/ should raise an error (404?). I'm interested in other viewpoints on this - if there is some consensus, a proposed change should be put in the Collector. 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 )
[Zope] ping
ping ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: SV: [Zope] Q: Link status/checking
Hi! On Sat, 3 Jun 2000, JÛrgen Skogstad wrote: > Sure! I just did a quick read through of the url you posted and it > looks to me that you've started with what I want. I am very interested > in getting this to work within the Zope framework as well.. with > Sql support etc. as I am doing a project that would require "robotic" > features! ;) Don't we just hate manual labour. ;) Well, the weakiest point in my programs is that these programs operate on the whole tree at once. This isn't a problem for my small database of URLs - there are about 3000 URLs in my bookmarks; but certainly will bring problems for those who would like to have a bigger DB. What I feel is that Zope is not by itself the way to go. It is hard to store the entire URLs tree in Zope and operate via XML-RPC or whatever. I thing much better approach will be to store the tree in separate database (SQL, e.g.) and connect both the robot and Zope to the DB. While we are on subjject - I think about version 4 of the project. I want to define clear APIs for database plugins (including the possibility to operate on a part of DB, down to one URL at at time :) and robots; and remove writers plugins entirely - writers are just storage managers, actually. It is interesting, whow in time Andrew Kuchling announced Oedipus. His announcement came few days after I realized that I need API to operate on a part of DB and started to think about version 4. http://oedipus.sourceforge.net/ We need a DB plugin to connect my robot to Oedipus; and Zope Product... Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Proposal for mail-in to Zope
I think this is pretty much what we're intending to do. We haven't decided about XML-RPC Vs ZClient. The aim is to get something (anything) working, however hard coded, and then improve it. Simon "Kevin Dangoor" <[EMAIL PROTECTED]> wrote: >Hmm... "takes the email message and puts it into Zope". Using ZClient or >XML-RPC? ZClient is probably the easiest way to go. You'd probably want a >simple script configured in the file system to send the message on to method >in Zope via ZClient. That method will be part of a MailHandler object (or >some such) that can have rules based on the email address that the message >is going to. These rules will likely pass the message on to another method >(probably a PythonMethod, since this is programming we're talking about). It >might be nice if the MailHandler broke the message up into usable fields >instead of a plain text stream. I think there's a python module for doing >that. > >Kevin -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 LDAP Browser/Editor
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french & english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden behind a 64k ISDN connexion. BTW, if someone wants to host it with a better sever, I do agree ! It took... say... 20 hours to learn LDAP and to build the whole tool (with its current limitations). Zope is actually a very very very powerful web server. P.-J. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 NT service Vs data_dir
Hi zopers :-) I've hacked globals.py to change the var data_dir to point to a shared disk I have. I restarted zope and the Globals.pyc was compiled. Zope runs ok but only from the command line. The Zope Service it is no more :-( When I start it the process tries to live but want go further than 2Mb memory not starting zope :-( Any help? Thanxs Júlio Dinis Silva Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope LDAP Browser
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french & english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden behind a 64k ISDN connexion. BTW, if someone wants to host it with a better sever, I do agree ! It took... say... 20 hours to learn LDAP and to build the whole tool (with its current limitations). Zope is actually a very very very powerful web server. P.-J. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Strange Zope behavior/Instability (Zope going down)
Jason, Rob: Ive just seen your mails, and thought uuups! One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). Zope has been running fine for more than three months, but on 1st of June it crashed, and didn't came up again (no response from server even the zope services seemed to be up and running). every minute or so, we got the following message in the event-view: restarting zope. The only chance I saw to bring Zope up again, was to reinstall the whole thing, and use the backed up Data.fs file. So far so good, its now running again, all data is ok, nothing lost. But: whats the reason for this? i simply have no idea (logs didnt show anything relevant as far as i understand). why i thought uups, was because of the same time this happend to me as to you (you also use 2.1.4). could it be a problem with 2.1.4? should we consider to upgrade to 2.1.6? regards Harald - Original Message - From: "Jason Spisak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 02, 2000 9:15 PM Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) > Rob Sporleder writes: > > > The shell was on my local machine... > > > > That's the same as tryinga browser for network purposes. Can you try > bringing up a shell on the server next time and try a wget > http://localhost:8080, and see if it returns anything. If so, the Zope is > fine and it's that other stuff, like network cards etc... > > > BigBrother is the monitoring software we use. The client is installed on the > > same server as Zope. > > > > When viewing the log files there were no connections made by BigBrother > > (checking for http connections). However, there were many hits from outside > > IP's. > > > > Thanks, > > Rob > > > > -Original Message- > > From: Jason Spisak [mailto:[EMAIL PROTECTED]] > > Sent: Friday, June 02, 2000 10:17 AM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) > > > > > > Rob Sporleder writes: > > > > > It was the command line within the shell. > > > > Was it the shell on the 'server' serving zope or a shell on your local > > admin machine? > > > > >Actually, I've found something > > > that's interesting... > > > > > > The system clock is an hour slow. > > > > They get behind easily if your not using an time server somewhere. > > > > >The logs are written 6 hours ahead. > > > > I have no idea on that. > > > > >I > > > greped the log file for BigBrother and found an hour gap with no > > BigBrother > > > > Is BigBrother the Zope server? > > > > > entries from 06:37:53 and 07:40:23, roughly the time that the site seemed > > to > > > go down. However, during this time there were hundreds of successful hits > > to > > > the site. > > > > What told you there were successful hits? The Zope log? If understanding > > you, you are seeing confilcting things in 2 logs. One log says there was > > successfull hit, and the other shows nothing for that time. Is this close? > > > > > > > > Rob Sporleder writes: > > > > > > > All of the python z2.py processes are still running. I haven't checked > > if > > > I > > > > can get to it using http://localhost. The server is offsite. However, I > > > did > > > > try an http get from the command line and it did not respond. > > > > > > > > > > Was it the command line on the server? > > > from the server shell: > > > > > > $>wget http://localhost:8080 > > > > > > I'm trying to narrow it down to the real culprit. We can't be sure it's > > > Zope and not the DNS/Machine/Routing/Firewall/ or anything else. > > > > > > > -Original Message- > > > > From: Jason Spisak [mailto:[EMAIL PROTECTED]] > > > > Sent: Wednesday, May 31, 2000 1:13 PM > > > > To: [EMAIL PROTECTED] > > > > Cc: [EMAIL PROTECTED] > > > > Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) > > > > > > > > > > > > Rob Sporleder: > > > > > > > > > I received a server not responding error. We lost connectivity twice > > on > > > > > Friday as well. I setup a script to restart the server every X minutes > > > so > > > > we > > > > > wouldn't have to worry about it over the weekend. I removed the > > cronjob > > > on > > > > > Tuesday morning and it was fine until early Wednesday morning when it > > > went > > > > > down three times in 30 minutes. > > > > > > > > > > Thanks, > > > > > Rob > > > > > > > > > > > > > Wow. Ugly. Are the Zope processes still up after you've lost > > > connectivity? > > > > If so, can you get a browser on the machine running zope to access it? > > > > http://localhost:8080, or whatever port your running on. > > > > > > > > > -Original Message- > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > > Jason > > > > > Spisak > > > > > Sent: Wednesday, May 31, 2000 12:10 PM > > > > > To: [EMAIL PROTECTED] > > > > > Cc: [EMAIL PROTECTED] > > > > > Subject: Re: [Zope] Strange Zope behavior/Instability > > > > > > >
[Zope] ZClass question
Hi, I'm currently trying to store all of the Medicine School (I work for) events in Zope, using the Calendar product to store them. I've created from my browser a Zclass which has a propertysheet and some properties in it, and some DTML methods. I've called this class GenericEvent. I want to create 4 or five other Zclasses which only differ from the first one by their meta type and the value (not the name) of one of their properties. For example I want to create ExamEvents, CoursesEvents, and so on... Then I want to give permissions to some people to add some type of events in the database. For example I want John to be able to add (and delete) both GenericEvents and ExamEvents, while I want Jane to only be allowed to add CoursesEvents, and not be allowed to delete CoursesEvents she hasn't created. I've created my GenericEvent ZClass and it works fine, thanks to Jason Spisak, but now when I try to create other ZClasses deriving from this ZClass I can't choose it as the base class for the new classes. Can I do that from my browser (How ?) or must I do it in python ? If it's not possible I plan to add the event type as a property of GenericEvent, but then how can I deal with the different permissions I need ? thanks in advance for any hint. Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] another nice error-message
I replaced the standard_error_message whth . Now I'm havin much fun everytime some obscure error occurs. I highly recommend, you developers do the same, not only for you but for your visitors as well Andy Pahne ap@net22 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] tree state cookie
Howdy! I just recently got complaints from people visiting my web site. They have activated the "website wants to set cookie" alarm and they got lots of alarms when visiting my website. Since I never use any cookies it wasn't hard to find the cause: I wasn't aware that trees use cookies to store their state. Is there an option to disable this? (Cuz I don't want no cookies;) --Ragnar ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] New Product - old error
Hi All, I hope someone can help, I'm about to tear my hair out and toss my PC out of the window. I am basically trying to make my own Image class, by copying the one in OFS and renaming a few bits and bobs. In a frenzy of broken products, I copied one of the supporting classes from OFS to my new dir OffS (original huh?) quickly realizing I should just change the code. Thus: *Copy PropertyManager.py from OFS to OffS (my new dir). *Restart Zope *Get an error (Can't find ZDOM) *Oh didn't want to do that, delete PropertyManager.py from OffS *Change my OffImage.py - from OFS.PropertyManager import PropertyManager *Restart Zope *Same Broken product, Same error Traceback (innermost last): File "/usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py", line 387, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/Zope-2.1.6-linux2-x86/lib/python/Products /OffSP/__init__.py", line 5, in ? import OffS.OffImage #, OFS.Folder, AccessControl.User File "/usr/local/Zope-2.1.6-linux2-x86/lib/python/OffS/OffImage.py", line 8, in ? from PropertyManager import PropertyManager File "/usr/local/Zope-2.1.6-linux2-x86/lib/python/OffS/ PropertyManager.py", line 90, in ? import ZDOM ImportError: No module named ZDOM *Ok, I thought, Netscrape must be caching the page, clear all the cached files *Same problem *Ok Netscrape, I'll use lynx instead *Same problem *Now going RRM (Random Resolution Mode) and getting nowhere. Checked the code for the Umphteenth time, it is definitely not the piece of code in the error message *Tried deleting PYC etc, but still no joy! *Waaah Boo hoo, It's beating me I'm about to delete every PYC in the Zope dir see what happens, Can anyone help! >From the stuck-in-a-room-with-doors-and-windows dept -Gresh ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )