Re: [Zope-Coders] ZClass problem in 2.8 (Was: Re: [Zope-dev] Upcoming Zope 2.8 release)

2005-06-07 Thread Andreas Jung
--On 7. Juni 2005 16:10:55 +1000 Anthony Baxter [EMAIL PROTECTED] wrote: On Tuesday 07 June 2005 14:27, Andreas Jung wrote: This is likely a task for Jim. I don't have any about ZClasses (and I won't them). If necessary this problem might be fixed in a later release. This problem is not as

Re: [Zope-Coders] ZClass problem in 2.8 (Was: Re: [Zope-dev] Upcoming Zope 2.8 release)

2005-06-07 Thread John Barratt
Andreas Jung wrote: According to Jim ZClasses are working. A possibly isolated bug in ZClasses is bad but there are in general lots of such bugs in Zope. So this is not a release stopper for me now. As far as I can see this is either a serious bug with respect to ZClasses in that they just

Re: [Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-06-07 Thread Florent Guillaume
Lennart Regebro [EMAIL PROTECTED] wrote: I get TypeError: object does not support item assignment in lin 46 och class_init.py. The offending code is d['_implicit__name__'] = 1 and this is because d is a proxydict. This in turn is caused by Localizer having a class as a class attribute:

[Zope-dev] Re: [Zope-Checkins] CVS: Packages/Signals - WinSignalHandler.py:1.1.2.2

2005-06-07 Thread Tim Peters
[Mark Hammond] Update of /cvs-repository/Packages/Signals In directory cvs.zope.org:/tmp/cvs-serv23505 Modified Files: Tag: Zope-2_7-branch WinSignalHandler.py Log Message: As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process,

[Zope-dev] RE: [Zope-Checkins] CVS: Packages/Signals - WinSignalHandler.py:1.1.2.2

2005-06-07 Thread Mark Hammond
Mark, should Zope's nt_svcutils/service.py also be changed to import pywintypes first? Its import block looks like this now: import sys, os, time, threading, signal import win32api, win32event, win32file, win32pipe, win32process, win32security import win32service, win32serviceutil,

Re: [Zope] Working with CSS'

2005-06-07 Thread David H
Tino Wildenhain wrote: Am Montag, den 06.06.2005, 20:51 -0700 schrieb Jason Leach: hi, I have a site developed with CSS. We just translated the site to German. The problem I have is with some embedded graphics. For example: #rightcolumn h1 { background: transparent

Re: [Zope] XMLRPC problems?

2005-06-07 Thread Dennis Allison
There was a security fix for XMLRPC which was installed in 2.3.5 and 2.4.1 and elsewhere which is not fully backwards compatible. I have yet to establish whether the fix is causing problems, but that was the information I needed. On Tue, 7 Jun 2005, Andreas Jung wrote: --On 6. Juni

Re: [Zope] XMLRPC problems?

2005-06-07 Thread Tino Wildenhain
Am Montag, den 06.06.2005, 15:14 -0700 schrieb Dennis Allison: Zope 2.7.6, ZEO, Python 2.4.1 (yes, I know it is not yet official but ... ^^^ if you use it, you are on your own to fix or at least _file_ bugs. ZEO runs on the same machine but is accessed through an internal network

Re: [Zope] Pre-indexing filter and accented letters

2005-06-07 Thread Yuri
Dieter Maurer ha scritto: Yuri wrote at 2005-6-6 11:56 +0200: I would like to index a text property of an object in the ZCatalog. The text is in French language, but I have a problem: I have to find results for the related non accented letters! I mean, If I do a search for actualite,

[Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Dennis Allison
Zope 2.7.6 Python 2.3.5 MySQLDA-1.2.1c3 ZMYSQLDA-2.09b3 Site Error An error was encountered while publishing this resource. Error Type: KeyError Error Value: 'query' Troubleshooting Suggestions * This resource may be trying to reference a nonexistent object or variable 'query'. *

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Joe Bezier
Hi there, By any chance are you trying to test a ZSQL method that doesn't (shouldn't) need any query parameters? For some reason (and I'm not the guy who can tell you why...) these types of tests always break - try adding '?query=' to the end of the URL. and see if that helps. Cheers, Joe.

[Zope] userFolder that holds user's email

2005-06-07 Thread Haim Ashkenazi
Hi I'm looking for a zope (not plone) userFolder that can hold the user's email and perhaps full name. It should be the same authentication method, but with additional fields. Do I have to write one myself or are there already products that have this feature? thanx -- Haim

Re: [Zope] userFolder that holds user's email

2005-06-07 Thread Joe Bezier
Have a look at ExUserFolder (http://sourceforge.net/projects/exuserfolder/) we use it and I think it's great... Cheers, Joe On 7 Jun 2005, at 12:27, Haim Ashkenazi wrote: Hi I'm looking for a zope (not plone) userFolder that can hold the user's email and perhaps full name. It should be the

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Tino Wildenhain
Am Dienstag, den 07.06.2005, 12:03 +0100 schrieb Joe Bezier: Hi there, By any chance are you trying to test a ZSQL method that doesn't (shouldn't) need any query parameters? For some reason (and I'm not the guy who can tell you why...) these types of tests always break - try adding

[Zope] Zope product tree inheritance...

2005-06-07 Thread Joe Bezier
Hi there, I'm using Zope 2.7.5 and have various instances running from the same code base - I've edited one of my products and I'd like to test it in one particular instance. Can anyone tell me whether Zope will use the Product in the [instance]/Products folder ahead of the one in the main

[Zope] Re: userFolder that holds user's email

2005-06-07 Thread Haim Ashkenazi
On Tue, 07 Jun 2005 12:37:36 +0100, Joe Bezier wrote: Have a look at ExUserFolder (http://sourceforge.net/projects/exuserfolder/) we use it and I think it's great... yes, it sure looks like a great product. thanx... Bye -- Haim ___ Zope

[Zope] zope 2.7: Unauthorized in this context

2005-06-07 Thread John Hunter
I recently upgraded my zope server to 2.7 and a product I wrote which makes heavy use of Z-Classes is now broken. This is a workflow site for a course, and there are Course, Section, Student, ProjectSubmission, etc as ZClasses. To view the page at all students undergo basic authentication.

[Zope] DiskBased Product question

2005-06-07 Thread Haim Ashkenazi
Hi I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products. for example, If I select my product from the Add list, it'll create a folder, insert my code into it, but also insert mailhost, database

Re: [Zope] DiskBased Product question

2005-06-07 Thread Andreas Jung
--On 7. Juni 2005 19:35:23 +0300 Haim Ashkenazi [EMAIL PROTECTED] wrote: Hi I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products. The Zope Developers Guide from zope.org? There are also some

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Dennis Allison
I've never had any problem with parameterless queries. (-: No, this is a simple case of a parameter somehow being lost in the ZMI interface. On Tue, 7 Jun 2005, Joe Bezier wrote: Hi there, By any chance are you trying to test a ZSQL method that doesn't (shouldn't) need any query

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Allen Schmidt
This bounced around on the list recently. It is supposed to be fixed now but the solution is modifying the source and changing how the batching is done. It works if less than 20 records returned...blows up if more. You can test this by forcing your query to only return a few records. Can't

Re: [Zope] DiskBased Product question

2005-06-07 Thread J Cameron Cooper
Haim Ashkenazi wrote: I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products. for example, If I select my product from the Add list, it'll create a folder, insert my code into it, but also insert

[Zope] Product architecture question (long)

2005-06-07 Thread Nikko Wolf
I've been using Zope (w/Plone) for some time now and am still trying to understand how best to architect the solution for my site. I'm presuming I need to create a Product for the new types of objects/files I want, but even on that topic I'm not completely convinced. My objectives and

Re: [Zope] Product architecture question (long)

2005-06-07 Thread robert rottermann
Nikko Wolf wrote: I've been using Zope (w/Plone) for some time now and am still trying to understand how best to architect the solution for my site. I'm presuming I need to create a Product for the new types of objects/files I want, but even on that topic I'm not completely convinced. My

Re: [Zope] Print a web page using dtml

2005-06-07 Thread Jaroslav Lukesh
Dne nedle, 5. ervna 2005 10:40 Allen Huang [EMAIL PROTECTED] napsal(a): How do I use dtml or python script to print a page through a printer?? with Linux OS it is possible. But not as much easy. Keywords: lpr ;-) Some of few possible ways to generate PDF (search zope.org) + pdf2ps Other ways:

Re: [Zope] Zope 2.7.2 with Ape 1.0 installed in root, fails to restart, without any usefull logging, after adding a local role

2005-06-07 Thread Tim Connor
Thanks, for the hint, Dieter. Unfortunately, I believe this doesn't apply in our case, as we have that set to the default (on). Tim Dieter Maurer wrote: Tim Connor wrote at 2005-6-5 18:56 -0600: I also get this error a lot when trying to add an object through the ZMI in an Apeified

[Zope] SQL query manage_test throws KeyError vith value 'query'

2005-06-07 Thread Dennis Allison
Failure occurs with Zope 2.7.6 final Python 2.3.5 or Phython 2.4.1 MySQLdb 1.2.1 gamma or MySQLdb 1.1.1 final ZMySQLDA 2.08 or ZMYSQLDA 2.09 Failure does not occur with Zope 2.6.4 python 2.3.5 MySQLdb 1.1.1 final ZMySQLDA 2.08 The

Re: [Zope] XMLRPC problems?

2005-06-07 Thread Andreas Jung
I am now as clueless as before. -aj --On 6. Juni 2005 23:54:40 -0700 Dennis Allison [EMAIL PROTECTED] wrote: There was a security fix for XMLRPC which was installed in 2.3.5 and 2.4.1 and elsewhere which is not fully backwards compatible. I have yet to establish whether the fix is causing

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-07 Thread Dieter Maurer
Edward Huixquic wrote at 2005-6-7 01:11 -0500: Since you sent your reply not to the list but to my email That was a mistake. It should have gone to the mailing list... I dared to respond directly, let me know if you prefer not to receive direct emails and sorry if my dare bothered you. In