Re: [Zope-dev] Re: Acquisition (was: [Zope-dev] Overriding a method in an instance.)

2000-07-11 Thread Toby Dickenson
On Mon, 10 Jul 2000 13:14:17 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: P.S. I wouldn't mind if someone posted this as a HOWTO. :-) I think theres two, slighly different versions in already HOWTOs ;-) Any chance of getting this into the Zope distribution? Toby Dickenson [EMAIL PROTECTED]

Re: [Zope-dev] manage_clone? (amongst others!)

2000-07-11 Thread Shane Hathaway
Chris, I'm sorry to hear about your challenges. I've had some myself. I think you're being bitten by a bug which prevented manage_clone from working in a lot of situations, but is solved in 2.2. The problem was that when a new object was placed in a container, it didn't get a _p_jar attribute

[Zope-dev] error adding specialist

2000-07-11 Thread Steve Alexander
I've come across an error on trying to add a Specialist. Zope 2.2b4, ZPatterns latest release (ZPatterns-0-4-0a1). Go to the zope management pages, as a Manager. Choose to add a Specialist. Leave the "Create Default Rack of type" drop-down set to "Rack". Put in an appropiate id, such as "test".

Re: [Zope-dev] manage_clone? (amongst others!)

2000-07-11 Thread Chris Withers
Shane Hathaway wrote: Chris Withers wrote: I'm still not clear on this. Why would I need access to the product factory when where.manage_addFolder(id,title) works just fine? I thought manage_addFolder was the product factoy method? manage_addFolder() is to be considered a shortcut,

[Zope-dev] Re: error adding specialist

2000-07-11 Thread Phillip J. Eby
I found this one on Saturday. The problem is that Zope recently changed the way constructors bind to their factory objects, and the "self" that ZPatterns is providing to the constructors is no longer needed. I've changed ZPatterns to fix this (still maintaining 2.1.x compatibility in the

[Zope-dev] Re: error adding specialist

2000-07-11 Thread Steve Alexander
"Phillip J. Eby" wrote: I found this one on Saturday. The problem is that Zope recently changed the way constructors bind to their factory objects, and the "self" that ZPatterns is providing to the constructors is no longer needed. I've changed ZPatterns to fix this (still maintaining

[Zope-dev] Designing with ZPatterns

2000-07-11 Thread Steve Alexander
Quick question on designing with ZPatterns: Is a developer meant to specialise Specialist by defining a subclass, as is the case in LoginManager? Or, given how many plugpoints Specialist has, is it best to instantiate Specialists as-is, and fill them with DTML methods, External methods and

Re: [Zope-dev] zope and UNIX permissions

2000-07-11 Thread Bill Anderson
Chris McDonough wrote: Using gnutar, untarring as the root user preserves ownership on expansion by default. Not sure if FreeBSD uses gnutar (I imagine not), but this is the case with gnutar under Linux. I think this is what happened to him... he said he could not use the RPM release and

[Zope-dev] User not in User Folder problem solved! :-)

2000-07-11 Thread Chris Withers
Brian Lloyd wrote: That's a problem. Root index_html is viewable by Anonymous user - Zope should not complain about wrong (not in acl_users) login/password. It seems Zope doesn't like being presented with Authentication information it knows nothing about. A more graceful way of

[Zope-dev] ZPatterns -- trigger add events not working

2000-07-11 Thread Steve Alexander
I have a GenericTrigger in a Folder with Customizer support. When I set it to trigger upon Add, my method doesn't get triggered when I add a new DataSkin-derived-ZClass instance. However, when I set it to trigger on Change, my method gets called on adding a new DataSkin. I can't see anything

[Zope-dev] Zope 2.1.6 packages

2000-07-11 Thread Alexandre A. Drummond Barroso
It would be a good idea to change the user/group that owns any file in the Zope tree to nobody.nobody before packaging the product (src and linux packages) instead of delivering with user 509. When this user number is already used, and someone is testing Zope as a simple user (not root) the

[Zope-dev] zope and UNIX permissions

2000-07-11 Thread Leonardo Kenji Shikida
this is also what I am talking about! - Original Message - From: Alexandre A. Drummond Barroso [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 11, 2000 7:59 PM Subject: [Zope-dev] Zope 2.1.6 packages It would be a good idea to change the user/group that owns any file in

Re: [Zope-dev] zope and UNIX permissions

2000-07-11 Thread Chris McDonough
Bill Anderson wrote: He seemed to be mostly griping about files that were wide open (777). On 2.2.0b4 the only ones I get are: lrwxrwxrwx1 root root 13 Jul 11 01:36 lib/python/ZEO/cPickle.so - ../cPickle.so lrwxrwxrwx1 root root 13 Jul 11 01:36 lib/python/ZServer -

Re: [Zope-dev] zope and UNIX permissions

2000-07-11 Thread Bill Anderson
Chris McDonough wrote: Bill Anderson wrote: He seemed to be mostly griping about files that were wide open (777). On 2.2.0b4 the only ones I get are: lrwxrwxrwx1 root root 13 Jul 11 01:36 lib/python/ZEO/cPickle.so - ../cPickle.so lrwxrwxrwx1 root root 13 Jul 11 01:36

[Zope] dtml-in and maps...

2000-07-11 Thread Curtis Maloney
Greetings, This seems like it should be a simple thing but I can't seem to find how to make dtml-in behave with maps. In particular, empty maps. I've tried mapping, i've tried testing _.len(map.keys()), and various other things. But it always fails, telling me

[Zope] --- In zope@egroups.com, Paul Abrams paulabrams@y... wrote:

2000-07-11 Thread Jonathan Desp
Title: Blank --- In [EMAIL PROTECTED], Paul Abrams [EMAIL PROTECTED] wrote: I'm noticing that our file sizes could be reduced by 10% or more by trimming trailing whitespace. Is there a way to get Zope to do that automatically? It would be best if Zope did it whenever a method was saved.

[Zope] Accessing the namespace of another Product/Package ? (pb when the superclass belong to another package)e superclass belong to another package)

2000-07-11 Thread NABETH Thierry
Title: Accessing the namespace of another Product/Package ? (pb when the superclass belong to another package) Hello, In order to have a system more modular, I have split a package (product) into several other product. In particular, I have a package (BaseClassesPackage) that define some

[Zope] R: [Zope] dtml-in and maps...

2000-07-11 Thread Marcel Preda
Greetings, This seems like it should be a simple thing but I can't seem to find how to make dtml-in behave with maps. In particular, empty maps. I've tried mapping, i've tried testing _.len(map.keys()), and various other things. But it always fails, telling me Error Type:

Re: [Zope] MessageDialog

2000-07-11 Thread Chris Withers
Andy McKay wrote: The MessageDialog is cool, but a little sparse, has anyone tried overriding it with their own or fiddling with it? Im looking at including standard header and footer in it and not gotten very far. Butch did this in Squishdot, one of the changes I made for 0.4.1 was to let

[Zope] cut and paste or an object

2000-07-11 Thread Terry Kerr
Hi, I have written a product in python which has two classes. One is a contrainer class, and the other as an item. Both classes are catalogAware. Both have management interfaces which allow cut/copy/paste. Copy and paste works fine. But if I paste an object that has been cut, i get the

[Zope] Problem with ZClient

2000-07-11 Thread Juan Carlos Coruña
Title: Problem with ZClient I'm testing ZClient to access a ZSQL method on a NT box from a Linux box since Linux can't access any odbc (propietary) database. As ressult i become a bci.ServerError. This is the output: [root@ecom ZPublisher]# ./Client.py -u username:password

[Zope] Newbie:Credit-card question

2000-07-11 Thread brocken22
Hallo, that's my problem: I'd like to build up a shopping-system that's working with credit-cards(it's the customers wish). It's the first time I have to deal with this. How is the checking of the valid credit-card-number being done?? Which institution must be contacted by the server?? In

[Zope] SiteRoot (SiteAccess) bug ?

2000-07-11 Thread Holger Lehmann
I am using a SiteRoot object since I am proxying my webpage through an apache. Everything works as expected (apart from some weird broken ziconimages with a Control_Panel/Products path e.g. SiteSummary and Tracker) Now if I view the Management screen trough the proxy and I am editing an object

Re: [Zope] Anyone for a Zope bonding experience at OSS con next week?

2000-07-11 Thread Paul Everitt
Hi Jeff and others. Here's a brief rundown of Digital Creations at the conference with some updates since the Zope Weekly News. I will be out there on Monday afternoon, Chris Petrilli arrives that evening I believe. Chris gives his tutorial Tuesday morning, then Gary Graham arrives to help

[Zope] hard dtml syntax problem

2000-07-11 Thread Jerome Alet
Hi want to call ZopeFind to find all folders in the current folder which doesn't have got any subfolder. the following query works but returns all folders, even those which have got subfolders: dtml-let myresult="ZopeFind(this(), obj_metatypes=['Folder'], search_sub=1)" dtml-in myresult ...

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah I don't format my code like that ;-) I'm not sure what the ';)' refers to, but single quotes are the

[Zope] worldpilot newbie.

2000-07-11 Thread tom smith
I'm running an IMAP(WebStar) server on a mac. i have no dns, so when I tell WorldPilot the number the machine is running on, I get a Zope error. Although I CAN actually log into WorldPilot correctly, cheers ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Stephen Harrison
Jim Fulton wrote: Chris Withers wrote: Jim Fulton wrote: I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah I don't format my code like that ;-) I'm not sure what the ';)' refers to,

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: (snip) How about extending ! beyond just escaping WikiNames? I *really* **really** hate the ! wiki name escape. Why? A goal of structured text is that it should be readable in it's original form. The conventions used should mimic the kinds of

[Zope] Current Year

2000-07-11 Thread Aaron Williamson
I hate to sound like such a newbie, but I am having the darndest time trying to figure out how to get the current year. I know that the current time is ZopeTime, but I have tried every way I can think of to get the year() function to work with it, and at last have given up. The documentation I

Re: [Zope] data record exceeds transaction record

2000-07-11 Thread Jim Fulton
Jonathan Desp wrote: Hi, here is the information of my problem: File "C:\Program Files\WebSite\lib\python\ZODB\FileStorage.py", line 218, in p anic raise CorruptedTransactionError, message ZODB.FileStorage.CorruptedTransactionError: C:\Program Files\WebSite/var/Data.fs data

[Zope] why this happens? a bug?

2000-07-11 Thread Júlio Dinis Silva
Is there a guru to explain why this happens? Create a document with the following code: dtml-if "PATH_INFO == '/' dtml-comment Some code /dtml-comment dtml-call "RESPONSE.set('list',[])" dtml-in list dtml-var sequence-item

Re: [Zope] trailing whitespace optimization

2000-07-11 Thread Gregory Haley
Hi Paul, You're right about the size of files with trailing blanks. I had a file of over 1 meg yesterday, and when I striped all the blanks it was only 47K, pretty radical reduction. There is an external Python method that is part of the zope Extenions library, it should be in something called

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Stephen Harrison wrote: Jim Fulton wrote: Chris Withers wrote: Jim Fulton wrote: I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah I don't format my code like that ;-)

Re: [Zope] HEELLPP - Please !!!

2000-07-11 Thread Daniel Rusch
I think this line: where users.user_login=dtml-sqlvar name=login type=string Should be: where users.user_login=dtml-sqlvar login type=string --- no name= DR Hi, I have the following ZSQL-Method: arguments : login - select user_passwd as real_password from users

RE: [Zope] data record exceeds transaction record

2000-07-11 Thread Brian Lloyd
It's not a server or a hardware problem because I tested my data.fs on another hardware,machine. As well as it's not a another file in zope, because I tested that data.fs on zope linux, and zope windows. So it's really inside data.fs The data file is definiately corrupted. That's what

[Zope] Win98 service

2000-07-11 Thread michael montagne
Is it possible to have Zope run as a Win98 service? I'm going to be using win98 until I get up to speed and then use Linux. But for several months I don't want to be stuck with this DOS window that remains after I run the start.bat. -mjm winmail.dat

Re: [Zope] Newbie:Credit-card question

2000-07-11 Thread Itamar Shtull-Trauring
[EMAIL PROTECTED] wrote: I'd like to build up a shopping-system that's working with credit-cards(it's the customers wish). You can do CyberCash verfication and charging using the Wampum product, that can be found on the zope.org website. I have no idea why it's called Wampum though. --

Re: [Zope] HEELLPP - Please !!!

2000-07-11 Thread Chris Withers
Daniel Rusch wrote: I think this line: where users.user_login=dtml-sqlvar name=login type=string Should be: where users.user_login=dtml-sqlvar login type=string --- no name= I'm sure that shouldn't make a difference Is this another example of DTML being sucky? ;-) Chris

Re: [Zope] HEELLPP - Please !!!

2000-07-11 Thread Mario Premke
I changed the variable name from login to xlogin ... that worked. login seems to be reserved for some reason ... Mario Daniel Rusch wrote: I think this line: where users.user_login=dtml-sqlvar name=login type=string Should be: where users.user_login=dtml-sqlvar login

[Zope] GUF + SQL connection problem

2000-07-11 Thread Cesar A. K. Grossmann
I'm trying to add a SQL connection to GUF, and getting an error when trying step 8 of the How To ("HOWTO Use GenericUserFolder with an SQL Database"): "You are not authorized to change change_password_report because you do not have proxy roles. " The step 8 says

Re: [Zope] just html, help, help, help !!!

2000-07-11 Thread Tino Wildenhain
Hi, Just some hints: think about it is really necesary to use JS here. Often it does not add comfortableness for the user. If it really brings gain in functionallyty, it schould work both ways, with and without JS. In the example below, a ular reform in the parent can be used. In a Zopish way,

RE: [Zope] Current Year

2000-07-11 Thread Steve Drees
I hate to sound like such a newbie, but I am having the darndest time trying to figure out how to get the current year. I know that the current time is ZopeTime, but I have tried every way I can think of to get the year() function to work with it, and at last have given up. The

Re: [Zope] Q: Zope meeting in Paris in August?

2000-07-11 Thread Hugo Ramos
- Original Message - From: "Paul Everitt" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 11, 2000 2:40 PM Subject: [Zope] Q: Zope meeting in Paris in August? Hello everybody. I'm chatting with someone in Paris about a possible Zope gathering during my vacation to see

Re: [Zope] Win98 service

2000-07-11 Thread Holger Lehmann
Have you tried setting up your environment variables in your autoexec.bat und then just creating a link on your desktop calling the proper python interpreter with the correct python script ? BTW: as far as I know (not that I know much of it) only WinNT has services :-( - Holger Am Die, 11 Jul

Re: [Zope] DTML?

2000-07-11 Thread Tino Wildenhain
Hi, Chris Withers wrote: Hmmm, how about just sorting out the problems: dtml-var and dtml-call dtml-var "x(_,_.None,arg1=x,arg2='y',arg3=3)" html_quote should really be: dtml-var x arg1=x arg2='y' arg3=3 html_quote I want that too. When we are over it, how about replacing (or at

[Zope] Howto store objects??

2000-07-11 Thread Mario Premke
Hi, I want to store files, which should be downloadable through Zope. Do I have to import these files as objects and store them within Zope or is it possible to store them on the local filesystem and make a Link via DTML to access these files ??? Thanks Mario

Re: [Zope] Adding comments to documents like in ACS ...

2000-07-11 Thread Tino Wildenhain
Chris McDonough wrote: This is something I've wanted to see for a long time too. The Portal Toolkit (http://www.zope.org/Products/PTK) evidently has a "discussable" mixin class that allows users to add comments to documents. You may want to check it out. This feature should probably be

Re: [Zope] cut and paste or an object

2000-07-11 Thread Andy McKay
Sorry, I cant shed any light but I still have the exact same problem. More bizarrely I could copy then delete then paste and that worked fine. - Original Message - From: "Terry Kerr" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 11, 2000 2:10 AM Subject: [Zope] cut and

[Zope] ZStylesheet multiple browser question

2000-07-11 Thread Neil Burnett
I am new to ZStyleSheet. How do I create a rule which is different for, say, IE and Netscape? E.g. If I want a color to be red in IE and blue everywhere else (just an example :-) I can't do it in the same rule as attribute ids have to be unique, but they are also the name of the selector

[Zope] Heap Corruption Problem

2000-07-11 Thread Dieter Maurer
Apparently, we have a serious heap corruption problem. The problem manifests itself in different ways: The Python process * receives signal 9 (SIGKILL) by Solaris 2.7 * receives signal 11 (SIGSEGV) * enters an infinite loop (and blocks the complete process) In all cases, the

[Zope] how to stress test a zope site?

2000-07-11 Thread Demos Economacos
All, Is there a way that I can run a stress test on a Zope site running ZServer? I am trying to do some capacity planning and trying to determine how the sustained hit count before performance starts degrading. Any suggestions and thoughts will be appreciated. Thanks Demos

Re: [Zope] MessageDialog

2000-07-11 Thread Andy McKay
A thanks Chris. I had noticed that and was trying to see if I could do without using REQUEST. I couldnt so I went and changed all the calls to my class *sigh*. Thanks mate. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL

Re: [Zope] Newbie:Credit-card question

2000-07-11 Thread Martijn Pieters
On Tue, Jul 11, 2000 at 01:25:26PM -0400, Gregory Haley wrote: I have no idea why it's called Wampum though. It's an American term, derived from the some groups of the first indigenous people in America who refered to whatever was used for exchanges as "Wampum". I'm not sure if this is

[Zope] Question on OpenTicket

2000-07-11 Thread Mario Premke
Hi, can anybody tell me what exactly the openticket product does as there is no detailed description in the docs ... Cheers Mario ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

Re: [Zope] Manager Screen Authenication

2000-07-11 Thread Jens Vagelpohl
hi sean, the zpasswd is run like this: python zpasswd.py access the password creation is in dialog form. jens p.s.: please don't send HTML-formatted mail to the list on 7/11/00 14:55, Sean S. Rowe at [EMAIL PROTECTED] wrote: Hello. I'm new to Zope and have just installed it on a server

Re: [Zope] DTML?

2000-07-11 Thread Chris Withers
Tino Wildenhain wrote: I want that too. When we are over it, how about replacing (or at least aliasing) these - variables to _ ? sequence-item, sequence-index etc. comes to mind. Yes indeed! :-) IF you've got a patch that will do this, please mail it to me and stick it in the collector...

Re: [Zope] MessageDialog

2000-07-11 Thread Chris Withers
Andy McKay wrote: A thanks Chris. I had noticed that and was trying to see if I could do without using REQUEST. I couldnt so I went and changed all the calls to my class *sigh*. Thanks mate. Sadly REQUEST and the client are always necessary. If you want to call your MessageDialog from

[Zope] serving object under different name

2000-07-11 Thread Ingo Assenmacher
Hi. Scene: I have an downloadable object with id/title. When the user clicks on a link, say: a href="dtml-var id"dtml-var title/a a requester pops up and asks the user where to store the file with the provided id. Lets say I want to serve the file under the title, not by id, how can this be

Re: [Zope] Question on OpenTicket

2000-07-11 Thread Roman Milner
"MP" == Mario Premke [EMAIL PROTECTED] writes: MP Hi, can anybody tell me what exactly the openticket product MP does as there is no detailed description in the docs ... It's a general purpose trouble ticketing system. You can actually see it running on the home page at

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Steve Alexander
Jim wrote: A number of people have complained about the use of single quotes for in-line code. One possible alternative is to use ``code''. I like the way it looks. However, I think it causes a problem with code like this: `` if a == '': doSomething() '' You could use ``code`` instead,

Re: [Zope] DTML?

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Chris Withers wrote: Tino Wildenhain wrote: I want that too. When we are over it, how about replacing (or at least aliasing) these - variables to _ ? sequence-item, sequence-index etc. comes to mind. IF you've got a patch that will do this, please mail it to me

[Zope] Stupid Question Time

2000-07-11 Thread Terry Babbey
I think if I can get an answer to a stupid question it may go along way to opening my eyes to Zope. I need to understand the use of ',",(),[]. I think when you use single quote ' - it means to take as literal - don't interpret. Eg. 'A+R' is taken as A+R and is not calculated. But as for the

Re: [Zope] R: [Zope] dtml-in and maps...

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Marcel Preda wrote: looks like the variable that you are using in dtml-in ... is noat a sequence (list || tuple) I suppose that your var is a dictionary Insted of : dtml-in x mapping you have to use: dtml-in "[x]" mapping as a list || dtml-in "(x,)" mapping

Re: [Zope] Manager Screen Authenication

2000-07-11 Thread Sean S. Rowe
Still not working. I am using version 2.1.6 and compiled using 'python -O wo_pcgi.py'. In addition, the QuickStart guide works, which seems to use Zope. Is it possible Apache is somehow handling the request and I need to direct it to pass authentication variables? Thanks, Sean. hi sean,

Re: [Zope] Problem with ZClient

2000-07-11 Thread Loren Stafford
Title: Problem with ZClient I can't see for sure what the problem is. But I was bitten by a problem ZClient had with the port specification. You can read about it at http://www.zope.org/Members/lstaffor/ZScheduler/CHANGES.txt. Could that be relevant here? -- Loren - Original Message

Re: [Zope] how to stress test a zope site?

2000-07-11 Thread John Kinsella
For a quick and dirty load test I usually use httperf, which ya can search for on www.freshmeat.net. If anybody has something a little more comprehensive that runs on solaris/linux/*bsd, I'd love to hear 'bout it. There's a few programs out for Windows, check out www.astratryandbuy.com for some

[Zope] String Substitution

2000-07-11 Thread Tim Russell
I'm trying to convert data entered in a form to a format that I can manipulate later, specifically, I need to convert " (double quotes) and possibly ' (single-quotes) to the appropriate HTML substitute, like quot . What's the easiest way to do this? Is there built-in Zope functionality for this,

[Zope] ANNOUNCE: Going Virtual Interbase Adapter v0.1

2000-07-11 Thread Jeff K. Hoffman
Going Virtual, LLC is proud to announce the first release of its Zope Database Adapter for Interbase v6.0 beta. The only known limitations are those imposed by Interbase when using Dynamic SQL, and our limited support for ARRAYs. The adapter has been tested on Linux and Solaris, using both Zope

[Zope] SV: [Zope] String Substitution

2000-07-11 Thread peter be
dtml-var formelement html_quote should do it. or dtml-let html_formelement="_.string.replace(formelement,'"','quot;')" dtml-var html_formelement /dtml-let ...if you want to replace a single chr. BTW, what is the html entitiy for ' ? - Original Message - From: Tim Russell [EMAIL

Re: [Zope] Stupid Question Time

2000-07-11 Thread Jerome ALET
On Tue, Jul 11, 2000 at 04:00:26PM -0400, Terry Babbey wrote: I think if I can get an answer to a stupid question it may go along way to opening my eyes to Zope. I need to understand the use of ',",(),[]. I think when you use single quote ' - it means to take as literal - don't interpret.

Re: [Zope] ANNOUNCE: Going Virtual Interbase Adapter v0.1

2000-07-11 Thread Phil Harris
Col! - Original Message - From: Jeff K. Hoffman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 11, 2000 10:12 PM Subject: [Zope] ANNOUNCE: Going Virtual Interbase Adapter v0.1 Going Virtual, LLC is proud to announce the first release of its Zope

[Zope] Q: Zope business discussion at O'Reilly conference

2000-07-11 Thread Gary Graham
Hello everybody. As many of you know, business for Zope is really picking up, as is interest in a mythical business partner program. We would like to get input from everyone that is interested in this. Any of you that are going to the O'Reilly conference next week and would like to discuss

Re: [Zope] External Method not accepting CGI module

2000-07-11 Thread Dieter Maurer
Kelvin Cheong writes: import cgi form = cgi.FieldStorage() This gives you an empty "FieldStorage" fileitem = form["userTABPIX1"] In it, "userTABPIX1" is unknown. fname = tempfile.mktemp() fp=open(fname,'w') fp.write(fileitem.file.read()) fp.close() Give

Re: [Zope] DTMLDocument content - html quoted or not

2000-07-11 Thread Dieter Maurer
Michael Gutmann writes: Aleksander Salwa schrieb am Fre, 07 Jul 2000: ... In mentioned method, to render document, I wrote: dtml-var this But this outputs html quoted text (so I see HTML and DTML tags in browser, instead of formatting and variables). Hmm, looks like a problem

Re: [Zope] Stupid Question Time

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Jerome ALET wrote: ' and " are equivalent Not quite true. dtml only recognizes " for surrounding dtml expressions. But you are right that they are equivalent in python. () are for functions or methods To call functions or methods: blah(somearg). But also used for

[Zope] Re: [Zope-dev] Problem with Zope

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Tina Goyne (TT) wrote: I am a novice Zope user--my web master left my company and I have been pegged with the responsibility of maintaining our internal website. I am having a problem adding a new folder and then adding a file to the folder. The file is located on

Re: [Zope] R: [Zope] dtml-in and maps...

2000-07-11 Thread Curtis Maloney
On Tue, 11 Jul 2000, Marcel Preda wrote: Greetings, This seems like it should be a simple thing but I can't seem to find how to make dtml-in behave with maps. In particular, empty maps. I've tried mapping, i've tried testing _.len(map.keys()), and various other things. But it

[Zope] SQL Database, automatic form for editing and more

2000-07-11 Thread Lucio Torre
Hello, I am trying to put up an intranet for my company. I have the option of buying notes but i am trying to convice the team that we can replace it with a variaty of open source programs. So far i have: PGPnet, PGPDisk, Cyrus IMAP, MySQL, CVS. What i am missing is a platform to develop

[Zope] Silly observation/question regarding PropertySheets

2000-07-11 Thread Bill Anderson
You know, I've always wondered why on the ZClass propertysheets creation page, you can export a propertysheet ... you can't import them. -- "Linux: the operating system with a CLUE... Command Line User Environment". seen in a posting on comp.software.testing

[Zope] How to deal with MySQL's LAST_INSERT_ID() sensibly?

2000-07-11 Thread Stefan Franke
As far as I understand from the MySQL manuals, the value of LAST_INSERT_ID() is maintained on a per-connection basis (wish it would be per-connection/per-table; a LAST_INSERT_ID(table_name) would make much more sense in combination with table locking, but anyway..). I have a number of

Re: [Zope] How to deal with MySQL's LAST_INSERT_ID() sensibly?

2000-07-11 Thread Andrew Kenneth Milton
+[ Stefan Franke ]- | | As far as I understand from the MySQL manuals, the value of LAST_INSERT_ID() | is maintained on a per-connection basis (wish it would be | per-connection/per-table; | a LAST_INSERT_ID(table_name) would make much more sense in

RE: [Zope] DTMLDocument content - html quoted or not

2000-07-11 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dieter Maurer Sent: Tuesday, July 11, 2000 6:54 PM To: [EMAIL PROTECTED] Subject: Re: [Zope] DTMLDocument content - "html quoted" or not Michael Gutmann writes: Aleksander Salwa schrieb am Fre,

[Zope] simple instructions for site search

2000-07-11 Thread Sean Kelley
I am a new Zope user- Can anyone tell me if there is documented anywhere, simple instructions for creating a full site search by keyword? I have a simple site with squishdot and zope chat. Thanks -- Sean Kelley www.kelleydesign.com * www.horse101.com * www.dressage.to

[Zope] zope crawls - the day after

2000-07-11 Thread Bak @ kedai
hi all zope is faster now. i think i know why, just wanted some confirmation from the zopistas. setup: apache in front of zope on a rh 6.1 linux what happened: -got a lot of simultaneous connect in one time. whe the number of connect exceeds 200, zope started slowing down. and i mean

[Zope] ANN: Zieve 0.1.0 no longer needs cookies.. flexible sorting...

2000-07-11 Thread Steve Spicklemire
On the list I've often seen complaints about dtml-in foo sort=blah not being dynamic enough. I cooked up a solution some time ago "Zieve", but the first release required each user to get a cookie to store their preferred sort order, and to rank sort order according to the history of their

[Zope] Cookie Question

2000-07-11 Thread Rob Pratt
Hello. Here's what I'm trying to do: dtml-if "REQUEST.cookies['cookie_name']" ... do something using data from the cookie ... /dtml-if This syntax, though, continually throws errors--a key error on 'cookie_name'. I've tried nesting the dtml-if statements within dtml-with REQUEST/dtml-with

Re: [Zope] Cookie Question

2000-07-11 Thread Terry Kerr
maybe the cookie name doesn't exist. try dtml-if "REQUEST.cookies.has_key('cookie_name')" Rob Pratt wrote: Hello. Here's what I'm trying to do: dtml-if "REQUEST.cookies['cookie_name']" ... do something using data from the cookie ... /dtml-if This syntax, though, continually throws

Re: [Zope] Cookie Question

2000-07-11 Thread David Brown
I've found that just dtml-if cookie_name ... /dtml-if is sufficient. The cookies end up in the namespace. At 01:04 PM 7/12/2000 +1000, Terry Kerr wrote: maybe the cookie name doesn't exist. try dtml-if "REQUEST.cookies.has_key('cookie_name')" Rob Pratt wrote: Hello. Here's what I'm

[Zope] LoadSite can create a corrupted data.fs ?

2000-07-11 Thread Jonathan Desp
Hi, Do you have any tools for analyse a data.fs ? (not tranalyser) I'm still getting that problem: http://lists.zope.org/pipermail/zope/2000-July/028950.html If I don't fint out why my data.fs is corrupted, I'll lost one week of work for my company. I suspect the program "LoadSite" when I

[Zope] RE: I am a new Zope user- Can anyone tell me if there is documented

2000-07-11 Thread Jonathan Desp
Hi Sean, As a new user me too, I got the answer of this question with Z Search Catalog at this page: http://www.zope.org/Documentation/How-To/ZCatalogTutorial If you read well this page, and take time to read well, you will get your search engine, as powerful as the Zope.org site. It's much

[Zope] Bizarre error with standard_html_header

2000-07-11 Thread Curtis Maloney
Ok... this one has me flummoxed. I just can't make ANY sense of it. I am taking advantage of Acquisition to save me from having to have two copies of a page... fine.. common... well understood, etc. Problem is, when i go to the page from the lower directory, it throws some bizarre Type

[Zope] RE: Bizarre error with standard_html_header

2000-07-11 Thread Jonathan Desp
well if you use that script ? -- meta http-equiv="refresh" content="0 ;URL=http://www.apple.com/enterprise/" It will fix your problem ? Ok... this one has me flummoxed. I just can't make ANY sense of it.

Re: [Zope] cut and paste or an object

2000-07-11 Thread Terry Kerr
I have tracked the problem down to order of inheritance, but stull can't solve it. My item class inherits from CatalogAware, then ObjectManager. class Product(CatalogAware,Item,ObjectManager,RoleManager,ProductProperties): CatalogAware has to be first so that manage_afterAdd, manage_afterClone