From owner-freebsd-python@FreeBSD.ORG Fri Jun 3 16:02:01 2005 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D49F216A41C for ; Fri, 3 Jun 2005 16:02:01 +0000 (GMT) (envelope-from gedge-lists@yadn.org) Received: from turner.cymru.serf.org (cpc3-cdif5-5-0-cust135.cdif.cable.ntl.com [82.22.34.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64BBB43D54 for ; Fri, 3 Jun 2005 16:01:54 +0000 (GMT) (envelope-from gedge-lists@yadn.org) Received: from gedge by turner.cymru.serf.org with local (Exim 4.51 (FreeBSD)) id 1DeEcL-000O80-Mv for freebsd-python@freebsd.org; Fri, 03 Jun 2005 17:01:53 +0100 Date: Fri, 3 Jun 2005 17:01:53 +0100 From: Geraint Edwards To: FreeBSD python list Message-ID: <20050603160153.GA56758@cymru.serf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organisation: Caerdydd, Cymru / Cardiff, Wales X-MotD: "Progress is that which has caused Usenet to go from smart people in front of dumb terminals, to dumb people in front of smart terminals" -- sig Subject: new to python/zope - installation woes X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 16:02:02 -0000 Hi, I have a customer that wants to run their website on Plone, They've delivered me a *.zexp file and a products.zip file. I just want to throw it on my 4_RELENG server - and forget about it. I installed Plone (and hence Zope and python!) from ports (you will soon deduce, if you haven't already, that I am new to all three!). What follows is some feedback (meant as constructive criticism) from a someone who has acquired a big headache. Firstly, if you install the www/plone port, it installs www/zope, and the "critical" instructions for make instance [...] are scrolled into the ether and their importance is missed, and thus began my headache. Your install might not scroll them off, but my ports database is full of bsdpan-* crud that fills my screen up with junk, so I don't necessarily realise that zope is installed (hey, plone is what I wanted, right?). Anyway, I scrolled back and found the zope instructions and ran make instance INSTANCENAME="foo" and make instance INSTANCENAME="bar" because I want to test this in 'bar' before making things "production" in 'foo'. I made the zope.conf files, too, setup rc.conf with: zope_enable="YES" zope_instances="/usr/local/www/Zope/foo /usr/local/www/Zope/bar" and ran "zope.sh start" - so far so good. However, 'bar' never gets any logs - it all seems to go to .../foo/log/... and the logs don't get anything interesting in them when things go horribly wrong (see later). After *much* playing with Apache to get it to proxy for zope, I was getting bitten by the annoying X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C9016A41C for ; Fri, 3 Jun 2005 17:25:33 +0000 (GMT) (envelope-from list@zettai.net) Received: from a.mx.zettai.net (beta.zettai.net [205.234.172.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD2D643D1F for ; Fri, 3 Jun 2005 17:25:32 +0000 (GMT) (envelope-from list@zettai.net) Received: (qmail 21651 invoked by uid 89); 3 Jun 2005 17:25:32 -0000 Received: by simscan 1.1.0 ppid: 21595, pid: 21646, t: 0.2592s scanners: attach: 1.1.0 clamav: 0.83/m:31/d:852 Received: from unknown (HELO ?192.168.0.2?) (george@zettai.net@200.116.255.166) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Jun 2005 17:25:31 -0000 Message-ID: <42A09289.6010607@zettai.net> Date: Fri, 03 Jun 2005 12:25:29 -0500 From: George Donnelly User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Geraint Edwards References: <20050603160153.GA56758@cymru.serf.org> In-Reply-To: <20050603160153.GA56758@cymru.serf.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD python list Subject: Re: new to python/zope - installation woes X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: list@zettai.net List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 17:25:33 -0000 Geraint Edwards wrote: hi > I have a customer that wants to run their website on Plone, > They've delivered me a *.zexp file and a products.zip file. I > just want to throw it on my 4_RELENG server - and forget about > it. zope and plone are medium-level maintenance, so you might find them difficult to forget about. ;) > I installed Plone (and hence Zope and python!) from ports (you > will soon deduce, if you haven't already, that I am new to all > three!). What follows is some feedback (meant as constructive > criticism) from a someone who has acquired a big headache. FreeBSD rocks, but Zope/Plone from ports is not optimal. You should install those from source for a production environment > Firstly, if you install the www/plone port, it installs > www/zope, and the "critical" instructions for > make instance [...] > are scrolled into the ether and their importance is missed, and > thus began my headache. Your install might not scroll them off, > but my ports database is full of bsdpan-* crud that fills my > screen up with junk, so I don't necessarily realise that zope is > installed (hey, plone is what I wanted, right?). at the end of the install process, if you give the command as "make install clean", it will show you all the affected ports. Try setting your scrollback buffer higher in your terminal app. > After *much* playing with Apache to get it to proxy for zope, > I was getting bitten by the annoying > X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 236D916A41C for ; Sat, 4 Jun 2005 15:19:54 +0000 (GMT) (envelope-from gedge-lists@yadn.org) Received: from turner.cymru.serf.org (cpc3-cdif5-5-0-cust135.cdif.cable.ntl.com [82.22.34.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id B258643D53 for ; Sat, 4 Jun 2005 15:19:50 +0000 (GMT) (envelope-from gedge-lists@yadn.org) Received: from gedge by turner.cymru.serf.org with local (Exim 4.51 (FreeBSD)) id 1DeaRA-000Njr-M4; Sat, 04 Jun 2005 16:19:48 +0100 Date: Sat, 4 Jun 2005 16:19:48 +0100 From: Geraint Edwards To: George Donnelly Message-ID: <20050604151948.GD92755@cymru.serf.org> References: <20050603160153.GA56758@cymru.serf.org> <42A09289.6010607@zettai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42A09289.6010607@zettai.net> User-Agent: Mutt/1.4.2.1i Organisation: Caerdydd, Cymru / Cardiff, Wales X-MotD: Reality is just a convenient measure of complexity. -- Alvy Ray Smith Cc: FreeBSD python list Subject: Re: new to python/zope - installation woes X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 15:19:54 -0000 George Donnelly said (on Fri, Jun 03, 2005 at 12:25:29PM -0500): > zope and plone are medium-level maintenance, so you might find them > difficult to forget about. ;) Well, that's already the case! Thanks for the heads-up, though. > FreeBSD rocks, but Zope/Plone from ports is not optimal. You should > install those from source for a production environment The port's source code changes are minimal, from what I can tell, so I'm not convinced that this will make a big difference. I've only been using ports on FreeBSD for the last few years, to help keep so many things up-to-date (portupgrade), so I'll stick with it for now. Noted, however. > so I don't necessarily realise that zope is > >installed (hey, plone is what I wanted, right?). > > at the end of the install process, if you give the command as "make > install clean", it will show you all the affected ports. Thanks. I tend to browse the Makefile, files/* and pkg* (um, all port files!), just in case I've missed anything. This was a little gripe. :) > > [apache] > use rewrite rules. I was - in proxying mode - and have them working a treat. Ta. > >I popped the foo.zexp into the .../bar/import directory and > >http://.../manage didn't find it, so I moved it into the main > >.../import directory and it found it > > hm, you might have something misconfigured there. I did indeed - me. I was confusing instances with virtual hosting (d'oh!). I suspect I had foo and bar on the same ports (e.g. 8080) - that'd do it. ;-) So, I deleted bar and have my "virtual hosts" in sub-dirs of foo. Gee, such an obvious mistake. This virtual hosting is odd. . o O ( Hmm-mm, you just works... but you sure is ugly! ) > >Error Value: No module named CMFUserTrackTool.UserTrackTool > > The zexp includes an object that depends on the UserTrackTool, you can > get CMFMessage from the Plone collective, download and install that into > your Products directory to fix that. I did. It did. Many, many thanks. That site will be handy (even though "the plone collective" sounds a little spooky). > good luck. Much appreciated. I now have the front page of the imported site working, but clicking on a link causes a "Site error" - "attribute error" which ultimately cites AttributeError: i18nlayer_check4tab (Also, an error occurred while attempting to render the standard error message.) So, I've sent that back to the web-developers to see if they can offer any insight. Thanks again - beginning to grok zope, now. -- Geraint A. Edwards (aka "Gedge") gedge@yadn.org From owner-freebsd-python@FreeBSD.ORG Sat Jun 4 16:31:57 2005 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50DA416A41C for ; Sat, 4 Jun 2005 16:31:57 +0000 (GMT) (envelope-from list@zettai.net) Received: from a.mx.zettai.net (beta.zettai.net [205.234.172.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA7B943D49 for ; Sat, 4 Jun 2005 16:31:56 +0000 (GMT) (envelope-from list@zettai.net) Received: (qmail 56244 invoked by uid 89); 4 Jun 2005 16:31:56 -0000 Received: by simscan 1.1.0 ppid: 56231, pid: 56240, t: 0.1325s scanners: attach: 1.1.0 clamav: 0.83/m:31/d:852 Received: from unknown (HELO ?192.168.0.2?) (george@zettai.net@200.116.255.166) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Jun 2005 16:31:56 -0000 Message-ID: <42A1D77A.3000708@zettai.net> Date: Sat, 04 Jun 2005 11:31:54 -0500 From: George Donnelly User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Geraint Edwards References: <20050603160153.GA56758@cymru.serf.org> <42A09289.6010607@zettai.net> <20050604151948.GD92755@cymru.serf.org> In-Reply-To: <20050604151948.GD92755@cymru.serf.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD python list Subject: Re: new to python/zope - installation woes X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: list@zettai.net List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 16:31:57 -0000 Geraint Edwards wrote: > I now have the front page of the imported site working, but > clicking on a link causes a "Site error" - "attribute error" > which ultimately cites > > AttributeError: i18nlayer_check4tab > (Also, an error occurred while attempting to render the standard error message.) install i18nLayer you might want to ask your client for a list of what products they have installed so you can install them all at once. -- <--> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting" Complete Zope Hosting ~ Managed Servers ~ Plone Hosting Solutions Y/AIM: zettainet ~ Jabber: info@zettai.net ~ Sales: (866) 408-5395