[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

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 the

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 use

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 figure

[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

[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 there,

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,

Re: [Zope] dtml decimals

2000-12-14 Thread Tres Seaver
Andy McKay [EMAIL PROTECTED] wrote: dtml-var "3/2" fmt="%.2d" 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

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

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

[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]

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

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 ?

[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

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

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, Zope is

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

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 on

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 do

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

[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 every

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 these

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? dtml-call "REQUEST.set('name','bill')" dtml-call

[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 you

[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,

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 11:35

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

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

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

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

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 of

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, or

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), with

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

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

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 object,

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, and use

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: Thursday,

[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 ?

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 SQL,

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 class,

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
But how could you build a page with the template developed ?? something like: dtml var template(COMPONENTS LIKE HEADER AND FOOTER AS ARGUMENTS) and how can you generelize the objects to beeing used by the template ? No, no, no! :) You misunderstand how the Zope works. You think

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_header and

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

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, it

Re: [Zope] ZWiki hierarchy seems to be brokenZope Folk zope@zope.org

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 (They

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 is

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

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: dtml-var name="standard_html_header" dtml-var name="top_navbar" *CONTENT HERE* dtml-var name="bottom_navbar" dtml-var

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

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 head tags. Does

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 head tags. Does anyone know how to do this? Just pop in them old: script language="JavaScript" !--

Re: [Zope] How to debug access denials?

2000-12-14 Thread Dieter Maurer
Stephane Bortzmeyer writes: 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

Re: [Zope] site structure

2000-12-14 Thread Dieter Maurer
Nuno Goncalves writes: 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 ! As others told you, you can use a header and footer to standardize layout. The header

Re: [Zope] How to debug access denials?

2000-12-14 Thread Dieter Maurer
Stephane Bortzmeyer writes: Indeed. What am I supposed to do with that? Why is the 'title' property of the object unauthorized? (The object itself is viewable by Anonymous.) I would expect "AccessContentsInformation" is relevant to access properties. I had to drop most of my DTML

Re: [Zope] stupid file upload question

2000-12-14 Thread Joh Johannsen
Thanks for the responses. My first message was a little unclear... Here is what I am doing in more detail: On the client side (me), I have a windows machine, and I am uploading a file: "E:\test\my_file" On the server, I am running Zope on Linux. My upload form looks like this: dtml-var

Re: [Zope] stupid file upload question

2000-12-14 Thread Dieter Maurer
Joh Johannsen writes: What sort of object is this "REQUEST.form['attached_file']"? Is there some way to find out this sort of thing when you have a Python object? (I'm new to Python) It is a "ZPublisher.HTTPRequest.FileUpload" object. From its (source) documentation: File upload

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-14 Thread Simon Michael
Timothy Grant [EMAIL PROTECTED] writes: I just went digging through all the properties of the pages that didn't have headers, and compared them to the properties for the pages that did, and I noticed that they were all parented wrong! I didn't think to look there. I had changed the name of

Re: [Zope] stupid file upload question

2000-12-14 Thread Joh Johannsen
Dieter Maurer wrote: Joh Johannsen writes: What sort of object is this "REQUEST.form['attached_file']"? Is there some way to find out this sort of thing when you have a Python object? (I'm new to Python) It is a "ZPublisher.HTTPRequest.FileUpload" object. From its (source)

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-14 Thread Simon Michael
Wait! Is this what you've been seeing ? http://joyful.com/zwiki/link ie no title at all ? That's a BUG, thank you. Looks like certain pages, like the above and http://joyful.com/zwiki/page%20about%20nothing , get an empty string from context() and don't appear in the map. Both the above

Re: [Zope] IE5 / Medusa bug?

2000-12-14 Thread Evan Simpson
From: seb bacon [EMAIL PROTECTED] I imagine the fact that I can make it work by adding index_html is the most telling point, but it's not telling me anything ;) Leaving off index_html causes Zope to add a base href to the head. That's the only difference I can think of. Your page doesn't get

[Zope] Core Session Tracking Development Release 0.1

2000-12-14 Thread Chris McDonough
Hi, A development release of the fruits of the "core session tracking" Fishbowl project (http://dev.zope.org/Wikis/DevSite/Projects/CoreSessionTracking/FrontPage) is available at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking. It allows you to keep state across requests for

[Zope] IE5 / Medusa bug?

2000-12-14 Thread seb bacon
Tempting fate by claiming a bug...but although I'm sure I'm at fault here, there's no sensible reason for the results I'm getting. When I view one of several different pages with IE5, the last 11 bytes don't reach the browser. I've got a couple of other people to try it out. One of them

[Zope] Re: [Zope-dev] IE5 / Medusa bug?

2000-12-14 Thread Chris McDonough
Works For Me (IE 5.0.2920) - Original Message - From: "seb bacon" [EMAIL PROTECTED] To: mailto:[EMAIL PROTECTED];; [EMAIL PROTECTED] Sent: Thursday, December 14, 2000 5:10 PM Subject: [Zope-dev] IE5 / Medusa bug? Tempting fate by claiming a bug...but although I'm sure I'm at fault

RE: [Zope] What version of Python Methods - no - Scripts for2.2.4?

2000-12-14 Thread Itai Tavor
Ron Bickers wrote: I got PythonScripts running on 2.2.4 after doing the following: 1) Install PythonScripts from CVS just like any other Product. 2) Add these lines to lib/python/AccessControl/__init__.py: from SecurityInfo import ClassSecurityInfo, ModuleSecurityInfo from SecurityInfo import

Re: [Zope] default values in forms

2000-12-14 Thread Curtis Maloney
On Thursday 14 December 2000 04:52, Ivan Cornell wrote: Olaf Zanger wrote: hi there, i'd like to send default values for an data update with the link to the form like a href="adr_change_frm?f_id=dtml-var idf_name=dtml-var name"c/a unfortunately name may contain spaces. i

[Zope] Volunteer internship for Zope programmer

2000-12-14 Thread Fred Wilson Horch
Dear kind Zope folks, If you are * computer literate, * interested in programming or already a programmer, * looking for a volunteer opportunity or an independent study project, * eager to publish code and work on a development team, and * able to invest a few hours a week between January

RE: [Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-14 Thread Ron Bickers
-Original Message- From: Itai Tavor [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 7:55 PM To: [EMAIL PROTECTED] Cc: Ron Bickers Subject: RE: [Zope] What version of Python Methods - no - Scripts for 2.2.4? I also had to add OFS/Cache.py from the CVS for this to

[Zope] Converting Python Methods to Python Scripts

2000-12-14 Thread Itai Tavor
Hi, I was wondering if anyone is planning to add automated migration of Python Methods to Python Scripts (maybe with Zope 2.3 final)? Or maybe there's something like this in there already that I missed? Anyway, for now I created a simple hack to do this - it's not pretty, but it works. In

RE: [Zope] What version of Python Methods - no - Scripts for2.2.4?

2000-12-14 Thread Itai Tavor
That's what I figured. Didn't check, though. I'm just happy it works. -Original Message- From: Itai Tavor [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 7:55 PM To: [EMAIL PROTECTED] Cc: Ron Bickers Subject: RE: [Zope] What version of Python Methods - no -

Re: [Zope] How to debug access denials?

2000-12-14 Thread Jerome Alet
On Thu, 14 Dec 2000, Dieter Maurer wrote: I would expect "AccessContentsInformation" is relevant to access properties. I read from that, that you do not use DTML objects. For *them*, access to attributes is granted for the "View" permission. Apparently, this is not true for all

[Zope] Re: Converting Python Methods to Python Scripts

2000-12-14 Thread Itai Tavor
Hi, I was wondering if anyone is planning to add automated migration of Python Methods to Python Scripts (maybe with Zope 2.3 final)? Or maybe there's something like this in there already that I missed? Anyway, for now I created a simple hack to do this - it's not pretty, but it works. In

Re: [Zope] IE5 / Medusa bug?

2000-12-14 Thread Jerome Alet
On Thu, 14 Dec 2000, Evan Simpson wrote: From: seb bacon [EMAIL PROTECTED] I imagine the fact that I can make it work by adding index_html is the most telling point, but it's not telling me anything ;) Leaving off index_html causes Zope to add a base href to the head. That's WHOW !

Re: [Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-14 Thread Philipp Auersperg
Does it also work with SQL Server 7.0? thanks phil *** REPLY SEPARATOR *** On 08.12.2000 at 10:10 Anthony Baxter wrote: Use the Sybase client libraries, with ZSybaseDA. We do that here, and it works fine (but not for much longer, byebye sqlserver...) Or FreeTDS, but I don't

[Zope-dev] ZPatterns: General Design Question

2000-12-14 Thread Roch'e Compaan
As part of a Customer Relationship Management system our company is developing, we have a Licenses specialist which manages product licenses. All license objects do not have the same attributes however. The various attributes relating to different licence types are not known attributes from the

Re: [Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-14 Thread Ulrich Eck
I'm searching for something that handles a newItem(meta_type,key) function that is provided from the FwCS who decides which object-type is created and gets those attributes from the customizer Just use the normal Zope "add list" to create one manually, or call the appropriate constructors

Re: [Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-14 Thread Phillip J. Eby
At 02:49 PM 12/14/00 +0100, Ulrich Eck wrote: after a while I think I got it now. I use a FcWS as a Folder like usual in Zope and if i create an object of a type which is "customized" certain attributes will be set through the customizer. Yes. so for a database app that handles multiple

Re: [Zope-dev] ZPatterns: General Design Question

2000-12-14 Thread Phillip J. Eby
At 02:42 PM 12/14/00 +0200, Roch'e Compaan wrote: As part of a Customer Relationship Management system our company is developing, we have a Licenses specialist which manages product licenses. All license objects do not have the same attributes however. The various attributes relating to

Re: [Zope-dev] [ZPatterns] DataSkin object ownership

2000-12-14 Thread Ty Sarna
In article [EMAIL PROTECTED], Phillip J. Eby [EMAIL PROTECTED] wrote: At 08:04 PM 12/12/00 -0500, BS wrote: Do DataSkins have ownership? I want to give multiple users the ability to add objects to a rack and only allow the 'owner' to view/edit the object. DataSkins stored in Racks do not

[Zope-dev] Catalog class--does it support boolean queries?

2000-12-14 Thread Marc Conley
I am working on a project which requires the use of the Catalog class (versus ZCatalog) for indexing and querying. I have basic full text indexing and querying working correctly but boolean queries seem not to work. Should boolean queries work using Catalog or is it necessary to use ZCatalog

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-14 Thread Casey Duncan
Marc Conley wrote: I am working on a project which requires the use of the Catalog class (versus ZCatalog) for indexing and querying. I have basic full text indexing and querying working correctly but boolean queries seem not to work. Should boolean queries work using Catalog or is it

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-14 Thread Dieter Maurer
Marc Conley writes: Should boolean queries work using Catalog or is it necessary to use ZCatalog instead to get that functionality? ZCatalog is nothing more than a thin wrapper around Catalog (to make a Catalog a persistent object in ZODB). All search facilities of ZCatalog

[Zope-dev] IE5 / Medusa bug?

2000-12-14 Thread seb bacon
Tempting fate by claiming a bug...but although I'm sure I'm at fault here, there's no sensible reason for the results I'm getting. When I view one of several different pages with IE5, the last 11 bytes don't reach the browser. I've got a couple of other people to try it out. One of them

[Zope-dev] Core Session Tracking Development Release 0.1

2000-12-14 Thread Chris McDonough
Hi, A development release of the fruits of the "core session tracking" Fishbowl project (http://dev.zope.org/Wikis/DevSite/Projects/CoreSessionTracking/FrontPage) is available at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking. It allows you to keep state across requests for

[Zope-dev] Re: [Zope] IE5 / Medusa bug?

2000-12-14 Thread Evan Simpson
From: seb bacon [EMAIL PROTECTED] I imagine the fact that I can make it work by adding index_html is the most telling point, but it's not telling me anything ;) Leaving off index_html causes Zope to add a base href to the head. That's the only difference I can think of. Your page doesn't get

[Zope-dev] ZPatterns, ZClasses, Specialists: Assigning responsibilities

2000-12-14 Thread Itai Tavor
I'm having problems deciding where certain methods should be implemented. In some cases it's easy - for example, objects manage themselves, Specialists manage collections, so editInstanceForm belongs in the ZClass, while listOpenOrders belongs in the Specialist. But here are some cases where

[Zope-dev] keyword indexes

2000-12-14 Thread Josh Zeidner
Hi, Currently I am wrestling with "keyword" indexes in ZCatalogs. How do I query the ZCatalog for all records of objects indexed on a particular keyword. For instance if my index is named MediaKeyword ive tried: dtml-in "Catalog.searchResults( MediaKeywords = ['ouch'] )" this has

[Zope-dev] more on keyword indexes

2000-12-14 Thread Josh Zeidner
Hello, I did a little more investigiation into the problem, and couldnt really find any documentation anywhere on what the actual semantics are of keywords and how they are queried. For instance: I have three classes and each has an keyword index named KW: ObjectOne:KW =

[Zope-dev] urllib not available in Python Scripts?

2000-12-14 Thread Itai Tavor
Hi, sorry for the recent barrage of posts... In Python Methods I could do urllib.quote(...). This doesn't work in Python Scripts. Is quote considered a security risk? Itai -- Itai Tavor"Je sautille, donc je suis." C3Works[EMAIL PROTECTED] - Kermit the

[Zope-dev] Re: [Zope] IE5 / Medusa bug?

2000-12-14 Thread Jerome Alet
On Thu, 14 Dec 2000, Evan Simpson wrote: From: seb bacon [EMAIL PROTECTED] I imagine the fact that I can make it work by adding index_html is the most telling point, but it's not telling me anything ;) Leaving off index_html causes Zope to add a base href to the head. That's WHOW !