Re: [Zope] Zope crashes on request of certain page

2006-04-24 Thread Andreas Pakulat
On 24.04.06 08:26:02, Sven Jacobs wrote: > Dieter Maurer schrieb: > > >>Well, for testing I tried to copy the Zope DB (Data.fs.*) into a fresh > >>OpenSuSE 10.0 installation. Zope version there is 2.7.7. It works but now I > >>get an authorization request dialog on every page. Any idea what coul

Re: [Zope] Dynamic dictionary keys?

2006-02-27 Thread Andreas Pakulat
On 27.02.06 09:56:49, Andrew Hedges wrote: > Allow me to preface this by saying I am a complete newbie to Zope (I prefer > to > think of it as beginner's mind...). What I am attempting to do is > dynamically > add items to a dictionary, but Zope complains "keyword can't be an > expression".

Re: [Zope] how to let java applet using mysql database work in zope?

2006-02-26 Thread Andreas Pakulat
On 26.02.06 03:36:59, LonLon wrote: > Currently, I am trying to integrate one java applet to zope/plone. my java > applet use mySQL database and is working outside zope, however, when I > integrate my applet into zope, it can not take mySQL data anymore. Please > give me suggestions how to o

Re: [Zope] trying to open a file in database but couldn't

2006-02-26 Thread Andreas Pakulat
On 26.02.06 03:52:14, Allen Huang wrote: > I didn't realize that I mis type the code. The code what suppose to be .. >imageDataFile=StringIO(str(dataID.data)) If dataId is a string this won't work. > tfw = open(imageDataFile, "r") > > so, what your saying is that I don't need to open

Re: [Zope] help

2006-02-20 Thread Andreas Pakulat
On 15.12.05 20:14:51, adeline nombre wrote: > I wanted to install zope on my debian system but I noticed there is a > /usr/lib/zope directory. so I concluded zope has already been installed with > my debian system. so what to do now? I'm just beginning. You can find out about packages that are

Re: [Zope] missing add version in Zope

2006-02-09 Thread Andreas Pakulat
On 09.02.06 18:38:57, Luca Dall'Olio wrote: > I have been looking (almost) everywhere, but I can't find the "Version" line > in > the main combo box (the one for adding products). > This means that I cannot start working in a Version. > I can't find the "Add Version" line in the security tab, eit

Re: [Zope] major problems placing authentication on an extranet site-security flaw?

2006-02-08 Thread Andreas Pakulat
On 08.02.06 21:38:26, michael nt milne wrote: > Of course I did. Why on earth would you be able to view a front page of a > site when it is labelled as 'authenticated' and also as 'manager' ? just by > pressing cancel or return a few times. I just checked that with a plain Zope's index_html. I can

Re: [Zope] major problems placing authentication on an extranet site-security flaw?

2006-02-08 Thread Andreas Pakulat
On 08.02.06 21:25:33, michael nt milne wrote: > I've just tried this on a completely different server. I also made sure that > 'access contents information' was set to 'manager' and 'authenticated'. Wow, you read the zope-book on security, setup a new zope on a server and checked this in just 10 m

Re: [Zope] major problems placing authentication on an extranet site-security flaw?

2006-02-08 Thread Andreas Pakulat
On 08.02.06 16:48:08, michael nt milne wrote: > I have major problems here trying to set-up authentication over a whole > Plone site using Zope. Start simple, start up a plain Zope, create a ZPT or DTML and change it's view right. See what happens. > I find the Zope security, permissions set-up h

Re: [Zope] Re: htaccess with zope/plone ?

2006-02-07 Thread Andreas Pakulat
On 07.02.06 23:58:20, michael nt milne wrote: > Also, just to say that I did a test on only letting authenticated and > managers view the root page of the site over ssl. If you just cancelled the > login box or closed it, the whole front page was displayed without any css > but you could still get

Re: [Zope] zope 3 on debian sarge

2005-12-19 Thread Andreas Pakulat
On 19.12.05 14:16:20, Andreas Pakulat wrote: > On 19.12.05 13:37:53, adeline nombre wrote: > > can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I > > tried but I found many thing during the "make" step: directories to rename > > cause of the ca

Re: [Zope] zope 3 on debian sarge

2005-12-19 Thread Andreas Pakulat
On 19.12.05 13:37:53, adeline nombre wrote: > can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I tried > but I found many thing during the "make" step: directories to rename cause of > the casse: ZODB... > My coffee is over now because of this. ?? Are you using Zope on a F

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Andreas Pakulat
On 05.12.05 12:54:03, Durumdara wrote: > Hi ! Please reply to the list > So you say that I must use Zope 2.x (x=7,8) with Python 2.3 versions ? You don't have to, from what I read here on another Zope ML it can work. But as soon as you have problems and you want to get help here you're better of

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Andreas Pakulat
On 05.12.05 11:42:19, Durumdara wrote: > Hi ! > > I have home pc, and other pc in my corp. > > The home pc have py2.3, the work pc have py2.4. > > I installed Zope 2.8.4 in every system. > > I have been building a zope site in my home machine. Then I copy to usb > pendrive (data.fs), and move t

Re: [Zope] init.d script and out of place instances

2005-11-23 Thread Andreas Pakulat
On 23.11.05 23:59:34, Fernando Martins wrote: > As far as I can see and tried, the zope2.8 script only deals with instances > which are created in the default instance directory, > /var/lib/zope2.8/instance/. That could be, I don't have Zope2.8 installed here... > I would prefer to keep a specifi

Re: [Zope]

2005-10-25 Thread Andreas Pakulat
On 25.10.05 16:35:56, Peter Bengtsson wrote: > On 10/25/05, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > On 25.10.05 15:18:11, Peter Bengtsson wrote: > > > 1. You're not closing the tag correctly. > > > > Why's that? Because it's not close

Re: [Zope]

2005-10-25 Thread Andreas Pakulat
On 25.10.05 15:18:11, Peter Bengtsson wrote: > 1. You're not closing the tag correctly. Why's that? Because it's not closed? If he's using HTML 4.01 Transitional this is perfectly legal. > 2. This problem wouldn't have happened if you would have used ZPT > instead of DTML Yes it would, the prob

Re: [Zope]

2005-10-25 Thread Andreas Pakulat
On 25.10.05 17:03:09, Thomas G. Apostolou wrote: > i have a problem with Firefox. No you don't, you actually misunderstand something about URL's.. > "> That is not a correct URL, it's only a part of it. What you really want is: file:// > " alt="Alt > Text" width="150" height="150" > Same thin

Re: [Zope] ZOPE and INSTANCES

2005-10-14 Thread Andreas Pakulat
On 14.10.05 13:40:02, [EMAIL PROTECTED] wrote: > I installed Zope2.7 and created an instance home in /var/lib/zope2.7/instance > But whenever I try to run a instance by using "runzope" in > /var/lib/zope2.7/instance/, I will get the following error: -- > -bash: runzope: command not

Re: [Zope] INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-12 Thread Andreas Pakulat
On 12.10.05 12:15:33, [EMAIL PROTECTED] wrote: > > > It's probably not going to be enough anyway. > Oh.But is it possible to install a later "DEBIAN PACKAGE VERSION" because > installing DEBIAN PACKAGES does work? > Whenever I try to install ZOPE via apt-get, it is just the 2.6 version that > is

Re: [Zope] INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread Andreas Pakulat
On 07.10.05 19:34:32, [EMAIL PROTECTED] wrote: > > Because that, I assume > > that I have to kill certain processes in order to get more free swap - > > am I right? > > Probably not, no. > > Why not? I dont understand - killing processes does not mean getting their > space? if you can kill them

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-05 Thread Andreas Pakulat
On 05.10.05 17:09:45, [EMAIL PROTECTED] wrote: > Hello, > > I tried to install ZOPE from sources via "configure - make - make instance" > but unfortunately I always get the following error message when typing in the > "make" command. > > > > command 'gcc' failed with exit status 1 > > > -bas

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-09-28 Thread Andreas Pakulat
On 28.09.05 19:43:43, Benmania Guin wrote: > I am wondering whether everything will work properly if I have two servers > both an apache AND Zope running. As long as they don't use the same ports. > I distinguish them by ports - the "normal" 80 PORT for Zope (for all HTTP > requests) and Apach

Re: [Zope] Apache/Zope port redirection basic questions...

2005-09-25 Thread Andreas Pakulat
On 24.09.05 21:45:45, [EMAIL PROTECTED] wrote: > I made Apache redirect certain URLs to > a Zope/Plone site on port 8280 and it works. > > (e.g. mysite.com/lef --> mysite.com:8280/lefiss) > > > Question #1: I'm not sure now what is the need for Plone/Zope's > Virtual Host Monster??? Apache seems

Re: [Zope] security for ZPT-based Product

2005-07-11 Thread Andreas Pakulat
On 11.Jul 2005 - 17:49:16, Jens Vagelpohl wrote: > > On 11 Jul 2005, at 17:41, Andreas Pakulat wrote: > >add a security.declareProtected('comment_add_form', ' >granted to Authenticated users only>') > >Where the second string would be one of the righ

Re: [Zope] security for ZPT-based Product

2005-07-11 Thread Andreas Pakulat
On 11.Jul 2005 - 18:27:57, Milos Prudek wrote: > > > How can I manage permissions for imported ZPT files? > > Relevant lines from my Product: > > from AccessControl import ClassSecurityInfo > class MyClass(): > security=ClassSecurityInfo() > comment_add_form=PageTemplateFile('zpt/commen

Re: [Zope] Pass objects from template to template via HTML forms.

2005-07-04 Thread Andreas Pakulat
On 04.Jul 2005 - 22:53:58, Negroup - wrote: > Is there some way to pass an object from template A to template B via > HTML forms? > > A > > > > > > B > > > Template B prints: > form > obj '' > > I need the object itself, not the string representing the object! You do get the object itse

Re: [Zope] Re: External editor for ZMI

2005-06-28 Thread Andreas Pakulat
On 28.Jun 2005 - 07:12:14, ken wood wrote: > I've been following this discussion with some interest as I have never been > able to get ExternalEditor to work for me. Now, that said, I have it > confiured > enough that it will present me with an editor and a file (WinWord) by > clicking > on th

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 09:52:23, Paul Winkler wrote: > On Wed, Jun 22, 2005 at 02:02:30PM +0200, Andreas Pakulat wrote: > > No, method 2 aka ZClasses don't involve producing a Product. > > Sure it does. A ZClass-based Product is still a Product. Can't remember to have cr

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 12:04:02, Jim Vine wrote: > > On 21.Jun 2005 - 21:59:41, Jim Vine wrote: > > > Say, for example that my Zope App in some way has > > a > > > "House" object, which records the address, the > > owner, > > > and a short description. Later on, I may wish to > > add > > > further fields

Re: [Zope] ZPT code sample

2005-06-21 Thread Andreas Pakulat
On 21.Jun 2005 - 21:39:34, John Poltorak wrote: > On Tue, Jun 21, 2005 at 10:25:24PM +0200, Andreas Jung wrote: > > but when you work with ZPT you should have > > a certain knowledge in HTML and finding unmatched tag ends is something I > > consider really basic and which is support by nearly eve

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-21 Thread Andreas Pakulat
On 21.Jun 2005 - 21:59:41, Jim Vine wrote: > Say, for example that my Zope App in some way has a > "House" object, which records the address, the owner, > and a short description. Later on, I may wish to add > further fields to record, say, the number of bedrooms, > but the system is already in use

Re: [Zope] ZPT tutorial

2005-06-20 Thread Andreas Pakulat
On 20.Jun 2005 - 23:45:34, John Poltorak wrote: > > Does a ZPT tutorial exist anywhere? How about the 2 chapters in the Zope book? Andreas -- You are so boring that when I see you my feet go to sleep. ___ Zope maillist - Zope@zope.org http://mail.z

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Andreas Pakulat
On 16.Jun 2005 - 23:17:43, Jim Vine wrote: > Specifically, I've been scratching my head for a while > about how to handle a many-many relationship: a > property owner may own more than one house; > conversely, a house may have more than one co-owner - > consequently it's not appropriate to have eit

Re: [Zope] Accesing python module

2005-06-05 Thread Andreas Pakulat
On 05.Jun 2005 - 17:33:49, Leticia Larrosa wrote: > Thanks to Tino Wildenhain. > > Tino Wildenhain wrote: > > Zope on windows is packaged with own and right version > > of python, which is 2.3 for all current Zopes. > > Zope on Debian (for example) too? Yes, Debian packages for zope27 depend on

Re: [Zope] Calling a page template from a DTML document

2005-06-04 Thread Andreas Pakulat
On 04.Jun 2005 - 14:03:16, John Poltorak wrote: > Next I have to figure out how to pass parameters to the template. Read the other answer to your question... Andreas -- You'll be called to a post requiring ability in handling groups of people. ___ Zop

Re: [Zope] Creating links dynamically

2005-05-31 Thread Andreas Pakulat
On 31.Mai 2005 - 20:47:20, John Poltorak wrote: > Thanks for the suggestion, but I really am a novice when it comes to all > this and you are probably presuming more expertise than I have. Just a suggestion: Start reading the Zope Book (the latest version is on http://www.plope.com/Books/2_7Edit

Re: [Zope] what are the dtml for logout and deleting a existing user??

2005-05-11 Thread Andreas Pakulat
On 11.Mai 2005 - 20:32:33, Dieter Maurer wrote: > Allen Huang wrote at 2005-5-10 09:26 -0700: > >what are the dtml for logout of an account and deleting a existing user?? > > When you are using "basic HTML authentication", > then logout is a browser operation (and not a server one). Right. > Yo

Re: [Zope] Password Protection

2005-05-06 Thread Andreas Pakulat
On 06.Mai 2005 - 12:44:24, Jens Vagelpohl wrote: > > On May 6, 2005, at 12:08 , Phil Beardmore wrote: > > >This may be a really simple thing to do (but I'm a bit stuck and searched > >the web but found no answers). I have a Plone site working great. I have > >a > >folder which I wish to pa

Re: [Zope] Python 2.4.X

2005-04-29 Thread Andreas Pakulat
On 29.Apr 2005 - 10:29:39, Dennis Allison wrote: > > Are there any problems using Python 2.4.X with Zope 2.7.X? Look into the archives, short answer: Yes. (But I have no personal experience) Andreas -- Don't look now, but the man in the moon is laughing at you.

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-07 Thread Andreas Pakulat
On 07.Apr 2005 - 20:13:58, Dieter Maurer wrote: > Yuri wrote at 2005-4-7 14:30 +0200: > > ... > > Isn't Archetypes only for Plone? > > No, it can be used with pure CMF... > ... if one is ready to fix a few Plone dependencies that creep > in in most Archetype releases. > > > ... > > Just release a

Re: [Zope] Re: Plone/Zope on Debian Sarge

2005-04-05 Thread Andreas Pakulat
On 05.Apr 2005 - 13:49:04, Derrick Hudson wrote: > On Tue, Apr 05, 2005 at 07:34:14PM +0200, Andreas Pakulat wrote: > | On 05.Apr 2005 - 12:01:14, Derrick Hudson wrote: > | > On Mon, Apr 04, 2005 at 02:02:43PM +0100, Chris Withers wrote: > | > but before that began the packages w

Re: [Zope] Re: Plone/Zope on Debian Sarge

2005-04-05 Thread Andreas Pakulat
On 05.Apr 2005 - 12:01:14, Derrick Hudson wrote: > On Mon, Apr 04, 2005 at 02:02:43PM +0100, Chris Withers wrote: > | The moral of this whole story seems to shine through: > | > | Don't install Zope from OS packages like debian, they never get it right > | and you will just end up getting confuse

Re: [Zope] Plone/Zope on Debian Sarge

2005-04-04 Thread Andreas Pakulat
On 04.Apr 2005 - 14:02:43, Chris Withers wrote: > The moral of this whole story seems to shine through: > > Don't install Zope from OS packages like debian, they never get it right and > you will just end up getting confused ;-) Yepp, especially, since Zope is that easy to install into your home

Re: [Zope] Re: Plone/Zope on Debian Sarge

2005-04-01 Thread Andreas Pakulat
On 01.Apr 2005 - 10:14:36, Shane Graber wrote: > google search for your error message yielded: > > http://mail.zope.org/pipermail/zope/2005-January/155790.html > > If you did an 'apt-get install plone' it's still trying to pull in > Zope 2.6. That's not correct, current Plone will favor zope27 o

Re: [Zope] Plone/Zope on Debian Sarge

2005-04-01 Thread Andreas Pakulat
On 01.Apr 2005 - 14:34:22, Peter Bittner wrote: > Hi there! > > I am running a Debian Linux box with Debian/testing (Sarge) and I am trying > to > get Plone up and running. I have made a clean, new install of the whole > system last week, so all packages are really up-to-date and there was no