[Zope] How to debug access denials?

2000-12-14 Thread Stephane Bortzmeyer
I have problem with Zope security model and I would like to know the best way to debug Zope when access is denied. I have two experimental sites: on one of them, anonymous users can go everywhere. On the other, the permissions *look* exactly the same but anonymous users can only see the home pag

Re: [Zope] How to debug access denials?

2000-12-14 Thread Chris Withers
Stephane Bortzmeyer wrote: > > Is there a way to get an extended log, such as "anonymous user denied > because index_html called standard_html_header which called getData > and getData is a database connection and they don't have permission to > use database connections"? If you hit cancel when

Re: [Zope] How to debug access denials?

2000-12-14 Thread Jerome Alet
On Thu, 14 Dec 2000, Chris Withers wrote: > Stephane Bortzmeyer wrote: > > > > Is there a way to get an extended log, such as "anonymous user denied > > because index_html called standard_html_header which called getData > > and getData is a database connection and they don't have permission to

Re: [Zope] rss

2000-12-14 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Kevin Teague wrote: > I use a modified version of this script running on a cron job to update > the rss channels: > > http://www.zope.org/Members/phd/cron-zope/pack-db_fs > > The script looks like this (it's still kind of hack-ish, but it works > :). My only problem now is to

[Zope] Start with Zope

2000-12-14 Thread Pierrick PONS
Hello, I'm a newbie with Zope and maybe the question I will pose is really stupid but please help me. I'd like to use Zope with Linux ( I'm under a Debian), I installed Zope but I can't start using Zope to make a new web site. I verified that Zope is running but I don't know how to start this p

[Zope] RE: FTP for ZClass hierarchies

2000-12-14 Thread Andreas Tille
On Thu, 7 Dec 2000, M. Adam Kendall wrote: > Maybe this could be looked at by the DC folks and included > in the next test version release of Zope? Just a thought ;) That would be really great. I like to use the Zope-Debian packages and I don't want to patch and recompile them after every Zope

Re: [Zope] Gopher from Zope

2000-12-14 Thread Tres Seaver
"Dario Lopez-Kästen" <[EMAIL PROTECTED]> wrote: > > I wanna serve gopher:// from Zope :-) > > Is it possible? Don't need answers like "but gopher is old, ugly, etc", "we > will loose all fomatting, etc", etc. ZServer (aka medusa) is protocol agnostic; I would look at the Request/Responses the

Re: [Zope] Start with Zope

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Pierrick PONS wrote: > I verified that Zope is running but I don't know how to start this program to > start building my new web site. You don't need to "start" it if it is already running - just connect to it with your browser. If you installed it with default settings, p

Re: [Zope] dtml decimals

2000-12-14 Thread Tres Seaver
Andy McKay <[EMAIL PROTECTED]> wrote: > > instead of getting 1.50 as I was expecting I get > 1.00, I never seem to be getting decimals. Whats the obivous thing Im > missing here? Note the following:: $ python Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 1... Copyright 1991-19

Re: [Zope] Start with Zope

2000-12-14 Thread peter bengtson
To start Zope you do that on the commandline or as a service. To start _working_ with it you use your webbrowser. If you installed Zope on port 8080 (most likely I think), go to 127.0.0.1:8080 to see you Zope. To work with it, you go to 127.0.0.1:8080/manage If you get into the management interfa

Re: [Zope] Start with Zope

2000-12-14 Thread Sebastien Douche
Le Thu, Dec 14, 2000 at 01:20:35PM -, peter bengtson à écrit: # To start Zope you do that on the commandline or as a service. # To start _working_ with it you use your webbrowser. # If you installed Zope on port 8080 (most likely I think), go to Not with Debian package because port 8080 is al

[Zope] INTERBASE cannot do this type of query ?

2000-12-14 Thread Francois-regis Chalaoux
Error, Products.gvibDA.gvib.gvibExceptions.ProgrammingError: - Dynamic SQL Error -- SQL error code = -206 -- Column unknown -- MOUSE SQL used: select IND_SPECIE from ZEB_INDIVIDU where IND_SPECIE = "MOUSE" ___ Zope maillist - [EMAIL PROTECTED] ht

Re: [Zope] HTML formatting from a text field

2000-12-14 Thread Ausum
Thanks to all the people who answered. I couldn't wait to find the proper product so I went the shorter way. Being not a developer, I just borrowed the code from this known site, expecting that you real coders could write a finished Zope product. My needs were simple: let authorized IE-PC users to

RE: [Zope] INTERBASE cannot do this type of query ?

2000-12-14 Thread Bob Tierney
For chuckles try 'MOUSE' instead of "MOUSE" Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Francois-regis Chalaoux Sent: Thursday, December 14, 2000 8:12 AM To: [EMAIL PROTECTED] Subject: [Zope] INTERBASE cannot do this type of query ? Sensitivity

[Zope] mySQL DA on Win32

2000-12-14 Thread Lee Reilly CS1997
Hi, Zope is currently being installed on the Unix machines at my uni but it won't be available for a while. However, I have set up a mySQL database in the Dept. and installed Zope on a Dept. machine (Windows 95). I can only access the database from uni so I must have a database adpater setup on t

Re: [Zope] Start with Zope

2000-12-14 Thread Pierrick PONS
Sorry for this stupid question ! In fact I have a proxy on my computer that's why it was a little difficult to start. I change the port by 9673 on my navigator and it does start I 'm confused . Thanks for all of your replies. Bye Pierrick _

[Zope] site structure

2000-12-14 Thread Nuno Goncalves
Hi ! How can we define a structure for an entire site with Zope ? for example i want that all the site's pages have a table with 3 colums. it's kind of a template for the web site ! thanks in advance ! best regards, Nuno ___ Zope maillist - [EMAIL P

Re: [Zope] mySQL DA on Win32

2000-12-14 Thread Phil Harris
Lee, Have you read the MySQL on Win32 howto? btw, give my regards to Duncan. Phil [EMAIL PROTECTED] - Original Message - From: "Lee Reilly CS1997" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 14, 2000 2:46 PM Subject: [Zope] mySQL DA on Win32 > Hi, > > Zop

Re: [Zope] Start with Zope

2000-12-14 Thread Stephane Bortzmeyer
On Thu, Dec 14, 2000 at 01:43:55PM +0100, Pierrick PONS wrote: > May I have to configure something ? I have read lots of things about Zope but > I wasn't able to start ... A common problem for us Zope newbies. You read ten times the documentation and it still does not make sense, you don't gra

Re: [Zope] mySQL DA on Win32

2000-12-14 Thread Petter Enholm
> From: "Lee Reilly CS1997" <[EMAIL PROTECTED]> > > I have seen the mySQL DA on Zope.org but I understand that it "does not > support win32 platforms at this time". I need database access ASAP so > can anyone offer any advice? There is a HOW-TO for this: How-To: ZMySQLDA on Win32 Search for it

Re: [Zope] How to debug access denials?

2000-12-14 Thread Stephane Bortzmeyer
On Thu, Dec 14, 2000 at 12:21:19PM +0100, Jerome Alet wrote: > > a python traceback in there which should provide the information you're > > looking for... Great, I missed it. > May I add: "... in an incredibly unreadable and hardly understandable > format." ? Indeed. What am I supposed to d

Re: [Zope] mySQL DA on Win32

2000-12-14 Thread Jim Washington
Hi, Lee I got zope and mysql working together last night on win2k. I used the instructions in http://www.zope.org/Members/philh/mysql (Thanks, Phil Harris!) I did have to use the custom dll and pyd mentioned there. http://www.google.com/search?q=mysql+zope+win32 might have more clues if this

Re: [Zope] site structure

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Nuno Goncalves wrote: > How can we define a structure for an entire site with Zope ? > for example i want that all the site's pages have a table with 3 > colums. it's kind of a template for the web site ! Using standard_html_header and standard_html_footer in every Documen

[Zope] Adding Users To Acl_users

2000-12-14 Thread Mike Kelland
Is it possible to add users to acl users from a form other than that in the acl_users folder? I've tried replicating the form within a dtml-with acl_users tag with no luck so far, has anyone actually done this and made it work?   Thanks! Mike Kelland [EMAIL PROTECTED]  

Re: [Zope] site structure

2000-12-14 Thread Nuno Goncalves
> On Thu, 14 Dec 2000, Nuno Goncalves wrote: > > How can we define a structure for an entire site with Zope ? > > for example i want that all the site's pages have a table with 3 > > colums. it's kind of a template for the web site ! > >Using standard_html_header and standard_html_footer in e

Re: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
> >Using standard_html_header and standard_html_footer in every Document on > > your site... > But that way if i want to change the structure, i have to change on every > page. No, you only need to change 2 places: standard_html_header and standard_html_footer :) All Documents that use the

RE: [Zope] Adding Users To Acl_users

2000-12-14 Thread Steve Drees
> Is it possible to add users to acl users from a form other than that in the acl_users folder? > I've tried replicating the form within a dtml-with acl_users tag with no luck so far, has > anyone actually done this and made it work? Creates a user bill with password mypassword and role of

[Zope] HELP with Postgress!! HELP!!

2000-12-14 Thread Paolo Quaglia
Hi I m trying to setup a linux box (Redhat 6.1) with PostGress 6.5 What DA shall I use?   I have tried the ZPyGreSQLDA-0.3-rjr2.tar.gz, but the product result BROKEN PRODUCT!!   I have tried some ZPopyDA but some error occours How Can I Install a decent PostGress SQL DA?   I thank y

[Zope] Difference between Methods and Scripts?

2000-12-14 Thread Hamish Lawson
I see that the latest version of the O'Reilly Zope book now talks about Python and Perl *Scripts*, but refers still to DTML and ZSQL *Methods*. Does this reflect some actual conceptual difference between a Script and a Method, or is it simply because of the burden of also renaming DTML, ZSQL, etc?

Re: [Zope] Adding Users To Acl_users

2000-12-14 Thread Mike Kelland
Perfect, thank you so much! Mike Kelland - slowly getting the hang of this whole Zope thing... [EMAIL PROTECTED] - Original Message - From: "Steve Drees" <[EMAIL PROTECTED]> To: "Mike Kelland" <[EMAIL PROTECTED]> Cc: "Zope@Zope. Org" <[EMAIL PROTECTED]> Sent: Thursday, December 14, 2000 1

RE: [Zope] site structure (fwd)

2000-12-14 Thread Max M
From: Oleg Broytmann >> But that way if i want to change the structure, i have to change on every >> page. > No, you only need to change 2 places: standard_html_header and >standard_html_footer :) All Documents that use these header/footer will be >rendered using new structure. I think you mi

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Max M wrote: > If I where to do it in regular Python I would use special classes for > special layouts. That is hard to do in Zope. Why hard? Not hard at all - develop your own set of classes, make it into a Product, and use instance of these classes instead of DTML Docume

Re: [Zope] HELP with Postgress!! HELP!!

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Paolo Quaglia wrote: > I have tried the ZPyGreSQLDA-0.3-rjr2.tar.gz, but the product result BROKEN > PRODUCT!! Instead of asking for free HELP!!! you'd better try to fix the broken product; after all, it is free software, do it yourself or hire someone. Go to Control P

RE: [Zope] mySQL DA on Win32

2000-12-14 Thread sean . upton
Couldn't one just use MyODBC and the ODBC DA? What disadvantages (besides latency from yet another API to go through) are there to this approach? Sean ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross po

Re: [Zope] Difference between Methods and Scripts?

2000-12-14 Thread Evan Simpson
From: Hamish Lawson <[EMAIL PROTECTED]> > I see that the latest version of the O'Reilly Zope book now talks about > Python and Perl *Scripts*, but refers still to DTML and ZSQL *Methods*. > Does this reflect some actual conceptual difference between a Script > and a Method, or is it simply because

Re: [Zope] Difference between Methods and Scripts?

2000-12-14 Thread jpenny
On Thu, Dec 14, 2000 at 04:56:15PM +, Hamish Lawson wrote: > I see that the latest version of the O'Reilly Zope book now talks about > Python and Perl *Scripts*, but refers still to DTML and ZSQL *Methods*. > Does this reflect some actual conceptual difference between a Script > and a Method,

Re: [Zope] site structure (fwd)

2000-12-14 Thread Stephane Bortzmeyer
On Thu, Dec 14, 2000 at 06:25:19PM +0100, Max M wrote: > Some things are pretty hard to do in zope, because of the header/footer > principle. > > Making a global look to a site can be pretty difficult if it doesn't fit > nicely into a header/footer structure, with a main area being the pages' >

Re: [Zope] Installing a DA for PostgreSQL (RedHat)

2000-12-14 Thread Stephane Bortzmeyer
[Stupid subject changed.] On Thu, Dec 14, 2000 at 05:46:09PM +0100, Paolo Quaglia wrote: > I m trying to setup a linux box (Redhat 6.1) with PostGress 6.5 > What DA shall I use? On a RedHat 6.2 (BTW, 6.1 has several known security bugs, be careful if you have a direct link to the Internet), wit

Re: [Zope] HELP with Postgress!! HELP!!

2000-12-14 Thread César A. K. Grossmann
> Paolo Quaglia wrote: > > I have tried the ZPyGreSQLDA-0.3-rjr2.tar.gz, but the product result > BROKEN PRODUCT!! Did you have compiled it? []s -- +-+-+ | César A. K. Grossmann | Capacitação Solidária | | [

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
i see !!! i have just found a package ZopeFish that has ZFSuite. ZFSuite has an object (ZF document template) that defines a layout and structure for the entire site. More info at http://www.zope.org/WikiCentral/ZFWiki still i installed it (it is a bunch of libs) but i haven't tested it ! if i

Re: [Zope] mySQL DA on Win32

2000-12-14 Thread Lloyd Kvam
I came across links that recommended recompiling both MySQL and the MySQL DA. I did so without too much difficuly. The batch compile scripts did not work, but compiling through the MicroSoft IDE did work. The source code I pulled down required the Microsoft compiler, not gcc++. I still have th

Re: [Zope] Difference between Methods and Scripts?

2000-12-14 Thread Hamish Lawson
I wrote: > Does this reflect some actual conceptual difference between a > Script and a Method Evan wrote: > DTML and ZSQL Methods (and the older Python Methods) act as though > they are bound methods of the object on which they are called. > Python Scripts aren't bound to any particular obje

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
On Thu, 14 Dec 2000, Oleg Broytmann wrote: > On Thu, 14 Dec 2000, Max M wrote: > > If I where to do it in regular Python I would use special classes for > > special layouts. That is hard to do in Zope. > >Why hard? Not hard at all - develop your own set of classes, make it > into a Product,

Re: [Zope] rss

2000-12-14 Thread Andy McKay
Actually I went one further and hacked SiteSummary so that it remembered the url the rss is located at (rss_url). Then I wrote a quick reload method. Then in dtml I wrote a method that finds all the site summaries and reloads them. So my python script is down to two lines: import urllib print url

RE: [Zope] HELP with Postgress!! HELP!!

2000-12-14 Thread Paolo Quaglia
Thank you very much to all for the quick replies. I'm fighting compiling the modules ... and trying to solve the prob I'll let you know ... :) Ciao Paolo Quaglia > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of César A. K. Grossmann > Sent: Thursd

[Zope] INTEGER manipulation with INTERBASE

2000-12-14 Thread Francois-regis Chalaoux
Hi, When I query my db with gvib adaptator I obtain integer value as 1L, 2L !!! I would like to query the same db with these resulting previous integer but 1L or 2L are not understood by an interbase db. Any solution to transform these strings in integer on the fly or others propositions ? FR

Re: [Zope] INTERBASE cannot do this type of query ?

2000-12-14 Thread Jan H. Haul
Francois-regis Chalaoux wrote: > Error, Products.gvibDA.gvib.gvibExceptions.ProgrammingError: - Dynamic SQL Error -- >SQL error code = -206 -- Column > unknown -- MOUSE > > SQL used: > > select IND_SPECIE > from ZEB_INDIVIDU > where IND_SPECIE = "MOUSE" Use single quotes around 'MOUSE'. In S

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Nuno Goncalves wrote: > >Why hard? Not hard at all - develop your own set of classes, make it > > into a Product, and use instance of these classes instead of DTML > > Documents. Actually, there is nothing special in DTML Documents - they are > > instances of DTMLDocument

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
> > But how could you build a page with the template developed ?? > > something like: > > > > and how can you generelize the objects to beeing used by the template ? > >No, no, no! :) >You misunderstand how the Zope works. You think that basic building > block is a piece of HTML (probabl

Re: [Zope] site structure

2000-12-14 Thread Jan H. Haul
Nuno Goncalves wrote: > > > On Thu, 14 Dec 2000, Nuno Goncalves wrote: > > > How can we define a structure for an entire site with Zope ? > > > for example i want that all the site's pages have a table with 3 > > > colums. it's kind of a template for the web site ! > > > >Using standard_html_

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
You may also want to take a look at HiperDOM as a templating mechanism as well. I haven't used it, but in looking at the Wiki and the examples, it looks like it would do what you are looking for, and from all accounts I have read, this will be the "official" Zope replacement for DTML for presenta

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Nuno Goncalves wrote: > humm !!! I see now !! > So i can have a general structure for all my site and when create a > page, specifying the template to use and consequently adding the objects > that i want ?? No, you should separate design (template) and content. Actually,

Re: [Zope] ZWiki hierarchy seems to be brokenZope Folk

2000-12-14 Thread Dieter Maurer
Timothy Grant writes: > However, I seem to have done something somewhere that is preventing the > hierarchy headers from showing up on many of the pages. It shows on the > first page, and it still shows on all the help pages, but it has disappeared > from the pages that I have been adding (The

Re: [Zope] rss

2000-12-14 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Andy McKay wrote: > Actually I went one further and hacked SiteSummary so that it remembered the > url the rss is located at (rss_url). Then I wrote a quick reload method. > Then in dtml I wrote a method that finds all the site summaries and reloads > them. So my python script

Re: [Zope] Problem on running the ZOPE by using ZmySQLDA

2000-12-14 Thread Dieter Maurer
Angietel writes: > Finally my ZOPE is connected to MySQL succesfully, i can insert, delete = > the record,but i can not search and view my record in ZOPE. When i go to = > MySQL it can shows all my database records after my modification in = > ZOPE. Every time when i want to search or view my

[Zope] Build a website

2000-12-14 Thread Pierrick PONS
Hello again, I have another question: my aim is to build a web site (using Zope) to put it at my Internet Provider 's . Would it be possible with Zope or maybe Zope is not the good application to do so ? I've heard about arena, bluefish Thanks a lot Pierrick _

Re: [Zope] rss

2000-12-14 Thread Andy McKay
Will do once I fix the bugs in the patches :) -- Andy McKay, Developer. ActiveState. - Original Message - From: "Oleg Broytmann" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: "Zope Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 14, 2000 10:33 AM Subject: Re:

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
Getting fairly familiarized with namespaces and acquisition is going to be useful here. You actually will need to do 2 templates (one for the footer, and one for the header) in the case of writing a "wrapper." That said, objects in Zope (like a document, in this case) behave based upon their co

RE: [Zope] site structure

2000-12-14 Thread Farrell, Troy
If you are like me, you like to keep your standard_html_[header,footer] fairly stock. I have started including dtml-method components in my pages like this: *CONTENT HERE* Though, I have a difficult situation: If I understand correctly, definition of JavaScript functions belongs in the ta

RE: [Zope] Windows NT, Zope, PostgreSQL, PoPy, and ZPoPyDA

2000-12-14 Thread Farrell, Troy
Right now, I have PostgreSQL 7.0.3 on Cygwin: $ uname -a CYGWIN_NT-4.0 hostname 1.1.6(0.30/3/2) 2000-11-21 21:00 i686 unknown I followed the instructions found here: http://people.freebsd.org/~kevlo/postgres/portNT.html I haven't bothered with PoPy yet, but using the --with-odbc option seems to

[Zope] Zope.org RSS file

2000-12-14 Thread Andy McKay
The Zope news RSS file has a '&' which rdf doesnt like http://www.zope.org/SiteIndex/news.rss -- Andy McKay, Developer. ActiveState. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

RE: [Zope] site structure

2000-12-14 Thread Bill Welch
Well, just put them there. The head section is in standard_html_header, open it up and add your script section. Bill. On Thu, 14 Dec 2000, Farrell, Troy wrote: > Though, I have a difficult situation: If I understand correctly, definition > of JavaScript functions belongs in the tags. Does any

Re: [Zope] Object adding strangeness

2000-12-14 Thread Dieter Maurer
Geoffrey L. Wright writes: > So I've created a simple little product to dynamically manage CSS. It > consists of three ZClasses and the arrangement looks something like > this: > >STYLEn_containerClass > \ > \--> STYLEn_styleClass >

RE: [Zope] site structure

2000-12-14 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Farrell, Troy >Though, I have a difficult situation: If I understand correctly, definition >of JavaScript functions belongs in the tags. Does anyone know how to >do this? Just pop in them old: