[Zope-dev] Parse.

2000-09-13 Thread Juan Javier Carrera Obrero
Hi ! We are using Zope 2.1.6 for Windows NT Server, and Oracle 8i as RDBMS. When the ZSQL methods are runned, the values of the parameters of the SQL query are remplaced by Zope before sending the query to the Oracle database jet (it does not the "parse"). Thus, if two users runs the same

[Zope-dev] Parse.

2000-09-13 Thread Juan Javier Carrera Obrero
Hi ! We are using Zope 2.1.6 for Windows NT Server, and Oracle 8i as RDBMS. When the ZSQL methods are runned, the values of the parameters of the SQL query are remplaced by Zope before sending the query to the Oracle database jet (it does not the "parse"). Thus, if two users runs the same

[Zope-dev] ignore

2000-09-13 Thread Matthew Burleigh
me -- - Matthew Burleigh - Systems Administrator, Digital Creations - publishers of Zope. - (888)344-4332 -- http://www.digicool.com - http://www.zope.org ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

Re: [Zope-dev] mailhost problems.. 2.2?

2000-09-13 Thread Chris Withers
James Johnson wrote: I can't send mail using Zdebug and PTK latest versions. Here is the error. exceptions.TypeError Error value: len() of unsized object Are you sure this isn't a result fo upgrading to Zope 2.2 recently? we found we had to delete oru existing mailhost objects and create

[Zope-dev] Convert from HTML to DOC or from PDF to DOC.

2000-09-13 Thread Juan Javier Carrera Obrero
Hi, We are trying to generate a document from Zope with a format no HTML. We have used the library "reportlab" (http://www.reportlab.com) to generate it in PDF format (with python). It is very useful, however we want now to generate it in DOC format (for Microsoft Word). I know that

[Zope-dev] INSTANCE_HOME, SOFTWARE_HOME and package_home

2000-09-13 Thread Chris Withers
Evan Simpson wrote: f=open('%s/Products/%s.dtml' % (SOFTWARE_HOME,file)) E:\Zope\2.2.0\lib\python/Products/Squishdot/validArticle.dtml f=open('%s/Products/%s.dtml' % (INSTANCE_HOME,file)) 'E:\\Zope\\2.2.0/Products/Squishdot/validArticle.dtml' This looks correct to me.

Re: [Zope-dev] Convert from HTML to DOC or from PDF to DOC.

2000-09-13 Thread Phil Harris
You could try converting to RTF. There are a few HTML-rtf converters around. - Original Message - From: Juan Javier Carrera Obrero To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 11:53 AM Subject: [Zope-dev] Convert from HTML to DOC or from PDF to DOC. Hi, We are trying to

Re: [Zope-dev] Custom dtml tag

2000-09-13 Thread Brett Carter
Andy - looking up 'this' in a dtml method or document won't work unless you expose it in your python product/tag definition. I'm talking about getting 'this' inside a dtml tag that I have defined myself (i.e. dtml-foobar/dtml-foobar). If you want 'this' available in dtml, write an external

[Zope-dev] ZPatterns guestbook example

2000-09-13 Thread James Johnson
Hello, I ran across a previous post regarding a simple ZPatterns based example you were working on. Did you ever get it working? How about any other basic working example. I understand the concept I'm not sure on the implementation. What would help me the most is a simple step by step

[Zope-dev] Will the SkinScript How-to help me put together something that works?

2000-09-13 Thread James Johnson
I can't seem to make ZPatterns do anything. Can somebody help me out. I don't need code help just a basic how-to structure a working example using real objects, like dtml methods, sql methods or whatever. I really want to use and support the Zope and ZPatterns system. Until then I'm going

[Zope-dev] Re: ZPatterns guestbook example

2000-09-13 Thread Peter Toneby
On Wed, Sep 13, 2000 at 12:23:52PM -0700, James Johnson wrote: Hello, I ran across a previous post regarding a simple ZPatterns based example you were working on. Did you ever get it working? unfourtunatly no, since there are no simple examples that I have seen, and I haven't had time to

[Zope-dev] HiperDOM xmlc

2000-09-13 Thread Lalo Martins
We (I and Hiperlogica, a company I consult with) have been developing a template renderer with similar intent to xmlc (be based on XML/DOM, allow the template to be previewed and edited using tools not aware of the format, such as xHTML editors, and enforce presentation/logic separation). As the

[Zope-dev] Porting EMarket to ZPatterns...possible good example

2000-09-13 Thread James Johnson
I overlooked this posting somehow. I've now actually stored something in a ZClass. This seems to be a good working example. Thanks so much. I will play with the rest and see what I come up with. I had to post it again just in case others missed it like I did. Thanks Phillip! OK. that

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Erik Enge
[Karl Anderson] | In order to link/incorporate a GPL'd module, you have to be able to | distribute the entire work under the GPL. : | Therefore, assuming RMS is correct, GPL'd components can't be | distributed as part of a Zope solution. : | Is this correct? If it is, the GPL isn't very

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Jerome Alet
On 13 Sep 2000, Erik Enge wrote: And if it really is Products (as in lib/python/Products), does this mean that if I make a GNU GPL licensed application for a client, I can't actually distribute Zope with it? I have to install them separately? Maybe this is stupid, but I'm sure it would

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Terry Kerr
Well put! terry Jerome Alet wrote: On 13 Sep 2000, Erik Enge wrote: And if it really is Products (as in lib/python/Products), does this mean that if I make a GNU GPL licensed application for a client, I can't actually distribute Zope with it? I have to install them separately?

[Zope] Zope help needed

2000-09-13 Thread PR JANSE VAN RENSBURG
I dont know if i have subscribed to the correct mailing list, but i have a few questions about zope and wondered if anyone could help me. I am completely new to zope and therefore i dont have any knowledge regarding zope, i need to import a small web page into zope and create users etc.

Re: [Zope] checking Zope's version number

2000-09-13 Thread Martijn Pieters
On Tue, Sep 12, 2000 at 09:49:46PM -0700, Hung Jung Lu wrote: Is there a way of detecting Zope's version number? (I know there is an environment variable REQUEST.environ['SERVER_SOFTWARE'], but is there a better/standard way of accessing Zope's version number?) (I seem to have problem

[Zope] Why do Copy/Paste attempts fail?

2000-09-13 Thread Roland Reumerman
I'm using Zope 2.2.1 on NT. I've imported an exported binary file into a freshly created Zope server [whose objects somehow show up under some Zope folder]. I want to remove the entire object structure one level up, because all the paths contained in those objects are no longer valid.

[Zope] how to change the 'Zope' realm/resource??

2000-09-13 Thread Chris Withers
Steve Drees wrote: WHat if we want to change the realm dependent on the folder? I.e. Is there a way to change this at run-time? I'd love to know the answer to this one too :-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] call a dtml doc in subfolder?

2000-09-13 Thread Chris Withers
Curtis Maloney wrote: On Wed, 13 Sep 2000, [EMAIL PROTECTED] wrote: Hi, I want to call a dtml doc with dtml-var docname where docname is in a subfolder. What is the syntax to do this? This is where we find out why you don't put a . in an object name. (o8 dtml-var folder.docname

Re: [Zope] Importing multiple files into Zope

2000-09-13 Thread Chris Withers
[EMAIL PROTECTED] wrote: Is there something in existence in the Zope community? And, can it be used by a Zope 'wannabe' but a 'long way from getting there'. It's called loadsite.py. There's a version here: http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/EBABAF83050A8D06 Although

[Zope] Zope Intros Security

2000-09-13 Thread Chris Withers
PR JANSE VAN RENSBURG wrote: I dont know if i have subscribed to the correct mailing list, You are :-) i need to import a small web page into zope and create users etc. You might want to look at loadsite.py. I've never used it but you can download it from here:

[Zope] Return data from External Methods

2000-09-13 Thread Steinar Rune Eriksen
I want to return raw XML data from a Python method in Zope, but Zope adds the following prefix to my return string: htmlhead/head Any suggestions how to get around that, so that only my own data (i.e. the XML file as a string) is returned ? Steinar Eriksen

Re: [Zope] Return data from External Methods

2000-09-13 Thread Phil Harris
You need to set the content type being returned, something like: dtml-call "RESPONSE.setHeader('content-type','text/xml')" hth Phil [EMAIL PROTECTED] - Original Message - From: "Steinar Rune Eriksen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 11:15 AM

[Zope] Mail problem ([Zope] how to change the 'Zope' realm/resource?? (fwd))

2000-09-13 Thread Oleg Broytmann
Hi! Is it only me? I am getting most (but not all) message twice. Oleg. Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. -- Forwarded message -- Received: from

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Toby Dickenson
On Tue, 12 Sep 2000 09:53:34 -0700, Kapil Thangavelu [EMAIL PROTECTED] wrote: I want to give my code to the community. i don't want people taking my code from the community and distributing it without giving back. If that is your motivation then you may find that you get *more* back by not

Re: [Zope] Mail problem ([Zope] how to change the 'Zope' realm/resource?? (fwd))

2000-09-13 Thread Geir Bækholt
on Wednesday, September 13, 2000 Oleg Broytmann wrote : OB Hi! OBIs it only me? I am getting most (but not all) message twice. OB Oleg. me too ! -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Phil Harris
Depending on the object in question id could be a method, so you might want to try: dtml-unless "id() == 'index_html'" hth Phil - Original Message - From: "Tim Hicks" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 12:23 PM Subject: [Zope] Simple

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Dario Lopez-Kästen
From: "Toby Dickenson" [EMAIL PROTECTED] If that is your motivation then you may find that you get *more* back by not using the GPL. My contributions to Zope (both personal and on company time) are fairly significant in total, and would not have happened if Zope was under a GPL license.

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Oleg Broytmann
On Wed, 13 Sep 2000, Tim Hicks wrote: dtml-unless "id == 'index_html'" Sometimes id is string, sometimes it is a function. dtml-unless "_['id'] == 'index_html'" Oleg. Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Tim Hicks
- Original Message - From: "Oleg Broytmann" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 12:56 PM Subject: Re: [Zope] Simple dtml-unless problem On Wed, 13 Sep 2000, Tim Hicks wrote: dtml-unless "id == 'index_html'"

Re: [Zope] checking Zope's version number

2000-09-13 Thread Hung Jung Lu
Use version_txt: from App.version_txt import version_txt version_string = version_txt() In CVS versions of Zope this will return '(unreleased version)' though. You could also test for the existence of registerHelp: if hasattr(context, 'registerHelp'): context.registerHelp()

[Zope] Simple dtml-unless problem

2000-09-13 Thread Tim Hicks
I have the following code in my standard_html_header dtml-unless "id == 'index_html'" img src="dtml-var path/images/transparent.gif" width=400 height=12 alt="" H1 align="center"dtml-var title/h1 /dtml-unless The problem is, it displays the img and h1 stuff even when the page that the

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Oleg Broytmann
On Wed, 13 Sep 2000, Tim Hicks wrote: Sometimes id is string, sometimes it is a function. dtml-unless "_['id'] == 'index_html'" Thanks very much guys. _['id'] fixed it. I hope you understand that I forced Zope to call the id() function, but only if it is function. Else _['id']

[Zope] ZDOM and Zope release version number

2000-09-13 Thread gotcha
Hi all, two questions : I have read the ZDOM documentation on Zope.org but it is unclear if it is already implemented or if it is still a project. I could not use it on my Free Zope account by NIP. So I was wondering if NIP was running a previous release which does not support ZDOM. Then

[Zope] CASE in point -- [Zope] Simple dtml-unless problem

2000-09-13 Thread albert boulanger
On Wed, 13 Sep 2000, Tim Hicks wrote: dtml-unless "id == 'index_html'" Sometimes id is string, sometimes it is a function. dtml-unless "_['id'] == 'index_html'" This is a great example of DTML as a language having a multiple personality disorder. This violates a principle of

[Zope] 2.2.0b4 to 2.2.1

2000-09-13 Thread Diego Rodrigo Neufert
It's safe to update 2.2.0b4 to 2.2.1? Or I need to install 2.2.0final first? Thanks in advance... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr)

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Nils Kassube
Dario Lopez-K”sten wrote: and then, when you want to distribute your modifications, you find yourself in a bad position, because it will mean that you would have to give everybody else the same rights that allowed you to distribute a modification of someone elses work, in the first place?

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Nils Kassube
Jim Hebert wrote: Look, I'm the last person on earth to say the GPL is perfect, or is the one true license, or anything else. I've heard a number of GOOD arguments in a number of venues about why the GPL may not be the best choice in that setting. From:

Re: [Zope] Backslash as line continuation in C (Unix)

2000-09-13 Thread J M Cerqueira Esteves
On Tue, Sep 12, 2000 at 09:45:53PM -0700, Hung Jung Lu wrote: I am trying to build a third-party utility in Linux. I ran into troubles in the compilation process because of the usage of backslash \ as line continuation. (This is used in #def preprocessor macro statements.) When I remove

[Zope] DCOracle Connection with Oracle 8.0.5

2000-09-13 Thread Celio C. Guimaraes
I have just installed the DCOracle package V 1.3.1b on a Linux Red Hat 6.2, to access an Oracle 8.0.5 Server with python1.6 I have run with success a few tests with the scott/tiger user tables, however: 1) In order to connect successfully I had to drop the @sid parameter:

[Zope] Re: ZDOM and Zope release version number

2000-09-13 Thread Chris Withers
[EMAIL PROTECTED] wrote: Then the related question, how can I check Zope release version number form the management interface? You can from the Control Panel, which you don't have access to :-S It running Zope 2.1.6 with some patches, I'm 99% sure ZDOM won't be in that... Would people like

[Zope] list of users tied to database

2000-09-13 Thread tom smith
I'm trying to create a list of users' emails. There is a table called "tblUsers" and a field called "Email". I have created a sql method called "get_email(UserName)" which works fine. dtml-in "theOTHERintranet.acl_users.getUserNames()" dtml-in "get_email('UserName=dtml-var sequence-item')"

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Andrew Kenneth Milton
+---[ Dario Lopez-Kästen ]-- | | From: "Toby Dickenson" [EMAIL PROTECTED] | If that is your motivation then you may find that you get *more* back | by not using the GPL. My contributions to Zope (both personal and on | company time) are fairly significant in total, and

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Jerome Alet
On Wed, 13 Sep 2000, Andrew Kenneth Milton wrote: The second reason is that GPL attracts fanatics. Just look at any discussion forums where the issue comes up. You cannot have a calm discussion and mention the GPL. Sorry, but until I've received your previous message, and the one about

Re: [Zope] list of users tied to database

2000-09-13 Thread Geir Bækholt
on Wednesday, September 13, 2000 tom smith wrote : ts I'm trying to create a list of users' emails. There is a table called ts "tblUsers" and a field called "Email". ts I have created a sql method called "get_email(UserName)" which works fine. ts dtml-in

[Zope] Re: list of users tied to database

2000-09-13 Thread gotcha
Quoting : on 13/9/00 2:47 pm, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: I am still a newbie, but I wonder if you can use the sequence-item of a enclosing dtml-in inside the definition of a nested dtml-in yeah, I think I"ve done this before by using a dtml-let to set a

[Zope] dtml-raise and standard_error_message

2000-09-13 Thread Diego Rodrigo Neufert
Hi.. I'm having problems to do dtml-raise show the error in standard_error_message. Here's what i'm doing: dtml-raise type="ErrType" err msg /dtml-raise I got an error screen but it's not the standard_error_message How to make dtml-raise show the error in standard_error_message? Thanks --

[Zope] FW: list of users tied to database

2000-09-13 Thread tom smith
-- From: tom smith [EMAIL PROTECTED] Date: Wed, 13 Sep 2000 15:37:02 +0100 To: [EMAIL PROTECTED] Subject: Re: list of users tied to database on 13/9/00 3:03 pm, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: So maybe, you could try something like changing your previous code to

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Toby Dickenson
On Wed, 13 Sep 2000 13:33:05 +0200, "Dario Lopez-Kästen" [EMAIL PROTECTED] wrote: From: "Toby Dickenson" [EMAIL PROTECTED] If that is your motivation then you may find that you get *more* back by not using the GPL. My contributions to Zope (both personal and on company time) are fairly

[Zope] Logging out of Zope

2000-09-13 Thread Stuart Foster
Is there a way to allow an authenticated user to logout of Zope? I want to allow a user to logout and someone else login. Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Jon Nathan
hello, i couldn't find anything in the list archives or the docs about python 1.6 from python's site, it looks like there are a lot of changes that could break code. can i run zope 2.2.1 on python 1.6 or should i stick with 1.5.2? thanks, -jon -- Jon Nathan [EMAIL PROTECTED]

RE: [Zope] how to change the 'Zope' realm/resource??

2000-09-13 Thread Brian Lloyd
Steve Drees wrote: WHat if we want to change the realm dependent on the folder? I.e. Is there a way to change this at run-time? I'd love to know the answer to this one too :-) Chris The realm is currently an attribute of the RESPONSE object. There is a 'realm' class attribute

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread J. Atwood
Stick with 1.5.2 or beware the pitfalls. J From: Jon Nathan [EMAIL PROTECTED] Date: Wed, 13 Sep 2000 11:35:44 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] zope 2.2.1 and python 1.6 hello, i couldn't find anything in the list archives or the docs about python 1.6 from python's

RE: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Brian Lloyd
i couldn't find anything in the list archives or the docs about python 1.6 from python's site, it looks like there are a lot of changes that could break code. can i run zope 2.2.1 on python 1.6 or should i stick with 1.5.2? thanks, -jon Hi Jon, I've seen some people report using 1.6

Re: [Zope] Backslash as line continuation in C (Unix)

2000-09-13 Thread Hung Jung Lu
Or your source files get white space after the "\" only when transported to Linux; this may happen if under Linux the lines of your source files still end with CR-LF (carriage return, line feed) as they do in Windows, instead of only LF (the expected end of line character in Unix). Yeap yeap,

Re: [Zope] Logging out of Zope

2000-09-13 Thread Chris McDonough
In a dtml method named "logout" dtml-raise Unauthorized You are not authorized /dtml-raise Read the section on "Authentication Credentials" at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Nils Kassube
Jon Nathan wrote: could break code. can i run zope 2.2.1 on python 1.6 or should i stick with 1.5.2? According to Guido van Rossum in http://linuxtoday.com/news_story.php3?ltsn=2000-09-07-011-21-OS-CY-SW you are not able to use GPL'ed Zope products with Python 1.6 (or 2.0) until the

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Evan Simpson
From: Nils Kassube [EMAIL PROTECTED] According to Guido van Rossum in http://linuxtoday.com/news_story.php3?ltsn=2000-09-07-011-21-OS-CY-SW you are not able to use GPL'ed Zope products with Python 1.6 (or 2.0) until the dispute is settled. No copyright-based licence whatsoever, including

[Zope] Zope 2.2.1 Vrs Apache Benchmarks using Apache Bench (AB)

2000-09-13 Thread J. Atwood
I have done this before (http://www.zope.org/Members/BwanaZulia/benchmarks.html) but I just got my hands on a brand new server and thought I would see how 2.2.1 does. Machine: 600 MHz, 128 MB Ram, 20 GB EIDE drive, Linux 6.2 Ran it 5 times.. always came out close to this (+/- 1 RPS) Server

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Nils Kassube
Guten Abend. I recalled (?) my mail within a few minutes after sending. It didn't yet appear on the mailing list. Too bad you can't cancel a mail like a Usenet posting. They can only constrain *distribution* of that software and derived works. This is a serious problem for software authors,

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-13 Thread Nils Kassube
I wrote a lot of nonsense: you are not able to use GPL'ed Zope products with Python 1.6 (or 2.0) until the dispute is settled. This is WRONG. Of course it is possible to use GPL'ed software with less restrictive licensed programs. Must be the starting alcohol intoxication because of the

[Zope] GPL stuff (OT)

2000-09-13 Thread Phill Hugo
Zopistas, I've heard a lot of GPL issued raised recently and I want to say a couple of things to hopefully end the subject. I don't mind you pointing replies to me if they aren't of general interest [hint ;)] Firstly, read the GPL. It sounds like some of you talking about it haven't (or have

[Zope] Oops...

2000-09-13 Thread Shane Hathaway
You can quote me: One cannot experiment with mail systems without creating a mail loop at some time. If you get a mail bounce message from my box, please ignore it. It was an accident. Shane ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Jim Hebert
Hey, Nils, I've got news for you. I've written 3 separate posts now which were long and thoughtful, which quoted from the GPL, and which explained to you and the rest of the community how you could deliver a proprietary solution to a client which relied on a GPL'd object in zope. But, I've

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Jim Hebert
On Wed, 13 Sep 2000, Nils Kassube wrote: To quote Dave Winer: "[The GPL is] designed to create a wall between commercial development and free development. The world is not that simple. There are plenty of commercial developers who participate in open source. Python belongs in commercial

[Zope] STOP! Zope and the GPL poison pill

2000-09-13 Thread Chris McDonough
This is not the place to conduct a GPL-vs.-everything-else flamewar. These messages are beginning to have nothing whatsoever to do with Zope. This is a list about Zope. If the GPL stuff relates in a manner not so tangetial to Zope, fine. But this particular thread is beginning to turn into a

[Zope] img tag dtml question

2000-09-13 Thread Jason Cunliffe
Hello Can anyone see why under 2.2.0 this is wrong ? /images [folder] 7Dlogoicon_gif [gif image file object] /deliverables/standard_html_footer [DTMLmethod] dtml-with /images a href = /deliverables dtml-var

Re: [Zope] Ownership and security

2000-09-13 Thread Andy McKay
One key point I was missing here was that I am using GUF. I patched GUF to do: def getUserById(self, id, default=''): """Return the user corresponding to the given id. """ try: return self.getUser(id) except: raise 'LoginRequired', loginScreen Doing anything

[Zope] OT: Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Bill Anderson
Andrew Kenneth Milton wrote: +---[ Dario Lopez-Kästen ]-- | | From: "Toby Dickenson" [EMAIL PROTECTED] | If that is your motivation then you may find that you get *more* back | by not using the GPL. My contributions to Zope (both personal and on | company time)

[Zope] shane@digicool.com

2000-09-13 Thread Shane Hathaway
test. 1,2,3... ___ 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

[Zope] _safe_getob error with LocalFS

2000-09-13 Thread Michael Best
We are running: Solaris 2.6 Zope 2.1.6 LocalFS v0.1.4, later upgraded to v0.9.5 Revisions: 1.13 and 1.49 Using a simple dtml method on the local filesystem according to: http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS dtml-var "files['foo.txt'].data" Any ideas as to a solution

RE: [Zope] how to change the 'Zope' realm/resource??

2000-09-13 Thread Dieter Maurer
Brian Lloyd writes: The realm is currently an attribute of the RESPONSE object. Note that wouldn't help with "per folder" realm changing. I'm open to suggestions on that. One way I suppose would be to subclass Folder and implement an extended version of __bobo_traverse__ that

Re: [Zope] ZSQL

2000-09-13 Thread Dieter Maurer
Tom Deprez writes: ... nested Z SQL method call ... I do not understand fully, what you want to do. But the following FAQ may also be your problem: Z SQL methods do *NOT* use the DTML namespace for parameters. You must either pass the parameters explicitly:

Re: [Zope] Logging out of Zope

2000-09-13 Thread Dieter Maurer
Stuart Foster writes: Is there a way to allow an authenticated user to logout of Zope? I want to allow a user to logout and someone else login. This is a FAQ. Please search the list archive to get various hints. Dieter ___ Zope maillist -

Re: [Zope] ZServer going down ??

2000-09-13 Thread Dieter Maurer
Marc Gehling writes: my zserver is often going down. this is my nohup.out-log on linux red hat. Any Idea ? 2000-09-12T15:27:17 ERROR(200) ZServer uncaptured python exception, closing chan nel zhttp_channel connected 213.20.58.238:1043 at 872d7d0 channel#: 600 request s:1

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Nils Kassube
Jim Hebert wrote: Third, again, you're responding as though the discussion is about re-licensing all of Zope under the, which simply isn't what anyone has I'm only pointing out what I think is a problem with using a GPL'ed component in a Zope site. My Zope-specific problem is: If I use a

Re: [Zope] How to Pass values to a DTML method ??

2000-09-13 Thread Dieter Maurer
Evan Simpson writes: extended-attribute syntax (foo-name-name="x" instead of foo="_[_[x]]"). HELP! I am sure, that such an extended attribute syntax would cause hundreds of messages in this list. I hope, it will not get adopted. I have considered proposing

Re: [Zope] DCOracle Connection with Oracle 8.0.5

2000-09-13 Thread Dieter Maurer
Celio C. Guimaraes writes: I have just installed the DCOracle package V 1.3.1b on a Linux Red Hat 6.2, to access an Oracle 8.0.5 Server with python1.6 I have run with success a few tests with the scott/tiger user tables, however: 1) In order to connect successfully I had to drop

Re: [Zope] Backslash as line continuation in C (Unix)

2000-09-13 Thread Dieter Maurer
Hung Jung Lu writes: ... I ran into troubles in the compilation process because of the usage of backslash \ as line continuation. (This is used in #def preprocessor macro statements.) When I remove the backslashes and join the lines, it compiles fine Does anyone know any other

Re: [Zope] Defining a session idle timeout value using FSSession...

2000-09-13 Thread Dieter Maurer
Aaron Bostick writes: Would anyone on the list have a solution to implementing idle timeouts using FSSession? I know you can cron up a simple job to delete the FSSession hierarchy based on date and time, but how do you know which sessions are still being used if you want to delete

[Zope] uploading Word files to Zope

2000-09-13 Thread Timothy Wilson
Hey everyone, Does anyone have any experience with allowing users to upload MS Word files to your Zope server and make them available through your site. Specifically I'm wondering about using wv (formerly mswordview) to convert the Word file to HTML (and a DTML Document, I suppose) and publish

[Zope] Passing parameters to external methods

2000-09-13 Thread Andreas Pauley
Hi, I need to pass some parameters to my external methods. I have an external method that looks (somewhat) like this: def extAccess(self, accttype_cde): return accttype_cde In the following dtml code, the following statement (with the SQL method) works fine: dtml-if

Re: [Zope] Logging out of Zope

2000-09-13 Thread Maik Roeder
Hi ! Dieter Maurer wrote: Stuart Foster writes: Is there a way to allow an authenticated user to logout of Zope? I want to allow a user to logout and someone else login. This is a FAQ. Better still add it to the FAQ at http://zdp.zope.org/projects/zfaq and also make a reference to

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Jim Hebert
On Wed, 13 Sep 2000, Nils Kassube wrote: I'm only pointing out what I think is a problem with using a GPL'ed component in a Zope site. My Zope-specific problem is: If I use a GPL'ed component in a complex object oriented environment like Zope, does this mean that the whole work is now

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread jpenny
On Wed, Sep 13, 2000 at 11:29:23PM +0200, Nils Kassube wrote: I'm only pointing out what I think is a problem with using a GPL'ed component in a Zope site. My Zope-specific problem is: If I use a GPL'ed component in a complex object oriented environment like Zope, does this mean that the

Re: [Zope] Passing parameters to external methods

2000-09-13 Thread Andy McKay
Ive always sent through the REQUEST with no problem, dtml-var "externalmethod(REQUEST)" if you can do that. - Original Message - From: "Andreas Pauley" [EMAIL PROTECTED] To: "Zope" [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 2:49 PM Subject: [Zope] Passing parameters to

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | On Wed, Sep 13, 2000 at 11:29:23PM +0200, Nils Kassube wrote: | I'm only pointing out what I think is a problem with using a | GPL'ed component in a Zope site. | | My Zope-specific problem is: If I use a GPL'ed component in a complex |

[Zope] And now for a good laugh (Re: [Zope] Zope and the GPL poison pill)

2000-09-13 Thread Lalo Martins
I replied to the message below promising to edit Renderable's README to explicitly declare that I don't consider ZClass subclassing to be a derivative work for the purposes of the GPL. Somehow, I didn't get my reply from the list. But never mind. I went to my folder on Zope.org to edit the

[Zope] db newbie

2000-09-13 Thread Micah Freedman
Hi, I'm just discovering Zope and it seems to have a lot of promise. I'm a front end designer/developer and I'm hoping Zope will allow me to create a database driven site without too much fuss. The database is small, but moderately complex. I'm pretty sure it needs to be relational, as opposed