[Zope-dev] Passing namespace to method

2000-11-01 Thread Morten W. Petersen
How do I construct a method of an object, so that whenever that method is called, the current namespace is passed with it? I.e.: class myclass: [...] def myfunc(self, context): if context['sequence-index'] == 10: raise 'sequence-index is

[Zope-dev] Management Interface Revision Proposal

2000-11-01 Thread Adam Davis
I have composed a proposal to make some small (but hopefully useful) revisions to the Zope management interface for the 2.3 release. Please see: http://dev.zope.org/Wikis/DevSite/Proposals/ManagementInterfaceQuickFix Comments are welcome until Friday, November 10th. Please enter any comments at

[Zope-dev] [Ann] ZUnit released

2000-11-01 Thread Lalo Martins
Okay, the cat is out of the bag (in fact, going to Rio for the weekend) and the worms are out of the can (better worms than bugs, anyway). ZUnit, the Product all lazy programmers were so afraid of, is available for review and download from your usual shop at http://www.zope.org/Members/lalo/ZUnit

[Zope-dev] ZPatterns Folder W/Customizer Support not aquiring title property

2000-11-01 Thread Bill Anderson
I have a Folder w/cs in my root folder, call it spamcan. Root folder has a title defined, lets say it is "Spam Central" A DTML Method in spamcan should display "Spam Central" when doing a dtml-var title, should it not? -- Bill Anderson E PLURIBUS LINUX

RE: [Zope] Gadfly

2000-11-01 Thread Cornelis J. de Brabander
I am not sure what you all are talking about, but in anticipation of a more adequate solution I am using a Gadfly database for a few years (sic!) now. The table was created with a Z SQL method and is populated with a second Z SQL method. Every now and then, when a restart of Zope is necessary,

[Zope] acl_users API

2000-11-01 Thread Harris Peter
Hi I have given up trying to manipulate acl_users from DTML for now - I'm sure it's possible because here and there on this list and on the Zope site I see hints that it can be done. However, I can't find (for example) a HOWTO anywhere that describes the API of acl_users and what you can do with

RE: [Zope] My Items will not show themself in manage_main (objectItems)

2000-11-01 Thread Max Møller Rasmussen
From: Ender [mailto:[EMAIL PROTECTED]] First os all. Thank you for the patience. I know it is boring to "Solve other peoples problems for them", but I am really trying hard myself, reading the source of Zope and other products. It's just such a steap learning curve because it is

[Zope] unacquired lock?

2000-11-01 Thread Robin Becker
My CVS version Zope is hanging strangely and when I keyboard ctrl-c it I see the following traceback Traceback (innermost last): File "C:\Python\devel\Zope\z2.py", line 757, in ? asyncore.loop() File "C:\Python\devel\Zope\ZServer\medusa\asyncore.py", line 146, in loop poll_fun

[Zope] GoLive

2000-11-01 Thread Stephan Goeldi
Does anybody know, if there is a way to automate GoLive for Zope? I have a customer who is Mac user. It seems to me, that GoLive is configurable to do almost every webdesign task without any knowledge. So I think there should be some upload automatism. Is there? And are there known problems

[Zope] Re:GoLive

2000-11-01 Thread tom smith
on 1/11/00 10:47 am, Stephan Goeldi at [EMAIL PROTECTED] wrote: Is there? And are there known problems with Zope? "In theory" it all works fine. GoLive can ftp open dtml files. except because they are called index_html and not index.html, GoLive thinks they are text files and not html

Re: [Zope] acl_users API

2000-11-01 Thread Aleksander Salwa
On Wed, 1 Nov 2000, Harris Peter wrote: Failing that, maybe someone can suggest where to look in the Zope python source to find the methods acl_users exposes. lib/python/AccessControl/User.py Viewing HTML sources of management screens may also help a lot. [EMAIL PROTECTED]

Re: [Zope] Sorry, resolved

2000-11-01 Thread Chris Withers
Danny William Adair wrote: Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. It happens before then ;-) index_html=None is always a handy one to add in Python Products so ti doesn't get acquried from higher

Re: [Zope] Zope Book Beta

2000-11-01 Thread Chris Withers
Amos Latteier wrote: Chris Withers wrote: There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page

Re: [Zope] preventing acquisition

2000-11-01 Thread Chris Withers
Robin Becker wrote: So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like dtml-if "PARENTS[0].id not in PARENTS[1].objectIds()" dtml-raise NotFound

Re: [Zope] Proper way to do a search.

2000-11-01 Thread Chris Withers
Look at ZCatalog... cheers, Chris "Jason C. Leach" wrote: hi, Is this correct: dtml-if _.count(_.str(title_or_id),'Bridge',0) Spam I am. /dtml-if This is part of a larger loop, that prints all the images in a folder with their titles. I'd like to search the

[Zope] Installation on Linux

2000-11-01 Thread Lee Curtis
Hi All, I feel like a bit of an idiot, but I can't find any info about installing Zope until Unix - only Windows. Can anyone give me a quick start guide ?? Much Appreciated Lee Curtis ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Re:GoLive

2000-11-01 Thread Christopher J. Kucera
tom smith wrote: I think there's a trick where dtml files can be saved as index.html, and then you create a method that redirects index_html or /whatever/wherever/ to index.html in the same folder, but I'm not sure how to do that. That should be pretty easy . . . Zope will let you add

Re: [Zope] Zope Book Beta

2000-11-01 Thread Jason Cunliffe
- Original Message - From: Chris Withers [EMAIL PROTECTED] Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see

[Zope] Zope.org down?

2000-11-01 Thread Phil Harris
Subject says it all ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Re:GoLive

2000-11-01 Thread tom smith
on 1/11/00 2:31 pm, Christopher J. Kucera at [EMAIL PROTECTED] wrote: tom smith wrote: I think there's a trick where dtml files can be saved as index.html, and then you create a method that redirects index_html or /whatever/wherever/ to index.html in the same folder, but I'm not sure how to

Re: [Zope] Re:GoLive

2000-11-01 Thread tom smith
I thought for a minute you could add _HTML as a suffix type in GoLive's network prefsthe icon changed but little else. Anyone know if GoLive 5 with WebDav can edit dtml files...or Dreamweaver? thanks tom ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Zope Book Beta

2000-11-01 Thread Dan L. Pierson
"Jason Cunliffe" [EMAIL PROTECTED] writes: - Original Message - From: Chris Withers [EMAIL PROTECTED] Kinda tough to check out/read/find mistakes in a book that's only available as a set of html pages that aren't full text searchable This is a really good point. Just as

[Zope] manage_access problems

2000-11-01 Thread Mario Olimpio de Menezes
Hi, I'm having a strange problem with my Zope installation I need some help to solve. When I try to access the security (manage_access) page of my root Zope, I get the error listed below: !-- Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py,

Re: [Zope] Zope.org down?

2000-11-01 Thread Bill Anderson
Works for me. -- E PLURIBUS LINUX ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Zope.org down?

2000-11-01 Thread Dennis Nichols
At 11/1/00 03:22 PM, Phil Harris wrote: Subject says it all Well, not here but it does seem to have fallen back one or more days. I'm also curious about the zope.org site performance. Zope is said to capable of a million hits per day on commodity hardware, yet zope.org receives only about 20%

Re: [Zope] Installation on Linux

2000-11-01 Thread Bill Anderson
Lee Curtis wrote: Hi All, I feel like a bit of an idiot, but I can't find any info about installing Zope until Unix - only Windows. Can anyone give me a quick start guide ?? http://www.zope.org/Members/michel/ZB/ -- E PLURIBUS LINUX ___

Re: [Zope] acl_users API

2000-11-01 Thread Bill Anderson
Harris Peter wrote: Hi I have given up trying to manipulate acl_users from DTML for now - I'm sure it's possible because here and there on this list and on the Zope site I see hints that it can be done. However, I can't find (for example) a HOWTO anywhere that describes the API of

Re: [Zope] Re:GoLive

2000-11-01 Thread Jeff Hoffman
On Wed, 1 Nov 2000, tom smith wrote: I think there's a trick where dtml files can be saved as index.html, and then you create a method that redirects index_html or /whatever/wherever/ to index.html in the same folder, but I'm not sure how to do that. Someone has shown how to do it on this

[Zope] zope.org mistake

2000-11-01 Thread ethan mindlace fremen
Um... I inadvertently deleted the Data.fs whilst compressing it. Then I compounded my mistake by not remembering that the storage server still had the inode open, and closed the storage server. I have restored from the compressed version of the Data.fs, but it appears that a day or so of

[Zope] Re:GoLive

2000-11-01 Thread Chris Beaumont
Hmmm... I don't know if this would apply..but..there *is* a howto on a method to allow requests for index.html tobe redirected to index_html. Basically the executive summary is that methods named as the various possible choices (index.html, index.htm, index.HTML, etc.) containing the single

Re: [Zope] Have some help for free!

2000-11-01 Thread Chris Withers
Curtis Maloney wrote: On Wed, 01 Nov 2000, Dylan Chi wrote: Firstly, just so you don't miss it, PLEASE, do NOT send HTML encoded messages to this list. ...yeah, and a subject line of "I need help" isn't actually very helpful :P Chris ___

Re: [Zope] Zope.org down?

2000-11-01 Thread ethan mindlace fremen
Dennis Nichols wrote: At 11/1/00 03:22 PM, Phil Harris wrote: Subject says it all Well, not here but it does seem to have fallen back one or more days. I just sent a message explaining what happened to this list. I'm also curious about the zope.org site performance. Zope is said to

Re: [Zope] Re:GoLive

2000-11-01 Thread Fred Yankowski
On Wed, Nov 01, 2000 at 03:32:07PM +, tom smith wrote: Anyone know if GoLive 5 with WebDav can edit dtml files...or Dreamweaver? With Dreamweaver 2.0 I can use File - Open to open and edit a file with a name like "index_html", but when I define a Dreamweaver "site" that encompasses files

Re: [Zope] Zope Book Beta

2000-11-01 Thread Tim Lynch
I wholeheartedly agree with Jason and Chris. I would very much appreciate a PDF version that could be easily printed, or read with Adobe's Reader. I hope there is no hesitation over making a PDF version available because of fear it will cut into sales of the bound volume. I think it would be

[Zope] FastCGI behind ZServer

2000-11-01 Thread Nicholas Lo
I have read a lot about the Apache/Zope/FastCGI configuration in this list. However, I just wonder if anyone have tried having a FastCGI Server behind ZOPE behind Apache?My problem is I have a Apache/Zope site (using proxypass) running for quite some time. And I'm very happy with it.

Re: [Zope] Re:GoLive

2000-11-01 Thread Fred Yankowski
On Wed, Nov 01, 2000 at 08:31:09AM -0600, Christopher J. Kucera wrote: That should be pretty easy . . . Zope will let you add objects that have dots in the titles, so just put a method "index_html" in the root folder which has the following line: dtml-var index.html That obvious

RE: [Zope] Installation on Linux

2000-11-01 Thread Eric Walstad
Hi Lee, In the Zope book beta version there is a section on installing Zope on Unix/Linux systems: http://www.zope.org/Members/michel/ZB/UsingZope.html - Or - There are also a few good howtos on the Zope.org site, here's one to get you started:

Re: [Zope] Installation on Linux

2000-11-01 Thread complaw
Lee Curtis wrote: Hi All, I feel like a bit of an idiot, but I can't find any info about installing Zope until Unix - only Windows. Can anyone give me a quick start guide ?? http://www.zope.org/Members/michel/ZB/ If you are using RedHat (or one of its derivaties such as

[Zope] IMAP and Zope!

2000-11-01 Thread Spicklemire, Jerry
Morten says: If this sounds interesting, send me an email.=) Is this one OK? I'm developing an Outlook/WorldPilot replacement which is much more modular in design. It will be released under the GPL. When and where I don't know yet. It stores messages in 'pure' ZODB format (that is,

[Zope] QSurvey design

2000-11-01 Thread Stephan Goeldi
How can I change the HTML design of QSurvey 0.25? I want it to use my standard_html_header and footer. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create

[Zope] BBEdit and Zope (was GoLive)

2000-11-01 Thread Simon Coles
My experiences have been with BBEdit 5.x, has anyone tried BBEdit 6.x with DTML? I've used BBEdit 6.0 for occasional Zope use, and haven't really noticed a difference against version 5.x for editing DTML - but then again, I haven't been looking. The *really* annoying problem with BBEdit 6.0

Re: [Zope] Zope Book Beta

2000-11-01 Thread Simon Coles
I wholeheartedly agree with Jason and Chris. I would very much appreciate a PDF version that could be easily printed, or read with Adobe's Reader. If you have the full version of Adobe Acrobat (you have to pay for it, as opposed to the free Reader) you can "Capture" web pages into a PDF. I

Re: [Zope] Hosting?

2000-11-01 Thread Stephan Goeldi
And, of course, I recommend our site http://www.leimental.net. I'm wondering if anyone can recommend a commercial Zope hosting service for me. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: [Zope] Hosting?

2000-11-01 Thread Stephan Goeldi
Try http://www.leimental.net or http://www.goeldi.com (both german language) 500 MHz, 320MB RAM, CHF 49 a month (about $28 I think). Bandwidth swiss standard. RedHat Linux. Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month.

Re: [Zope] MailHost: bcc broken ?

2000-11-01 Thread Ender
"Stefan H. Holek" wrote: On Wed, 25 Oct 2000, Gregory Haley wrote: i was one of the participants in the recent discussion of zope bulk mail. i'm wondering about the mechanics of sending the work of the mail to the actual sendmail server outside of zope. would i do that by creating

Re: [Zope] QSurvey design

2000-11-01 Thread Jim Washington
Hi, Stephan QPages draw themselves. The code is QPageClass:index_html, so replacing the header information in that method with standard_html_header should work. You may want to include the css stuff in your header for question formatting (needs to be in head, and that is why I broke tradition

Re: [Zope] Zope Book Beta

2000-11-01 Thread Michel Pelletier
Fred Yankowski wrote: I agree completely that the Zope Book beta will get more reviewers, and better feedback to the authors, if it is available as PDF. I agree, but this is completely out of our hands and we must focus more on content issues at this point then distribution issues. All of

Re: [Zope] Zope Book Beta

2000-11-01 Thread Michel Pelletier
Tim Lynch wrote: I wholeheartedly agree with Jason and Chris. I would very much appreciate a PDF version that could be easily printed, or read with Adobe's Reader. I hope there is no hesitation over making a PDF version available because of fear it will cut into sales of the bound volume. I

[Zope] Products : dependencies (or who's on first?)

2000-11-01 Thread Aaron Straup Cope
Okay, here goes : I installed the PTK product some time ago, decided that it wasn't where I needed to be right now and moved on to something else. Today I finally decided to delete it from my Products folder. Shortly afterwards, I noticed that both my existing FlexFAQ and ZDiscussion objects

Re: [Zope] Zope Book Beta

2000-11-01 Thread Michel Pelletier
Jason Cunliffe wrote: - Original Message - From: Chris Withers [EMAIL PROTECTED] Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright

[Zope] Help! Zope Crash

2000-11-01 Thread Edward Muller
I am running a Zwiki site at http://www.handhelds.org:8080/wiki. This site has become invaluable to our growing handhelds.org community as a place to collect information. But, sadly our zope server keeps dyingNo idea why Sometimes the zope server can be up for a few days, sometimes only

RE: [Zope] GUF, ZODB, and 2.2.2

2000-11-01 Thread Andrews, Martin
I am not using the ZODB as the backend, but I did have to patch GUF to get it to work with zope 2.2.2. Caveat emptor: I have no idea if this patch is really correct, I pretty much stole the little piece of code from LoginManage (which has a similar disclaimer). Martin Andrews -Original

Re: [Zope] Zope Book Beta

2000-11-01 Thread Jason Cunliffe
- Original Message - From: Michel Pelletier [EMAIL PROTECTED] Just as open source benefits from real-time peer review, so do manuscripts get better when fresh eyes and minds and go over them. How about 'releasing' a PDF / HTML Doc with header/footers clearly marked: 'Preview

Re: [Zope] Mapping tools with Zope

2000-11-01 Thread Janko Hauser
GIS-like applications are definitely a field where Zope can shine. But most of the current MAP-Servers are interfacing with a RDBMS where a lot of the logic is placed into the database. If one thinks of geographic objects in a way of an object database like Zope, there is a different architecture

[Zope] ANN: HOWTO Use mod_gzip to accelerate Zope

2000-11-01 Thread Andres Corrada-Emmanuel
We are pleased to announce a new Zope HOWTO for the community: "Use mod_gzip to accelerate Zope." (http://www.zope.org/Members/Mamey/mod_gzip). Mamey has been following the release of the mod_gzip module by Remote Communications (http://www.remotecommunications.com) since last week. Working

[Zope] Re: [Image-SIG] Properly integrating PIL, reportlab, and zope

2000-11-01 Thread Daniel Rusch
I have no idea if this will help you. We use PIL, reportlabs and zope to create P.O.'s, to place a logo on the page we use the following line of code: c.drawInlineImage("gclogo_color.gif", .5*inch, 10.*inch,4*inch) where c is created thusly: c =

[Zope] Mapping tools and Zope - SIG? Fishbowl?

2000-11-01 Thread twiens
I'm writing to all who responded to my query regarding mapping tools for Zope or others interested in this issue. In one of the responses, was the suggestion to start a SIG or Fishbowl. At this point in time, I'm in a research phase for a project where a mapping interface will be needed in Zope

Re: [Zope] Re:GoLive

2000-11-01 Thread Bill Anderson
Fred Yankowski wrote: On Wed, Nov 01, 2000 at 08:31:09AM -0600, Christopher J. Kucera wrote: That should be pretty easy . . . Zope will let you add objects that have dots in the titles, so just put a method "index_html" in the root folder which has the following line: dtml-var

Re: [Zope] Zope.org down?

2000-11-01 Thread andres
mindlace, Check out my company's new HOWTO on an additional way to improve performance: http://www.zope.org/Members/Mamey/mod_gzip On Wed, Nov 01, 2000 at 11:38:42AM -0500, ethan mindlace fremen wrote: Zope.org will be on hardware that stretches the notion of "commodity" soon, but it will

[Zope] XML-RPC vs External method?

2000-11-01 Thread Irene Barg
Hello all, I have setup a query form to query a small MySQL database using Zope. It consists of: 1. ZMySQL Database Connection (ZMySQLDA) 2. ZSQL method 3. A search interface. Now, what I want is the user to have the option of viewing the results in HTML or raw XML. I think there can be

[Zope] Job opportunities

2000-11-01 Thread terry
Software Engineers Join a small, motivated team to create the next generation of web applications. The successful applicant will be comfortable working hard to meet deadlines and enjoy the challenge of developing new skills and innovative solutions on a day to day basis. Skills Required:

[Zope] OT Zope book images - PDF

2000-11-01 Thread Eric Walstad
In light of all the hubbub about the Zope book, I thought I would try and make my own copy of it in PDF format (just for me, of course). I'm finding that Acrobat doesn't know how to convert the PNG image file type used in the Zope Book. (or rather, I don't know how to get it to work !) Anyone

[Zope] Multi-lingual sites and workflow

2000-11-01 Thread Lee Hunter
I was wondering if anyone here has used Zope to create bilingual/multi-lingual/localised websites. I've done a number of bilingual (French and English) projects in recent years using plain old html where the two language versions had to be kept mostly symmetrical and its been a bit of a pain as

Re: [Zope] OT Zope book images - PDF

2000-11-01 Thread Phil Harris
Eric, I got Acrobat to recognise the png's by first loading the html nto msword and then 'printing' the PDF from there. hth Phil - Original Message - From: "Eric Walstad" [EMAIL PROTECTED] To: "[EMAIL PROTECTED]" [EMAIL PROTECTED] Sent: Thursday, November 02, 2000 12:58 AM Subject:

Re: [Zope] XML-RPC vs External method?

2000-11-01 Thread Ender
if the xml format is simple you could just do it dtml, it would end up with some extra white space but it would still be valid. a dtml method akin to ?xml version="1.0"? dtml-in mysqlretrieve item contentdtml-var content/content squishydtml-var squishy/content /item /dtml-in

Re: [Zope] Help! Zope Crash

2000-11-01 Thread Tim Cook
Edward Muller wrote: Sometimes the zope server can be up for a few days, sometimes only a few hours. I am not sure what is causing this or how to go about tracking it down. Is there anything I can do? Any help would be greatly appreciated. Well, this may just be 'any help'. But A couple

Re: [Zope] Help! Zope Crash

2000-11-01 Thread Tim Cook
Tim Cook wrote: tried in the memory in a different machine it worked fine. But I have had the site go down since. Should be: I have not had the site go down since. (maybe I'll learn to proof my emails!) -- Tim Cook -- Office: (901) 884-4126 8am-5pm CST Free Practice Management,Inc. |

Re: [Zope] Help! Zope Crash

2000-11-01 Thread ethan mindlace fremen
Edward Muller wrote: I am running a Zwiki site at http://www.handhelds.org:8080/wiki. This site has become invaluable to our growing handhelds.org community as a place to collect information. But, sadly our zope server keeps dyingNo idea why Sometimes the zope server can be up for

Re: [Zope] incorporating generated sub-websites within a Zope site

2000-11-01 Thread Cees de Groot
Fred Yankowski [EMAIL PROTECTED] said: OK, this problem is largely the result of the crappy web-design tool she's using, but I really have no control over that. The subsite manage/author doesn't know HTML and would be completely helpless with Zope's "through the web" editing interface. You

[Zope] Zope.org uptime listed by netcraft

2000-11-01 Thread Philipp Auersperg
on www.netcraft.com I looked at the list with the websites having the maximum uptime and found - Zope - under the top 10 ! Check it out: http://uptime.netcraft.com/today/top.avg.html phil