[Zope] multiple selects are not allowed

2000-12-13 Thread Diny van Gool
Hi, I want to execute multiple SQL statements in one SQL-Method. In the mailinglist archives i found the answer but when i try it i get an error: Error, exceptions.ValueError: multiple selects are not allowed I used a simple Z SQL Method query (Zope 2.2.2) just to try: select * from

Re: [Zope] Python Scripts and Versioning

2000-12-13 Thread Chris Withers
Michel Pelletier wrote: See, people used to post helpful little things like this in DTML. What a nightmare. Python Scripts rock! We're gonna be seein' alot more of them fly by on the list once people get over the initial shock that they can do 90% of what they've been doing in Python.

Re: [Zope] SiteAccess, SSL + SiteRootBASE

2000-12-13 Thread Chris Withers
emf wrote: I do this in the access rule. dtml-if "condition" dtml-call "REQUEST.set('SiteRootBASE','some-value')" /dtml-if Shouldn't that access rule be a Python Script: if condition: REQUEST.set('SiteRootBASE','some-value') *grinz* Chris

Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Chris Withers
Michel Pelletier wrote: On Tue, 12 Dec 2000, Chris Withers wrote: That being said, perhaps you can be the first person to get it to work using the various free ports of gcc to windows. There a how-to on compiling with gcc anywhere? cheers, Chris

[Zope] Dreamweaver and WebDav

2000-12-13 Thread Hans de Wit
Is anybody using the combination Dreamweaver 4 WebDAV Zope already? A connection was easy to make. At the moment i want to put or get something "access to the desired resource is denied by the server". I checked my password, i have the correct rights, and it is working more or less fine on

[Zope] Gopher from Zope

2000-12-13 Thread Dario Lopez-Kästen
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. Thanks, /dario :)) read all about it: gopher://gopher.heatdeath.org/00/the%20gopher%20manifesto.txt -

Re: [Zope] Gopher from Zope

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Dario Lopez-Kästen wrote: I wanna serve gopher:// from Zope :-) Is it possible? It is possible, but no so simple. How would you map gopher menues to Zope objects? On the positive side - thanks Zope for your component-based architecture. You just need to write

Re: [Zope] multiple selects are not allowed

2000-12-13 Thread Jose Soares
from ZSQL Methods User's Guide, last row on pag. 22: "Note that no more than one SQL select statement may be used in a single SQL Database Method." Diny van Gool wrote: Hi, I want to execute multiple SQL statements in one SQL-Method. In the mailinglist archives i found the answer but

Re: [Zope] multiple selects are not allowed

2000-12-13 Thread Dario Lopez-Kästen
- Original Message - From: "Jose Soares" [EMAIL PROTECTED] Subject: Re: [Zope] multiple selects are not allowed from ZSQL Methods User's Guide, last row on pag. 22: "Note that no more than one SQL select statement may be used in a single SQL Database Method." Diny van Gool wrote:

[Zope] Advanced Transactions:

2000-12-13 Thread Paolo Quaglia
Hi All, I'm building a high transaction traffic db application using Zope. I used for this tests two DB: MSAccess 97 and SQL Server 7.0 with the ZODBCDA product I havemade some tests and I have found this: The test is: I have two DTML document called Test1 and Test2 I have 2 ZSQL

[Zope] default values in forms

2000-12-13 Thread Olaf Zanger
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 found out that spaces may be replaced by "+" in the link, but how do i get the "+" into the

Re: [Zope] Problems with adding tutorial

2000-12-13 Thread Aleksander Salwa
On Tue, 12 Dec 2000, Bob Sidebotham wrote: I did see the messages regarding creating a non-admin user and authenticating as that user (by first terminating the zope process). I did all that. Terminating BROWSER, not Zope. Please note that I'm using the latest zope tarball: Linux

[Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
I just try to automatically get a list of subfolders, following the example in the ZopeBook http://www.zope.org/Members/michel/ZB/SimpleExamples.html. Here is my code, in a DTML method in the root folder: ul dtml-in expr="objectValues('Folder')" lia href="dtml-var absolute_url"

[Zope] More on DB Transactions

2000-12-13 Thread Paolo Quaglia
Reading the [EMAIL PROTECTED] archive I found one message with an interesting sentence: [Message] I am currently considering and evaluating Zope as one of the options we have to build a really large, completely databasedriven "enterprise scale" web-platform. I am a bit worried about this

Re: [Zope] HTTPServer.py patch

2000-12-13 Thread Evan Simpson
From: Oleg Broytmann [EMAIL PROTECTED] I've got the patch from the mailing list. I saw only one replacement HTTPServer.py here - 13979 bytes in size. Looks like you've got the one that only works with Zope 2.0 - 2.1.6. If you're using Zope 2.2.0 or above, you need the other one. See

Re: [Zope] HTTPServer.py patch

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Evan Simpson wrote: Looks like you've got the one that only works with Zope 2.0 - 2.1.6. If you're using Zope 2.2.0 or above, you need the other one. See http://www.zope.org/Members/4am/postbugfix Got it. Now it works. Thank you. Oleg. Oleg Broytmann

RE: [Zope] HTML formatting from a text field

2000-12-13 Thread Lee Hunter
Hi Ausum, Do you mean a text field that shows a row of formatting buttons at the top for 'bold', 'italic' 'add link' etc. There is an ActiveX control that is built in to IE Explorer 5.x - you just have to call it from your page. Here's the information from Microsoft:

Re: [Zope] More on DB Transactions

2000-12-13 Thread Rik Hoekstra
Paolo Quaglia wrote: Reading the [EMAIL PROTECTED] archive I found one message with an interesting sentence: [Message] I am currently considering and evaluating Zope as one of the options we have to build a really large, completely databasedriven "enterprise scale" web-platform.

Re: [Zope] HTML formatting from a text field

2000-12-13 Thread Rik Hoekstra
Lee Hunter wrote: Hi Ausum, Do you mean a text field that shows a row of formatting buttons at the top for 'bold', 'italic' 'add link' etc. There is an ActiveX control that is built in to IE Explorer 5.x - you just have to call it from your page. Here's the information from

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-13 Thread Simon Michael
do you see more than one page name in your url path - eg FrontPage/FrontPage ? are you acquiring a different standard_wiki_header from somewhere ? are you failing to acquire it ? (does page source include "!-- end of default_wiki_header --" ?) are permissions ok ?

[Zope] HTML formatting from a text field

2000-12-13 Thread David Spencer
Ausum, I would suggest going to the website for Lotus Quickplace (www.quickplace.com or www.lotus.com) and signing up for a demo account. They've got a very simple word processor (bold, italics, a couple of fonts, etc.) integrated into their project sites that, I think, does what you're

Re: [Zope] Last day of Month

2000-12-13 Thread Jose Soares
Use an External Method like this one. # Perché non usare un metodo esterno? from DateTime import Date def lastDay(year,month): try: last = Date(year,month+1,1)-1 return last.day except: return 31 José Eric Walstad wrote: Hi Paolo, I have a Python Metho... er

[Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
I am working on generating a directory from Zope objects. There is a folder full of units (other folders). These units contain people (more folders). Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set?

Re: [Zope] turning off inheritance

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Kyler B. Laird wrote: Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set? I've tried dtml-if "_.hasattr(this(), 'contact_email')" Something like dtml-if

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
An ugly solution is a href="adr_change_frm?f_id=dtml-var "_.string.replace(id, ' ', '+'"f_name=dtml-var "_.string.replace(name, ' ', '+')""c/a Be careful that other none url compliant characters dont slip into your variables. -- Andy McKay, Developer. ActiveState. - Original Message

Re: [Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
On Wed, 13 Dec 2000 19:39:43 +0300 (MSK) you wrote: On Wed, 13 Dec 2000, Kyler B. Laird wrote: Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set? I've tried dtml-if "_.hasattr(this(),

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

2000-12-13 Thread Eric Walstad
Hi Angie. First off, I think there are some users in the list that are unable to read HTML formatted email. I've seen a lot of requests for folks to send only plain text messages to the list. Well, I don't run Zope on a Windows machine, so maybe I'm wrong here, but the output you've shown

Re: [Zope] turning off inheritance

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Kyler B. Laird wrote: dtml-if "_.hasattr(aq_explicit, 'contact_email')" (untested, but I use this in External Methods) Consider it tested. It works great from DTML. Now that I know what to seek, I found a couple of old messages that reference this. I'm still

Re: [Zope] turning off inheritance

2000-12-13 Thread Rik Hoekstra
"Kyler B. Laird" wrote: I am working on generating a directory from Zope objects. There is a folder full of units (other folders). These units contain people (more folders). Units and people both have contact information stored in their properties. How do I detect if a person has,

[Zope] Response.redirect problem **sometimes** on netscape

2000-12-13 Thread Didier Georgieff
Hello, I'm doing a form for deleting objects within our site design (no manage interface). All goes well, with a FORM FORM ACTION="dtml-var URL1" METHOD="POST" . [ we create the ids:list here] INPUT TYPE="SUBMIT" NAME="myDelete:method" VALUE="Del" myDelete method does also the redirect

Re: [Zope] default values in forms

2000-12-13 Thread Stefan H. Holek
On Wed, 13 Dec 2000, Olaf Zanger wrote: i found out that spaces may be replaced by "+" in the link, but how do i get the "+" into the dtml-var ... statement? what you want is dtml-var blah url_quote see the DTML guide: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html HTH

[Zope] Strange Win2000 Service behaviour

2000-12-13 Thread peter bengtson
I restarted the Zope server from the Control Panel inside Zope and it took a long time untill it was back up again. About 20 seconds. During these 20 seconds, I started to suspect that the service wasn't working, so I manually pressed the "Start" on the Zope Server inside the Control panel in

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
Oops forgot about that. Yep use that. That's it I'll stop answering questions until at least 3 cups of tea in the morning. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Stefan H. Holek" [EMAIL PROTECTED] To: "Olaf Zanger" [EMAIL PROTECTED] Cc: "Zope Mailinglist"

[Zope] Squishdot with access restrictions

2000-12-13 Thread Ragnar Beer
Howdy Zopistas! Has anyone installed a Squishdot site with access restrictions? I've got the problem that as soon as I take away the "view" and "access contents information" permission from the anonymous user in my Squishdot site I cannot use the search interface anymore but only get

[Zope] XEmacs DTML Mode

2000-12-13 Thread Alastair Burt
I have made many changes to my DTML Mode Howto and the associated files, which can be found here: http://www.zope.org/Members/alburt/dtml_mode.html The Howto explains how to get the benefits of Lennart Staflin's PSGML mode when editing DTML code. PSGML is a wonderful package for

[Zope] feedback on ZCatalog section of Zope Book

2000-12-13 Thread Josh Zeidner
I tried out the example in the Zope book and found that the ZCatalog aware example only works if you create the "default" catalog as explained elsewhere( must be named "Catalog" ). Am I doing something wrong or is this an error in the book? -keep up the good work! Josh Zeidner

Re: [Zope] Important Fix for Zope 2.2.x

2000-12-13 Thread The Doctor What
* Evan Simpson ([EMAIL PROTECTED]) [001210 10:27]: Thanks to Jeff Ragsdale, we've finally been able to kill a longstanding bug that allows POST requests to interfere with each other. Symptoms include corrupted or aborted File and Image uploads, and stupid-log messages about "AttributeError:

[Zope] SiteAccess and Roles

2000-12-13 Thread The Doctor What
I have site access running, but I apparently don't fully grok roles. I have a directory layout like so: /ZopeRoot /site1 /site2 /site3 /user_acl(2) /user_acl(1) My site access rule is at: http://linuxasm.gerf.org:9673/siteid/view_source All the site[123] directories are SiteRooted

[Zope] Can't RENAME using ftp (was Re: [Zope] Dreamweaver and WebDav)

2000-12-13 Thread Paul Browning
On Wed, 13 Dec 2000 12:38:36 MET Hans de Wit [EMAIL PROTECTED] wrote: Is anybody using the combination Dreamweaver 4 WebDAV Zope already? I'm waiting for the evaluation version to become available . A connection was easy to make. At the moment i want to put or get something "access to

[Zope] SOAP support in Zope?

2000-12-13 Thread Brad Clements
I'm thinking of using the MS WebServices IE behaviour with Zope. But when searching the zope site for info on soap, I find only a news announcement saying it will be supported in 2000. I've grepped the source, can't find a mention of soap. I thought someone had posted a patch to enable soap

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
On Wed, Dec 13, 2000 at 11:31:34AM -0600, Tim Cook wrote: Are you sure you put it in a DTML Method and not a DTML Document? Well, viewing the object through the management interface says so. To be sure, I created a new object from scratch and changed the standard_html_header to use it. Same

Re: [Zope] default values in forms

2000-12-13 Thread Ivan Cornell
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 found out that spaces may be replaced by "+" in the link, but how do

Re: [Zope] feedback on ZCatalog section of Zope Book

2000-12-13 Thread Andy McKay
That is true of CatalogAware objects, there must be a catalog called "Catalog"... the book is right. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Josh Zeidner" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 9:36 AM Subject: [Zope]

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

2000-12-13 Thread Ronald L. Roeber
Quesrion(s): Is the recommended install of Python Scripts for Zope 2.24 this? http://www.zope.org/Members/4am/PythonMethod even though it appears to be exactly one year old today (13-Dec)? This is also the date in the CHANGES.txt file in 2.3_a1 PythonScripts directory. Can I just copy the

Re: [Zope] Strange Win2000 Service behaviour

2000-12-13 Thread Andy McKay
Have you tried refreshing the Control Panel? If not just kick it (restart) from the Control Panel. I have found that the Control Panel is normally in sync with the service. Actually I got a little more nasty and wrote some Perl scripts to restart/reboot Zope servers/machines... -- Andy McKay,

[Zope] dtml decimals

2000-12-13 Thread Andy McKay
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? Cheers. -- Andy McKay, Developer. ActiveState. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] default values in forms

2000-12-13 Thread peter bengtson
snip i found out that spaces may be replaced by "+" in the link, but how do i get the "+" into the dtml-var ... statement? dtml-var something url_quote_plus Can't honestly remember where the word "plus" is supposed to be, but search the DTML Reference documentation. thanks for help olaf

RE: [Zope] HTML formatting from a text field

2000-12-13 Thread sean . upton
I remember reading somewhere about messaging between Java applets and JavaScript code in the browser, allowing JavaScript code from a web form to manipulate the applet output; the example was typing something into a text box, clicking a button in a form, and having that rendered in some obscure

Re: [Zope] dtml decimals

2000-12-13 Thread Andy McKay
Well for one thing that example should be dtml-var "3/2" fmt="%.2f" -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "zope-misc" [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 10:03 AM Subject: [Zope] dtml decimals dtml-var

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Tim Cook
Stephane Bortzmeyer wrote: Could it be an error in the calling code? I just say: dtml-var navbar If the calling code is within a DTML Document, then yes. The DTML Method is within the calling namespace. You would need to set up the correct namespace first using dtml-with or PARENTS[x]

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

2000-12-13 Thread Evan Simpson
From: Ronald L. Roeber [EMAIL PROTECTED] Is the recommended install of Python Scripts for Zope 2.24 this? http://www.zope.org/Members/4am/PythonMethod even though it appears to be exactly one year old today (13-Dec)? Wow, I didn't realize today was its anniversary :-) No, this isn't the

Re: [Zope] DA Adapter for transactional DB

2000-12-13 Thread Andy McKay
ZODBC: http://www.zope.org/SiteIndex/search?text_content=ZODBC -- Andy McKay, Developer. ActiveState. - Original Message - From: "Paolo Quaglia" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 10:08 AM Subject: [Zope] DA Adapter for transactional DB

Re: [Zope] Important Fix for Zope 2.2.x

2000-12-13 Thread Evan Simpson
From: The Doctor What [EMAIL PROTECTED] Will these be released as Hotfixes? Or just new versions? Or is this it? Hotfixes are pretty much reserved for critical security holes. Zope 2.3 (and possibly an interim 2.2.5 release) and above will have the fix. Fortunately, HTTPServer has had *very*

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Evan Simpson
From: The Doctor What [EMAIL PROTECTED] I tried both Owner and Manager roles in user_acl(2) but it doesn't work! Didn't work in what sense? They couldn't log in, or didn't get the access you expected? More access or less, or just weird? Cheers, Evan @ digicool 4-am

RE: [Zope] Dreamweaver and WebDav

2000-12-13 Thread Todd Coram
Is anybody using the combination Dreamweaver 4 WebDAV Zope already? A connection was easy to make. At the moment i want to put or get something "access to the desired resource is denied by the server". I checked my password, i have the correct rights, and it is working more or less fine on

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Evan Simpson
From: The Doctor What [EMAIL PROTECTED] I tried both Owner and Manager roles in user_acl(2) but it doesn't work! Didn't work in what sense? They couldn't log in, or didn't get the access you expected? More access or less, or just weird? Cheers, Evan @ digicool 4-am

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
On Wed, Dec 13, 2000 at 11:31:34AM -0600, Tim Cook wrote: Are you sure you put it in a DTML Method and not a DTML Document? OK, I get you: my code is in a DTML method but it was ultimately called by DTML documents, which produced the wrong result. If I create a DTML method, it works. After

Re: [Zope] SOAP support in Zope?

2000-12-13 Thread Petru Paler
On Wed, Dec 13, 2000 at 12:43:33PM -0500, Brad Clements wrote: I'm thinking of using the MS WebServices IE behaviour with Zope. But when searching the zope site for info on soap, I find only a news announcement saying it will be supported in 2000. I've grepped the source, can't find a

[Zope] charset from forms input

2000-12-13 Thread Matt
Hi, I seem to have come across the depressing fact that most browsers will not return a charset parameter in the http header when a form is submitted. For example, the following from Netscape ... (it happens with both IE and Netscape on many platforms I have tried ... Mac, all Windows, and

Re: [Zope] dtml decimals

2000-12-13 Thread Andy McKay
Yup, the implication there is that I am doing a 3/2, im not, that was an example. Im using variables and hence its easiest to cast one of them as a float is easier than adding .0 on to the end... Cheers. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Dyon

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-13 Thread Timothy Grant
On Wed, Dec 13, 2000 at 08:20:14AM -0800, Simon Michael wrote: do you see more than one page name in your url path - eg FrontPage/FrontPage ? On the very first page, yes, as the folder and the WikiPage have the same name. However, the header appears on this page. are you acquiring a

[Zope] rss

2000-12-13 Thread Andy McKay
Ok, ive seen lots of products and ways of creating RSS files, but I havent been able to spot one that reads other peoples (eg ZNN, Slashdot). Is there such a product? -- Andy McKay, Developer. ActiveState. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] dtml decimals

2000-12-13 Thread Dieter Maurer
Andy McKay writes: 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? This is a Python feature: If both arguments are integers, the division is performed as an integer division.

Re: [Zope] Response.redirect problem **sometimes** on netscape

2000-12-13 Thread Dieter Maurer
Didier Georgieff writes: dtml-call "RESPONSE.redirect(URL1)" In IE5 works fine, but NO REDIRECT on Netscape 4.51 (blank page and the post data still there), while the RESPONSE.redirect **works** on other occasions with N4.51. I use Shane's "tcpwatch" (-- zope.org) to analyse

[Zope] Re: PIL Problem

2000-12-13 Thread Max M
--- Luc Tonin [EMAIL PROTECTED] wrote: well i m still trying to insert some text in a gif image using PIL but what should i do??? using da PSDraw class?? does anybody have an id ?? thx by advance Here is an example I got working under Windows. PIL has very limited font/text support

Re: [Zope] Problems with adding tutorial

2000-12-13 Thread Bob Sidebotham
After much playing around I determined that the problem was Python 2.0. I downgraded zope to 2.2.4 and still had the identical problem with python 2.0. Then when I downgraded python to 1.5.2 the problem finally went away. Bob --- Aleksander Salwa [EMAIL PROTECTED] wrote: Keep in mind that the

Re: [Zope] rss

2000-12-13 Thread Kevin Teague
I'm setting up some rss feeds, and I've just used the Site Summary product from here: http://www.zope.org/Members/edmundd/SiteSummary With Site Summary you can use the importRSS method to pull in a channel. I use a modified version of this script running on a cron job to update the rss

Re: [Zope] rss

2000-12-13 Thread Andy McKay
So it does, thanks! I throught I read through Site Access and managed to skip that. Yep a simple cron job and it will be updating nightly. Cheers. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kevin Teague" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED];

Re: [Zope] Broken LoginManager - Can't get it to install

2000-12-13 Thread Bill Welch
The source for DynPersist is in a sub-directory of ZPatterns. You have to go in and compile it. On Wed, 13 Dec 2000, Mohan Baro wrote: I can seem to figure out what wrong here. I have ZPatterns installed already 0.4.3b2 This is the latest LoginManager 0.8.8b1 LoginManager Import

[Zope] Object adding strangeness

2000-12-13 Thread Geoffrey L. Wright
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 \ \--

[Zope] stupid file upload question

2000-12-13 Thread Joh Johannsen
OK, there is a How-To on that, which is helpful, by benno But it says: "In you python external method you can now reference REQUEST.form['attached_file'] as a normal file. You can perform things such as read() on the object. " Now in my Python external method, I can

[Zope] *Problem on running the ZOPE by using ZmySQLDA

2000-12-13 Thread Angietel
Files\WebSite\z2.py" -D--2000-12-13T08:34:28 PROBLEM(100) ZServer Computing default hostname--2000-12-13T08:34:31 INFO(0) ZServer Medusa (V1.16.4.2) started at Wed Dec 1316:34:31 2000 Hostname: ANGIE Port:8080--2000-12-13T08:34:31 INFO(0) ZServer FTP server started at Wed Dec

Re: [Zope] PIL problem

2000-12-13 Thread Jason Byron
--- Luc Tonin [EMAIL PROTECTED] wrote: thx for your help but i don t find the font files ( courR14.pil and courR14.bpm) !!! Sorry for the late reply, I don't check this list until after work. If you have X windows and you have fonts in the bdf or pcf format you can use the script that

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

2000-12-13 Thread Ron Bickers
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 ACCESS_PRIVATE from

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Michael Bernstein
The Doctor What wrote: I have site access running, but I apparently don't fully grok roles. I have a directory layout like so: /ZopeRoot /site1 /site2 /site3 /user_acl(2) /user_acl(1) My site access rule is at: http://linuxasm.gerf.org:9673/siteid/view_source All

[Zope-dev] Adding and setting properties from a virtual Specialist

2000-12-13 Thread Itai Tavor
Hi, I have a Specialist ('OrderingEntities') which creates virtual objects, mapped to existing objects (using ZClass 'Employee') in another Specialist ('Employees'). I want OrderingEntities to add and modify a property 'current_order_id' on the Employee objects. I can get the virtual object

Re: [Zope-dev] Validation

2000-12-13 Thread Chris Withers
Brad Clements wrote: I keep making this patch to each Zope release, but would like to talk about a more permanant and "correct" solution. What do others think? Validation as a whole could do with looking at, it's be great if there were hooks to catch validation problems rather than just

[Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Lalo Martins
Found a bug, I think... when I try to add a property to a PropertyManager (but not a PropertySheet?) I get: Error Type: ImportError Error Value: cannot import name checkValidId Traceback (innermost last): File /opt/Zope-2.3.0a1-src/lib/python/ZPublisher/Publish.py, line 222, in

RE: [Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Brian Lloyd
Found a bug, I think... when I try to add a property to a PropertyManager (but not a PropertySheet?) I get: Error Type: ImportError Error Value: cannot import name checkValidId Thanks - the fix should be checked in shortly... Brian Lloyd[EMAIL PROTECTED] Software Engineer

[Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
Has anyone got python 2.0 working with Zope on windows? Just curious if anyone has any pointers before I start done this (potentially) painful path... -- Andy McKay, Developer. ActiveState. ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Josh Zeidner
Ive successfully installed the latest version of zope on windows and have it running my website. http://www.brooklynmedialabs.com . Its actually easier than running it on linux! -josh Has anyone got python 2.0 working with Zope on windows? Just curious if anyone has any pointers before I

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
using python 2.0 and not the default python installation? -- Andy McKay, Developer. ActiveState. - Original Message - From: "Josh Zeidner" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 9:18 AM Subject: RE: [Zope-dev] python

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

2000-12-13 Thread Ulrich Eck
after one more day of source-code-reading i got that far: When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use Specialists. i create a FwCS and put my 'Framework' in it. if i want to access (get/new) an object handled by a customizer i can ask

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

2000-12-13 Thread Phillip J. Eby
At 06:31 PM 12/13/00 +0100, Ulrich Eck wrote: after one more day of source-code-reading i got that far: When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use Specialists. Not to store your objects, no. You can still use Specialists to concentrate search methods,

[Zope-dev] ZClass registry repair utility

2000-12-13 Thread Shane Hathaway
I've written a utility you can use to clean up the global registry of ZClasses. The registry can become corrupt through product upgrades--not ZODB corruption, but missing base classes and so forth. This utility recreates the registry. http://www.zope.org/Members/hathawsh/ZGlobalsRepair It's

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
Waffling on to my own posts... but it would seem I have to build Zope from source to get it to use another version of python since the use of python15.dll is entrenched in Zope... All the install scripts seem to be based on unix. Can DC give me a hand here on pointers to how they build it for

Re: [Zope-dev] Adding and setting properties from a virtual Specialist

2000-12-13 Thread Steve Spicklemire
Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai "OrderingEntities.getItem(some_id).current_order_id)" shows Itai me the value of current_order_id of the Employee object Itai some_id. But I can't figure out how to change the property Itai so it get changed in the

[Zope-dev] zPoPyDA and DB Transactions

2000-12-13 Thread Casey Duncan
I had been using Postgres with the zPyGreSQLDA and recently switched to zPoPyDA for a new project. I noticed that zPoPyDA does not seem to implicitly wrap each zSQL method in a database transaction as zPyGreSQLDA did. Reading the code for zPoPyDA seems to confirm this. Is this behavior by design

RE: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Brian Lloyd
Waffling on to my own posts... but it would seem I have to build Zope from source to get it to use another version of python since the use of python15.dll is entrenched in Zope... All the install scripts seem to be based on unix. Can DC give me a hand here on pointers to how they build it

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
I think thats just the fella I need! Thanks... Will let you know progress -- Andy McKay, Developer. ActiveState. - Original Message - From: "Brian Lloyd" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000

[Zope-dev] Announcing ZODB-Corba code release

2000-12-13 Thread John D. Heintz
Here is the first release of code that exposes a ZODB database through CORBA (omniORB). The code is functioning, the docs are sparse, and it should work on your machines. ;-) I am only going to be in town for the next two days, then I will be unavailable until Jan 1. See

Re: [Zope-dev] Adding and setting properties from a virtualSpecialist

2000-12-13 Thread Itai Tavor
Steve Spicklemire wrote: Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai "OrderingEntities.getItem(some_id).current_order_id)" shows Itai me the value of current_order_id of the Employee object Itai some_id. But I can't figure out how to change the property

Re: [Zope-dev] Adding and setting properties from a virtualSpecialist

2000-12-13 Thread Steve Spicklemire
Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai Say I got several Participants, and some of those need to be Itai able to place orders. I create the Specialist Itai OrderingEntities to implement the role of 'someone who Itai places orders'. From what I understand

Re: [Zope-dev] Validation

2000-12-13 Thread Michael Bernstein
Chris Withers wrote: Brad Clements wrote: I keep making this patch to each Zope release, but would like to talk about a more permanant and "correct" solution. What do others think? Validation as a whole could do with looking at, it's be great if there were hooks to catch validation

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

2000-12-13 Thread weblabs
Not necessary. If you retrieve your DataSkin as an attribute of its container, the DataSkin __of__ method will automatically find and bind the DataManager (assuming you're not using some class that overrides __of__). ok i've gone all through the source searching for a method to get an