[Zope] PTK question ..

2000-07-30 Thread Jean Jordaan
Hi all I'm trying to get the PTK up and running. Everything works OK, but when I try to review a pending document, this is what I get: Resource not found Sorry, the requested Zope resource does not exist.Check the URL and try again. The document is simply the default index_html document of

Re: [Zope] connection problem

2000-07-30 Thread Curtis Maloney
On Mon, 31 Jul 2000, vance wrote: > Hi, > > I'm running Zope 2.1.6 on Redhat 6.2 Intel based system. It appear to > start and when I go to manage page and enter username and password I get > the following error: > Traceback (innermost last): > File /usr/lib/python1.5/site-packages/ZPublisher/Pu

[Zope] connection problem

2000-07-30 Thread vance
Hi, I'm running Zope 2.1.6 on Redhat 6.2 Intel based system. It appear to start and when I go to manage page and enter username and password I get the following error: Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in publish_module File /u

Re: [Zope] How to start developing in zope

2000-07-30 Thread Curtis Maloney
On Mon, 31 Jul 2000, Firestar wrote: > Hi, thanks for your reply. > > Is acquisition similar to the concept of 'inheritance' in OOP? (or more?) I > heard of this 'algebra of acquisition' written by someone...is it essential > and where can i find it? TIA. > In many ways, yes. Acquisition is very

Re: [Zope] How to start developing in zope

2000-07-30 Thread Firestar
--Original Message-- From: Kapil Thangavelu <[EMAIL PROTECTED]> To: Firestar <[EMAIL PROTECTED]> Sent: July 30, 2000 3:21:54 PM GMT Subject: Re: [Zope] How to start developing in zope acquistion is an integral part of zope and is pretty powerful for simplifying design and implementation.

Re: [Zope] Calender Tag & SQL caching

2000-07-30 Thread Bak @ kedai
On Mon, 31 Jul 2000, Arjan Scherpenisse wrote: > Hi everybody, > > This is my first posting to this list. I have a website which will > make use of a calender, with events on it stored in a MySQL > database. Now, i wondered how to efficiently show this data from the > database in the calender. I

RE: [Zope] Interbase DA compiled for Windows? gvibBase.pyd DONE

2000-07-30 Thread Brad Clements
On 30 Jul 2000, at 13:34, Jeff Hoffman wrote: > > this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz > > _ Thanks again, > > > > -- Ralf Herold > > I understand your position, and wish we could do something to help. > However, we do not use Windows or Windows NT, internall

[Zope] Python/Zope API

2000-07-30 Thread Alexandre A. Rodioukov
Hello folks. I want to be able to render Zope objects from my python external method/product. Idea is to use it to render parent object. Here is code I came up so far with: def view(self, REQUEST): if self.meta_type == 'Folder': doc = self.aq_base.index_html(self, self.RE

[Zope] Calender Tag & SQL caching

2000-07-30 Thread Arjan Scherpenisse
Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean, not in a way that a sql query is made for each day on

[Zope] Announce: StarRave0.0.16

2000-07-30 Thread ed colmar
StarRave-0.0.16 .. product announce [ a bow to the high zope council ] [ a bow to the zope mailing list ] StarRave is a zope/python product that manages information related to djs, events, and promoters. Specifically, this product is built for the Rave scene, where th

Re: [Zope] password

2000-07-30 Thread Bill Anderson
"Eric L. Walstad" wrote: > > Hi Jonathan, > > Try this from the console: > > python zpasswd.py --username="superuser" --password="TheNewPassword" > "access" > > This is documented in the Zope installation files. > > Note that doing it this way, the command line will be stored in the command >

RE: [Zope] password

2000-07-30 Thread Eric L. Walstad
Hi Jonathan, Try this from the console: python zpasswd.py --username="superuser" --password="TheNewPassword" "access" This is documented in the Zope installation files. Note that doing it this way, the command line will be stored in the command line buffer file on your system, which may be a s

RE: [Zope] Starting Zope

2000-07-30 Thread Chris McDonough
Not to continue offtopic for too much longer, but IMHO, the "only root can bind to ports under 1025" was, and continues to be, a terrible UNIX hack that was possibly reasonable at its time of inception, but that has since *caused* more security holes than it ever helped to prevent. The argument f

[Zope] problems with the export

2000-07-30 Thread Fabio Akita
Something strange happened when I tried to export a site. I tried many times but none worked. Anyone knows what could this be? Here follows the Zope error message: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: Astral -

Re: [Zope] OQL for ZODB - (SQL like for objects Databases)

2000-07-30 Thread Emmanuel DISCORS
Thanks to all, Having Class wine & Drinker in relation. Drinker can drink (0-N) wines. Want to do a query like : MyListOfWine = wine where driker like 'Emmanuel' (Pseudo code) Is there a way to do that in ZODB ? E.D. == Le dim, 30 jui 2000, vous avez écrit : > Its probably possi

Re: [Zope] Starting Zope

2000-07-30 Thread Bill Anderson
(Quoting reversed for sake of continuity. > On Sun, 30 Jul 2000, Cary O'Brien wrote: > > > > Cary O'Brien wrote: > > > > > > > Well... > > > > > > > > If you are running on Linux you could simply edit the kernel code to > > > > elimitate the check on being root to bind to low ports. That's wha

Re: [Zope] How to start developing in zope

2000-07-30 Thread Kapil Thangavelu
Firestar wrote: > > Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, > and now eager to port my company's website over to Zope. (The website was > originally programmed in PHP) > > In my original design, I used OOP mainly. I defined each section(e.g. News, > Events, P

Re: [Zope] Using Zope and Worldpilot on a large site

2000-07-30 Thread Bill Anderson
Paolo Bizzarri wrote: > > Bill Anderson wrote: > > > > Paolo Bizzarri wrote: > > > > > > Hi Zopers, > > > > > > we would like to use Zope for an ISP, with more than 400.000 customers. > > > Zope would be used with Worldpilot, in order to provide Webmail, > > > Calendar, to do, etc. > > > > THis d

RE: [Zope] OQL for ZODB - (SQL like for objects Databases)

2000-07-30 Thread Chris McDonough
Indeed it does. As a result, it doesn't help at all for O-R mapping. I've heard that PJE's DataSkins (part of ZPatterns) have features which make them useful for O-R mapping, though I haven't looked at them. > although i haven't looked at the source. chris m's Interbase storage > might be worth

Re: [Zope] Moving site from dev to prod.

2000-07-30 Thread Kapil Thangavelu
Thats an interesting question most of the time for my work i just pack the zodb copy the fs file into a new system and it works... I wonder where you getting this request error. it could be related to internal changes in the zope machinery esp if its in an SQL method. generally most stuff in

Re: [Zope] OQL for ZODB - (SQL like for objects Databases)

2000-07-30 Thread Kapil Thangavelu
Its probably possible but its probably more work than you're interested in. They speak different languages a relational system is built on relations in square/rectangular tables. an object system esp. the ZODB can store objects which can be of arbitrary nature, not to mention acquistion and inhe

Re: [Zope] Full path var on Zope.org login link (Ethan!)?

2000-07-30 Thread Kapil Thangavelu
Probably HTTP-REFERRER if you don't want look at the source. "J. Atwood" wrote: > > What DTML-VAR do they use on Zope.org to populate the came_from variable for > the 'login' link? > > I have used dtml-var absulute_url but it does not seem to return the full > path 'http://www.thedomain.com/fo

RE: [Zope] AW: [Zope] search on www.zope.org

2000-07-30 Thread Chris McDonough
> I can't argue with that. i get constant key-errors... i'd really like > for someone from digicool to step up and give a reason. I'm > not sure if > its the size of the Catalog, or the internal Splitter giving > errors, or > if its just related to the recent hardware problems on zope.org I jus

Re: [Zope] AW: [Zope] search on www.zope.org

2000-07-30 Thread Kapil Thangavelu
I can't argue with that. i get constant key-errors... i'd really like for someone from digicool to step up and give a reason. I'm not sure if its the size of the Catalog, or the internal Splitter giving errors, or if its just related to the recent hardware problems on zope.org the saving grace s

Re: [Zope] Can multiple processes access a ZODB3 file?

2000-07-30 Thread Kapil Thangavelu
As Chris already stated (many times 4 effects:) ZODB is process locked. The question than becomes what kind of process interaction do you want with the zodb. most everything can be done by having hooks into zope and interacting with those hooks from your external python process. examples are a

Re: [Zope] dtml-in syntax

2000-07-30 Thread Kapil Thangavelu
A couple of different solutions depending on exactly what you want to do. if you're just trying to get the total length of the records returned by wherever you could try. or if you want the distinct values as well a great reference is the Zope Quick Reference at http://www.zope.org/M

RE: [Zope] Interbase DA compiled for Windows?

2000-07-30 Thread Jeff Hoffman
On Sun, 30 Jul 2000, R. Herold wrote: > Sorry, > > > connect to Interbase (kinterbasdb-0.2.1.tar.gz and > InterbaseStorage098.tgz), > > this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz _ > Thanks again, > > -- Ralf Herold I understand your position, and wish we could d

Re: [Zope] Starting Zope

2000-07-30 Thread Nitesh Dhanjani
Interesting argument. However, consider this: if you completely trust your 'firewalled' box, then why not run the web server as root? One response, in your case is the fact that you mention your trust on users(humans are the most easy to compromise, however that argument is a bit OT). However, do

Re: [Zope] create DTML-Source-link like on zope.org

2000-07-30 Thread Svante Kleist
Also, document_src() is a "Python method" function included in the "Python Method" product < URL: http://www.zope.org/Members/4am/PythonMethod > If you're pre-2.0 you have to install that one yourself. 2.0 contains "Python Methods", and document_src() co

Re: [Zope] Zope 2.20 and SQLSession

2000-07-30 Thread Hugo Ramos
I've just sent him the RDB.py no more probs after that... :-) = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! - Original Message - From: "Jorge Magalha

Re: [Zope] Starting Zope

2000-07-30 Thread Cary O'Brien
> Cary O'Brien wrote: > > > Well... > > > > If you are running on Linux you could simply edit the kernel code to > > elimitate the check on being root to bind to low ports. That's what > > we did. > > Which is an even worse idea. > Why? On a sufficiently firewalled off box, where the few lo

Re: [Zope] Starting Zope

2000-07-30 Thread Nitesh Dhanjani
> I receive an error becouse root hasn't granted the need privileges on > > > > > /Zope/var/ directory. That is what i was responding to. I am aware of the facts you mention regarding the 3 points you make below, and agree with them. nitesh. On Sun, 30 Jul 2000, Bill Anderson wrote: > Nites

[Zope] Zope 2.20 and SQLSession

2000-07-30 Thread Jorge Magalhaes
Hi Since i upgrade my zope 2.14 to 2.20 i can't access to my all DTML Method's which use the SQLSESSION session. I try view these method's with superuser permissions but a have this error message: Zope Error Zope has encountered an error while publishing thi

Re: [Zope] Using Zope and Worldpilot on a large site

2000-07-30 Thread Paolo Bizzarri
Bill Anderson wrote: > > Paolo Bizzarri wrote: > > > > Hi Zopers, > > > > we would like to use Zope for an ISP, with more than 400.000 customers. > > Zope would be used with Worldpilot, in order to provide Webmail, > > Calendar, to do, etc. > > THis demonstrates a problem or two with Worldpilot.

Re: [Zope] create DTML-Source-link like on zope.org

2000-07-30 Thread Chris Withers
Deryk Barker wrote: > > Well I did and get a NameError looking for document_src. What object are you trying to view the source of? It's only work (and only makes sense) on things like DTML methods and DTML documents. cheers, Chris ___ Zope maillist

Re: [Zope] DA, MySQL and Unix socket

2000-07-30 Thread Ragnar Beer
If you have Zope and MySQL running on the same machine and want the socket connection in order to make MySQL invisible to the outside world you can as well bind it to 127.0.0.1 and use standard ZMySQLDA. Ragnar >hi... > >There'a any DA around there that allow a unix socket connection to a MySQ

[Zope] newbie ZSQL and Forms

2000-07-30 Thread Brad Moulton
hi all having worked through the ZSQL users guide I would now like to create my own forms to enter/retrieve data from SQL tables i have tried creating an SQL method which prompts for data entry via a system generated form however when I use my own form and "POST" the data with the SQL meth

Re: [Zope] probs. with vti xxxx folders - anyone using FrontPage +WebDAV ???

2000-07-30 Thread Dieter Maurer
Chris Withers writes: > I wonder why starting folders with _ is so bad in Zope? In the time, when everything was allowed what was not explicitely forbidden, an easy way was necessary to forbid access. Jim (and, therefore, Zope) used: anything starting with "_" is private: no DTML access, no We

Re: [Zope] Zope for secure transactions?

2000-07-30 Thread Dieter Maurer
Rajil Saraswat writes: > 1. Can Zope support SSL or https? There is an extension allowing ZServer to serve HTTPS requests. Search "zope.org" for the corresponding HowTo. > 2. Is there some way in Zope through which i can use secure transactions. Recently, there was a discussion in Zope's Ecomm

Re: [Zope] What is the best method to enter more attributes about DTL Document?

2000-07-30 Thread Dieter Maurer
Marcin Kasperski writes: > Short and probably obvious problem: what can I do to be asked for more > properties while creating DTML Document (say I wanna be asked about > description and keywords which I use in meta tags)? Maybe, customize "OFS/methodAdd.dtml" and "OFS/documentAdd.dtml". You ne

Re: [Zope] dtml-in 'one record per page' problem

2000-07-30 Thread Dieter Maurer
Cesar A. K. Grossmann writes: > I'm using a report that must return one instance by page, but it's not > working very well... If the query returns more than one result, Zope > presents only two pages. I'm using Zope 2.1.6 in a Linux box. What does is mean: "presents only two pages"? Probably,

[Zope] Confusing posts (was Re: [Zope] password)

2000-07-30 Thread jan
Jonathan Desp wrote: > > Hi, > > the program zpasswd prompt. ... > Filename is not option, and should be the name of the file to store the > information in. ... > What I should write in this source code from zpasswd ? --> What is your question, now? Generally, you should not write any

RE: [Zope] Interbase DA compiled for Windows?

2000-07-30 Thread R. Herold
Sorry, > connect to Interbase (kinterbasdb-0.2.1.tar.gz and InterbaseStorage098.tgz), this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz _ Thanks again, -- Ralf Herold | mailto:[EMAIL PROTECTED], PGP mailto:[EMAIL PROTECTED] _

Re: [Zope] dtml-in syntax

2000-07-30 Thread Manuel Schulte
Would this do it? : Cheers, Manuel On Sat, 29 Jul 2000, Tim Cook wrote: > Kyle Burnett wrote: > > > > so i have this loop and i want to count a variable: > > > > > > > > > > > > > > > > > > > > but what i really want to count is specific values for id. so

Re: [Zope] Starting Zope

2000-07-30 Thread Bill Anderson
Nitesh Dhanjani wrote: > > yes, but it would solve the permission problem the original poster > mentioned. No, because the orignal user wanted to _start_ Zope as user zope. Unless that user has a UID/GID of 0 (is, is root by another name), the file permissions are irrelevant. Now, as to _runn