Re: [Zope] zope as program

2000-06-14 Thread Graham Chiu
In article [EMAIL PROTECTED], George Donnelly [EMAIL PROTECTED] writes true. and this newbie searches first before asking. however i have noticed my questions very often going unanswered. yeah they may be stupid but i only ask if i cant find it myself. The obvious solution is to improve the

[Zope] The right way to sum fields

2000-06-14 Thread icottee
I have a folder with a set of timesheets in it. If I create a method to sum a field called I_TimeTaken is this the correct syntax? --- dtml-in "PARENTS[0].objectValues(['TimeSheet'])" size=1 dtml-var total-I_TimeTaken /dtml-in --- To explain, this works but I'm interested to know if this

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Stuart 'Zen' Bishop
On Tue, 13 Jun 2000, Cesar A. K. Grossmann wrote: "Update (10/30/99): Zen has posted a product that has more functionality than UserDB, called GenericUserFolder. " Well, looks like the GenericUserFolder is more advanced. So I go to its page. In it there are another observation: But do you

[Zope] Sharing of the same Data.fs on a separate machine

2000-06-14 Thread Troy Tan Wee Teck
Currently I have installed 2 machines(machine A and machine B) with Zope 2.1.6 and another machine called C which solely contain the Data.fs which is to be shared by the 2 machines. From what I know whatever changes to the Zope management it will update the Data.fs file (pls correct me if I am

Re: [Zope] Login using Certificates

2000-06-14 Thread Stuart 'Zen' Bishop
On Tue, 13 Jun 2000, Alexandre A. Drummond Barroso wrote: I have an installation of Zope as PCGI using Apache to communicate using SSL connections. When Apache starts a CGI (and PCGI) programs, it sets many SSL environment variables, including e-mail and user id. I would like to use this

[Zope] PTK questions

2000-06-14 Thread Graham Chiu
Using the 0.7.1 snapshot I've patched my Members/index_html to read dtml-in "getRoster(REQUEST)" a href="dtml.url_quote-sequence-item;/index_html/index_html"dtml- sequence-item;/abr dtml-else but there's another one of these that says 'created by ' which gives the wrong url. Where can

Re: [Zope] long columns on oracle

2000-06-14 Thread Riku Voipio
On Mon, Jun 12, 2000 at 05:22:04PM +0300, Riku Voipio wrote: Hi, I'm running Oracle 8.1.5i / DCoracle 1.3/Zoracle 2.1.0/zope 2.1.6, On Debian/potato (2.2.16) and whenever I try select a LONG column, I get the following; Error, exceptions.IndexError: 1 Sorry, I was running really an

[Zope] monitoring zope

2000-06-14 Thread Bak @ kedai
hi again, there were threads that talk about restarting Zope if and when it hangs. i know of the -Z option for z2.py and daemontools. i know there's another one, a script maybe, with a peculiar name, but can't really remember it. any clues/url? i wwant to give it a try thanks --

[Zope] Re: monitoring zope

2000-06-14 Thread Frank Tegtmeyer
i know there's another one, a script maybe, with a peculiar name, but can't really remember it. any clues/url? Try http://www.lightwerk.de/zope/monitoring Regards, Frank ___ Zope maillist - [EMAIL PROTECTED]

[Zope] compiling images

2000-06-14 Thread josh on
Hello, I have been trying to get a collaborative comic book buider made in zope and macromedia director. First I want to say that I have enjoyed working in the open source world of zope so much more than director. Whilst some parts of Director are well documented, others are positively hidden

[Zope] File Sub-ZClass

2000-06-14 Thread Nils Jeppe
Hello fellow Zopians, OK I seem to have further located my problem. In a File ZClass, index_html is used to display the file. But I want my ZClass to have text in the index_html, and display/offer the file for DL in a method, say, download_html. How do I display the File's data? In the Zope

[Zope] Zope Weekly News June 14th

2000-06-14 Thread ethan mindlace fremen
LinuxTag, the Open Source Conference, Launch of Zope 2.2.0b1, a Docs Wiki and much Documentation work, PTK gains steam, Guido's time machine stolen, Improved Products page and more! The opinions expressed in Zope Weekly news are solely the authors', and not the opinions of Digital Creations, The

[Zope] Zope on NT - port problem

2000-06-14 Thread - -
Hi all How do I customise the port number that Zope installs to? I'm running NT and there is already a service running on the default port 8080. Also, is anyone using dreamweaver and zope? I want site designers to use the tools they already have and then content management etc will be done with

[Zope] Referring to a total-xxx variable

2000-06-14 Thread icottee
Following on from my last posting I seem to have made a lot of progress - although still not sure if what I have done is the right thing or not. However, please somebody put me out of my misery. In the following code snippet the dtml-var part works fine. How can I, therefore, add count-id to

Re: [Zope] Does Zope support user authentication, sessions, etc?

2000-06-14 Thread J. Atwood
From the specifications given, my first thought is to implement it in object-oriented way of programming. Zope (being open-source and OOP from ground-up) naturally came to mind. Therefore, i would like to know whether Zope is suitable (and stable enough) to develop this kind of websites, bearing

Re: [Zope] Zope on NT - port problem

2000-06-14 Thread Andrew Kenneth Milton
+[ - - ]- | Hi all | | How do I customise the port number that Zope installs to? I'm | running NT and there is already a service running on the default | port 8080. You have a few option... -P and a number -P 9000 means you get web on 9080 and

Re: [Zope] Zope on NT - port problem

2000-06-14 Thread Rik Hoekstra
- - wrote: Hi all How do I customise the port number that Zope installs to? I'm running NT and there is already a service running on the default port 8080. The easiest way is to tweak z2.py in your zopehome directory. It is heavily commented; this shouldn't be a problem. Also, is

Re: [Zope] Referring to a total-xxx variable

2000-06-14 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | | | Following on from my last posting I seem to have made a lot of progress - | although still not sure if what I have done is the right thing or not. However, | please somebody put me out of my misery. In the following

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread Rob W. W. Hooft
"emf" == ethan mindlace fremen [EMAIL PROTECTED] writes: emf Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')" emf Add physicalroot: dtml-call "REQUEST.path.append(hostname)" As far as I can see, with this setup it is not possible to determine from Z2.log which virtual host has

[Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Wolfgang Strobl
On 12 Jun 2000, 17:36 Brian Lloyd wrote: Zope 2.2.0 beta 1 has been released - you can download it from ... After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple dtml-var "index_html.getSize()" This works in 2.1.6, but throws the

Re: [Zope] Zope on NT - port problem

2000-06-14 Thread Wolfgang Strobl
On 14 Jun 2000, 8:06 - - wrote: How do I customise the port number that Zope installs to? I'm running NT and there is already a service running on the default port 8080. Modify the start value in HKLM/SYSTEM/CurrentControlSet/Services/insert name of your service/Parameters, by adding a -P

Re: [Zope] Referring to a total-xxx variable

2000-06-14 Thread Shalabh Chaturvedi
Hi: Instead of dtml-call "REQUEST.set('v_allItems', v_allItems + count-id)" try: dtml-call "REQUEST.set('v_allItems', v_allItems + _['count-id'])" The _ is the 'current namespace' dictionary. Another way would be to do this: dtml-let ci=count-id dtml-call "REQUEST.set('v_allItems',

Re: [Zope] Zope on NT - port problem

2000-06-14 Thread Hugo Ramos
- Original Message - From: - - [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 14, 2000 1:06 PM Subject: [Zope] Zope on NT - port problem Hi all How do I customise the port number that Zope installs to? I'm running NT and there is already a service running on the

Re: [Zope] Images not showing

2000-06-14 Thread Cary O'Brien
Dieter wrote... [EMAIL PROTECTED] writes: I've noticed that when i install images into the Zope database and call them sometimes they display as broken link images instead of the picture. after revisiting the image in the management screen but not making any changes just resaving it

Re: [Zope] Referring to a total-xxx variable

2000-06-14 Thread icottee
Many thanks to both you and Andrew. I should really sit down and write out all the different ways of reffering to variables and learn them properly. I had tried to use something similar to dtml-let ci=count-id dtml-call "REQUEST.set('v_allItems', v_allItems + ci )" /dtml-let and I thought

[Zope] Accessing Superclass methods?

2000-06-14 Thread Nils Jeppe
Hello, I have yet another question (sorry to spam y'all).. How do I call a ZClass'es superclasses' methods in dtml? :-) best wishes, Nils -- "Like most of life's problems, this one can be solved with bending." --- Bender

Re: [Zope] Accessing Superclass methods?

2000-06-14 Thread Rik Hoekstra
Nils Jeppe wrote: Hello, I have yet another question (sorry to spam y'all).. How do I call a ZClass'es superclasses' methods in dtml? :-) They're automatically available Rik ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] upgrade from zope-2.1.6 to zope-2.2.0b1

2000-06-14 Thread Brian Lloyd
Zope starts ok, but i can't get view or manage the site. here's the traceback --- Traceback (innermost last): File /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module snip File

Re: [Zope] Accessing Superclass methods?

2000-06-14 Thread Nils Jeppe
On Wed, 14 Jun 2000, Rik Hoekstra wrote: How do I call a ZClass'es superclasses' methods in dtml? :-) They're automatically available not if I overwrite them... In Java I think you can do somethink like call super.method(). Best wishes, Nils -- "Like most of life's problems, this

Re: [Zope] ZODB Storage Question

2000-06-14 Thread Kevin Dangoor
- Original Message - From: "Pete Kazmier" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 13, 2000 4:31 PM Subject: [Zope] ZODB Storage Question I've been reading through the docs, howtos, etc but haven't found an answer to this question. I was hoping someone could help

Re: [Zope] ZClass newbie problem...

2000-06-14 Thread Kevin Dangoor
- Original Message - From: "Eric L. Walstad" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 13, 2000 12:30 AM Subject: [Zope] ZClass newbie problem... I'm stuck. I would like to build a "shiny new ZClass" that has the following structure: WebSimProduct WebSim Class

[Zope] Could not lock database file

2000-06-14 Thread kwan
Hi, I am setting up pcgi with IIS. I got the following error: Zope Error zope has encountered an error while publishing this resuource exceptions.ImportError (,'Could not locak the database file. There must be \012another proccess that has opened the file.\012 ') I had this message before

Re: [Zope] Could not lock database file

2000-06-14 Thread Rik Hoekstra
kwan wrote: Hi, I am setting up pcgi with IIS. I got the following error: Zope Error zope has encountered an error while publishing this resuource exceptions.ImportError (,'Could not locak the database file. There must be \012another proccess that has opened the file.\012 ')

[Zope] Parse Text File (newbie q.)

2000-06-14 Thread joel grimes
I'm trying to display the contents of a text file in a DTML document. It's easy enough to display but all the line breaks are removed. Is there an easy way to bring in formatted text? Thanks joel Get Your Private, Free

[Zope] Problem with manage_addDTMLDocument(id,[title,file,REQUEST,submit])...

2000-06-14 Thread Frédéric Quin
Hi all, when I specify the file I want, Zope just copy the name of the specified file in the body of the DTML Document. It doesn't get the contents of the file... However, first I wanted to clone an existent DTML Document - situated in my Product - but Zope always clone it into the current

[Zope] Zope Beta traceback does not seem to work correctly

2000-06-14 Thread CURTIS David
Greetings, How does the traceback differ in the the new Beta Zope? I seem to get confusing results with the traceback. Can some one explaing the correct way to perform a traceback.

[Zope] SuperCannotOwn

2000-06-14 Thread Hellekin O. Wolf
... La suite... Hello people ! I just installed a fresh v2.2.0b1 and bumped into some annoying problem. As the security model seems to have been changed, the superuser cannot own anything. That means we now need to install a new user with management access to get started. The question is :

[Zope] Beta tutorial does not work

2000-06-14 Thread CURTIS David
Greeting, When I try to add the Zope Tutorial, I get Python.exe Stack overflow(0xcfd) Address 0x1e1281bf.

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread Alexander N Gould
On Tue, 13 Jun 2000, ethan mindlace fremen wrote: dtml-let hostname="_.string.join(_.string.split(_.string.split(HTTP_HOST, ':')[0], '.')[0], '')" dtml-try dtml-if "_[hostname]" Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')" Add physical root:

Re: [Zope] Parse Text File (newbie q.)

2000-06-14 Thread Petru Paler
I'm trying to display the contents of a text file in a DTML document. It's easy enough to display but all the line breaks are removed. Is there an easy way to bring in formatted text? Maybe you want something like: dtml-var " _.string.replace(text,'\n','BR')" Even better,

[Zope] getUsers cf. get_valid_userids question

2000-06-14 Thread Geoff Gardiner
I want to show all users who have certain roles / and or permissions (Zope 2.1.6). I can't see how to do this directly, because I can't see how to get hold of user objects, which I need to carry out has_permission, etc., methods. I can show the userids of all valid users: dtml-in

Re: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Shane Hathaway
Wolfgang Strobl wrote: On 12 Jun 2000, 17:36 Brian Lloyd wrote: Zope 2.2.0 beta 1 has been released - you can download it from ... After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple dtml-var "index_html.getSize()" This works in

[Zope] Containment or context

2000-06-14 Thread Stephen Harrison
Hi, I've been trying to piece together a site which exploites acquisition, but I have come up against a problem. This basically boils down to the chosen method for acquisiton. I can have a site with the following structure: / +- foo | +- stuff | +- etc... +- bar | +- more stuff | +-

Re: [Zope] WorldPilot - Regular messages are attachments? (PatchFix)

2000-06-14 Thread Bryan Stillwell
On Fri, 9 Jun 2000, ethan mindlace fremen wrote: Paul Gresham wrote: Excellent, thanks Bryan. I have another question? Do you have problems with browsers not obtaining the correct filenames of attachments when they are downloaded, i.e. the file becomes ATT0002.DAT or similar? I have

[Zope] Zope and PTK newbie questions- showing the database items

2000-06-14 Thread sean
I am trying to figure out how to use Zope and particularly the PTK to create an Intranet. I am new to zope and so am unsure of where the documentation is located to do the following (wish the PTK doc had complete "manager" section): Q: How does one show the various links, files, etc as a

[Zope] Z ODBC and W2K

2000-06-14 Thread Jake LeBeau
Hello all, I'm trying to install the Z ODBC DA product on Windows 2000 Server. I placed the .tar into the top level directory of my Zope installation, but when I restarted the service, the product did not install. I also tried starting Zope with the .bat file, but with the same results. So

[Zope] Post method redirection / Core changes

2000-06-14 Thread Phill Hugo
Hello all, We recently had a "sales engineer" from Allaire come and talk to us about Spectra and were quite surprised at how similar it is to Zope. To be honest the only thing I left with any "ooh, thats neat" feeling about was their general style of building objects with the admin view

[Zope] How do you search Tiny Tables?

2000-06-14 Thread jesse
I created a tiny table and then fed the information into a DTML Method by inserting the tiny table subject headers into a table I creating inthe method html. Is is possible to search the tiny table since the Method is just calling the information and it is not actually in the document? Yes?

[Zope] Help with Zope/Python Evangelism

2000-06-14 Thread Joseph Santaniello
Hello Everyone, I've been using Zope and Python in my own projects for over a year now, and I am convinced well beyond a shodow of a doubt that "Zope Is The Answer" and have used it for several of our internal applications, and use Python almost exclusivly for our scripting needs. Here's the

[Zope] sequence-item as a method argument

2000-06-14 Thread Fabio Akita
Hello again I´m still testing the usability and reliability of Zope. To accomplish this goal I am developing a very very simple shopping cart. But I got troubled by something aparently simple. This is the code: dtml-in "SESSION['cartItems']" dtml-in

Re: [Zope] Help with Zope/Python Evangelism

2000-06-14 Thread J. Atwood
http://www.zope.org/Members/BwanaZulia/zope.html My collection of articles and sites also study the case studies on Zope.org as well as Zope Newbies. J From: Joseph Santaniello [EMAIL PROTECTED] Date: Wed, 14 Jun 2000 12:17:13 -0700 (PDT) To: [EMAIL PROTECTED] Subject: [Zope] Help with

[Zope] pcgi.pid question?

2000-06-14 Thread kwan
These couple days, I first set up a test mechine to test Zope with IIS through pcgi. On this test mechine, things work as I expect. However, when I move to the main server and go through exactly the same setup step. Things become strange. I got an error said counld not lock the database file.

[Zope] Worldpilot and imap problem

2000-06-14 Thread Deryk Barker
Looking through the archives I couldn't find anything which semed quite relevant, so: I'm currently running Linux mandrake 7.02 and have enabled the IMAP (4.7-7) server. I can read/write mail via netscape using imap, so I presume the setup is OK. (Although i can't quite get pine to talk to it,

[Zope] problem with PTK and LoginManager

2000-06-14 Thread Tim Lynch
Hi, I can't seem to get PTK to install. When I put both PTKBase and PTKDemo in the Products directory, PTKBase is OK, but PTKDemo is 'broken'. The traceback is: Traceback (innermost last): File "E:\I-10\lib\python\OFS\Application.py", line 387, in import_products product=__import__(pname,

Re: [Zope] How do you search Tiny Tables?

2000-06-14 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], jesse [EMAIL PROTECTED] writes I created a tiny table and then fed the information into a DTML Method by inserting the tiny table subject headers into a table I creating inthe method html. Is is possible to search the

Re: [Zope] sequence-item as a method argument

2000-06-14 Thread Rik Hoekstra
Hello again I´m still testing the usability and reliability of Zope. To accomplish this goal I am developing a very very simple shopping cart. But I got troubled by something aparently simple. This is the code: dtml-in "SESSION['cartItems']" dtml-in

Re: [Zope] Worldpilot and imap problem

2000-06-14 Thread Bryan Stillwell
You could download pynetd and setup port forwarding from some port (1430 would work) to port 143. Then setup WorldPilot to use port 1430 when checking for new mail. Everything will behave the same, but now you can watch all the imap commands being sent by WorldPilot. You can get pynetd from

RE: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Brian Lloyd
After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple dtml-var "index_html.getSize()" This works in 2.1.6, but throws the aforementioned exception in 2.2b1, too. Is this a bug or a feature? It's been changed to "get_size()". I

Re: [Zope] sequence-item as a method argument

2000-06-14 Thread Thomas Weiner
Fabio Akita schrieb: [ sequence-item in a python expression ] Error Type: NameError Error Value: sequence Anyone knows what is going on? I think this must be a simple thing. Everything in quotes is taken as a python expression, therefore Zope wants to evaluate "sequence - item"; this

Re: [Zope] Parse Text File (newbie q.)

2000-06-14 Thread Dieter Maurer
joel grimes writes: I'm trying to display the contents of a text file in a DTML document. It's easy enough to display but all the line breaks are removed. Is there an easy way to bring in formatted text? You may wrap your text inside a "pre.../pre" HTML tag. Dieter

[Zope] Version Paradox

2000-06-14 Thread Baker, Dennis [sjmr]
Help !! I've inadvertently created a version paradox. I created a version and joined it, then I realized that I did a stupid naming mistake I tried to UNDO the creation of the version. It allowed me to undo the creation of the version, however I was in the version at the time, and now I am

Re: [Zope] How do you search Tiny Tables?

2000-06-14 Thread Shane Hathaway
Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], jesse [EMAIL PROTECTED] writes I created a tiny table and then fed the information into a DTML Method by inserting the tiny table subject headers into a table I creating inthe method html.

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Cesar A. K. Grossmann
Stuart 'Zen' Bishop wrote: But do you want advanced? If you just want to store your authentication information, UserDB is just fine - moving to GenericUserFolder in this case may just cause you troubles, as more advanced also means more complicated. I need to provide a logon screen more

[Zope] Extra Path Info

2000-06-14 Thread Sunil Jain
Title: Extra Path Info I am using tomcat 3.1 with apache 1.3.12. Is it possible to send additional information on the URL (as in servlets, between servlet name and query) in a jsp request. For example .. snoop.jsp/ABC?query=..

[Zope] Job Hunt

2000-06-14 Thread Luis Cortes
Hi, I would like to continue to program in python and zope ( don't make me go back to C/C++, please ). Does anyone have some short term contract work for me. I will be happy to send my resume in response to this email. Regards, Luis. ___

Re: [Zope] ZCatalog in python (getting closer)

2000-06-14 Thread ed colmar
I am getting closer to having a working catalog. Thanks everyone, all your hints have been really helpful. The catalog is automatically created when I add a new instance of my class to a folder My sub-classes now inherit: (CatalogAware, Persistent, Implicit, SimpleItem) It was the SimpleItem

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread ethan mindlace fremen
Alexander N Gould wrote: On Tue, 13 Jun 2000, ethan mindlace fremen wrote: dtml-let hostname="_.string.join(_.string.split(_.string.split(HTTP_HOST, ':')[0], '.')[0], '')" dtml-try dtml-if "_[hostname]" Set logical root: dtml-call "REQUEST.set('SiteRootPATH', '/')"

Re: [Zope] WorldPilot - Regular messages are attachments? (PatchFix)

2000-06-14 Thread ethan mindlace fremen
Bryan Stillwell wrote: Ok, I fixed the problem with files trying to be saved as ATT0001.DAT, but they're still messed up in Mozilla (which your using, right ethan?) where they save as getpart (I think this is a Mozilla bug, and not a WorldPilot bug). I also fixed the bug where if it's an

Re: [Zope] PTK questions

2000-06-14 Thread Tres Seaver
Graham Chiu [EMAIL PROTECTED] wrote: Using the 0.7.1 snapshot First, there is a list dedicated to PTK issues: [EMAIL PROTECTED] You are much more likely to get a knowledgeable answer there. I've patched my Members/index_html to read dtml-in "getRoster(REQUEST)" a

Re: [Zope] getUsers cf. get_valid_userids question

2000-06-14 Thread Shalabh Chaturvedi
Hi: In an attempt to solve the very same problem (Get a list of all users with certain role) I created an external method. It walks up the acquisition path, at each level checking the existing acl_users (if it exists) for all users with the role. I can't say this it is the best way to do it,

[Zope-dev] ZScheduler runs on Unix!

2000-06-14 Thread Loren Stafford
I just got a chance to try out ZScheduler 0.0.5 on Solaris 2.6 and some version of Linux -- and it works. I've changed the CHANGES.txt file to reflect that fact without incrementing the product version number. It should now be safe to try the product out on Unix development systems. It remains,

[Zope-dev] Logging for ZScheduler?

2000-06-14 Thread Loren Stafford
I need some advise for designing a flexible system for logging the activities of scheduled events. One of the motivations for developing ZScheduler was to have a platform independent means for scheduling Zope tasks. The lask of a cron on Windows platforms was a part of the problem. ZScheduler

Re: [Zope-dev] Logging for ZScheduler?

2000-06-14 Thread Phillip J. Eby
At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote: Its not a problem with ZScheduler, it a problem that no one has written a plug-in logging system that is good enough for what you are trying to do. The existing zLOG API is fine (well - it could be better), but just needs someone to write the