From matt at objectivo.com Wed Nov 1 00:32:41 2006 From: matt at objectivo.com (Matt) Date: Wed Nov 1 00:50:59 2006 Subject: [Setup] Community Soccer - Website Update Message-ID: <16791617.1162341062982.JavaMail.cfservice@Webserver23> Skipped content of type multipart/alternative From nd51 at le.ac.uk Thu Nov 2 11:55:03 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 2 11:55:34 2006 Subject: [Setup] Re: front end sign in In-Reply-To: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> References: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> Message-ID: Can you please direct me to docs on how to > proceed? > Stefan, Have a good look on plone.org - there are many docs on there. FAQs & tutorials should maybe be your first port of call. You might get a copy of "Plone Live" or "Definitive Guide to Plone" as well. Docs are all there- you just have to search for them. Welcome to Plone. :-) Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From reinout at vanrees.org Thu Nov 2 16:27:03 2006 From: reinout at vanrees.org (Reinout van Rees) Date: Thu Nov 2 16:30:58 2006 Subject: [Setup] Re: Plone 2.5.1 with LDAP In-Reply-To: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: Muhamad Abdulkadir wrote: > Dear all, > Does anyone know a page in the Internet or in Plone website > that explain how to use LDAP in Plone? > I've read > http://plone.org/documentation/how-to/ldap-authentication-with-plone > and after I configure LDAP info via ZMI, > I've been able to search users from ZMI | Plone site | > portal setup | acl_users, via LDAPUserFolder. > However, when I did searching users from Plone site > (site setup, User and Group Administration, and then search) > I could not get any user. plone 2.5 uses PAS (pluggable authentication system). LDAPUserFolder is for the "old" way, you'll need an LDAP pas plugin now. That should give you enough google and plone.org search options :-) Reinout -- Reinout van Rees r.van.rees @ zestsoftware.nl http://vanrees.org/weblog/ http://zestsoftware.nl/ "Military engineers build missiles. Civil engineers build targets." From mail at ihde.info Fri Nov 3 12:57:44 2006 From: mail at ihde.info (Maik Ihde) Date: Fri Nov 3 13:41:03 2006 Subject: [Setup] Re: removing calendar References: Message-ID: > Hi, please I would like simple thing as I thought from the beginning - > but I found some barrier there and I dont know how to: > - remove calendar - > from the main plone page..? The calendar portlet can be removed by klicking on the "properties" tab in the ZMI in the root of your Plone Site. Look for "left_slots" and "right_slots". The Calender should be in the "right_slots" section -> remove the line that contains "portler_calendar", save the form and it's gone. Regards Maik From jmilner4 at shaw.ca Sat Nov 4 08:46:12 2006 From: jmilner4 at shaw.ca (John Milner) Date: Sat Nov 4 08:46:28 2006 Subject: [Setup] Shop Candy Couture's Semi-Annual Sale ~ 85% Off PRADA, FENDI, HERMES, MARC JACOBS, LV, DIOR, COACH... References: Message-ID: <6621C2C7-A40E-4AFA-A71B-55BEA8396950@shaw.ca> >> >>> >>> Check out Shop Candy Couture's Semi-Annual Sale with 85% off some >>> of the designer brand name clothing, accessories and handbags: >> href="http://www.shopcandycouture.com">CLICK HERE TO VISIT SHOP >>> CANDY COUTURE. Shop Candy Couture carries the hottest and >>> newest styles such as Chloe Paddington, Louis Vuitton Denim, >>> Chanel Cambron, Balenciaga Le Dix Motorcycle, Dior Saddle and >>> Gucci at 50-85% off retail prices. >> www.shopcandycouture.com>Shop Candy Couture
>> action=http://www.shopcandycouture.com>>> value=www.shopcandycouture.com>
>> www.bagsnstyle.com/shopper.jpg> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061104/65a55df9/attachment.htm From rawsystems at gmail.com Sat Nov 4 16:57:15 2006 From: rawsystems at gmail.com (rawsystems@gmail.com) Date: Sat Nov 4 16:57:28 2006 Subject: [Setup] front end sign in References: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> Message-ID: <031e01c70032$49144b20$6b00a8c0@dt0> Here's a start http://plone.org/documentation/how-to/creating-private-plone-site hth ----- Original Message ----- From: Stefan Skoglund To: setup@lists.plone.org Sent: Sunday, October 29, 2006 8:08 AM Subject: [Setup] front end sign in Hello all! Background: I work for a small company that appearantly has grown enough to need a CMS. Last week a consultant showed us Microsoft Sharepoint. Half the presentation, was about describing what you shouldn't do, to get it all working. I got the shivers. Why use something that doesn't even work by intuition? I remember looking at Zope and Plone, a few years back, and remember that I felt it seem to work well. Now we have a small extranet server, with a few basic java servlet applications. Each user is authenticated in a reverse proxying web server. I'm not a web guy, so I don't know the details. So I would like, as a first step, to install a basic plone installtion, in which each user is autenticated in a front end. The site shouldn't be reachable without signing in, and plone should treat each user a signed in. Is this an easy setup? Can you please direct me to docs on how to proceed? Soon a happy plone user /Stefan ------------------------------------------------------------------------------ _______________________________________________ Setup mailing list Setup@lists.plone.org http://lists.plone.org/mailman/listinfo/setup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061104/cac9c77f/attachment.htm From rhills at medimorphosis.com.au Sun Nov 5 15:42:25 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Sun Nov 5 09:15:11 2006 Subject: [Setup] Users without passwords - possible? Message-ID: Hi All, I am building a site for someone who wishes to: 1. Have the site administrator moderate all user signups 2. Prevent any logins (except for the site administrator) 3. Use the member list to manage subscriptions for newsletters, invitations to events etc. 4. Not have to bother with passwords for these users. I've followed http://plone.org/documentation/how-to/closing-site to stop the normal signup and login process. However, I'm not sure how to proceed with the other steps. Would it be possible for me to subclass members and modify the subclass in such a way that member instances would not be able to login (if they happened to find the login URL) but would still be available as targets of emails (newsletters, invitations etc)? Any thoughts/suggestions would be much appreciated Rob Hills Waikiki, Western Australia From m.van.rees at zestsoftware.nl Mon Nov 6 12:31:50 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Mon Nov 6 12:32:48 2006 Subject: [Setup] Re: Plone 2.5.1 with LDAP References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: Reinout van Rees, on 2006-11-02: > plone 2.5 uses PAS (pluggable authentication system). LDAPUserFolder is > for the "old" way, you'll need an LDAP pas plugin now. Actually, you still need LDAPUserFolder. But you also need LDAPMultiPlugins, possibly with the patch from antiloop.plone.org which that how-to mentions. If the how-to does not mention that, then there is another how-to or tutorial on plone.org that you need to find. :) If you see users in the ZMI but don't see them in Plone, then in the ZMI you need to check if the ldap plugin is listed for the correct plugin interfaces in acl_users/plugins. And you need to check if the mapping of attributes between Plone and LDAP is correct. I think lone at least needs/wants to get a fullname and email from ldap. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From m.van.rees at zestsoftware.nl Mon Nov 6 12:36:53 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Mon Nov 6 12:37:33 2006 Subject: [Setup] Re: Users without passwords - possible? References: Message-ID: Rob Hills, on 2006-11-05: > 2. Prevent any logins (except for the site administrator) If you use PlonePAS (standard in Plone 2.5) you could write a plugin that checks if the user id is 'admin' or something and only allow that one user to login. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From mstawchansky at pathfire.com Mon Nov 6 22:18:14 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Mon Nov 6 22:41:26 2006 Subject: [Setup] Upgrade from 2.1.2 to 2.1.3 problems Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B4774@pf-mail01.vninet.com> Ok, so I've been having trouble upgrading from Plone 2.1.2 to Plone 2.5.1, so I decided that I should take baby steps and try to go from Plone 2.1.2 to 2.1.4 first. Well, that was a no-go at all. Unpacked the updated Products into the Products folder in my Instance, all my Plone sites came up as broken. Ok, rewind. Try the same thing with a but going from 2.1.2 to 2.1.3. I get a little better along, this time I have the option to do the Portal_Migration piece after upgraded the Products dir. Now below is what happens when I try a dry run of the migration. Any steering in the correct direction is much appreciated. * Dry run selected. * Starting the migration from version: 2.1.2 * Attempting to upgrade from: 2.1.2 * Error:Upgrade aborted * Error:Error:Error type: exceptions.AttributeError * Error:Error value: clear * Error:File "/usr/lib/zope/Products/CMFPlone/MigrationTool.py", line 274, in upgrade newv, msgs = self._upgrade(newv) * Error:File "/usr/lib/zope/Products/CMFPlone/MigrationTool.py", line 371, in _upgrade res = function(self.aq_parent) * Error:File "/usr/lib/zope/Products/CMFPlone/migrations/v2_1/two12_two13.py", line 17, in two12_two13 reindexCatalog(portal, out) * Error:File "/usr/lib/zope/Products/CMFPlone/migrations/v2_1/alphas.py", line 525, in reindexCatalog catalog.refreshCatalog(clear=1) * Error:File "/usr/lib/zope/lib/python/Products/ZCatalog/ZCatalog.py", line 288, in refreshCatalog cat.clear() * Error:File "/usr/lib/zope/lib/python/Products/ZCatalog/Catalog.py", line 108, in clear self.getIndex(index).clear() * Error:End of upgrade path, migration has finished * Problem:The upgrade path did NOT reach current version * Problem:Migration has failed * Dry run selected, transaction aborted Thanks, Mike S -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061106/26d5236d/attachment.htm From smoove_e at hotmail.com Tue Nov 7 00:34:51 2006 From: smoove_e at hotmail.com (smoove_e) Date: Tue Nov 7 00:48:26 2006 Subject: [Setup] Exclude from Breadcrums? Message-ID: Hi All, "Exclude from Navigation" in the Properties configuration of a folder may exclude the listing from the Navigation portlet, but how can objects be removed from the breadcrumb listing? Although a user will receive a logon page for areas they are not able to access, it would be nice to restrict this type of navigation altogether within the CMS. Am I missing something obvious here? Thanks! -wendi Plone 2.5, Zope 2.9.4, Python 2.4.3, LINUX (FC5) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061106/53fe6ed8/attachment.html From leglernc at yahoo.com Wed Nov 8 01:56:19 2006 From: leglernc at yahoo.com (Neal Legler) Date: Wed Nov 8 06:20:12 2006 Subject: [Setup] Trouble with site rebuild after Data.fs replace Message-ID: Hello! Our server was recently hacked into, requiring a complete rebuild of everything. To rebuild our Plone site, we installed Plone using the same build we had used previously (2.5, rc2), then copied all of our products over. So far, so good. But upon moving over the old Data.fs file we had copied prior to the rebuild, suddenly the site, the ZMI, everything, is inaccessible. The browser (Firefox) just gets stuck in perpetual waiting mode. We thought maybe passwords were getting crossed, so we tried setting the password to what it had been prior to the rebuild before moving the Data.fs file. Still no luck. Our server is running Fedora Core 5 Linux. Strangely, when we attempted the same operation on a Windows-based installation of Plone 2.5.1 (the latest release), it worked ... mostly. We can access the Plone site, but can't access the Zope root or ACL users without getting an error: Type: NameError Value: name 'getDefaultSorting' is not defined Here is the traceback: 2006-11-07T18:43:56 ERROR Zope.SiteErrorLog http://localhost/manage_main Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module App.special_dtml, line 176, in _exec Module DocumentTemplate.DT_Let, line 76, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: REQUEST Module , line 0, in ? NameError: name 'getDefaultSorting' is not defined Any ideas about how to get either our Linux-based site to load or our Windows-based version to run error free would be most appreciated! Thank you! Neal From h.p.cawthorne at sheffield.ac.uk Wed Nov 8 09:31:33 2006 From: h.p.cawthorne at sheffield.ac.uk (Hadrian Cawthorne) Date: Wed Nov 8 09:31:56 2006 Subject: [Setup] AttributeError: StringIO instance has no attribute Message-ID: Hi It seems all of a sudden some files on my website are no loner accessible. They have been working before. I get these exception details: Time 08-11-2006 09:19 User Name jo1hpc (jo1hpc) Request URL http://jus.shef.ac.uk/module-info/level-3/JNL314/ module_outlines_06-07.doc/index_html Exception Type AttributeError Exception Value StringIO instance has no attribute 'index_html' Traceback (innermost last): * Module ZPublisher.Publish, line 114, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.ATContentTypes.content.file, line 114, in index_html * Module Products.Archetypes.Field, line 1106, in download * Module Products.ExternalStorage.filewrapper, line 72, in __getattr__ AttributeError: StringIO instance has no attribute 'index_html' Traceback as text is: Traceback (innermost last): Module ZPublisher.Publish, line 114, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Products.ATContentTypes.content.file, line 114, in index_html Module Products.Archetypes.Field, line 1106, in download Module Products.ExternalStorage.filewrapper, line 72, in __getattr__ AttributeError: StringIO instance has no attribute 'index_html' The only thing I've done recently (a few weeks ago) is installing PloneZipFiles Thanks Hadrian Cawthorne Technician Department of Journalism Studies h.p.cawthorne@sheffield.ac.uk http://www.shef.ac.uk/journalism -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061108/8d2e1ffd/attachment.htm From nd51 at le.ac.uk Wed Nov 8 10:45:24 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Wed Nov 8 10:45:53 2006 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Neal Legler wrote: > But upon moving over the old Data.fs file we had copied prior to the > rebuild, suddenly the site, the ZMI, everything, is inaccessible. The > browser (Firefox) just gets stuck in perpetual waiting mode. We thought > maybe passwords were getting crossed, so we tried setting the password to > what it had been prior to the rebuild before moving the Data.fs file. Still > no luck. > > Our server is running Fedora Core 5 Linux. Strangely, when we attempted the > same operation on a Windows-based installation of Plone 2.5.1 (the latest > release), it worked ... mostly. We can access the Plone site, but can't > access the Zope root or ACL users without getting an error: > > > Any ideas about how to get either our Linux-based site to load or our > Windows-based version to run error free would be most appreciated! > Neal, I will fire a few questions at you to try to help solve this. ;-) Very obvious but, are you absolutely sure that in addition to Plone, your Linux box has the same version of Zope and Python that it had before? And python libraries like PIL etc? Any other tweaking, configuration you did that you may have forgotten to re-apply? did you make changes in zope.conf before? How do the versions of python/zope/Plone on Windows and Linux compare. Absolutely the same?? Same zope.conf settings? On the Linux box, without copying the Data.fs, if you create a fresh Plone site through the ZMI, then play around with that site, add content etc, is everything working OK? Obvious again, but presumably you're looking thoroughly in event.log to see if Zope is saying anything at all just prior to locking up.... (you've got logging cranked up in zope.conf, right?) This may or may not be revealing ,but can you get into your Linux Zope instance using zopectl debug? Once in, can you look around the site - app. etc - does the site look intact or is something obviously broken? Useful info at: http://docs.neuroinf.de/programming-plone/debug (or Google for debug zope and/or debug plone, well worth learning these tricks which are great time-savers ) When you say your server was hacked, do you mean your Plone site or the machine in general? If its a spam attack, perhaps the rogue content added in the Plone site could have broken it (I don't know how or why, this is probably unlikely but doesn't hurt to eliminate the possibility). In that case you might use zopectl debug to do an audit of the site by hand and delete offending content. Or do it through Plone on the Windows box. Here's another link, found by googling "debug spinning zope" : http://www.zopelabs.com/cookbook/1073504990 Hope (some of) this points you in the right direction. Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nd51 at le.ac.uk Wed Nov 8 13:53:29 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Wed Nov 8 13:53:56 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: smoove_e wrote: > > ?Exclude from Navigation? in the Properties configuration of a folder > may exclude the listing from the Navigation portlet, but how can objects > be removed from the breadcrumb listing? > > Although a user will receive a logon page for areas they are not able to > access, it would be nice to restrict this type of navigation altogether > within the CMS. > > > > Am I missing something obvious here? If an anonymous user can't get to the content without logging in , surely that means they will never see any breadcrumbs containing that object unless they log in first, and then only when specifically viewing that object. So I don't quite see the problem here.... ;-) If you just want to switch off breadcrumbs entirely for your site, you could simply switch if off in the stylesheet with something like: #portal-breadcrumbs { display : None; } HTH Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From smoove_e at hotmail.com Wed Nov 8 17:16:12 2006 From: smoove_e at hotmail.com (smoove_e) Date: Wed Nov 8 17:16:49 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: Message-ID: Thanks for the feedback / suggestion. However, for clarification, there are no anonymous users on the installed Plone site, it is only for registered users. So the problem applies only to registered users, who still shouldn't be able to navigate backwards into a breadcrumb trail (in certain circumstances; e.g. as outlined below). Is it possible to disable breadcrumbs only for specific pages? If so, anyone have the syntax to perform this? (Perhaps an expansion of the code provided below) Thanks! -wendi Plone 2.5, Zope 2.9.4, Python 2.4.3, LINUX (FC5) -----Original Message----- From: setup-bounces@lists.plone.org [mailto:setup-bounces@lists.plone.org] On Behalf Of Nick Davis Sent: Wednesday, November 08, 2006 7:53 AM To: setup@lists.plone.org Subject: [Setup] Re: Exclude from Breadcrums? smoove_e wrote: > > "Exclude from Navigation" in the Properties configuration of a folder > may exclude the listing from the Navigation portlet, but how can objects > be removed from the breadcrumb listing? > > Although a user will receive a logon page for areas they are not able to > access, it would be nice to restrict this type of navigation altogether > within the CMS. > > > > Am I missing something obvious here? If an anonymous user can't get to the content without logging in , surely that means they will never see any breadcrumbs containing that object unless they log in first, and then only when specifically viewing that object. So I don't quite see the problem here.... ;-) If you just want to switch off breadcrumbs entirely for your site, you could simply switch if off in the stylesheet with something like: #portal-breadcrumbs { display : None; } HTH Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk _______________________________________________ Setup mailing list Setup@lists.plone.org http://lists.plone.org/mailman/listinfo/setup From deo at plonesolutions.com Wed Nov 8 17:53:04 2006 From: deo at plonesolutions.com (=?ISO-8859-1?Q?Dorneles_Trem=E9a?=) Date: Wed Nov 8 17:53:39 2006 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Hi Neal, > [snipped] > > NameError: name 'getDefaultSorting' is not defined > > Any ideas about how to get either our Linux-based site to load or our > Windows-based version to run error free would be most appreciated! Nick already gave you some initial tips for the problem with Linux. The Windows-based problem is a side-effect of running newer Zope versions with an incompatible ExternalEditor(!)[1] version... get a new one and all should works like a charm... ;-) [1] EE monkeypatches OFS/dtml/main.dtml, which was recently updated on Zope but not on your current EE version. HTH, -- ___________________________________________________________________ Dorneles Trem?a ? Developer ? Plone Solutions ? Brazil Consulting ? Training ? Development ? http://plonesolutions.com ___________________________________________________________________ Plone Foundation ? http://plone.org/foundation ? Protecting Plone From leglernc at yahoo.com Wed Nov 8 21:00:27 2006 From: leglernc at yahoo.com (Neal Legler) Date: Wed Nov 8 21:01:15 2006 Subject: [Setup] Fixed in Windows: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Dorneles, You were right! External Editor was the problem. My Windows-based version is now running error free. Thank you very much for your help! Neal "Dorneles Treméa" wrote in message news:eit5i1$c8k$1@sea.gmane.org... > Hi Neal, > >> [snipped] >> >> NameError: name 'getDefaultSorting' is not defined >> >> Any ideas about how to get either our Linux-based site to load or our >> Windows-based version to run error free would be most appreciated! > > Nick already gave you some initial tips for the problem with > Linux. The Windows-based problem is a side-effect of running > newer Zope versions with an incompatible ExternalEditor(!)[1] > version... get a new one and all should works like a charm... ;-) > > [1] EE monkeypatches OFS/dtml/main.dtml, which was recently > updated on Zope but not on your current EE version. > > HTH, > > -- > ___________________________________________________________________ > > Dorneles Treméa · Developer · Plone Solutions · Brazil > > Consulting · Training · Development · http://plonesolutions.com > ___________________________________________________________________ > > Plone Foundation · http://plone.org/foundation · Protecting Plone > > From leglernc at yahoo.com Thu Nov 9 04:44:58 2006 From: leglernc at yahoo.com (Neal Legler) Date: Thu Nov 9 04:45:28 2006 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Nick, Thank you very much for your response! Those are some great questions and leads, several of which we hadn't thought of. Nick Davis wrote: > Very obvious but, are you absolutely sure that in addition to Plone, your > Linux box has the same version of Zope and Python that it had before? > And python libraries like PIL etc? > Any other tweaking, configuration you did that you may have forgotten to > re-apply? did you make changes in zope.conf before? I double-checked this, and as far as I have been able to tell, each of these are the same as they were in the pre-rebuild original version. I diffed the zope.conf files, and we had uncommented the ftp and webdav sections previously, but when we changed this, it didn't affect anything. > How do the versions of python/zope/Plone on Windows and Linux compare. > Absolutely the same?? Same zope.conf settings? The Python version is the same (2.4.3), Zope is different (2.9.5 on Windows, 2.9.3 on Linux). Plone is different (2.5.1 Windows, 2.5.0 Linux). > On the Linux box, without copying the Data.fs, if you create a fresh Plone > site through the ZMI, then play around with that site, add content etc, is > everything working OK? Yes. > Obvious again, but presumably you're looking thoroughly in event.log to > see if Zope is saying anything at all just prior to locking up.... > (you've got logging cranked up in zope.conf, right?) It's not logging anything after we transfer the old Data.fs > This may or may not be revealing ,but can you get into your Linux Zope > instance using zopectl debug? Once in, can you look around the site - > app. etc - does the site look intact or is something obviously > broken? I ran into issues running debug. I got a lot of errors--missing modules, and especially an error connecting to Port 8100. > Useful info at: > http://docs.neuroinf.de/programming-plone/debug > > (or Google for debug zope and/or debug plone, well worth learning these > tricks which are great time-savers ) >Here's another link, found by googling "debug spinning zope" : > >http://www.zopelabs.com/cookbook/1073504990 Thank you! These are great resources. I will keep looking into these, both for now and future reference. > When you say your server was hacked, do you mean your Plone site or the > machine in general? If its a spam attack, perhaps the rogue content added > in the Plone site could have broken it (I don't know how or why, this is > probably unlikely but doesn't hurt to eliminate the possibility). It was the machine itself. I am concerned this could have had something to do with it. We reformatted the drive and rebuilt, but could be using a data.fs file that is contaminated. It seems to be working well on my Windows machine, though. I'll continue to look into the links you sent and keep you posted on how things are go. Thank you very much for your help! Neal From nd51 at le.ac.uk Thu Nov 9 09:33:09 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 9 09:33:36 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: smoove_e wrote: the problem applies only to registered users, who still shouldn't > be able to navigate backwards into a breadcrumb trail (in certain > circumstances; e.g. as outlined below). > > Is it possible to disable breadcrumbs only for specific pages? > If so, anyone have the syntax to perform this? > (Perhaps an expansion of the code provided below) Wendi, Since the breadcrumbs is hierarchical, what I don't understand is how you ever end up in a situation where you're looking at object X which you've got permission to look at, while folder Y is appearing in the breadcrumb trail which you don't have permission to look at. Surely in this case when you try to access object X, it'll try to traverse down via folder Y and on hitting Y will not let you any further. (Unless you've done something a bit too clever with the permissions...) In other words, if you're looking at X, then obviously you MUST be able to see everything above X, in order to get to X. So how could the breadcrumbs possibly contain something you're not meant to see? ;-) The breadcrumbs is autogenerated just like navigation. You'd have to make your own version to get it to do what you're asking. Maybe I'm not understanding you correctly but it seems to me : 1) You may be able to achieve what you want by just rearranging your site a bit and/or 2) You may have done something a bit strange with your permissions and/or 3) Its possible (though unlikely) you may have stumbled across a bug in Plone. Hope this helps.... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nd51 at le.ac.uk Thu Nov 9 09:51:21 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 9 09:51:45 2006 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Neal Legler wrote: > Thank you very much for your response! Those are some great questions and > leads, several of which we hadn't thought of. You're welcome. :-) > The Python version is the same (2.4.3), Zope is different (2.9.5 on Windows, > 2.9.3 on Linux). Plone is different (2.5.1 Windows, 2.5.0 Linux). Right, so I'd strongly recommend that now you've got it working OK on Windows, if you do still want it to work on Linux as well, then get Zope 2.9.5 and Plone 2.5.1 on Linux too , to eliminate any issues being due to this version difference. Originally you mentioned Plone 2.5RC2 but not your Zope version. If you had a later Zope originally (say 2.9.5) and then tried to run it on 2.9.3, that could easily account for these problems. > It was the machine itself. I am concerned this could have had something to > do with it. We reformatted the drive and rebuilt, but could be using a > data.fs file that is contaminated. Since it was the box that was hacked not the Plone site itself, I doubt the data.fs is contaminated, especially if it works fine on Windows. Its possible some library somewhere on the machine is accidentally older after your rebuild. Could you have upgraded something, and didn't keep a record? (Which you've now lost through re-installing) Typing "aptitude install" or "yum install" - whatever Red Hat's version is - takes less time than documenting that you did it. ;-) That would be hard to debug though now. Such a problem could magically disappear in a later release of Fedora that has later packages..... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From rhills at medimorphosis.com.au Thu Nov 9 18:30:06 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Thu Nov 9 10:38:43 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Hi Nick, Nick Davis wrote: > Wendi, > Since the breadcrumbs is hierarchical, what I don't understand is how > you ever end up in a situation where you're looking at object X which > you've got permission to look at, while folder Y is appearing in the > breadcrumb trail which you don't have permission to look at. One scenario where I see that regularly is if you are given access to an object via a SmartFolder/Topic. When you view the object, the breadcrumb shows the path of the actual physical folder it lives in. In an ideal world, one could specify an option on the view to hide the "real" path (in breadcrumbs etc.) Cheers, Rob Hills Waikiki, Western Australia From leke75 at yahoo.com Thu Nov 9 10:44:11 2006 From: leke75 at yahoo.com (Leon) Date: Thu Nov 9 10:51:17 2006 Subject: [Setup] Would I be such a baddie if I used plone for this? Message-ID: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> >From the FAQ... If your main concern is low-cost hosting ? la $5/month PHP hosting (Plone is a content management server and an application server - not only a simple scripting language paired with a database). There is a lot of Plone hosting alternatives out there, but they will never be as low-margin as simple PHP/MySQL hosting. ... What NEVER? I already know of a free host that provides plone. I would imagine the more popular it becomes, the lower hosting firms will charge. I have been looking for a cheats method of implementing a way to take card orders from people without having to learn PHP + MySQL and possibly JS validation (would you guess I'm a designer?). Would I be such a baddie if I used plone for this or is there a reason I shouldn't use plone of this? --------------------------------- Sponsored Link $200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home equity - Click now for info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061109/940e6cf4/attachment.htm From optilude at gmx.net Thu Nov 9 10:57:59 2006 From: optilude at gmx.net (Martin Aspeli) Date: Thu Nov 9 10:58:12 2006 Subject: [Setup] Would I be such a baddie if I used plone for this? In-Reply-To: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> References: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> Message-ID: <7256163.post@talk.nabble.com> Hi Suomen Kuningas wrote: > >>From the FAQ... > > If your main concern is low-cost hosting ? la $5/month PHP hosting > (Plone is a content management server and an application server - not only > a simple scripting language paired with a database). There is a lot of > Plone hosting alternatives out there, but they will never be as low-margin > as simple PHP/MySQL hosting. > ... > What NEVER? I already know of a free host that provides plone. I would > imagine the more popular it becomes, the lower hosting firms will charge. > You mean Objectis? Their signup has been closed for a while ... or someone we don't know about? :) I think "never" refers to the fact that Zope/Plone requires more setup of individual instances and is more resource hungry than having Apache VHosts with mod_php and a big MySQL instance with a db for each user. Someone still has to pay for the tin! > I have been looking for a cheats method of implementing a way to take > card orders from people without having to learn PHP + MySQL and possibly > JS validation (would you guess I'm a designer?). > Would I be such a baddie if I used plone for this or is there a reason I > shouldn't use plone of this? > No, not a baddie at all, but it may not be the best tool for the job. If you feel Plone meets your requirements better than the alternatives, go ahead. I'm not sure Plone's eCommerce story is quite as sophisticated that it won't take some custom programming anyway. But if you're more familiar with Plone, or you have other needs that Plone also covers, you may find it's worth it. Martin -- View this message in context: http://www.nabble.com/Would-I-be-such-a-baddie-if-I-used-plone-for-this--tf2601008.html#a7256163 Sent from the Plone Setup mailing list archive at Nabble.com. From krys at cim.mcgill.ca Thu Nov 9 14:27:00 2006 From: krys at cim.mcgill.ca (Krys Dudek) Date: Thu Nov 9 15:10:45 2006 Subject: [Setup] Re: Exclude from Breadcrums? (Nick Davis) Message-ID: <598F7DFD-0473-428A-8B4D-1AC2CB3E370B@cim.mcgill.ca> I have a simple example of where I'd like the whole set of breadcrumbs not to be seen. I'm looking at designing a website for collaboration among small groups of people in a real-world community. The groups are set up by a site administrator, not by the people themselves, and I would prefer that the logged-in members not be given the ability to look at the "Members" folder to see who else is signed up. Consider access to this folder as a sort of "breach of confidentiality"). On the other hand, I feel that breadcrumbs would make it more simple and intuitive to use the site for people who aren't experienced computer users to maintain their own spaces as well as to participate in group collaborations. e.g.: home -> joe user -> myworkgroup -> joint document is what I'd like to see for a logged-in user of the site. Of course, I guess we could just assign impersonal user names manually ( IKJ078I anyone?)... Regards, Krys Dudek From aclark at aclark.net Thu Nov 9 16:46:34 2006 From: aclark at aclark.net (Alex Clark) Date: Thu Nov 9 16:50:26 2006 Subject: [Setup] 2.0.3 -> 2.5.1 Migration failure question! Message-ID: Hey All, Looking for some feedback on how to try to get around this migration failure: http://paste.plone.org/11439 Thanks, Alex p.s. Some history, this is a 2.0.3 -> 2.5.1 migration attempt. I've previously deleted two troublesome Member folders to inch the migration along. It now runs for over an hour until failing here. The Data.fs is about 500MB. From nd51 at le.ac.uk Thu Nov 9 16:59:40 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 9 17:00:34 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: Alex Clark wrote: > Hey All, > > Looking for some feedback on how to try to get around this migration failure: > > http://paste.plone.org/11439 > You haven't by any chance got CMFMember, which is currently incompatible with 2.5? Asking because it blew up in that area.... It looks like it happily made it to 2.1.3, which would give you a massive improvement (especially speed) over 2.0.3, so you might consider as an interim step going live with 2.1.3. -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From aclark at aclark.net Thu Nov 9 17:15:04 2006 From: aclark at aclark.net (Alex Clark) Date: Thu Nov 9 17:16:30 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: Nick Davis writes: > > Alex Clark wrote: > > Hey All, > > > > Looking for some feedback on how to try to get around this migration failure: > > > > http://paste.plone.org/11439 > > > > You haven't by any chance got CMFMember, which is currently incompatible > with 2.5? Asking because it blew up in that area.... No, but I *am* missing Products from the old instance. I figured I would add them back as needed because they may or may not run easily in the new instance. Old Instance Products: http://paste.plone.org/11455 Current Instance Products: http://paste.plone.org/11456 Should I maybe be focusing on adding some of these Products back? You are saying it's failing on the GrUF to PAS migration ? > > It looks like it happily made it to 2.1.3, which would give you a > massive improvement (especially speed) over 2.0.3, so you might consider > as an interim step going live with 2.1.3. That's a good idea, thanks! Although it will haunt me to the end of my days if I don't figure it out... > From aaron at netcorps.org Thu Nov 9 17:23:40 2006 From: aaron at netcorps.org (aaron) Date: Thu Nov 9 17:23:55 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: <312E7617-76E9-4475-9D06-7992B3016FA3@netcorps.org> Alex, I have found that strange (and seemingly unrelated) errors can happen during migrations if you don't have the same add-on products in the Products directory. Try using a copy of the old Products with the new Plone version. Aaron On Nov 9, 2006, at 9:15 AM, Alex Clark wrote: > Nick Davis writes: > >> >> Alex Clark wrote: >>> Hey All, >>> >>> Looking for some feedback on how to try to get around this >>> migration failure: >>> >>> http://paste.plone.org/11439 >>> >> >> You haven't by any chance got CMFMember, which is currently >> incompatible >> with 2.5? Asking because it blew up in that area.... > > No, but I *am* missing Products from the old instance. I figured I > would add > them back as needed because they may or may not run easily in the > new instance. > > Old Instance Products: > http://paste.plone.org/11455 > > Current Instance Products: > http://paste.plone.org/11456 > > Should I maybe be focusing on adding some of these Products back? > > You are saying it's failing on the GrUF to PAS migration ? > >> >> It looks like it happily made it to 2.1.3, which would give you a >> massive improvement (especially speed) over 2.0.3, so you might >> consider >> as an interim step going live with 2.1.3. > > That's a good idea, thanks! Although it will haunt me to the end of > my days if I > don't figure it out... > > >> > > > > > > _______________________________________________ > Setup mailing list > Setup@lists.plone.org > http://lists.plone.org/mailman/listinfo/setup From nd51 at le.ac.uk Thu Nov 9 17:31:58 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 9 17:32:52 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: Alex Clark wrote: > No, but I *am* missing Products from the old instance. I figured I would add > them back as needed because they may or may not run easily in the new instance. That seems sensible > Should I maybe be focusing on adding some of these Products back? Hmmm.. I don't think so .... > You are saying it's failing on the GrUF to PAS migration ? It looks that way. A good way to find out more is use the debugger and set a breakpoint on the last line of that trace. I like emacs for debugging, as it steps through syntax-highlighted code, but there are many alternative ways to do the same thing & opinions on the matter. ;-) >>It looks like it happily made it to 2.1.3, which would give you a >>massive improvement (especially speed) over 2.0.3, so you might consider >>as an interim step going live with 2.1.3. > > > That's a good idea, thanks! Although it will haunt me to the end of my days if I > don't figure it out... I suggested that as a temporary step to give a quick win and give you time to work out whats happening with 2.5. (Actually it ought to have said 2.1.4 as thats the latest release so thats mildly worrying...) We're still using 2.1.3 live (2.1.4 is only necessary to fix a security hole if you allow new users to register with the "join" feature). I haven't found any features in 2.5 compelling enough yet to outweigh the current problems of lack of documentation about LDAP / PlonePAS. Cheers Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From arabicsong at walla.com Thu Nov 9 18:56:16 2006 From: arabicsong at walla.com (=?windows-1255?B?7unw+OXk?=) Date: Thu Nov 9 20:27:18 2006 Subject: [Setup] =?windows-1255?b?8fT4IOXj6fH3IOTm7vgg5PL44ek=?= Message-ID: An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061109/6b9e15b7/attachment.htm From limi at plone.org Fri Nov 10 03:56:33 2006 From: limi at plone.org (Alexander Limi) Date: Fri Nov 10 04:00:11 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: On Thu, 09 Nov 2006 09:31:58 -0800, Nick Davis wrote: > (Actually it ought to have said 2.1.4 as thats the latest release so > thats mildly worrying...) The 2.1.3 -> 2.1.4 migration is just a null migration AFAIK (it doesn't need any migration as such), so I wouldn't worry too much. -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From grunberg at embl.de Fri Nov 10 11:45:41 2006 From: grunberg at embl.de (Raik Gruenberg) Date: Fri Nov 10 11:51:41 2006 Subject: [Setup] limit content of events portlet Message-ID: <45546665.9030002@embl.de> Hi all, I am running a wiki for our research lab and just added a folder for collecting Conference events. Naturally those events also show up in the Events portlet of the portal (nice!) but I think it is getting too crowded with for example conferences that are still one year away. How can I limit the items in the events portlet to either a fixed number or, much better, to items that are not more than 3 months away. I tried to change the settings of the Events smartfolder but that doesn't affect the events portlet it seems. Any ideas? BTW, the same goes for the news portlet: There are not many news on our site and I would prefer not to have a 6 months old article in the 'News' box. Kind of defies the idea, doesn't it ;-)? Many thanks in advance! Raik -- ________________________________ Dr. Raik Gruenberg http://www.raiks.de/contact.html ________________________________ From r.ritz at biologie.hu-berlin.de Fri Nov 10 12:08:20 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Fri Nov 10 12:08:41 2006 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45546665.9030002@embl.de> References: <45546665.9030002@embl.de> Message-ID: Raik Gruenberg schrieb: > Hi all, > > I am running a wiki for our research lab and just added a folder for > collecting Conference events. Naturally those events also show up in the > Events portlet of the portal (nice!) but I think it is getting too > crowded with for example conferences that are still one year away. > > How can I limit the items in the events portlet to either a fixed number > or, much better, to items that are not more than 3 months away. I tried > to change the settings of the Events smartfolder but that doesn't affect > the events portlet it seems. > > Any ideas? > > BTW, the same goes for the news portlet: There are not many news on our > site and I would prefer not to have a 6 months old article in the 'News' > box. Kind of defies the idea, doesn't it ;-)? > [such a question should go to plone-user, btw] As of now, the portlets do a search for the items to display from within their templates right away. So you have to customize the respective templates and adjust the catalog search therein to fit your needs (like restricting number of items to show or adding some condition on modified ...) Raphael > Many thanks in advance! > Raik > From grunberg at embl.de Fri Nov 10 13:05:41 2006 From: grunberg at embl.de (Raik Gruenberg) Date: Fri Nov 10 13:06:07 2006 Subject: [Setup] Re: limit content of events portlet In-Reply-To: References: <45546665.9030002@embl.de> Message-ID: <45547925.3000106@embl.de> Thanks for your fast response! I am (yet) pretty clueless when it comes to modifying plone components and templates. I couldn't even find the portlets in the ZMI. Could you please give me a starting point from where to modify the templates graphically or through Python? Thanks a lot, Raik Raphael Ritz wrote: > Raik Gruenberg schrieb: > >> Hi all, >> >> I am running a wiki for our research lab and just added a folder for >> collecting Conference events. Naturally those events also show up in >> the Events portlet of the portal (nice!) but I think it is getting too >> crowded with for example conferences that are still one year away. >> >> How can I limit the items in the events portlet to either a fixed >> number or, much better, to items that are not more than 3 months away. >> I tried to change the settings of the Events smartfolder but that >> doesn't affect the events portlet it seems. >> >> Any ideas? >> >> BTW, the same goes for the news portlet: There are not many news on >> our site and I would prefer not to have a 6 months old article in the >> 'News' box. Kind of defies the idea, doesn't it ;-)? >> > > [such a question should go to plone-user, btw] > > As of now, the portlets do a search for the items to display from > within their templates right away. So you have to customize the > respective templates and adjust the catalog search therein to > fit your needs (like restricting number of items to show or > adding some condition on modified ...) > > Raphael > >> Many thanks in advance! >> Raik >> > > > _______________________________________________ > Setup mailing list > Setup@lists.plone.org > http://lists.plone.org/mailman/listinfo/setup -- ________________________________ Dr. Raik Gruenberg http://www.raiks.de/contact.html ________________________________ From r.ritz at biologie.hu-berlin.de Fri Nov 10 13:14:45 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Fri Nov 10 13:15:21 2006 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45547925.3000106@embl.de> References: <45546665.9030002@embl.de> <45547925.3000106@embl.de> Message-ID: Raik Gruenberg schrieb: > Thanks for your fast response! > > I am (yet) pretty clueless when it comes to modifying plone components > and templates. I couldn't even find the portlets in the ZMI. ZMI -> portal_skins -> plone_portlets -> > Could you please give me a starting point from where to modify the > templates graphically or through Python? Most simply TTW in ZMI. Select the portlet you want to change and press 'customize'. This will result in a local copy of the template being generated in portal_skins/custom/ which will take precedence over the original one. This new copy you can now edit TTW as you like. HTH, Raphael > > Thanks a lot, > Raik > > Raphael Ritz wrote: >> Raik Gruenberg schrieb: >> >>> Hi all, >>> >>> I am running a wiki for our research lab and just added a folder for >>> collecting Conference events. Naturally those events also show up in >>> the Events portlet of the portal (nice!) but I think it is getting >>> too crowded with for example conferences that are still one year away. >>> >>> How can I limit the items in the events portlet to either a fixed >>> number or, much better, to items that are not more than 3 months >>> away. I tried to change the settings of the Events smartfolder but >>> that doesn't affect the events portlet it seems. >>> >>> Any ideas? >>> >>> BTW, the same goes for the news portlet: There are not many news on >>> our site and I would prefer not to have a 6 months old article in the >>> 'News' box. Kind of defies the idea, doesn't it ;-)? >>> >> >> [such a question should go to plone-user, btw] >> >> As of now, the portlets do a search for the items to display from >> within their templates right away. So you have to customize the >> respective templates and adjust the catalog search therein to >> fit your needs (like restricting number of items to show or >> adding some condition on modified ...) >> >> Raphael >> >>> Many thanks in advance! >>> Raik >>> >> >> >> _______________________________________________ >> Setup mailing list >> Setup@lists.plone.org >> http://lists.plone.org/mailman/listinfo/setup > From jason.stubbs+wiki at gmail.com Fri Nov 10 14:06:06 2006 From: jason.stubbs+wiki at gmail.com (Jason Stubbs) Date: Fri Nov 10 14:09:53 2006 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45546665.9030002@embl.de> References: <45546665.9030002@embl.de> Message-ID: Raik, When you create the event or news item, there is a properties page. In that page there is an effective date (when plone will start to make the item visible) and an expiration date (when plone makes the item invisible). Set the dates as you need the items to appear and disappear. Cheers Jason Raik Gruenberg wrote: > Hi all, > > I am running a wiki for our research lab and just added a folder for > collecting Conference events. Naturally those events also show up in > the Events portlet of the portal (nice!) but I think it is getting too > crowded with for example conferences that are still one year away. > > How can I limit the items in the events portlet to either a fixed > number or, much better, to items that are not more than 3 months away. > I tried to change the settings of the Events smartfolder but that > doesn't affect the events portlet it seems. > > Any ideas? > > BTW, the same goes for the news portlet: There are not many news on > our site and I would prefer not to have a 6 months old article in the > 'News' box. Kind of defies the idea, doesn't it ;-)? > > Many thanks in advance! > Raik > From rhills at medimorphosis.com.au Sat Nov 11 12:40:56 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Sat Nov 11 04:49:27 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Hi All, > Nick Davis wrote: >> Wendi, >> Since the breadcrumbs is hierarchical, what I don't understand is >> how you ever end up in a situation where you're looking at object X >> which you've got permission to look at, while folder Y is appearing in >> the breadcrumb trail which you don't have permission to look at. There's a thread on Plone User that started yesterday describing another scenario where this problem occurs: http://article.gmane.org/gmane.comp.web.zope.plone.user/61224 Cheers, Rob Hills From orit at emaillist.com Sun Nov 12 01:33:12 2006 From: orit at emaillist.com (orit@emaillist.com) Date: Sun Nov 12 01:31:38 2006 Subject: [Setup] =?windows-1255?b?6/rl4eX6IOPl4Owg5fT48eXtIOH09/E=?= Message-ID: <20061112033300.39600F9C4112D846@emaillist.com> An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061112/da2a3255/attachment.htm From leglernc at yahoo.com Sun Nov 12 05:43:25 2006 From: leglernc at yahoo.com (Neal Legler) Date: Sun Nov 12 05:43:50 2006 Subject: [Setup] Fixed in Linux: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Nick, Following the leads your questions gave us helped us get the site up and working in Linux finally. (Fortunately the site is still in development, so downtime wasn't a major issue. ;) Nick Davis wrote: > I'd strongly recommend that now you've got it working OK on Windows, if > you do still want it to work on Linux as well, then get Zope 2.9.5 and > Plone 2.5.1 on Linux too , to eliminate any issues being due to this > version difference. This was a big key to getting it to work. With the site working in Windows, we were able to use the export/import function, and the errors we got in trying to do so were reduced when we went to the latest version of Plone for Linux. > Its possible some library somewhere on the machine is accidentally older > after your rebuild. Could you have upgraded something, and didn't keep a > record? (Which you've now lost through re-installing) Typing "aptitude > install" or "yum install" - whatever Red Hat's version is - takes less > time than documenting that you did it. ;-) We ran an update on all of our software, which seemed to reduce a few more errors on attempting the import. Also, I originally said that we had all of the same Python modules that we had earlier (particularly PIL), but a lot of our errors when we ran zopectl debug were missing python modules. We had to reinstall docutils and PIL, since they weren't showing up. We also had to install programs like pdftohtml & wvWare for our AttachmentField product. So you were right--missing or outdated Python modules and programs was our biggest hangup. It's great to be back up and running! Thank you very much for pointing us in the right direction! Neal From marc.van.coillie at eife-l.org Sun Nov 12 07:58:30 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Sun Nov 12 08:15:17 2006 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 Message-ID: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Hello, I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 but without any success, it seems that there is no migration path from this release. Result of the attempt... a.. Starting the migration from version: 2.1.4 b.. Attempting to upgrade from: 2.1.4 c.. Migration completed at version 2.1.4 d.. End of upgrade path, migration has finished e.. The upgrade path did NOT reach current version f.. Migration has failed Is there any solution ? Will I have to wait for release 2.5.2 ? Any idea about when it will be published ? anyway thanks for all your work ! Best regards, Marc From stefan at epy.co.at Sun Nov 12 12:40:57 2006 From: stefan at epy.co.at (Stefan H. Holek) Date: Sun Nov 12 12:41:13 2006 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 In-Reply-To: <008a01c70630$589b5440$0301a8c0@EIFELMARC> References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Message-ID: You could try to force migration from 2.1.4. Migrations are written in a way that they don't do harm when applied more than once. Stefan P.S: 2.1.4 is indeed missing from the migration chain in Plone 2.5. Perhaps because 2.5 was cut before 2.1.4 got released. Oops. I will fix this. On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: > Hello, > I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 > but without any success, it seems that there is no migration path > from this release. > Result of the attempt... > > a.. Starting the migration from version: 2.1.4 > b.. Attempting to upgrade from: 2.1.4 > c.. Migration completed at version 2.1.4 > d.. End of upgrade path, migration has finished > e.. The upgrade path did NOT reach current version > f.. Migration has failed > Is there any solution ? Will I have to wait for release 2.5.2 ? Any > idea about when it will be published ? > > anyway thanks for all your work ! > > Best regards, > Marc -- Anything that happens, happens. --Douglas Adams From marc.van.coillie at eife-l.org Sun Nov 12 12:59:54 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Sun Nov 12 13:19:35 2006 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Message-ID: <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> Hi, Thanks for your help, I've tried to force migration from 2.1.3 but without any success. So I've modified manually the migration path to add the 2.1.4 release: MigrationTool.registerUpgradePath('2.1.3', '2.5-alpha1', v2_5.alphas.two5_alpha1) to: MigrationTool.registerUpgradePath('2.1.3', '2.1.4', v2_1.two13_two14.two13_two14) MigrationTool.registerUpgradePath('2.1.4', '2.5-alpha1', v2_5.alphas.two5_alpha1) But when I've done the simulation here is the error: Result of the attempt... a.. Dry run selected. b.. Starting the migration from version: 2.1.4 c.. Attempting to upgrade from: 2.1.4 d.. Installed CMFPlacefulWorkflow. e.. Upgrade to: 2.5-alpha1, completed f.. Attempting to upgrade from: 2.5-alpha1 g.. Upgrade aborted h.. Error type: zExceptions.BadRequest i.. Error value: No select variable j.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/MigrationTool.py", line 307, in upgrade newv, msgs = self._upgrade(newv) k.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/MigrationTool.py", line 404, in _upgrade res = function(self.aq_parent) l.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/v2_5/alphas.py", line 24, in alpha1_alpha2 installPlonePAS(portal, out) m.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/v2_5/alphas.py", line 43, in installPlonePAS installOrReinstallProduct(portal, 'PlonePAS', out) n.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/migration_util.py", line 82, in installOrReinstallProduct qi.installProduct(product_name) o.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in installProduct res=install(portal) p.. File "/usr/lib/zope2.8/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) q.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 835, in install setupTools(portal, out) r.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 400, in setupTools migrateMemberDataTool(portal, out) s.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 543, in migrateMemberDataTool updateProp(mdtool, prop) t.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 570, in updateProp prop_manager._setProperty(id, value, type) u.. File "/usr/lib/zope2.8/lib/python/OFS/PropertyManager.py", line 189, in _setProperty raise BadRequest, 'No select variable %s' % value v.. End of upgrade path, migration has finished w.. The upgrade path did NOT reach current version x.. Migration has failed y.. Dry run selected, transaction aborted Any ideas ? Marc ----- Original Message ----- From: "Stefan H. Holek" To: "Marc Van Coillie" Cc: Sent: Sunday, November 12, 2006 1:40 PM Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 > You could try to force migration from 2.1.4. Migrations are written in a > way that they don't do harm when applied more than once. > > Stefan > > P.S: 2.1.4 is indeed missing from the migration chain in Plone 2.5. > Perhaps because 2.5 was cut before 2.1.4 got released. Oops. I will fix > this. > > > On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: > >> Hello, >> I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 but >> without any success, it seems that there is no migration path from this >> release. >> Result of the attempt... >> >> a.. Starting the migration from version: 2.1.4 >> b.. Attempting to upgrade from: 2.1.4 >> c.. Migration completed at version 2.1.4 >> d.. End of upgrade path, migration has finished >> e.. The upgrade path did NOT reach current version >> f.. Migration has failed >> Is there any solution ? Will I have to wait for release 2.5.2 ? Any idea >> about when it will be published ? >> >> anyway thanks for all your work ! >> >> Best regards, >> Marc > > -- > Anything that happens, happens. --Douglas Adams > > From aaron at netcorps.org Sun Nov 12 16:56:58 2006 From: aaron at netcorps.org (aaron) Date: Sun Nov 12 16:57:15 2006 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 In-Reply-To: <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> Message-ID: Marc, I have had success migrating 2.1.4->2.5.1 by doing a forced migration from 2.1 -> 2.5.1. That seemed to solve it. Hope that helps. Aaron On Nov 12, 2006, at 4:59 AM, Marc Van Coillie wrote: > Hi, > Thanks for your help, > > I've tried to force migration from 2.1.3 but without any success. > > So I've modified manually the migration path to add the 2.1.4 release: > > MigrationTool.registerUpgradePath('2.1.3', > '2.5-alpha1', > v2_5.alphas.two5_alpha1) > > to: > MigrationTool.registerUpgradePath('2.1.3', > > '2.1.4', > > v2_1.two13_two14.two13_two14) > > MigrationTool.registerUpgradePath('2.1.4', > > '2.5-alpha1', > > v2_5.alphas.two5_alpha1) > > But when I've done the simulation here is the error: > > Result of the attempt... > > a.. Dry run selected. > b.. Starting the migration from version: 2.1.4 > c.. Attempting to upgrade from: 2.1.4 > d.. Installed CMFPlacefulWorkflow. > e.. Upgrade to: 2.5-alpha1, completed > f.. Attempting to upgrade from: 2.5-alpha1 > g.. Upgrade aborted > h.. Error type: zExceptions.BadRequest > i.. Error value: No select variable > j.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > MigrationTool.py", line 307, in upgrade newv, msgs = self._upgrade > (newv) > k.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > MigrationTool.py", line 404, in _upgrade res = function > (self.aq_parent) > l.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/v2_5/alphas.py", line 24, in alpha1_alpha2 > installPlonePAS(portal, out) > m.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/v2_5/alphas.py", line 43, in installPlonePAS > installOrReinstallProduct(portal, 'PlonePAS', out) > n.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/migration_util.py", line 82, in > installOrReinstallProduct qi.installProduct(product_name) > o.. File "/var/lib/zope2.8/instance/eifel25/Products/ > CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in > installProduct res=install(portal) > p.. File "/usr/lib/zope2.8/lib/python/Products/ExternalMethod/ > ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) > q.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 835, in install setupTools(portal, out) > r.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 400, in setupTools > migrateMemberDataTool(portal, out) > s.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 543, in migrateMemberDataTool > updateProp(mdtool, prop) > t.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 570, in updateProp > prop_manager._setProperty(id, value, type) > u.. File "/usr/lib/zope2.8/lib/python/OFS/PropertyManager.py", > line 189, in _setProperty raise BadRequest, 'No select variable %s' > % value > v.. End of upgrade path, migration has finished > w.. The upgrade path did NOT reach current version > x.. Migration has failed > y.. Dry run selected, transaction aborted > Any ideas ? > > Marc > > > ----- Original Message ----- From: "Stefan H. Holek" > > To: "Marc Van Coillie" > Cc: > Sent: Sunday, November 12, 2006 1:40 PM > Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 > > >> You could try to force migration from 2.1.4. Migrations are >> written in a way that they don't do harm when applied more than >> once. >> >> Stefan >> >> P.S: 2.1.4 is indeed missing from the migration chain in Plone >> 2.5. Perhaps because 2.5 was cut before 2.1.4 got released. Oops. >> I will fix this. >> >> >> On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: >> >>> Hello, >>> I've tried to migrate one of my plone instance from v2.1.4 to >>> 2.5.1 but without any success, it seems that there is no >>> migration path from this release. >>> Result of the attempt... >>> >>> a.. Starting the migration from version: 2.1.4 >>> b.. Attempting to upgrade from: 2.1.4 >>> c.. Migration completed at version 2.1.4 >>> d.. End of upgrade path, migration has finished >>> e.. The upgrade path did NOT reach current version >>> f.. Migration has failed >>> Is there any solution ? Will I have to wait for release 2.5.2 ? >>> Any idea about when it will be published ? >>> >>> anyway thanks for all your work ! >>> >>> Best regards, >>> Marc >> >> -- >> Anything that happens, happens. --Douglas Adams >> > > > _______________________________________________ > Setup mailing list > Setup@lists.plone.org > http://lists.plone.org/mailman/listinfo/setup From christophe.dufourd at club-internet.fr Sun Nov 12 17:44:19 2006 From: christophe.dufourd at club-internet.fr (Christophe DUFOURD) Date: Sun Nov 12 18:22:26 2006 Subject: [Setup] Help - Migration Plone 2.1.3 to 2.1.4 Message-ID: <20061112174431.25F7F25612@relay-cm.club-internet.fr> Hello, I?d like to migrate from Plone 2.1.3 to 2.1.4. I?ve got the two following error messages 1?) Product at /Control_Panel/Products/ATContentTypes Import Traceback Traceback (most recent call last): File "/usr/local/zope/zope288/lib/python/OFS/Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/zope/rec-plone214-gc/Products/ATContentTypes/__init__.py", line 54, in ? import Products.ATContentTypes.content File "/home/zope/rec-plone214-gc/Products/ATContentTypes/content/__init__.py", line 34, in ? import Products.ATContentTypes.content.topic File "/home/zope/rec-plone214-gc/Products/ATContentTypes/content/topic.py", line 33, in ? from Products.CMFPlone.CatalogTool import CatalogTool File "/home/zope/rec-plone214-gc/Products/CMFPlone/CatalogTool.py", line 27, in ? from Products.CMFPlone.utils import base_hasattr ImportError: cannot import name base_hasattr 2?) Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: type object 'PloneSite' has no attribute '__before_publishing_traverse__' Can you help me ? Best regards. Christophe DUFOURD. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061112/4c877749/attachment.htm From nd51 at le.ac.uk Mon Nov 13 14:01:57 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Mon Nov 13 14:02:51 2006 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Rob Hills wrote: > > There's a thread on Plone User that started yesterday describing another > scenario where this problem occurs: > > http://article.gmane.org/gmane.comp.web.zope.plone.user/61224 Rob, I thought that was a good example you posted in response, where this would happen with Smart Folders, so I totally accept your point. But we didn't hear anything back from the OP to say whether indeed this was the problem she was facing... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From benton at panix.com Mon Nov 13 21:03:26 2006 From: benton at panix.com (Benton Roberts) Date: Mon Nov 13 21:03:39 2006 Subject: [Setup] Current Plone build on Fedora broken? Message-ID: <4558DD9E.4070607@panix.com> Hello, all. I am having a problem creating a new Plone site, on a freshly-installed Fedora build of Zope. Here's the entire configuration history of this system: 1) Installed Fedora Core 5 with the 'minimal' package set 2) Ran 'yum -y update', and then rebooted to the latest kernel 3) Ran 'yum -y install plone' 4) Ran 'zopectl adduser admin temp_password' 5) Ran 'service zope start' This procedure installs the current Fedora build of Plone (2.5.1-2.fc5) built on Zope 2.9.4-2.fc5. The fourth step generates some deprecation warnings, but seems to work OK. So I point my browser to http://myhost:8080/manage and login with the above credentials. So far, so good. But when I try to create a Plone site by selecting 'Plone Site' from the 'Add' pulldown menu, and filling in the three required fields, I get an error page with the following message: ====================================== Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: previous Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. ====================================== I'm a little suprised that I can't find other reports of this problem, given the ubiquity of Fedora in general (and presumably the above install process in particular). Has anyone else run into this problem, or know how to fix it? Thanks, -- -benton ------------- Benton Roberts benton@panix.com PGP Key ID 0x133E098F From mstawchansky at pathfire.com Mon Nov 13 21:08:32 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Mon Nov 13 21:09:11 2006 Subject: [Setup] Current Plone build on Fedora broken? In-Reply-To: <4558DD9E.4070607@panix.com> Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B47C6@pf-mail01.vninet.com> Can't say I've yummed down Plone in FC5, but I just completed a clean install of FC5 and simply grabbed the Plone 2.5.1 installer from the plone site. Runs like a dream ( i.e. no input required). The Plone and Zope instance was good to go after install and I just finished creating a Plone Site and migrated my customizations over from a Plone 2.1.2 site. I've noticed that Fedora has had some repository 'burps' over the last couple of weeks, you might have better luck with installer. -----Original Message----- From: setup-bounces@lists.plone.org [mailto:setup-bounces@lists.plone.org] On Behalf Of Benton Roberts Sent: Monday, November 13, 2006 4:03 PM To: setup@lists.plone.org Subject: [Setup] Current Plone build on Fedora broken? Hello, all. I am having a problem creating a new Plone site, on a freshly-installed Fedora build of Zope. Here's the entire configuration history of this system: 1) Installed Fedora Core 5 with the 'minimal' package set 2) Ran 'yum -y update', and then rebooted to the latest kernel 3) Ran 'yum -y install plone' 4) Ran 'zopectl adduser admin temp_password' 5) Ran 'service zope start' This procedure installs the current Fedora build of Plone (2.5.1-2.fc5) built on Zope 2.9.4-2.fc5. The fourth step generates some deprecation warnings, but seems to work OK. So I point my browser to http://myhost:8080/manage and login with the above credentials. So far, so good. But when I try to create a Plone site by selecting 'Plone Site' from the 'Add' pulldown menu, and filling in the three required fields, I get an error page with the following message: ====================================== Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: previous Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. ====================================== I'm a little suprised that I can't find other reports of this problem, given the ubiquity of Fedora in general (and presumably the above install process in particular). Has anyone else run into this problem, or know how to fix it? Thanks, -- -benton ------------- Benton Roberts benton@panix.com PGP Key ID 0x133E098F _______________________________________________ Setup mailing list Setup@lists.plone.org http://lists.plone.org/mailman/listinfo/setup From swapp0 at yahoo.com Tue Nov 14 08:54:01 2006 From: swapp0 at yahoo.com (Allen Huang) Date: Tue Nov 14 09:01:10 2006 Subject: [Setup] no "plone site" in the add menu Message-ID: <864363.57381.qm@web30208.mail.mud.yahoo.com> I'm sure you probably have been ask the question many time, but I just started with plone and I can't find any solution to this problem on he web of the plone site. after I moved every thing into zope instance home / product folder and restarted zope, "plone site" did not show in the add menu under root how do I solve this problem? I did exactly what sure be done in the install.txt documentation. please help.. --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061114/ba2a1620/attachment.html From nd51 at le.ac.uk Tue Nov 14 09:24:13 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Tue Nov 14 09:24:45 2006 Subject: [Setup] Re: no "plone site" in the add menu In-Reply-To: <864363.57381.qm@web30208.mail.mud.yahoo.com> References: <864363.57381.qm@web30208.mail.mud.yahoo.com> Message-ID: Allen Huang wrote: > I'm sure you probably have been ask the question many time, but I just > started with plone and I can't find any solution to this problem on he > web of the plone site. > > after I moved every thing into zope instance home / product folder > and restarted zope, "plone site" did not show in the add menu under root > > how do I solve this problem? I did exactly what sure be done in the > install.txt documentation. Please check the permissions of the CMFPlone folder that you copied into Products. Also, look in the zope.conf file and switch debug-mode on if its not already on, then restart and Zope may fail with a helpful error. One thing that confuses a lot of new people is that if you are NOT in debug mode, Zope will continue to run and appear to be OK even if some products had a problem on startup. One other thing - when asking questions like this please always tell people what version of Plone, Zope, python you have and on what O/S. Welcome to Plone. :-) hope this helps, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nielssteenkrogh at zitelab.dk Tue Nov 14 12:27:54 2006 From: nielssteenkrogh at zitelab.dk (Niels Steen Krogh) Date: Tue Nov 14 12:41:41 2006 Subject: [Setup] fedora problem In-Reply-To: <200611141200.kAEC0eXs029533@s1wr6.dotserv.com> References: <200611141200.kAEC0eXs029533@s1wr6.dotserv.com> Message-ID: <20061114121612.M42419@zitelab.dk> try starting with ./zopectl fg (from the bin-directory where you find zopectl) look for errors when you try to add plone-site in the zmi. Post the errors (from zopeztl fg) here so we might have better suggestions. /Niels From vedawms at unc.edu Tue Nov 14 14:50:57 2006 From: vedawms at unc.edu (vedawms) Date: Tue Nov 14 14:51:15 2006 Subject: [Setup] no "plone site" in the add menu In-Reply-To: <864363.57381.qm@web30208.mail.mud.yahoo.com> References: <864363.57381.qm@web30208.mail.mud.yahoo.com> Message-ID: <7339011.post@talk.nabble.com> Along the lines of what Nick recommended, when you restart Zope, use this command to restart it: sudo /Applications/Plone-2.5.1/Instance/bin/zopectl fg -- View this message in context: http://www.nabble.com/no-%22plone-site%22-in-the-add-menu-tf2628100.html#a7339011 Sent from the Plone Setup mailing list archive at Nabble.com. From vedawms at unc.edu Tue Nov 14 19:37:05 2006 From: vedawms at unc.edu (vedawms) Date: Tue Nov 14 19:37:17 2006 Subject: [Setup] stylesheets for site dropped, site broken Message-ID: <7344751.post@talk.nabble.com> I went into the ZMI for my site and turned off debug mode on stylesheets to try to improve performance. Immediately, the site choked and all stylesheets were dropped. I shut down zope then restarted. Stylesheets still missing. This is the second time this has happened to me, and I'm not sure what the commonality is. I thought maybe debug mode for zope was on, so I went to read the zope.conf file. Apparently it's not on, but there are only a few lines to my zope.conf, which made me think that maybe there was something wrong with it?? http://paste.plone.org/11540 I did a restart of zope in debug mode and got this: http://paste.plone.org/11541 It never really finished reloading, and going to the site now gives an internal server error. This is what I'm running. Plone 2.5.1, CMF-1.6.2, Zope (Zope 2.9.5-final, python 2.4.4, linux2), Five 1.3.7, Python 2.4.4 (#1, Nov 13 2006, 09:22:41) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)], PIL 1.1.5 You are running in "production mode". Thoughts? I know I need to get rid of the duplicate products, but beyond that I am at a loss. Thanks, - Veda -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7344751 Sent from the Plone Setup mailing list archive at Nabble.com. From vedawms at unc.edu Tue Nov 14 20:18:41 2006 From: vedawms at unc.edu (vedawms) Date: Tue Nov 14 20:18:59 2006 Subject: [Setup] stylesheets for site dropped, site broken In-Reply-To: <7344751.post@talk.nabble.com> References: <7344751.post@talk.nabble.com> Message-ID: <7345531.post@talk.nabble.com> Ok, so something else interesting... I restarted zope, all all content showed up, but still no stylesheets. I made a tiny change to ploneCustom.css, and presto, everything is back again. So... I assume it comes down to caching. I have CacheFu installed, but the only thing I configured was to add my site domains to the main page and to tell it to Cache in ProxyCache for 1 hour (hence, me pulling my hair out for the last 45 mins). I've uninstalled CacheFu and reinstalled it, hoping for the best. So, that brings me to my next question: Will CacheFu work just by installing it? My users are complaining that the site is extremely slow, but I'm not sure how to correctly set it up, since there are so many bells and whistles... -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7345531 Sent from the Plone Setup mailing list archive at Nabble.com. From swapp0 at yahoo.com Wed Nov 15 02:16:03 2006 From: swapp0 at yahoo.com (Allen Huang) Date: Wed Nov 15 02:23:13 2006 Subject: [Setup] install PIL into Plone 2.1.4 Message-ID: <210321.60393.qm@web30204.mail.mud.yahoo.com> I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't have PIL included in it. I download PIL1.1.5 and try installing it. But it turn out that PIL is install to python 2.3 instead of python2.4.3 used by Zope2.10.0. how do I fix this problem.. anyone? --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061114/cc27c433/attachment.html From limi at plone.org Wed Nov 15 02:58:30 2006 From: limi at plone.org (Alexander Limi) Date: Wed Nov 15 03:06:51 2006 Subject: [Setup] Re: stylesheets for site dropped, site broken References: <7344751.post@talk.nabble.com> <7345531.post@talk.nabble.com> Message-ID: On Tue, 14 Nov 2006 12:18:41 -0800, vedawms wrote: > Will CacheFu work just by installing it? My users are complaining that > the > site is extremely slow, but I'm not sure how to correctly set it up, > since > there are so many bells and whistles.. CacheFu has excellent documentation, and also a good presentation/slide PDF from the Plone Conference 2006: http://plone.org/events/conferences/seattle-2006/presentations (High Performance Plone) -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From limi at plone.org Wed Nov 15 06:17:04 2006 From: limi at plone.org (Alexander Limi) Date: Wed Nov 15 06:17:29 2006 Subject: [Setup] Re: install PIL into Plone 2.1.4 References: <210321.60393.qm@web30204.mail.mud.yahoo.com> Message-ID: On Tue, 14 Nov 2006 18:16:03 -0800, Allen Huang wrote: > I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't have > PIL included in it. Stop right there. Plone 2.1 does *not* run on Zope 2.10. Plone 3.0 is the version scheduled to work on Zope 2.10. Please use the version combinations that are listed as supported. -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From dave at netaxxs.com.au Wed Nov 15 02:46:41 2006 From: dave at netaxxs.com.au (Dave Fregon) Date: Wed Nov 15 12:00:10 2006 Subject: [Setup] install PIL into Plone 2.1.4 In-Reply-To: <210321.60393.qm@web30204.mail.mud.yahoo.com> References: <210321.60393.qm@web30204.mail.mud.yahoo.com> Message-ID: <1163558801.9050.73.camel@localhost> On Tue, 2006-11-14 at 18:16 -0800, Allen Huang wrote: > I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't > have PIL included in it. > I download PIL1.1.5 and try installing it. But it turn out that PIL is > install to python 2.3 instead of python2.4.3 used by Zope2.10.0. > > how do I fix this problem.. anyone? Explicitly tell the install script what version of python to use and thus install too. ie: instead of : $ python setup.py install which is probably your python2.3, try putting in the full path to python2.4 $ /path/to/python2.4 setup.py install Dave -- NetAxxs 20 Chisolm St Wangaratta 3677 Australia +613 5722 9622 From marc.van.coillie at eife-l.org Tue Nov 14 08:31:57 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Wed Nov 15 12:31:47 2006 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 References: <20061113120017.EB0FF7E5CC@m-n2.sivit.org> Message-ID: <044d01c707c7$5a86f9b0$0301a8c0@EIFELMARC> Hi, I've reached to do the migration (my error was due to some specific properties in my portal_memberdata). FYI, it seems that for Plone2.5/PlonePAS migration/installation : - an empty (null) memberdata property can't work with it (so in that case use a default value in the portal_memberdata property seems to solve this) - the same with a 'multipleselection' property (the only way I've found is to delete this property before to run the migration) Anyway after my migration I've seen that the ACL_Users referenced all my previous users but the portal_memberdata section claims that there is no member stored in my site, is it normal ??? It seems not cause when I try to login I've got this error message: Type de l'erreur TypeError Valeur de l'erreur iteration over non-sequence Requ?te envoy?e au serveur le 2006/11/14 08:12:51.483 GMT+1 Any ideas ? Will it be better to install PlonePas 1.3 in my existing Plone2.1 portal and after that doing the migration to Plone 2.5 ??? Does anyone have tried this (migration from PlonePas1.3 to PlonePas 2) ? Thanks in advance for your help, Marc Message: 3 Date: Sun, 12 Nov 2006 08:56:58 -0800 From: aaron Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 To: setup@lists.plone.org Message-ID: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Marc, I have had success migrating 2.1.4->2.5.1 by doing a forced migration from 2.1 -> 2.5.1. That seemed to solve it. Hope that helps. Aaron From vedawms at unc.edu Wed Nov 15 13:58:26 2006 From: vedawms at unc.edu (vedawms) Date: Wed Nov 15 13:58:34 2006 Subject: [Setup] stylesheets for site dropped, site broken In-Reply-To: References: <7344751.post@talk.nabble.com> <7345531.post@talk.nabble.com> Message-ID: <7358050.post@talk.nabble.com> Ah yes, I have my notes from that which are a lot less lucid than the PDF. Thanks! -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7358050 Sent from the Plone Setup mailing list archive at Nabble.com. From mstawchansky at pathfire.com Wed Nov 15 15:25:09 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Wed Nov 15 15:25:51 2006 Subject: [Setup] Trying to export from Plone 2.1.3 and import to 2.5.1 Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B47DF@pf-mail01.vninet.com> I think I've installed all the correct Products into my Plone 2.5.1 instance to match the 2.1.3 I'm exporting from, however when I try to import my .zexp of my 2.1.3 instance, it doesn't like me. Below is the trace info, if anything jumps out your thoughs would be most appreciated, or if I need to go about this a different way.... Thanks, Mike Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.ObjectManager, line 588, in manage_importObject Module OFS.ObjectManager, line 605, in _importObjectFromFile Module ZODB.ExportImport, line 75, in importFile Module transaction._transaction, line 295, in savepoint Module transaction._transaction, line 292, in savepoint Module transaction._transaction, line 675, in __init__ Module ZODB.Connection, line 1012, in savepoint Module ZODB.Connection, line 493, in _commit Module ZODB.ExportImport, line 144, in _importDuringCommit Module copy_reg, line 48, in _reconstructor TypeError: ('object.__new__(Index) is not safe, use Persistence.Persistent.__new__()', , (, Hi all, i'm tryng to upgrade my plone instance from 2.1.2 to 2.5.1 (Zope 2.9.5 on Windows). I have an oddity and a problem. The oddity is that before a dry run I have: Instance version 2.1.2 Filesystem version 2.1.5 and after the dry run I have: Instance version 2.5.alpha1 Filesystem version 2.1.5. So seems to me that dry run modify the zodb. Anyway if I redo an upgrade (without checking dry-run, this time!) everything works except members administration: if I search for memeber I have an Error Type TypeError Error Value iteration over non-sequence Request made at 2006/11/15 17:49:57.016 GMT+1 Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 96, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 39, in _call Module Products.CMFFormController.ControllerBase, line 245, in getNext - __traceback_info__: ['id = prefs_users_overview', 'status = success', 'button=FindAll', 'errors={}', 'context=', 'kwargs={}', 'next_action=None', ''] Module Products.CMFFormController.Actions.TraverseTo, line 36, in __call__ Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 96, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 42, in _call Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 195, in _exec Module Products.CMFCore.FSPageTemplate, line 134, in pt_render Module Products.PageTemplates.PageTemplate, line 104, in pt_render - Module TAL.TALInterpreter, line 238, in __call__ Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 715, in do_condition Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 507, in do_setLocal_tal Module Products.PageTemplates.TALES, line 221, in evaluate - URL: file:CMFPlone/skins/plone_prefs/prefs_users_overview.cpt - Line 91, Column 8 - Expression: - Names: {'container': , 'context': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': (), 'state': }, 'repeat': , 'request': , 'root': , 'template': , 'traverse_subpath': [], 'user': } Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: (searchstring or findAll) and mtool.searchForMembers(name=searchstring) or [] Module Python expression "(searchstring or findAll) and mtool.searchForMembers(name=searchstring) or []", line 1, in Module Products.PlonePAS.tools.membership, line 190, in searchForMembers Module Products.CMFPlone.MembershipTool, line 321, in listMembers Module Products.PlonePAS.pas, line 272, in getUsers Module Products.PlonePAS.plugins.user, line 131, in getUsers Module Products.PluggableAuthService.PluggableAuthService, line 223, in getUserById Module Products.PluggableAuthService.PluggableAuthService, line 719, in _findUser Module Products.PlonePAS.plugins.property, line 164, in getPropertiesForUser Module Products.PluggableAuthService.UserPropertySheet, line 109, in __init__ TypeError: iteration over non-sequence Can anyone help me to solve this problem? Thanks Michele -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061115/3e4bd822/attachment.html From dave at netaxxs.com.au Wed Nov 15 23:09:01 2006 From: dave at netaxxs.com.au (Dave Fregon) Date: Thu Nov 16 07:35:16 2006 Subject: [Setup] Problem with members search after migration to 2.5.1 In-Reply-To: <942D97AADEBADE4488705C3CCED883F586FC15@w3gen06.apss.tn.it> References: <942D97AADEBADE4488705C3CCED883F586FC15@w3gen06.apss.tn.it> Message-ID: <1163632141.8866.13.camel@localhost> On Wed, 2006-11-15 at 18:01 +0100, Zanotti Michele wrote: > Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > - __traceback_info__: (searchstring or findAll) and mtool.searchForMembers(name=searchstring) or [] > Module Python expression "(searchstring or findAll) and mtool.searchForMembers(name=searchstring) or []", line 1, in > Module Products.PlonePAS.tools.membership, line 190, in searchForMembers > Module Products.CMFPlone.MembershipTool, line 321, in listMembers > Module Products.PlonePAS.pas, line 272, in getUsers > Module Products.PlonePAS.plugins.user, line 131, in getUsers > Module Products.PluggableAuthService.PluggableAuthService, line 223, in getUserById > Module Products.PluggableAuthService.PluggableAuthService, line 719, in _findUser > Module Products.PlonePAS.plugins.property, line 164, in getPropertiesForUser > Module Products.PluggableAuthService.UserPropertySheet, line 109, in __init__ > TypeError: iteration over non-sequence > Can anyone help me to solve this problem? I too have had this problem in 2 sites so far, I posted to the Plone Users list with no reply, and the ozzope list .. It appears this issue has something to do with properties on users not being found, I can do a search in the ZMI acl_users not a problem, but something in the membership data I think is breaking stuff when calling via plone tools etc, where maybe properties are missing on users, I'm just guessing as this new PAS is rather a black box for me atm. I have mutable_properties enabled in acl_users.plugins for what that's worth .. I presume the users do not have properties that are being looked for, but darned if I can work it out what they should be, or how to fix :\ In one of the sites I just ended up moving the content into a fresh Plone in the same zope instance, and losing the Members ... in the other site, with over 4000 users, I'm kinda stuck. Any ideas where to look or stuff to try with regard troubleshooting this issue? Dave -- NetAxxs 20 Chisolm St Wangaratta 3677 Australia +613 5722 9622 From 2111279 at gmail.com Thu Nov 16 08:41:38 2006 From: 2111279 at gmail.com (jjordaan) Date: Thu Nov 16 09:06:16 2006 Subject: [Setup] Re: Welcome to the "Setup" mailing list In-Reply-To: References: Message-ID: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> im trying to do research on how moodle and educommons communicates. installed apache and moodle. does anyone know how to install a Zope server. i need it to run educommons on the Zope server. i have followed the instructions but they were written for redhat. im currently running ubuntu dapper. when i install python, i get the following errors: "INFO: Can't locate Tcl/Tk libs and/or headers" -jjordaan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061116/7a8ba13d/attachment.htm From nd51 at le.ac.uk Thu Nov 16 10:11:06 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu Nov 16 10:11:35 2006 Subject: [Setup] Re: Welcome to the "Setup" mailing list In-Reply-To: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> References: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> Message-ID: jjordaan wrote: > im trying to do research on how moodle and educommons communicates. > installed apache and moodle. > does anyone know how to install a Zope server. > i need it to run educommons on the Zope server. > i have followed the instructions but they were written for redhat. > im currently running ubuntu dapper. > when i install python, i get the following errors: > > "INFO: Can't locate Tcl/Tk libs and/or headers" Hello, This sounds like either Tcl/Tk lib/hdr package(s) are not installed, or the path is not set up for it to find them. To an experienced Linux user that is obvious. If you're not experienced with Linux, you need to get hold of some books. Try a 'which tcl' , as the same user you're using to build python/zope, to see if tcl is installed at all (I can't imagine it not being, since Linux depends left right & centre on tcl). Then do "sudo apt-cache search tcl" and amongst the long list generated should be something like extra libraries for tcl. Then do 'sudo aptitude install ' - with the package name from the list above. It'll either get the packages you want, or, if it says you've already got them, then you'll know its a library path issue you've got to hunt down. This newsgroup is meant for setup issues at the Plone level. For help with Linux, the Ubuntu forums would be more friendly to people without a lot of Linux experience. Hope that helps, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From 2111279 at gmail.com Thu Nov 16 12:19:58 2006 From: 2111279 at gmail.com (jjordaan) Date: Thu Nov 16 12:20:08 2006 Subject: [Setup] UWC student running into a brick wall Message-ID: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> i have finaly set up Python. now im havin trouble with Python Imaging Library. it doesnt find the packages i require. i know its probably not pointing to the correct path. but im not that experienced with linux. and dont know where to modify the installation it gives the following output: PIL 1.1.5 BUILD SUMMARY -------------------------------------------------------------------- version 1.1.5 platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] -------------------------------------------------------------------- *** TKINTER support not available *** JPEG support not available --- ZLIB (PNG/ZIP) support ok *** FREETYPE2 support not available -jjordaan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061116/6cc9f4bb/attachment.html From Michele.Zanotti at apss.tn.it Thu Nov 16 12:38:46 2006 From: Michele.Zanotti at apss.tn.it (Zanotti Michele) Date: Thu Nov 16 12:42:06 2006 Subject: R: [Setup] Problem with members search after migration to 2.5.1 In-Reply-To: <1163632141.8866.13.camel@localhost> Message-ID: <942D97AADEBADE4488705C3CCED883F503B468B6@w3gen06.apss.tn.it> >It appears this issue has something to do with properties on >users not being found, I can do a search in the ZMI acl_users >not a problem, but something in the membership data I think is >breaking stuff when calling via plone tools etc, Thank you, Dave. With your suggestion and a little script I have found the corrupted (?) user (well, I have only 30 users): Deleted him in zmi, i can search the others in Plone users overview. This is the script: memberIdList = context.portal_membership.listMemberIds() corrupted=[] for memberId in memberIdList: try: u=context.portal_membership.getMemberById(memberId) except: corrupted.append(memberId) return str(corrupted) Well, it has worked for me, but I have no skill for saying it is correct! Michele From 2111279 at gmail.com Fri Nov 17 09:26:43 2006 From: 2111279 at gmail.com (jjordaan) Date: Fri Nov 17 09:26:50 2006 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> Message-ID: <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> On 11/16/06, jjordaan <2111279@gmail.com> wrote: > > i have finaly set up Python. > now im havin trouble with Python Imaging Library. > it doesnt find the packages i require. > i know its probably not pointing to the correct path. > but im not that experienced with linux. > and dont know where to modify the installation > it gives the following output: PIL 1.1.5 BUILD SUMMARY > -------------------------------------------------------------------- > version 1.1.5 > platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] > -------------------------------------------------------------------- > *** TKINTER support not available > *** JPEG support not available > --- ZLIB (PNG/ZIP) support ok > *** FREETYPE2 support ok > > -jjordaan > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061117/58e3d18f/attachment.htm From temporaryplone at arcor.de Sat Nov 18 08:43:59 2006 From: temporaryplone at arcor.de (Mr. Sun) Date: Sat Nov 18 09:15:17 2006 Subject: [Setup] Problems with Plone Installation on OpenBSD 4.0 Message-ID: Hello! I installed Zope on OpenBSD 4.0 yesterday. Now i'm trying to install Plone which didn't (?) work out. So here's what i did: First i tried to compile Zope by source via the ports system which failed because of needed X-Libaries for the tk-compilation. Anyway, the resolution and compilation of port depencies gave me a running python which i symlinked with the following commands: ln -s /usr/local/bin/python2.4 /usr/local/bin/python ln -s /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc Afterwards, i successfully installed python-expat and expat via the packages system. Packages are: python-expat-2.4.3p0.tgz ...which depends on expat 2.0.0.tgz without the python-expat i wasn't possible to start the zopectl via the terminal at a later point (mean after successful install of zope). I installed Zope 2.8.6-final.tgz via the package system which automatically sets up a user & group for _zope and gave me the following output on my terminal: --- zope-2.8.6p0 ------------------- This package uses the INSTANCE_HOME installation method, as described at http://www.zope.org/Members/4am/instancehome. This allows you to install the Zope package once and create as many sites as you want without changing your core Zope installation. Have a look at /usr/local/lib/zope/doc/README.OpenBSD to see how to create your instance and have it start at boot time. In README.OpenBSD is the first problem i got. It says: In this document we'll see how to create a zope instance and have it start at boot time. Throughout this document, we will assume that the instance you want will be located in /var/www under the name of 'zope'. Our instance will thus be /var/www/zope. 1) Creating your instance - run /usr/local/lib/zope/bin/mkzopeinstance.py to create your instance: # /usr/local/lib/zope/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc. Directory: /var/www/zope Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: zopeadmin Password: Verify password: - as we want to run our instance(s) with the _zope user, we should grant him the rights on the log/ and var/ directories. # chown _zope /var/www/zope/{log,var} As far as i have read the documentation of plone, the mkzopinstancy.py shouldn't be executed as root. I did it at a first installation of zope, but after reading the docs on plone.org i removed the whole package which deleted all files installed by itself and reinstalled the whole zope pkg. so i did it run mkzopeinstance.py as an unprivileged user, but not as the www (which is default for apache on OpenBSD) or _zope user. I was able to install it and to gain access to the websurface. Here is my Zope Control Panel Info: Zope Version (Zope 2.8.6-final, python 2.4.3, openbsd4) Python Version 2.4.3 (#1, Aug 31 2006, 18:24:01) [GCC 3.3.5 (propolice)] System Platform openbsd4 SOFTWARE_HOME /usr/local/lib/zope/lib/python ZOPE_HOME /usr/local/lib/zope INSTANCE_HOME /var/www/zope CLIENT_HOME /var/www/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8080) So afterwards, i downloaded the Plone-2.0.5 Tarball and extracted it in my working directory. After downloading the additional needed ... Five-1.2.6.tgz Imaging-1.1.5.tar.gz jpegsrc.v6b zlib-1.2.3 elementtree-1.2.6-20050316.tar.gz - I replaced Five in the Extraction-Dir with the downloaded Five-1.2.6 - compiled jpegsrc and put the compiled files to my /usr/local/corresponding_dirs - compiled Imaging-1.1.5 with jpg and png support, mv'd the dir to extracted Plone2.0.5/ - extracted zlib-1.2.3 and mv'd the dir to extracted Plone2.0.5/ - extracted elementree-1.2.6* and mv'd the dir to extracted Plone2.0.5/ Following the Readme i moved the directories under Plone2.0.5/ to my $INSTANCE_HOME/Products directory and restarted Zope. Actually, i do have Plone-specific Products like BTreeFolder2 or Plone Language Tool in my Droplist, but no "Add Plone Site". Zope gave me a big error log which i added under http://home.arcor.de/hasann/public/zope.log My /var/www/zope directory is listed in http://home.arcor.de/hasann/public/zopetree Further Questions: - Am i right here? Or is this more a zope problem? (Anyway i think the problems are my fault ;) Any Advices welcome! Thanx in Advance, Mr. Sun From temporaryplone at arcor.de Sat Nov 18 09:17:52 2006 From: temporaryplone at arcor.de (temporaryplone@arcor.de) Date: Sat Nov 18 16:53:45 2006 Subject: [Setup] Installation of Plone on OpenBSD 4.0 Message-ID: Hello! I installed Zope on OpenBSD 4.0 yesterday. Now i'm trying to install Plone which didn't (?) work out. So here's what i did: First i tried to compile Zope by source via the ports system which failed because of needed X-Libaries for the tk-compilation. Anyway, the resolution and compilation of port depencies gave me a running python which i symlinked with the following commands: ln -s /usr/local/bin/python2.4 /usr/local/bin/python ln -s /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc Afterwards, i successfully installed python-expat and expat via the packages system. Packages are: python-expat-2.4.3p0.tgz ...which depends on expat 2.0.0.tgz without the python-expat i wasn't possible to start the zopectl via the terminal at a later point (mean after successful install of zope). I installed Zope 2.8.6-final.tgz via the package system which automatically sets up a user & group for _zope and gave me the following output on my terminal: --- zope-2.8.6p0 ------------------- This package uses the INSTANCE_HOME installation method, as described at http://www.zope.org/Members/4am/instancehome. This allows you to install the Zope package once and create as many sites as you want without changing your core Zope installation. Have a look at /usr/local/lib/zope/doc/README.OpenBSD to see how to create your instance and have it start at boot time. In README.OpenBSD is the first problem i got. It says: In this document we'll see how to create a zope instance and have it start at boot time. Throughout this document, we will assume that the instance you want will be located in /var/www under the name of 'zope'. Our instance will thus be /var/www/zope. 1) Creating your instance - run /usr/local/lib/zope/bin/mkzopeinstance.py to create your instance: # /usr/local/lib/zope/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc. Directory: /var/www/zope Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: zopeadmin Password: Verify password: - as we want to run our instance(s) with the _zope user, we should grant him the rights on the log/ and var/ directories. # chown _zope /var/www/zope/{log,var} As far as i have read the documentation of plone, the mkzopinstancy.py shouldn't be executed as root. I did it at a first installation of zope, but after reading the docs on plone.org i removed the whole package which deleted all files installed by itself and reinstalled the whole zope pkg. so i did it run mkzopeinstance.py as an unprivileged user, but not as the www (which is default for apache on OpenBSD) or _zope user. I was able to install it and to gain access to the websurface. Here is my Zope Control Panel Info: Zope Version (Zope 2.8.6-final, python 2.4.3, openbsd4) Python Version 2.4.3 (#1, Aug 31 2006, 18:24:01) [GCC 3.3.5 (propolice)] System Platform openbsd4 SOFTWARE_HOME /usr/local/lib/zope/lib/python ZOPE_HOME /usr/local/lib/zope INSTANCE_HOME /var/www/zope CLIENT_HOME /var/www/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8080) So afterwards, i downloaded the Plone-2.0.5 Tarball and extracted it in my working directory. After downloading the additional needed ... Five-1.2.6.tgz Imaging-1.1.5.tar.gz jpegsrc.v6b zlib-1.2.3 elementtree-1.2.6-20050316.tar.gz - I replaced Five in the Extraction-Dir with the downloaded Five-1.2.6 - compiled jpegsrc and put the compiled files to my /usr/local/corresponding_dirs - compiled Imaging-1.1.5 with jpg and png support, mv'd the dir to extracted Plone2.0.5/ - extracted zlib-1.2.3 and mv'd the dir to extracted Plone2.0.5/ - extracted elementree-1.2.6* and mv'd the dir to extracted Plone2.0.5/ Following the Readme i moved the directories under Plone2.0.5/ to my $INSTANCE_HOME/Products directory and restarted Zope. Actually, i do have Plone-specific Products like BTreeFolder2 or Plone Language Tool in my Droplist, but no "Add Plone Site". My actual zopectl fg is at /home/arcor.de/hasann/public/zope_fg.txt Zope gave me a big error log which i added under http://home.arcor.de/hasann/public/zope.log, but it's similar to the output of zopectl fg. My /var/www/zope directory is listed in http://home.arcor.de/hasann/public/zopetree.txt perhaps i just messed up the rights? Any Advices welcome! Thanx in Advance, Mr. Sun From dmidd at chartermi.net Mon Nov 20 05:22:19 2006 From: dmidd at chartermi.net (Daryl Middleton) Date: Mon Nov 20 06:22:33 2006 Subject: [Setup] Plone 2.51 and ZmysqlDA Message-ID: I am unable to get the ZmysqlDA to appear on the dropdown menu. I utilized Plone 2.51 installer on Windows 2000 pro. Had to update Python to 2.44 so python-mysql would install. Everything works in Plone but still no drop down selection for database adapter. I believe python-mysql and ZmysqlDA are in the proper directories. Any one having better luck. From marc.van.coillie at eife-l.org Mon Nov 20 08:30:24 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon Nov 20 08:30:37 2006 Subject: [Setup] Re: Re: Migration Plone 2.1.4 to Plone 2.5.1 References: <20061115173841.E6483E0F02@m-n4.sivit.org> Message-ID: <008901c70c7e$2116bf60$0301a8c0@EIFELMARC> Hello, I'm responding to myself, here the steps I've followed to migrate properly from 2.1.4 to 2.5.1 (and using PlonePas1.3 before to move to Plone2.5.1 and PlonePas2.1): - Installing PlonePas 1.3 on Plone2.1 is not so easy, please follow this tips to modify some files in PlonePas 1.3 http://plone.org/products/plonepas/issues/15 (I've used these releases of the products, except for PasswordResetTool, I've used the last one 0.4.1). - Before to install PlonePas 2.1, take a look at your member-metadata, I've suppressed all unused metadata (related to deprecated products like CMFBoard), as well as all metadata using Lines type, all metadata using selection have been changed to string. - Backup your data.fs database (of course) - Install PlonePas (try to login and search in the Members section to see if everything is correct) After that move your Data.fs in a zope instance with Plone2.5.1 and all the other products you are using and that's it. I've just need to delete the plone login portlet related to my skin in order to use the plone default one. To see if the memberdata are migrated correclty (and also before migration to see all metadata not really used) I'm using a very simple script (but very usefull in my case): from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE print "User Name;location;occupation;interests;timezone" for m in context.portal_membership.listMembers(): print "%s;" %m.getUserName(),"%s;" %m.getProperty('location'),"%s;" %m.getProperty('occupation'),"%s;" %m.getProperty('interests'),"%s;" %m.getProperty('timezone') return printed (of course replace here the property by the property you want to see) Hope this can help somebody else. Marc > > Hi, > I've reached to do the migration (my error was due to some specific > properties in my portal_memberdata). > FYI, it seems that for Plone2.5/PlonePAS migration/installation : > - an empty (null) memberdata property can't work with it (so in that case > use a default value in the portal_memberdata property seems to solve this) > - the same with a 'multipleselection' property (the only way I've found is > to delete this property before to run the migration) > > Anyway after my migration I've seen that the ACL_Users referenced all my > previous users but the portal_memberdata section claims that there is no > member stored in my site, is it normal ??? > It seems not cause when I try to login I've got this error message: > > Type de l'erreur > TypeError > Valeur de l'erreur > iteration over non-sequence > Requ?te envoy?e au serveur le > 2006/11/14 08:12:51.483 GMT+1 > Any ideas ? > > Will it be better to install PlonePas 1.3 in my existing Plone2.1 portal > and > after that doing the migration to Plone 2.5 ??? > Does anyone have tried this (migration from PlonePas1.3 to PlonePas 2) ? > > Thanks in advance for your help, > Marc > From marc.van.coillie at eife-l.org Mon Nov 20 08:45:49 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon Nov 20 08:45:55 2006 Subject: [Setup] Re: Re: Problem with members search after migration to 2.5.1 References: <20061116120017.A77EE7E544@m-n2.sivit.org> Message-ID: <009901c70c80$48e0fcc0$0301a8c0@EIFELMARC> Hi, I've got this error also: "TypeError: iteration over non-sequence" When I've done my first attempt to migrate from 2.1.4 to 2.5.1, it seems to be related to bad member metadata, I've just post in this how I've migrated (using an another step to deploy PlonePas1.3 on my Plone2.1.4 instance to check that all the member metadatas are moved correctly from Gruf to PlonePas). So I've been obliged to delete or change the types of some of these metadatas (due to unused products, advanced types like multiple selection, selection and lines). Selection types have been changed to 'string'. To see the value of the metadata before to delete them I'm using this short script: from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE print "User Name;location;occupation;interests;timezone" for m in context.portal_membership.listMembers(): print "%s;" %m.getUserName(),"%s;" %m.getProperty('location'),"%s;" %m.getProperty('occupation'),"%s;" %m.getProperty('interests'),"%s;" %m.getProperty('timezone') return printed With some metadatas the result of the script is not printed correctly on the screen (no carriage return) so in that case I've suppressed the metadata which give this print out error (don't tell me why I'm not an expert in plone and python design development)... Anyway after this cleaning in the member properties I've been able to migrate correclty and don't see again this error when I'm searching for Members information or trying to login :-). (Now I've got other errors but related to browser support with Plone2.5.1 :-( ) Last point: this cleaning has been done before migration and install of PlonePas 1.3, I don't think that it can change something after migration so I guess that you need to go back to your previous instance and plone version and try again... Hope this can help you. Marc From marc.van.coillie at eife-l.org Mon Nov 20 09:02:04 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon Nov 20 09:02:10 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) Message-ID: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Hello, I've just migrated our plone instances on Plone2.5.1 and one of my colleagues can't access them using her IE 6 browser (IE6.0.29 on Windows XP), she's got this error message: Stack overflow at line 0 She has done a test with www.plone.org and she's got the same error. She has deleted all the cookies and IE temp files but with no success (Firefox connection from her PC works well). It seems that there is an error somewhere (in the CSS ?), other PCs with IE6 works fine, that's very bizarre... Does anyone know how to solve this issue (a specific settings in IE) ? Can it be related to a specific JVM or other MS library (related to MS Office, a service pack ??) Regarding other browser tests, for Safari/Mac and some other IE6 users we need to delete the cookies to login properly and maintain the login from one page to an another. We don't have this error with Plone2.5 nor on Plone2.1.4... Marc From py.landure at dorigo.fr Mon Nov 20 09:14:41 2006 From: py.landure at dorigo.fr (=?ISO-8859-1?Q?Pierre-Yves_Landur=E9?=) Date: Mon Nov 20 09:36:49 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Message-ID: <45617201.8080601@dorigo.fr> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: py.landure.vcf Type: text/x-vcard Size: 433 bytes Desc: not available Url : http://lists.plone.org/pipermail/setup/attachments/20061120/1569fe20/py.landure.vcf From vedawms at unc.edu Mon Nov 20 14:45:50 2006 From: vedawms at unc.edu (vedawms) Date: Mon Nov 20 14:46:04 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Message-ID: <7443689.post@talk.nabble.com> I also have been experiencing this with a new 2.5.1 site on IE6.0.2. Someone suggested this might be a solution, but my client is in another country and not sophisticated enough to try this out: "If the css or js uses filters or xmlhttp objects then it might be worhtwhile to get a new version of the MSXML stack: See: http://tinyurl.com/dtsmt for the latest or : http://tinyurl.com/yazofc for an overview." Good luck, - Veda -- View this message in context: http://www.nabble.com/IE6-Browser-errors-support-with-Plone-2.5.1-%28Stack-overflow-at-line-0%29-tf2667735.html#a7443689 Sent from the Plone Setup mailing list archive at Nabble.com. From smohs at billian.com Mon Nov 20 16:26:55 2006 From: smohs at billian.com (Seth Mohs) Date: Mon Nov 20 16:30:39 2006 Subject: [Setup] Setting up plone as a corporate site Message-ID: Does anyone know of a how-to or documentation on setting up plone for a corporate site. Basically I want a public site with no comments, log ins, etc and a CMS site that employees can log into and manage the content on the public site. --Seth From optilude at gmx.net Mon Nov 20 17:03:22 2006 From: optilude at gmx.net (Martin Aspeli) Date: Mon Nov 20 17:03:39 2006 Subject: [Setup] Setting up plone as a corporate site In-Reply-To: References: Message-ID: <7446139.post@talk.nabble.com> Seth Mohs wrote: > > Does anyone know of a how-to or documentation on setting up plone for a > corporate site. Basically I want a public site with no comments, log ins, > etc and a CMS site that employees can log into and manage the content on > the > public site. > There is lots of information on plone.org/documentation :) You probably want the how-tos on "closing the site", by removing the Join link (and the login link if you wish). Comments you can turn off per-content-type in potral_types in the ZMI. Out of the box, Plone does not distinguish between the "editing site" and the "public site", which tends to be easier for users to get to grips with, but there's a tutorial on setting up a "staged site" if you so wish. You probably also want to read the "putting a new look on Plone" tutorial to create a custom skin. Martin -- View this message in context: http://www.nabble.com/Setting-up-plone-as-a-corporate-site-tf2670078.html#a7446139 Sent from the Plone Setup mailing list archive at Nabble.com. From tech_dev at wildintellect.com Tue Nov 21 00:28:23 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Tue Nov 21 00:28:49 2006 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> Message-ID: jjordaan wrote: > On 11/16/06, jjordaan <2111279@gmail.com> > wrote: >> >> i have finaly set up Python. >> now im havin trouble with Python Imaging Library. >> it doesnt find the packages i require. >> i know its probably not pointing to the correct path. >> but im not that experienced with linux. >> and dont know where to modify the installation >> it gives the following output: > > > > > PIL 1.1.5 BUILD SUMMARY >> -------------------------------------------------------------------- >> version 1.1.5 >> platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) >> [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] >> -------------------------------------------------------------------- >> *** TKINTER support not available >> *** JPEG support not available >> --- ZLIB (PNG/ZIP) support ok >> *** FREETYPE2 support ok >> >> -jjordaan >> > Looks like your running Ubuntu, you can install PIL using the package management system, it will handle all dependencies for you, same for python. Either use Synaptic or from the command line $sudo apt-get install python-imaging if you need it for python 2.4 $sudo apt-get install python2.4-imaging When you get around to Zope you can also use the package manager. Personally I prefer to do this step from source. On Ubuntu there's a great tool to allow you to log things you install from source, called checkinstall, I recommend you use it any time you're installing from source so it makes it easy to uninstall or upgrade. Alex From shadroth at gmail.com Tue Nov 21 00:50:44 2006 From: shadroth at gmail.com (Ben) Date: Tue Nov 21 00:50:52 2006 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> Message-ID: <56b72d5a0611201650l38f35bfco95c7eb650bd794e4@mail.gmail.com> If it's anything like setup in CentOS and SUSE, you need (for Ubuntu) tcl8.3 tcl8.3-dev tk8.3 tk8.3-dev (8.4 also available, not sure which one would be better to use). That will get TKINTER going. For jpeg, you probably need these: libjpeg62 libjpeg62-dev From temporaryplone at arcor.de Tue Nov 21 13:46:33 2006 From: temporaryplone at arcor.de (Mr. Sun) Date: Tue Nov 21 13:47:32 2006 Subject: [Setup] Re: To the readers: Problems with Plone Installation on OpenBSD 4.0 References: Message-ID: To the readers, The plone port on OpenBSD 4.0 is actually marked as broken. What a pity! Am 18.11.2006, 09:43 Uhr, schrieb Mr. Sun : > Hello! > > I installed Zope on OpenBSD 4.0 yesterday. > Now i'm trying to install Plone which didn't (?) work out. From limi at plone.org Tue Nov 21 16:45:36 2006 From: limi at plone.org (Alexander Limi) Date: Tue Nov 21 16:47:37 2006 Subject: [Setup] Re: To the readers: Problems with Plone Installation on OpenBSD 4.0 References: Message-ID: Try using the Universal *ix installer from http://plone.org/download instead. On Tue, 21 Nov 2006 05:46:33 -0800, Mr. Sun wrote: > To the readers, > > The plone port on OpenBSD 4.0 is actually marked as broken. > > What a pity! > > Am 18.11.2006, 09:43 Uhr, schrieb Mr. Sun > : > >> Hello! >> >> I installed Zope on OpenBSD 4.0 yesterday. >> Now i'm trying to install Plone which didn't (?) work out. > > -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From aclark at aclark.net Tue Nov 21 19:06:02 2006 From: aclark at aclark.net (Alex Clark) Date: Tue Nov 21 19:08:16 2006 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: Nick Davis writes: > It looks that way. A good way to find out more is use the debugger and > set a breakpoint on the last line of that trace. I like emacs for > debugging, as it steps through syntax-highlighted code, but there are > many alternative ways to do the same thing & opinions on the matter. Is it reasonable to put a try/except around that block of code just to make it through the migration? O:-) > From emailproduk at gmail.com Thu Nov 23 06:19:55 2006 From: emailproduk at gmail.com (MYkad Reader) Date: Thu Nov 23 06:53:30 2006 Subject: [Setup] MyKad Reader tawaran terendah Message-ID: <0J960078O83OHKL0@av2.tm.net.my> Tawaran Penghabisan Stok.. Saya hanya ingin mencelah sebentar... MYKAd Reader bagi kegunaan membaca semua maklumat yang terkandung di dalam Kad pengenalan anda.. Anda boleh gunakan untuk menyemak kad pengenalan sesiapa sahaja ... Harga serendah RM 19.90 bagi tempahan Online sahaja... http://docs.google.com/Doc?id=dt75zrg_12j6pr MyKad Reader tawaran terendah From emailproduk at gmail.com Thu Nov 23 07:14:22 2006 From: emailproduk at gmail.com (MYkad Reader) Date: Thu Nov 23 07:42:59 2006 Subject: [Setup] MyKad Reader tawaran terendah Message-ID: <0J960070MAO9HNY0@av2.tm.net.my> Tawaran Penghabisan Stok.. Saya hanya ingin mencelah sebentar... MYKAd Reader bagi kegunaan membaca semua maklumat yang terkandung di dalam Kad pengenalan anda.. Anda boleh gunakan untuk menyemak kad pengenalan sesiapa sahaja ... Harga serendah RM 19.90 bagi tempahan Online sahaja... http://docs.google.com/Doc?id=dt75zrg_12j6pr MyKad Reader tawaran terendah From py.landure at dorigo.fr Thu Nov 23 08:43:22 2006 From: py.landure at dorigo.fr (=?ISO-8859-1?Q?Pierre-Yves_Landur=E9?=) Date: Thu Nov 23 08:51:08 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <7443689.post@talk.nabble.com> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> Message-ID: <45655F2A.8030400@dorigo.fr> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: py.landure.vcf Type: text/x-vcard Size: 433 bytes Desc: not available Url : http://lists.plone.org/pipermail/setup/attachments/20061123/00f1d924/py.landure.vcf From briansullivan at gmail.com Thu Nov 23 14:45:14 2006 From: briansullivan at gmail.com (Brian Sullivan) Date: Thu Nov 23 14:45:29 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <45655F2A.8030400@dorigo.fr> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> <45655F2A.8030400@dorigo.fr> Message-ID: On 11/23/06, Pierre-Yves Landur? wrote: > Hi, > > i've just found that my problem was triggered by the use of CacheFu... > Desintalling it solved the problem. Maybe it can help. BTW this problem (stack overflow message) seems to happen with IE7 at www.plone.org as well. Perhaps this thread should be continued on the plone list? From otrcomm at isp-systems.net Thu Nov 23 18:32:13 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu Nov 23 18:45:54 2006 Subject: [Setup] plone with apache 1.3.34 Message-ID: <000e01c70f2d$b3767ba0$ef01a8c0@intel> hello, i just got plone installed on a fedora core 5 server that does not have x-windows installed, so my only access to localhost is via lynx. i need some help getting zope/plone setup to run under apache 1.3.34 (both ports 80 and 443). i started the daemons with '/opt/Plone-2.5/zeocluster/bin/startcluster.sh' and when i lynx to http://localhost:8080, i get the "Zope Quick Start" welcome screen, so i assume zope/plone is basically installed properly. i am currently using phpwebsite on a domain, http://www.montessoriconnections.com, and i would like to setup a virtual domain, http://plone.montessoriconnections.com, to start migrating the site over to plone. i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do not know enough about apache 2 to translate the instructions to apache 1.3.34. could someone point me to a tutorial for apache 1.3.34, or help me with the setup? thanks, murrah boswell From otrcomm at isp-systems.net Thu Nov 23 19:24:08 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu Nov 23 19:24:01 2006 Subject: [Setup] is this list active Message-ID: <000501c70f34$f2cc2690$ef01a8c0@intel> is this list active? thanks, murrah boswell From otrcomm at isp-systems.net Thu Nov 23 22:18:02 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu Nov 23 22:17:57 2006 Subject: [Setup] plone with apache 1.3.34 Message-ID: <000b01c70f4d$3e58bd90$ef01a8c0@intel> hello, i hope this isn't a double post, but i never saw this message show up in the list when i posted it earlier. i just got plone installed on a fedora core 5 server that does not have x-windows installed, so my only access to localhost is via lynx. i need some help getting zope/plone setup to run under apache 1.3.34 (both ports 80 and 443). i started the daemons with '/opt/Plone-2.5/zeocluster/bin/startcluster.sh' and when i lynx to http://localhost:8080, i get the "Zope Quick Start" welcome screen, so i assume zope/plone is basically installed properly. i am currently using phpwebsite on a domain, http://www.montessoriconnections.com, and i would like to setup a virtual domain, http://plone.montessoriconnections.com, to start migrating the site over to plone. i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do not know enough about apache 2 to translate the instructions to apache 1.3.34. could someone point me to a tutorial for apache 1.3.34, or help me with the setup? thanks, murrah boswell From shadroth at gmail.com Fri Nov 24 00:43:47 2006 From: shadroth at gmail.com (Ben) Date: Fri Nov 24 00:43:57 2006 Subject: [Setup] plone with apache 1.3.34 In-Reply-To: <000e01c70f2d$b3767ba0$ef01a8c0@intel> References: <000e01c70f2d$b3767ba0$ef01a8c0@intel> Message-ID: <56b72d5a0611231643p54e1feafj3f713fd75417c793@mail.gmail.com> On 11/24/06, otrcomm wrote: > i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do > not know enough about apache 2 to translate the instructions to apache 1.3.34. > > could someone point me to a tutorial for apache 1.3.34, or help me with the setup? They're very similar. Here's my install notes (nb. these are slightly out of date, so an upgrade is required. This install has since been updated to Python 2.4.4, (PIL rebuilt), Zope 2.9.5, Plone 2.5.1 Those notes are in my server diary which I won't be releasing, but you can probably use the newer versions straight up. Make sure you set the server name in httpd.conf and ssl.conf, otherwise it should be all as is written here. These haven't been approved as secure yet, but this will get you to a working installation. Cheers, Ben --- Minimum CentOS 3 text install, all defaults, except remove any optional packages Plone 2.5 Zope 2.9.3 -------------------- 1. Install GPG key -------------------- # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3 you're meant to do it off the CD-ROM, but at least this will work if you don't have it. ------------- 2. Firewall ------------- * Open ports for: SSH (probably safer on a non-standard port - fix this later), FTP, SMTP (may not be needed), WEB - may need adjusting for testing, Zope Web server (8080 - may need adjusting) # yum install vim-enhanced * Edit /etc/sysconfig/iptables and add the following lines just before the first line with REJECT on it: -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 21 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 22 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 25 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 80 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 8080 -h ACCEPT * Also need port 9080 open for second ZEO client's webserver. ----------- 3. Update ----------- # yum update ------------------- 4. Extra Packages ------------------- Needed before setting up the latest Python and PIL. # yum install gcc gcc-c++ zlib-devel libjeg-devel freetype-devel tcl-devel tk-devel ----------- 5. Python ----------- * wget the latest Python (2.4.3 at time of writing) and install with defaults: ./configure --prefix=/opt/python make make install -------- 6. PIL -------- * wget and install the latest PIL (1.1.5 at the time of writing) /opt/python/bin/python setup.py build_ext -i /opt/python/bin/python selftest.py /opt/python/bin/python setup.py install --------- 7. Zope --------- v 2.9.4 at the time of writing Install Zope with ZEO, as per http://plone.org/documentation/tutorial/robust-installation - as detailed below: 1. # adduser zope # mkdir /opt/zope # cd /opt/zope # mkdir pub0 sec0 products zeo 2. $ ./configure --prefix=/opt/zope/z2.9.4-p2.4.3 --with-python=/opt/python/bin/python $ make # make install 3. # cd /opt/zope # ln -s z2.9.4-p2.4.3 zope # /opt/python/bin/python zope/bin/mkzeoinstance.py zeo 8100 4. # vim zeo/etc/zeo.conf * change the socket directory from etc to var: replace: socket-name $INSTANCE/etc/zeo.zdsock with: socket-name $INSTANCE/var/zeo.zdsock (otherwise you won't be able to start zeo using zeoctl) * uncomment 'user zope' 5. # /opt/python/bin/python zope/bin/mkzopeinstance.py --dir=pub0 # /opt/python/bin/python zope/bin/mkzopeinstance.py --dir=sec0 With the sites as: pub0 #this will be used for the public site, possibly with a secure login to a members area mem0 #optional - with a secure login for the members, sec0 #this will be used as a totally secure site for the administration # chown -R dogsbody:dogsbody /opt/zope 6. make changes to zope.conf for each instance, as per tutorial. when changing the zope.conf for the second site, uncomment portbase, instead of changing the ports. (UNTESTED: If using more than two clients, increase portbase by 1000 for each additional client) each successive Zope instance will overwrite the primary ZMI user and password data. The exact configuration w.r.t. number of instances will depend on how RAM usage can best be reduced. 7. chgrp zope zeo/var zeo/log pub0/var pub0/log sec0/var sec0/log chmod g+w zeo/var zeo/log pub0/var pub0/log sec0/var sec0/log ---------- 8. Plone ---------- As per http://plone.org/documentation/tutorial/robust-installation: cd /tmp tar zxf Plone-x.y.z.tar.gz cd $BASE mkdir products mv /tmp/Plone-x.y.z/* products rm -r /tmp/Plone-x.y.z* cd client0 rm -r Products ln -s ../products Products # repeat the last three steps for all Zeo clients/Zope instances !!NB!! Delete the 'Five' folder from the products directory. ------------------ 9. Plone Options ------------------ * Close site to new signups http://plone.org/documentation/how-to/closing-site NB. This blocks all sites in the ZODB, possibly better to implement on a per-site basis. * Site Setup > Portal Settings: Set 'Allow Anonymous Users To View About Information' to 'No' * Stop anonymous users from viewing content in the visible (public draft) state. Make the same changes to restrictions for the 'Access contents information' permission and the make both changes to the 'Pending' state as well, see: http://plone.org/documentation/how-to/displaying-only-201cpublished201d-items-in-folder-listings-to-anonymous-users ------------ 10. Apache ------------ #yum install httpd mod_ssl Setup a Virtalhost (!!!NB: This needs to be checked to ensure it isn't an open proxy) Use the RewriteRule structure specified here: http://plone.org/documentation/tutorial/plone-apache/virtualhost In particular: * Enable virtual hosting: NameVirtualHost *:80 * Configure the VirtualHost, * NB: replace 'plone-site-folder' wit whatever your plone site is called. * NB. Change the rewrite log level or comment it out when it's working. RewriteEngine On RewriteLog "/var/log/httpd/rewrite_log" RewriteLogLevel 1 RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/plone-site-folder/VirtualHostRoot/$1 [P] # CustomLog logs/dummy-host.example.com-access_log common --------- 11. SSL --------- In /etc/httpd/conf.d/ssl.conf make sure the Virtual host is setup with Rewrite rules: RewriteEngine On RewriteRule ^/(.*) http://localhost:9080/VirtualHostBase/https/%{SERVER_NAME}:443/plone-site-folder/$1 [P] NB: set 'plone-site-folder' to whatever your plone site folder name is, or omit it entirely if you want to give access to the whole ZMI. You will also need to configure the Servername variable. eg. Severname: domainname.tld:443 http://plone.org/documentation/how-to/apache-ssl http://plone.org/documentation/tutorial/plone-apache/virtualhost http://plone.org/documentation/how-to/secure-login-without-plain-text-passwords From otrcomm at isp-systems.net Fri Nov 24 06:56:47 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Fri Nov 24 06:56:47 2006 Subject: [Setup] plone with apache 1.3.34 References: <000e01c70f2d$b3767ba0$ef01a8c0@intel> <56b72d5a0611231643p54e1feafj3f713fd75417c793@mail.gmail.com> Message-ID: <001901c70f95$b63c7e30$ef01a8c0@intel> hello, sorry i sent you a blank reply just now, i accidently hit the send button before i typed anything. ----- Original Message ----- From: "Ben" > > could someone point me to a tutorial for apache 1.3.34, or help me with the setup? > > They're very similar. Here's my install notes (nb. these are slightly > out of date, so an upgrade is required. This install has since been > updated to Python 2.4.4, (PIL rebuilt), Zope 2.9.5, Plone 2.5.1 Those > notes are in my server diary which I won't be releasing, but you can > probably use the newer versions straight up. > > Make sure you set the server name in httpd.conf and ssl.conf, > otherwise it should be all as is written here. These haven't been > approved as secure yet, but this will get you to a working > installation. > anyway, thanks for the detailed notes. I will give them a run through. thanks, murrah boswell From frankbenjones at aim.com Sun Nov 26 07:10:03 2006 From: frankbenjones at aim.com (frankbenjones@aim.com) Date: Sun Nov 26 07:16:07 2006 Subject: [Setup] Problem importing site from 2.1.2 to 2.5 on different server. Message-ID: <8C8DF410738F519-7F8-2CF6@WEBMAIL-MA13.sysops.aol.com> (Just noticed I originally posted to the users list instead of setup list by mistake. Sorry for the double post). I'm trying to upgrade two Plone sites from 2.1.2 to 2.5 or 2.5.1. I get the following error when importing the exported plone site zexp file: ---------------------------------------------------------------------------------------------------------- Site Error An error was encountered while publishing this resource. Error Type: TransformException Error Value: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry ---------------------------------------------------------------------------------------------------------- Log output below (from the windows box): 2006-11-25T22:40:30 ERROR Zope.SiteErrorLog http://localhost:8080/test/manage_importObject Traceback (most recent call last): File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\Publish.py", line 114, in publish request, bind=1) File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\Publish.py", line 40, in call_object result=apply(object,args) # Type s to step into published object. File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 577, in manage_importObject set_owner=set_owner) File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 599, in _importObjectFromFile self._setObject(id, ob, set_owner=set_owner) File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 309, in _setObject object.manage_afterAdd(object, self) File "C:\Program Files\Plone 2\Data\Products\CMFCore\CMFCatalogAware.py", line 203, in manage_afterAdd self.__recurse('manage_afterAdd', item, container) File "C:\Program Files\Plone 2\Data\Products\CMFCore\CMFCatalogAware.py", line 239, in __recurse getattr(ob, name)(*args) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 379, in manage_afterAdd transforms.initialize(self) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\transforms\__init__.py", line 60, in initialize engine.registerTransform(transform) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 481, in registerTransform self._mapTransform(transform) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 284, in _mapTransform raise TransformException(msg) TransformException: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry Same error trying to import another site on the Linux box. Here is the log for that import: 2006-11-25T21:08:43 ERROR Zope.SiteErrorLog http://drogo.jonesns.net:8080/wcs/manage_importObject Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.ObjectManager, line 588, in manage_importObject Module OFS.ObjectManager, line 610, in _importObjectFromFile Module OFS.ObjectManager, line 333, in _setObject Module zope.event, line 23, in notify Module zope.app.event.dispatching, line 66, in dispatch Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter, line 481, in subscribers Module zope.app.event.objectevent, line 192, in objectEventNotify Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter, line 481, in subscribers Module OFS.subscribers, line 114, in dispatchObjectMovedEvent Module OFS.subscribers, line 137, in callManageAfterAdd Module Products.CMFCore.CMFCatalogAware, line 203, in manage_afterAdd Module Products.CMFCore.CMFCatalogAware, line 239, in __recurse Module Products.PortalTransforms.TransformEngine, line 379, in manage_afterAdd Module Products.PortalTransforms.transforms, line 60, in initialize Module Products.PortalTransforms.TransformEngine, line 481, in registerTransform - __traceback_info__: ('image_to_pcx', ) Module Products.PortalTransforms.TransformEngine, line 284, in _mapTransform TransformException: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry In an attempt to fix this I installed 2.1.3 with the installer in 2003 Server thinking that going from 2.1.2 to 2.1.3 then to 2.1.4 and so on would fix this. Imported and migrated the site from 2.1.2, packed the database then exported it. I then installed 2.1.4 in another 2003 Server box (using vmware) and the did the migrations and database pack. Worked fine in both cases. I then installed 2.5.1 in another vmware clone and get the same error as I get with 2.5.1 in a CentOS 4.4 (fully updated) box installed with the "Universal" installer. I'm experiening this on both a 2003 Server where I installed with the 2.5.1 installer and on the CentOS box. I've searched on google, the plone site, and the user list but I must be an idiot as I can't find a solution. Any help would be appreciated as I'm clueless as to how to fix it. fj ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061126/ae62f09f/attachment.html From vedawms at unc.edu Mon Nov 27 15:07:28 2006 From: vedawms at unc.edu (vedawms) Date: Mon Nov 27 15:08:02 2006 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> <45655F2A.8030400@dorigo.fr> Message-ID: <7561545.post@talk.nabble.com> I'm in agreement. Do you want to post it in the other forum since you were able to reproduce the error? I can't replicate this on my end, I was just reporting a problem from a client in Guatemala. Does it still happen for you if CacheFu compression is set to never? Setting it to never solved another problem of mine with IE, so I'm just wondering... Thanks, - Veda Brian Sullivan wrote: > > On 11/23/06, Pierre-Yves Landur? wrote: >> Hi, >> >> i've just found that my problem was triggered by the use of CacheFu... >> Desintalling it solved the problem. Maybe it can help. > > > BTW this problem (stack overflow message) seems to happen with IE7 at > www.plone.org as well. > > Perhaps this thread should be continued on the plone list? > > _______________________________________________ > Setup mailing list > Setup@lists.plone.org > http://lists.plone.org/mailman/listinfo/setup > > -- View this message in context: http://www.nabble.com/IE6-Browser-errors-support-with-Plone-2.5.1-%28Stack-overflow-at-line-0%29-tf2667735.html#a7561545 Sent from the Plone Setup mailing list archive at Nabble.com. From sdouche at gmail.com Mon Nov 27 16:09:14 2006 From: sdouche at gmail.com (Sebastien Douche) Date: Mon Nov 27 16:09:27 2006 Subject: [Setup] Re: Plone 2.5.1 with LDAP In-Reply-To: References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: <5e1183fa0611270809t18dfb563hcda668d20e10d1f9@mail.gmail.com> On 11/6/06, Maurits van Rees wrote: > Actually, you still need LDAPUserFolder. But you also need > LDAPMultiPlugins, possibly with the patch from antiloop.plone.org > which that how-to mentions. If the how-to does not mention that, then > there is another how-to or tutorial on plone.org that you need to > find. :) I can't patch LDAPMultiPlugins (v1.3 & 1.4) : patching file LDAPPluginBase.py Hunk #1 FAILED at 23. Hunk #2 succeeded at 111 (offset 13 lines). Hunk #3 FAILED at 216. 2 out of 3 hunks FAILED -- saving rejects to file LDAPPluginBase.py.rej patching file LDAPMultiPlugin.py Hunk #1 FAILED at 30. Hunk #2 succeeded at 311 (offset -1 lines). 1 out of 2 hunks FAILED -- saving rejects to file LDAPMultiPlugin.py.rej patching file property.py > If you see users in the ZMI but don't see them in Plone, then in the > ZMI you need to check if the ldap plugin is listed for the correct > plugin interfaces in acl_users/plugins. Which plugins must be activated ? I see users in ZMI but not users properties in Plone. I have authentification, Properties, User enumeration plugins. > And you need to check if the mapping of attributes between Plone and > LDAP is correct. I think lone at least needs/wants to get a fullname > and email from ldap. Mapping is good. -- S?bastien Douche From barry_page at yahoo.co.nz Mon Nov 27 23:35:32 2006 From: barry_page at yahoo.co.nz (Barry Page) Date: Mon Nov 27 23:42:53 2006 Subject: [Setup] init.d script for Plone 2.5.1 on linux Message-ID: <20061127233532.11523.qmail@web37215.mail.mud.yahoo.com> I have posted an init.d script for the Plone 2.5(.1) universal linux installation onto plone.org, as I don't think one is included in the install package. I don't like having to just use the scripts provided from the command line, and prefer being able to start zope at boot, and also be able to call the start/stop/restart/status functions from a backup script. Enhancements and suggestions are welcome. Regards, Barry Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061127/1d694191/attachment.htm From m.van.rees at zestsoftware.nl Tue Nov 28 08:56:48 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Tue Nov 28 08:57:30 2006 Subject: [Setup] Re: Plone 2.5.1 with LDAP References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> <5e1183fa0611270809t18dfb563hcda668d20e10d1f9@mail.gmail.com> Message-ID: Sebastien Douche, on 2006-11-27: > On 11/6/06, Maurits van Rees wrote: >> Actually, you still need LDAPUserFolder. But you also need >> LDAPMultiPlugins, possibly with the patch from antiloop.plone.org >> which that how-to mentions. If the how-to does not mention that, then >> there is another how-to or tutorial on plone.org that you need to >> find. :) > > I can't patch LDAPMultiPlugins (v1.3 & 1.4) : I worked on this with Wichert Akkerman recently. Hm, let's put a patched LDAPMultiPlugins 1.4 (from svn) on my site: http://maurits.vanrees.org/download/LDAPMultiPlugins_1.4_trunk_patched.tgz Note: this patched version depends on PlonePAS, so currently there is no chance that this will make it into LDAPMultiPlugins itself, as Jens does not want it to depend on Plone when currently it works with plain Zope. > Which plugins must be activated ? I see users in ZMI but not users > properties in Plone. I have authentification, Properties, User > enumeration plugins. I made a list of what plugins one might need. I have it in a product that I may want to put on the collective some time. But here is the doc for the plugins as I understand them: http://maurits.vanrees.org/download/PLUGINS.txt HTH, -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From aclark at aclark.net Tue Nov 28 13:57:21 2006 From: aclark at aclark.net (Alex Clark) Date: Tue Nov 28 13:58:05 2006 Subject: [Setup] Modified CMFCore/MemberDataTool.py to facilitate 2.0.3 -> 2.5.1 migration, ok? Message-ID: In addition to deleting a couple troublesome member folders (out of many so not a big deal) I had to put a try/except around the following block of code from CMFCore/MemberDataTool.py to get the migration to finish, anyone see a problem with doing that? starting at line 314: try: if mapping.has_key(id): if not self.__class__.__dict__.has_key(id): value = mapping[id] if type(value)==type(''): proptype = tool.getPropertyType(id) or 'string' if type_converters.has_key(proptype): value = type_converters[proptype](value) setattr(self, id, value) except: pass Thanks, Alex From falecom at npeventos.com.br Tue Nov 28 14:10:13 2006 From: falecom at npeventos.com.br (NP Eventos) Date: Tue Nov 28 14:18:08 2006 Subject: [Setup] Congresso de Patrimonio Message-ID: <20061128141013.E93321083B9@inmailer.insite.com.br> An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061128/5f3e4c4e/attachment.htm From optilude at gmx.net Tue Nov 28 20:04:46 2006 From: optilude at gmx.net (Martin Aspeli) Date: Tue Nov 28 20:10:20 2006 Subject: [Setup] Re: is this list active In-Reply-To: <000501c70f34$f2cc2690$ef01a8c0@intel> References: <000501c70f34$f2cc2690$ef01a8c0@intel> Message-ID: otrcomm wrote: > is this list active? yes From salv0 at hotmail.com Wed Nov 29 00:42:44 2006 From: salv0 at hotmail.com (joshua may) Date: Wed Nov 29 01:00:13 2006 Subject: [Setup] Difficulties installing Plone3alpha Message-ID: Hi! I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone product isn't registering? Any idea why? I'm on Windows if that makes a difference. Josh. From r.ritz at biologie.hu-berlin.de Wed Nov 29 09:27:04 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Wed Nov 29 09:27:41 2006 Subject: [Setup] Re: Difficulties installing Plone3alpha In-Reply-To: References: Message-ID: joshua may schrieb: > Hi! > > I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the > option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone > product isn't registering? > > Any idea why? > Try starting in debug mode and see where it fails. Most probably it's a missing dependency like PIL or ElementTree Raphael > I'm on Windows if that makes a difference. > > Josh. > > > > From comptekki at gmail.com Wed Nov 29 15:29:42 2006 From: comptekki at gmail.com (Wes James) Date: Wed Nov 29 15:30:01 2006 Subject: [Setup] Difficulties installing Plone3alpha In-Reply-To: References: Message-ID: <533df7fa0611290729m7dd8e22ch3ae6c6c66a8a50b8@mail.gmail.com> On 11/28/06, joshua may wrote: > Hi! > > I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the > option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone > product isn't registering? > > Any idea why? > > I'm on Windows if that makes a difference. > > Josh. > Have you been following the list and noticed that the windows installer version for this version is available from? Well, I guess you'd need to be on the dev list - here's a repeat: On 11/28/06, Sidnei da Silva wrote: > Hi there, > > I would like to announce the availability of the Plone 3.0.0 Installer > for Windows, which can be downloaded from: > > http://www.enfoldsystems.com/downloads.html > > The 2.5 Installer has also been updated to include ElementTree, after > I saw a message that it is required now (?), and can be downloaded > from the same page. > > You are welcome to test and report bugs at the usual place, the Plone > Trac, under the category 'Installers': > > http://dev.plone.org/plone/ > wj From salv0 at hotmail.com Wed Nov 29 23:13:48 2006 From: salv0 at hotmail.com (joshua may) Date: Wed Nov 29 23:14:52 2006 Subject: [Setup] Re: Difficulties installing Plone3alpha References: Message-ID: > Most probably it's a missing dependency like PIL or > ElementTree Yeah, it turned out to be PIL. I rtfm'ed correctly, and with a bit more trial and error I had it sorted. Thanks! From salv0 at hotmail.com Wed Nov 29 23:15:49 2006 From: salv0 at hotmail.com (joshua may) Date: Wed Nov 29 23:20:15 2006 Subject: [Setup] Re: Difficulties installing Plone3alpha References: <533df7fa0611290729m7dd8e22ch3ae6c6c66a8a50b8@mail.gmail.com> Message-ID: > Have you been following the list and noticed that the windows > installer version for this version is available from? I didn't, no. But thanks! I eventually got it working without the installer, but I'll re-do it with the installer. That's probably more likely to match the structure of the Plone 2.5 install that I'm "upgrading" from (read: playing with to see what Plone 3.0 has in store..). Hopefully (famous last words..!) it'll go smoothly. Thanks for that. Josh From pradhanparas at gmail.com Thu Nov 30 20:32:54 2006 From: pradhanparas at gmail.com (Paras pradhan) Date: Thu Nov 30 20:33:02 2006 Subject: [Setup] Removing a plone site Message-ID: <8b711df40611301232u1e312e58l8bebee3b74e21b27@mail.gmail.com> Hi When i try to remove a plone site. I am getting the following error. Plz help. info: OS: ubuntu dapper drake Plone version: 2.5 Zope version: 2.9.4-final Python: 2.4.3 All built using src files. Thanks Paras. Site Error An error was encountered while publishing this resource. *Error Type: AttributeError* *Error Value: portal_membership* ------------------------------ Troubleshooting Suggestions - The URL may be incorrect. - The parameters passed to this resource may be incorrect. - A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.plone.org/pipermail/setup/attachments/20061130/1d44e26c/attachment.htm From matt at objectivo.com Wed Nov 1 00:32:41 2006 From: matt at objectivo.com (Matt) Date: 31 Oct 2006 19:32:41 -0500 Subject: [Setup] Community Soccer - Website Update Message-ID: <16791617.1162341062982.JavaMail.cfservice@Webserver23> Dear Member of the Soccer Community, Our 'Soccer Community Website' is now live. Objectivo is the 'FREE Online Soccer Want Ads', 'Shared Soccer Community Calendar', and 'Soccer Yellow Pages' rolled into one great website. We do NOT have any commerce on the site and aren?t selling anything to you. We're a grassroots internet soccer organization promoting soccer. We ask you to check us out. We hope this resource compliments your Soccer Organization. Please feel free to post to the free soccer classifieds or events. For more information please contact me at matt at objectivo.org or 310-938-6976. Many Thanks, Matt Lengkeek, President of Objectivo Inc. matt at objectivo.com l T. 310-938-6976 www.objectivo.com - Serving Local Soccer Communities Objectivo, Inc. I 3555 Voyager St. #202 I Torrance, CA 90503 This email was sent to setup at lists.plone.org, by Matt To remove your email address permanently from future mailings, please go to the following URL: http://www.bullhornstaffing.com/MailerUnsubscribe.cfm?privateLabelID=342&email=setup%40lists%2Eplone%2Eorg -------------- next part -------------- An HTML attachment was scrubbed... URL: From nd51 at le.ac.uk Thu Nov 2 11:55:03 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 02 Nov 2006 11:55:03 +0000 Subject: [Setup] Re: front end sign in In-Reply-To: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> References: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> Message-ID: Can you please direct me to docs on how to > proceed? > Stefan, Have a good look on plone.org - there are many docs on there. FAQs & tutorials should maybe be your first port of call. You might get a copy of "Plone Live" or "Definitive Guide to Plone" as well. Docs are all there- you just have to search for them. Welcome to Plone. :-) Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From reinout at vanrees.org Thu Nov 2 16:27:03 2006 From: reinout at vanrees.org (Reinout van Rees) Date: Thu, 02 Nov 2006 17:27:03 +0100 Subject: [Setup] Re: Plone 2.5.1 with LDAP In-Reply-To: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: Muhamad Abdulkadir wrote: > Dear all, > Does anyone know a page in the Internet or in Plone website > that explain how to use LDAP in Plone? > I've read > http://plone.org/documentation/how-to/ldap-authentication-with-plone > and after I configure LDAP info via ZMI, > I've been able to search users from ZMI | Plone site | > portal setup | acl_users, via LDAPUserFolder. > However, when I did searching users from Plone site > (site setup, User and Group Administration, and then search) > I could not get any user. plone 2.5 uses PAS (pluggable authentication system). LDAPUserFolder is for the "old" way, you'll need an LDAP pas plugin now. That should give you enough google and plone.org search options :-) Reinout -- Reinout van Rees r.van.rees @ zestsoftware.nl http://vanrees.org/weblog/ http://zestsoftware.nl/ "Military engineers build missiles. Civil engineers build targets." From mail at ihde.info Fri Nov 3 12:57:44 2006 From: mail at ihde.info (Maik Ihde) Date: Fri, 3 Nov 2006 12:57:44 +0000 (UTC) Subject: [Setup] Re: removing calendar References: Message-ID: > Hi, please I would like simple thing as I thought from the beginning - > but I found some barrier there and I dont know how to: > - remove calendar - > from the main plone page..? The calendar portlet can be removed by klicking on the "properties" tab in the ZMI in the root of your Plone Site. Look for "left_slots" and "right_slots". The Calender should be in the "right_slots" section -> remove the line that contains "portler_calendar", save the form and it's gone. Regards Maik From jmilner4 at shaw.ca Sat Nov 4 08:46:12 2006 From: jmilner4 at shaw.ca (John Milner) Date: Sat, 04 Nov 2006 02:46:12 -0600 Subject: [Setup] Shop Candy Couture's Semi-Annual Sale ~ 85% Off PRADA, FENDI, HERMES, MARC JACOBS, LV, DIOR, COACH... References: Message-ID: <6621C2C7-A40E-4AFA-A71B-55BEA8396950@shaw.ca> >> >>> >>> Check out Shop Candy Couture's Semi-Annual Sale with 85% off some >>> of the designer brand name clothing, accessories and handbags: >> href="http://www.shopcandycouture.com">CLICK HERE TO VISIT SHOP >>> CANDY COUTURE. Shop Candy Couture carries the hottest and >>> newest styles such as Chloe Paddington, Louis Vuitton Denim, >>> Chanel Cambron, Balenciaga Le Dix Motorcycle, Dior Saddle and >>> Gucci at 50-85% off retail prices. >> www.shopcandycouture.com>Shop Candy Couture
>> action=http://www.shopcandycouture.com>>> value=www.shopcandycouture.com>
>> www.bagsnstyle.com/shopper.jpg> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rawsystems at gmail.com Sat Nov 4 16:57:15 2006 From: rawsystems at gmail.com (rawsystems at gmail.com) Date: Sat, 4 Nov 2006 11:57:15 -0500 Subject: [Setup] front end sign in References: <2FDD14551F535345BE46817D94D8DBEC406EC3@ripley.it-huset.se> Message-ID: <031e01c70032$49144b20$6b00a8c0@dt0> Here's a start http://plone.org/documentation/how-to/creating-private-plone-site hth ----- Original Message ----- From: Stefan Skoglund To: setup at lists.plone.org Sent: Sunday, October 29, 2006 8:08 AM Subject: [Setup] front end sign in Hello all! Background: I work for a small company that appearantly has grown enough to need a CMS. Last week a consultant showed us Microsoft Sharepoint. Half the presentation, was about describing what you shouldn't do, to get it all working. I got the shivers. Why use something that doesn't even work by intuition? I remember looking at Zope and Plone, a few years back, and remember that I felt it seem to work well. Now we have a small extranet server, with a few basic java servlet applications. Each user is authenticated in a reverse proxying web server. I'm not a web guy, so I don't know the details. So I would like, as a first step, to install a basic plone installtion, in which each user is autenticated in a front end. The site shouldn't be reachable without signing in, and plone should treat each user a signed in. Is this an easy setup? Can you please direct me to docs on how to proceed? Soon a happy plone user /Stefan ------------------------------------------------------------------------------ _______________________________________________ Setup mailing list Setup at lists.plone.org http://lists.plone.org/mailman/listinfo/setup -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhills at medimorphosis.com.au Sun Nov 5 15:42:25 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Sun, 05 Nov 2006 15:42:25 +0000 Subject: [Setup] Users without passwords - possible? Message-ID: Hi All, I am building a site for someone who wishes to: 1. Have the site administrator moderate all user signups 2. Prevent any logins (except for the site administrator) 3. Use the member list to manage subscriptions for newsletters, invitations to events etc. 4. Not have to bother with passwords for these users. I've followed http://plone.org/documentation/how-to/closing-site to stop the normal signup and login process. However, I'm not sure how to proceed with the other steps. Would it be possible for me to subclass members and modify the subclass in such a way that member instances would not be able to login (if they happened to find the login URL) but would still be available as targets of emails (newsletters, invitations etc)? Any thoughts/suggestions would be much appreciated Rob Hills Waikiki, Western Australia From m.van.rees at zestsoftware.nl Mon Nov 6 12:31:50 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Mon, 6 Nov 2006 12:31:50 +0000 (UTC) Subject: [Setup] Re: Plone 2.5.1 with LDAP References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: Reinout van Rees, on 2006-11-02: > plone 2.5 uses PAS (pluggable authentication system). LDAPUserFolder is > for the "old" way, you'll need an LDAP pas plugin now. Actually, you still need LDAPUserFolder. But you also need LDAPMultiPlugins, possibly with the patch from antiloop.plone.org which that how-to mentions. If the how-to does not mention that, then there is another how-to or tutorial on plone.org that you need to find. :) If you see users in the ZMI but don't see them in Plone, then in the ZMI you need to check if the ldap plugin is listed for the correct plugin interfaces in acl_users/plugins. And you need to check if the mapping of attributes between Plone and LDAP is correct. I think lone at least needs/wants to get a fullname and email from ldap. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From m.van.rees at zestsoftware.nl Mon Nov 6 12:36:53 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Mon, 6 Nov 2006 12:36:53 +0000 (UTC) Subject: [Setup] Re: Users without passwords - possible? References: Message-ID: Rob Hills, on 2006-11-05: > 2. Prevent any logins (except for the site administrator) If you use PlonePAS (standard in Plone 2.5) you could write a plugin that checks if the user id is 'admin' or something and only allow that one user to login. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From mstawchansky at pathfire.com Mon Nov 6 22:18:14 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Mon, 6 Nov 2006 17:18:14 -0500 Subject: [Setup] Upgrade from 2.1.2 to 2.1.3 problems Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B4774@pf-mail01.vninet.com> Ok, so I've been having trouble upgrading from Plone 2.1.2 to Plone 2.5.1, so I decided that I should take baby steps and try to go from Plone 2.1.2 to 2.1.4 first. Well, that was a no-go at all. Unpacked the updated Products into the Products folder in my Instance, all my Plone sites came up as broken. Ok, rewind. Try the same thing with a but going from 2.1.2 to 2.1.3. I get a little better along, this time I have the option to do the Portal_Migration piece after upgraded the Products dir. Now below is what happens when I try a dry run of the migration. Any steering in the correct direction is much appreciated. * Dry run selected. * Starting the migration from version: 2.1.2 * Attempting to upgrade from: 2.1.2 * Error:Upgrade aborted * Error:Error:Error type: exceptions.AttributeError * Error:Error value: clear * Error:File "/usr/lib/zope/Products/CMFPlone/MigrationTool.py", line 274, in upgrade newv, msgs = self._upgrade(newv) * Error:File "/usr/lib/zope/Products/CMFPlone/MigrationTool.py", line 371, in _upgrade res = function(self.aq_parent) * Error:File "/usr/lib/zope/Products/CMFPlone/migrations/v2_1/two12_two13.py", line 17, in two12_two13 reindexCatalog(portal, out) * Error:File "/usr/lib/zope/Products/CMFPlone/migrations/v2_1/alphas.py", line 525, in reindexCatalog catalog.refreshCatalog(clear=1) * Error:File "/usr/lib/zope/lib/python/Products/ZCatalog/ZCatalog.py", line 288, in refreshCatalog cat.clear() * Error:File "/usr/lib/zope/lib/python/Products/ZCatalog/Catalog.py", line 108, in clear self.getIndex(index).clear() * Error:End of upgrade path, migration has finished * Problem:The upgrade path did NOT reach current version * Problem:Migration has failed * Dry run selected, transaction aborted Thanks, Mike S -------------- next part -------------- An HTML attachment was scrubbed... URL: From smoove_e at hotmail.com Tue Nov 7 00:34:51 2006 From: smoove_e at hotmail.com (smoove_e) Date: Mon, 6 Nov 2006 18:34:51 -0600 Subject: [Setup] Exclude from Breadcrums? Message-ID: Hi All, "Exclude from Navigation" in the Properties configuration of a folder may exclude the listing from the Navigation portlet, but how can objects be removed from the breadcrumb listing? Although a user will receive a logon page for areas they are not able to access, it would be nice to restrict this type of navigation altogether within the CMS. Am I missing something obvious here? Thanks! -wendi Plone 2.5, Zope 2.9.4, Python 2.4.3, LINUX (FC5) -------------- next part -------------- An HTML attachment was scrubbed... URL: From leglernc at yahoo.com Wed Nov 8 01:56:19 2006 From: leglernc at yahoo.com (Neal Legler) Date: Tue, 7 Nov 2006 18:56:19 -0700 Subject: [Setup] Trouble with site rebuild after Data.fs replace Message-ID: Hello! Our server was recently hacked into, requiring a complete rebuild of everything. To rebuild our Plone site, we installed Plone using the same build we had used previously (2.5, rc2), then copied all of our products over. So far, so good. But upon moving over the old Data.fs file we had copied prior to the rebuild, suddenly the site, the ZMI, everything, is inaccessible. The browser (Firefox) just gets stuck in perpetual waiting mode. We thought maybe passwords were getting crossed, so we tried setting the password to what it had been prior to the rebuild before moving the Data.fs file. Still no luck. Our server is running Fedora Core 5 Linux. Strangely, when we attempted the same operation on a Windows-based installation of Plone 2.5.1 (the latest release), it worked ... mostly. We can access the Plone site, but can't access the Zope root or ACL users without getting an error: Type: NameError Value: name 'getDefaultSorting' is not defined Here is the traceback: 2006-11-07T18:43:56 ERROR Zope.SiteErrorLog http://localhost/manage_main Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module App.special_dtml, line 176, in _exec Module DocumentTemplate.DT_Let, line 76, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: REQUEST Module , line 0, in ? NameError: name 'getDefaultSorting' is not defined Any ideas about how to get either our Linux-based site to load or our Windows-based version to run error free would be most appreciated! Thank you! Neal From h.p.cawthorne at sheffield.ac.uk Wed Nov 8 09:31:33 2006 From: h.p.cawthorne at sheffield.ac.uk (Hadrian Cawthorne) Date: Wed, 8 Nov 2006 09:31:33 +0000 Subject: [Setup] AttributeError: StringIO instance has no attribute Message-ID: Hi It seems all of a sudden some files on my website are no loner accessible. They have been working before. I get these exception details: Time 08-11-2006 09:19 User Name jo1hpc (jo1hpc) Request URL http://jus.shef.ac.uk/module-info/level-3/JNL314/ module_outlines_06-07.doc/index_html Exception Type AttributeError Exception Value StringIO instance has no attribute 'index_html' Traceback (innermost last): * Module ZPublisher.Publish, line 114, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.ATContentTypes.content.file, line 114, in index_html * Module Products.Archetypes.Field, line 1106, in download * Module Products.ExternalStorage.filewrapper, line 72, in __getattr__ AttributeError: StringIO instance has no attribute 'index_html' Traceback as text is: Traceback (innermost last): Module ZPublisher.Publish, line 114, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Products.ATContentTypes.content.file, line 114, in index_html Module Products.Archetypes.Field, line 1106, in download Module Products.ExternalStorage.filewrapper, line 72, in __getattr__ AttributeError: StringIO instance has no attribute 'index_html' The only thing I've done recently (a few weeks ago) is installing PloneZipFiles Thanks Hadrian Cawthorne Technician Department of Journalism Studies h.p.cawthorne at sheffield.ac.uk http://www.shef.ac.uk/journalism -------------- next part -------------- An HTML attachment was scrubbed... URL: From nd51 at le.ac.uk Wed Nov 8 10:45:24 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Wed, 08 Nov 2006 10:45:24 +0000 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Neal Legler wrote: > But upon moving over the old Data.fs file we had copied prior to the > rebuild, suddenly the site, the ZMI, everything, is inaccessible. The > browser (Firefox) just gets stuck in perpetual waiting mode. We thought > maybe passwords were getting crossed, so we tried setting the password to > what it had been prior to the rebuild before moving the Data.fs file. Still > no luck. > > Our server is running Fedora Core 5 Linux. Strangely, when we attempted the > same operation on a Windows-based installation of Plone 2.5.1 (the latest > release), it worked ... mostly. We can access the Plone site, but can't > access the Zope root or ACL users without getting an error: > > > Any ideas about how to get either our Linux-based site to load or our > Windows-based version to run error free would be most appreciated! > Neal, I will fire a few questions at you to try to help solve this. ;-) Very obvious but, are you absolutely sure that in addition to Plone, your Linux box has the same version of Zope and Python that it had before? And python libraries like PIL etc? Any other tweaking, configuration you did that you may have forgotten to re-apply? did you make changes in zope.conf before? How do the versions of python/zope/Plone on Windows and Linux compare. Absolutely the same?? Same zope.conf settings? On the Linux box, without copying the Data.fs, if you create a fresh Plone site through the ZMI, then play around with that site, add content etc, is everything working OK? Obvious again, but presumably you're looking thoroughly in event.log to see if Zope is saying anything at all just prior to locking up.... (you've got logging cranked up in zope.conf, right?) This may or may not be revealing ,but can you get into your Linux Zope instance using zopectl debug? Once in, can you look around the site - app. etc - does the site look intact or is something obviously broken? Useful info at: http://docs.neuroinf.de/programming-plone/debug (or Google for debug zope and/or debug plone, well worth learning these tricks which are great time-savers ) When you say your server was hacked, do you mean your Plone site or the machine in general? If its a spam attack, perhaps the rogue content added in the Plone site could have broken it (I don't know how or why, this is probably unlikely but doesn't hurt to eliminate the possibility). In that case you might use zopectl debug to do an audit of the site by hand and delete offending content. Or do it through Plone on the Windows box. Here's another link, found by googling "debug spinning zope" : http://www.zopelabs.com/cookbook/1073504990 Hope (some of) this points you in the right direction. Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nd51 at le.ac.uk Wed Nov 8 13:53:29 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Wed, 08 Nov 2006 13:53:29 +0000 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: smoove_e wrote: > > ?Exclude from Navigation? in the Properties configuration of a folder > may exclude the listing from the Navigation portlet, but how can objects > be removed from the breadcrumb listing? > > Although a user will receive a logon page for areas they are not able to > access, it would be nice to restrict this type of navigation altogether > within the CMS. > > > > Am I missing something obvious here? If an anonymous user can't get to the content without logging in , surely that means they will never see any breadcrumbs containing that object unless they log in first, and then only when specifically viewing that object. So I don't quite see the problem here.... ;-) If you just want to switch off breadcrumbs entirely for your site, you could simply switch if off in the stylesheet with something like: #portal-breadcrumbs { display : None; } HTH Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From smoove_e at hotmail.com Wed Nov 8 17:16:12 2006 From: smoove_e at hotmail.com (smoove_e) Date: Wed, 8 Nov 2006 11:16:12 -0600 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: Message-ID: Thanks for the feedback / suggestion. However, for clarification, there are no anonymous users on the installed Plone site, it is only for registered users. So the problem applies only to registered users, who still shouldn't be able to navigate backwards into a breadcrumb trail (in certain circumstances; e.g. as outlined below). Is it possible to disable breadcrumbs only for specific pages? If so, anyone have the syntax to perform this? (Perhaps an expansion of the code provided below) Thanks! -wendi Plone 2.5, Zope 2.9.4, Python 2.4.3, LINUX (FC5) -----Original Message----- From: setup-bounces at lists.plone.org [mailto:setup-bounces at lists.plone.org] On Behalf Of Nick Davis Sent: Wednesday, November 08, 2006 7:53 AM To: setup at lists.plone.org Subject: [Setup] Re: Exclude from Breadcrums? smoove_e wrote: > > "Exclude from Navigation" in the Properties configuration of a folder > may exclude the listing from the Navigation portlet, but how can objects > be removed from the breadcrumb listing? > > Although a user will receive a logon page for areas they are not able to > access, it would be nice to restrict this type of navigation altogether > within the CMS. > > > > Am I missing something obvious here? If an anonymous user can't get to the content without logging in , surely that means they will never see any breadcrumbs containing that object unless they log in first, and then only when specifically viewing that object. So I don't quite see the problem here.... ;-) If you just want to switch off breadcrumbs entirely for your site, you could simply switch if off in the stylesheet with something like: #portal-breadcrumbs { display : None; } HTH Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk _______________________________________________ Setup mailing list Setup at lists.plone.org http://lists.plone.org/mailman/listinfo/setup From deo at plonesolutions.com Wed Nov 8 17:53:04 2006 From: deo at plonesolutions.com (=?ISO-8859-1?Q?Dorneles_Trem=E9a?=) Date: Wed, 08 Nov 2006 15:53:04 -0200 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Hi Neal, > [snipped] > > NameError: name 'getDefaultSorting' is not defined > > Any ideas about how to get either our Linux-based site to load or our > Windows-based version to run error free would be most appreciated! Nick already gave you some initial tips for the problem with Linux. The Windows-based problem is a side-effect of running newer Zope versions with an incompatible ExternalEditor(!)[1] version... get a new one and all should works like a charm... ;-) [1] EE monkeypatches OFS/dtml/main.dtml, which was recently updated on Zope but not on your current EE version. HTH, -- ___________________________________________________________________ Dorneles Trem?a ? Developer ? Plone Solutions ? Brazil Consulting ? Training ? Development ? http://plonesolutions.com ___________________________________________________________________ Plone Foundation ? http://plone.org/foundation ? Protecting Plone From leglernc at yahoo.com Wed Nov 8 21:00:27 2006 From: leglernc at yahoo.com (Neal Legler) Date: Wed, 8 Nov 2006 14:00:27 -0700 Subject: [Setup] Fixed in Windows: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Dorneles, You were right! External Editor was the problem. My Windows-based version is now running error free. Thank you very much for your help! Neal "Dorneles Trem?a" wrote in message news:eit5i1$c8k$1 at sea.gmane.org... > Hi Neal, > >> [snipped] >> >> NameError: name 'getDefaultSorting' is not defined >> >> Any ideas about how to get either our Linux-based site to load or our >> Windows-based version to run error free would be most appreciated! > > Nick already gave you some initial tips for the problem with > Linux. The Windows-based problem is a side-effect of running > newer Zope versions with an incompatible ExternalEditor(!)[1] > version... get a new one and all should works like a charm... ;-) > > [1] EE monkeypatches OFS/dtml/main.dtml, which was recently > updated on Zope but not on your current EE version. > > HTH, > > -- > ___________________________________________________________________ > > Dorneles Trem?a ? Developer ? Plone Solutions ? Brazil > > Consulting ? Training ? Development ? http://plonesolutions.com > ___________________________________________________________________ > > Plone Foundation ? http://plone.org/foundation ? Protecting Plone > > From leglernc at yahoo.com Thu Nov 9 04:44:58 2006 From: leglernc at yahoo.com (Neal Legler) Date: Wed, 8 Nov 2006 21:44:58 -0700 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Nick, Thank you very much for your response! Those are some great questions and leads, several of which we hadn't thought of. Nick Davis wrote: > Very obvious but, are you absolutely sure that in addition to Plone, your > Linux box has the same version of Zope and Python that it had before? > And python libraries like PIL etc? > Any other tweaking, configuration you did that you may have forgotten to > re-apply? did you make changes in zope.conf before? I double-checked this, and as far as I have been able to tell, each of these are the same as they were in the pre-rebuild original version. I diffed the zope.conf files, and we had uncommented the ftp and webdav sections previously, but when we changed this, it didn't affect anything. > How do the versions of python/zope/Plone on Windows and Linux compare. > Absolutely the same?? Same zope.conf settings? The Python version is the same (2.4.3), Zope is different (2.9.5 on Windows, 2.9.3 on Linux). Plone is different (2.5.1 Windows, 2.5.0 Linux). > On the Linux box, without copying the Data.fs, if you create a fresh Plone > site through the ZMI, then play around with that site, add content etc, is > everything working OK? Yes. > Obvious again, but presumably you're looking thoroughly in event.log to > see if Zope is saying anything at all just prior to locking up.... > (you've got logging cranked up in zope.conf, right?) It's not logging anything after we transfer the old Data.fs > This may or may not be revealing ,but can you get into your Linux Zope > instance using zopectl debug? Once in, can you look around the site - > app. etc - does the site look intact or is something obviously > broken? I ran into issues running debug. I got a lot of errors--missing modules, and especially an error connecting to Port 8100. > Useful info at: > http://docs.neuroinf.de/programming-plone/debug > > (or Google for debug zope and/or debug plone, well worth learning these > tricks which are great time-savers ) >Here's another link, found by googling "debug spinning zope" : > >http://www.zopelabs.com/cookbook/1073504990 Thank you! These are great resources. I will keep looking into these, both for now and future reference. > When you say your server was hacked, do you mean your Plone site or the > machine in general? If its a spam attack, perhaps the rogue content added > in the Plone site could have broken it (I don't know how or why, this is > probably unlikely but doesn't hurt to eliminate the possibility). It was the machine itself. I am concerned this could have had something to do with it. We reformatted the drive and rebuilt, but could be using a data.fs file that is contaminated. It seems to be working well on my Windows machine, though. I'll continue to look into the links you sent and keep you posted on how things are go. Thank you very much for your help! Neal From nd51 at le.ac.uk Thu Nov 9 09:33:09 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 09 Nov 2006 09:33:09 +0000 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: smoove_e wrote: the problem applies only to registered users, who still shouldn't > be able to navigate backwards into a breadcrumb trail (in certain > circumstances; e.g. as outlined below). > > Is it possible to disable breadcrumbs only for specific pages? > If so, anyone have the syntax to perform this? > (Perhaps an expansion of the code provided below) Wendi, Since the breadcrumbs is hierarchical, what I don't understand is how you ever end up in a situation where you're looking at object X which you've got permission to look at, while folder Y is appearing in the breadcrumb trail which you don't have permission to look at. Surely in this case when you try to access object X, it'll try to traverse down via folder Y and on hitting Y will not let you any further. (Unless you've done something a bit too clever with the permissions...) In other words, if you're looking at X, then obviously you MUST be able to see everything above X, in order to get to X. So how could the breadcrumbs possibly contain something you're not meant to see? ;-) The breadcrumbs is autogenerated just like navigation. You'd have to make your own version to get it to do what you're asking. Maybe I'm not understanding you correctly but it seems to me : 1) You may be able to achieve what you want by just rearranging your site a bit and/or 2) You may have done something a bit strange with your permissions and/or 3) Its possible (though unlikely) you may have stumbled across a bug in Plone. Hope this helps.... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nd51 at le.ac.uk Thu Nov 9 09:51:21 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 09 Nov 2006 09:51:21 +0000 Subject: [Setup] Re: Trouble with site rebuild after Data.fs replace In-Reply-To: References: Message-ID: Neal Legler wrote: > Thank you very much for your response! Those are some great questions and > leads, several of which we hadn't thought of. You're welcome. :-) > The Python version is the same (2.4.3), Zope is different (2.9.5 on Windows, > 2.9.3 on Linux). Plone is different (2.5.1 Windows, 2.5.0 Linux). Right, so I'd strongly recommend that now you've got it working OK on Windows, if you do still want it to work on Linux as well, then get Zope 2.9.5 and Plone 2.5.1 on Linux too , to eliminate any issues being due to this version difference. Originally you mentioned Plone 2.5RC2 but not your Zope version. If you had a later Zope originally (say 2.9.5) and then tried to run it on 2.9.3, that could easily account for these problems. > It was the machine itself. I am concerned this could have had something to > do with it. We reformatted the drive and rebuilt, but could be using a > data.fs file that is contaminated. Since it was the box that was hacked not the Plone site itself, I doubt the data.fs is contaminated, especially if it works fine on Windows. Its possible some library somewhere on the machine is accidentally older after your rebuild. Could you have upgraded something, and didn't keep a record? (Which you've now lost through re-installing) Typing "aptitude install" or "yum install" - whatever Red Hat's version is - takes less time than documenting that you did it. ;-) That would be hard to debug though now. Such a problem could magically disappear in a later release of Fedora that has later packages..... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From rhills at medimorphosis.com.au Thu Nov 9 18:30:06 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Thu, 09 Nov 2006 18:30:06 +0000 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Hi Nick, Nick Davis wrote: > Wendi, > Since the breadcrumbs is hierarchical, what I don't understand is how > you ever end up in a situation where you're looking at object X which > you've got permission to look at, while folder Y is appearing in the > breadcrumb trail which you don't have permission to look at. One scenario where I see that regularly is if you are given access to an object via a SmartFolder/Topic. When you view the object, the breadcrumb shows the path of the actual physical folder it lives in. In an ideal world, one could specify an option on the view to hide the "real" path (in breadcrumbs etc.) Cheers, Rob Hills Waikiki, Western Australia From leke75 at yahoo.com Thu Nov 9 10:44:11 2006 From: leke75 at yahoo.com (Leon) Date: Thu, 9 Nov 2006 02:44:11 -0800 (PST) Subject: [Setup] Would I be such a baddie if I used plone for this? Message-ID: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> >From the FAQ... If your main concern is low-cost hosting ? la $5/month PHP hosting (Plone is a content management server and an application server - not only a simple scripting language paired with a database). There is a lot of Plone hosting alternatives out there, but they will never be as low-margin as simple PHP/MySQL hosting. ... What NEVER? I already know of a free host that provides plone. I would imagine the more popular it becomes, the lower hosting firms will charge. I have been looking for a cheats method of implementing a way to take card orders from people without having to learn PHP + MySQL and possibly JS validation (would you guess I'm a designer?). Would I be such a baddie if I used plone for this or is there a reason I shouldn't use plone of this? --------------------------------- Sponsored Link $200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home equity - Click now for info -------------- next part -------------- An HTML attachment was scrubbed... URL: From optilude at gmx.net Thu Nov 9 10:57:59 2006 From: optilude at gmx.net (Martin Aspeli) Date: Thu, 9 Nov 2006 02:57:59 -0800 (PST) Subject: [Setup] Would I be such a baddie if I used plone for this? In-Reply-To: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> References: <20061109104411.86678.qmail@web37309.mail.mud.yahoo.com> Message-ID: <7256163.post@talk.nabble.com> Hi Suomen Kuningas wrote: > >>From the FAQ... > > If your main concern is low-cost hosting ? la $5/month PHP hosting > (Plone is a content management server and an application server - not only > a simple scripting language paired with a database). There is a lot of > Plone hosting alternatives out there, but they will never be as low-margin > as simple PHP/MySQL hosting. > ... > What NEVER? I already know of a free host that provides plone. I would > imagine the more popular it becomes, the lower hosting firms will charge. > You mean Objectis? Their signup has been closed for a while ... or someone we don't know about? :) I think "never" refers to the fact that Zope/Plone requires more setup of individual instances and is more resource hungry than having Apache VHosts with mod_php and a big MySQL instance with a db for each user. Someone still has to pay for the tin! > I have been looking for a cheats method of implementing a way to take > card orders from people without having to learn PHP + MySQL and possibly > JS validation (would you guess I'm a designer?). > Would I be such a baddie if I used plone for this or is there a reason I > shouldn't use plone of this? > No, not a baddie at all, but it may not be the best tool for the job. If you feel Plone meets your requirements better than the alternatives, go ahead. I'm not sure Plone's eCommerce story is quite as sophisticated that it won't take some custom programming anyway. But if you're more familiar with Plone, or you have other needs that Plone also covers, you may find it's worth it. Martin -- View this message in context: http://www.nabble.com/Would-I-be-such-a-baddie-if-I-used-plone-for-this--tf2601008.html#a7256163 Sent from the Plone Setup mailing list archive at Nabble.com. From krys at cim.mcgill.ca Thu Nov 9 14:27:00 2006 From: krys at cim.mcgill.ca (Krys Dudek) Date: Thu, 9 Nov 2006 09:27:00 -0500 Subject: [Setup] Re: Exclude from Breadcrums? (Nick Davis) Message-ID: <598F7DFD-0473-428A-8B4D-1AC2CB3E370B@cim.mcgill.ca> I have a simple example of where I'd like the whole set of breadcrumbs not to be seen. I'm looking at designing a website for collaboration among small groups of people in a real-world community. The groups are set up by a site administrator, not by the people themselves, and I would prefer that the logged-in members not be given the ability to look at the "Members" folder to see who else is signed up. Consider access to this folder as a sort of "breach of confidentiality"). On the other hand, I feel that breadcrumbs would make it more simple and intuitive to use the site for people who aren't experienced computer users to maintain their own spaces as well as to participate in group collaborations. e.g.: home -> joe user -> myworkgroup -> joint document is what I'd like to see for a logged-in user of the site. Of course, I guess we could just assign impersonal user names manually ( IKJ078I anyone?)... Regards, Krys Dudek From aclark at aclark.net Thu Nov 9 16:46:34 2006 From: aclark at aclark.net (Alex Clark) Date: Thu, 9 Nov 2006 16:46:34 +0000 (UTC) Subject: [Setup] 2.0.3 -> 2.5.1 Migration failure question! Message-ID: Hey All, Looking for some feedback on how to try to get around this migration failure: http://paste.plone.org/11439 Thanks, Alex p.s. Some history, this is a 2.0.3 -> 2.5.1 migration attempt. I've previously deleted two troublesome Member folders to inch the migration along. It now runs for over an hour until failing here. The Data.fs is about 500MB. From nd51 at le.ac.uk Thu Nov 9 16:59:40 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 09 Nov 2006 16:59:40 +0000 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: Alex Clark wrote: > Hey All, > > Looking for some feedback on how to try to get around this migration failure: > > http://paste.plone.org/11439 > You haven't by any chance got CMFMember, which is currently incompatible with 2.5? Asking because it blew up in that area.... It looks like it happily made it to 2.1.3, which would give you a massive improvement (especially speed) over 2.0.3, so you might consider as an interim step going live with 2.1.3. -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From aclark at aclark.net Thu Nov 9 17:15:04 2006 From: aclark at aclark.net (Alex Clark) Date: Thu, 9 Nov 2006 17:15:04 +0000 (UTC) Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: Nick Davis writes: > > Alex Clark wrote: > > Hey All, > > > > Looking for some feedback on how to try to get around this migration failure: > > > > http://paste.plone.org/11439 > > > > You haven't by any chance got CMFMember, which is currently incompatible > with 2.5? Asking because it blew up in that area.... No, but I *am* missing Products from the old instance. I figured I would add them back as needed because they may or may not run easily in the new instance. Old Instance Products: http://paste.plone.org/11455 Current Instance Products: http://paste.plone.org/11456 Should I maybe be focusing on adding some of these Products back? You are saying it's failing on the GrUF to PAS migration ? > > It looks like it happily made it to 2.1.3, which would give you a > massive improvement (especially speed) over 2.0.3, so you might consider > as an interim step going live with 2.1.3. That's a good idea, thanks! Although it will haunt me to the end of my days if I don't figure it out... > From aaron at netcorps.org Thu Nov 9 17:23:40 2006 From: aaron at netcorps.org (aaron) Date: Thu, 9 Nov 2006 09:23:40 -0800 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: <312E7617-76E9-4475-9D06-7992B3016FA3@netcorps.org> Alex, I have found that strange (and seemingly unrelated) errors can happen during migrations if you don't have the same add-on products in the Products directory. Try using a copy of the old Products with the new Plone version. Aaron On Nov 9, 2006, at 9:15 AM, Alex Clark wrote: > Nick Davis writes: > >> >> Alex Clark wrote: >>> Hey All, >>> >>> Looking for some feedback on how to try to get around this >>> migration failure: >>> >>> http://paste.plone.org/11439 >>> >> >> You haven't by any chance got CMFMember, which is currently >> incompatible >> with 2.5? Asking because it blew up in that area.... > > No, but I *am* missing Products from the old instance. I figured I > would add > them back as needed because they may or may not run easily in the > new instance. > > Old Instance Products: > http://paste.plone.org/11455 > > Current Instance Products: > http://paste.plone.org/11456 > > Should I maybe be focusing on adding some of these Products back? > > You are saying it's failing on the GrUF to PAS migration ? > >> >> It looks like it happily made it to 2.1.3, which would give you a >> massive improvement (especially speed) over 2.0.3, so you might >> consider >> as an interim step going live with 2.1.3. > > That's a good idea, thanks! Although it will haunt me to the end of > my days if I > don't figure it out... > > >> > > > > > > _______________________________________________ > Setup mailing list > Setup at lists.plone.org > http://lists.plone.org/mailman/listinfo/setup From nd51 at le.ac.uk Thu Nov 9 17:31:58 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 09 Nov 2006 17:31:58 +0000 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! In-Reply-To: References: Message-ID: Alex Clark wrote: > No, but I *am* missing Products from the old instance. I figured I would add > them back as needed because they may or may not run easily in the new instance. That seems sensible > Should I maybe be focusing on adding some of these Products back? Hmmm.. I don't think so .... > You are saying it's failing on the GrUF to PAS migration ? It looks that way. A good way to find out more is use the debugger and set a breakpoint on the last line of that trace. I like emacs for debugging, as it steps through syntax-highlighted code, but there are many alternative ways to do the same thing & opinions on the matter. ;-) >>It looks like it happily made it to 2.1.3, which would give you a >>massive improvement (especially speed) over 2.0.3, so you might consider >>as an interim step going live with 2.1.3. > > > That's a good idea, thanks! Although it will haunt me to the end of my days if I > don't figure it out... I suggested that as a temporary step to give a quick win and give you time to work out whats happening with 2.5. (Actually it ought to have said 2.1.4 as thats the latest release so thats mildly worrying...) We're still using 2.1.3 live (2.1.4 is only necessary to fix a security hole if you allow new users to register with the "join" feature). I haven't found any features in 2.5 compelling enough yet to outweigh the current problems of lack of documentation about LDAP / PlonePAS. Cheers Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From arabicsong at walla.com Thu Nov 9 18:56:16 2006 From: arabicsong at walla.com (=?windows-1255?B?7unw+OXk?=) Date: Thu, 09 Nov 2006 20:56:16 +0200 Subject: [Setup] =?windows-1255?b?8fT4IOXj6fH3IOTm7vgg5PL44ek=?= Message-ID: An HTML attachment was scrubbed... URL: From limi at plone.org Fri Nov 10 03:56:33 2006 From: limi at plone.org (Alexander Limi) Date: Thu, 09 Nov 2006 19:56:33 -0800 Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: On Thu, 09 Nov 2006 09:31:58 -0800, Nick Davis wrote: > (Actually it ought to have said 2.1.4 as thats the latest release so > thats mildly worrying...) The 2.1.3 -> 2.1.4 migration is just a null migration AFAIK (it doesn't need any migration as such), so I wouldn't worry too much. -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From grunberg at embl.de Fri Nov 10 11:45:41 2006 From: grunberg at embl.de (Raik Gruenberg) Date: Fri, 10 Nov 2006 12:45:41 +0100 (MET) Subject: [Setup] limit content of events portlet Message-ID: <45546665.9030002@embl.de> Hi all, I am running a wiki for our research lab and just added a folder for collecting Conference events. Naturally those events also show up in the Events portlet of the portal (nice!) but I think it is getting too crowded with for example conferences that are still one year away. How can I limit the items in the events portlet to either a fixed number or, much better, to items that are not more than 3 months away. I tried to change the settings of the Events smartfolder but that doesn't affect the events portlet it seems. Any ideas? BTW, the same goes for the news portlet: There are not many news on our site and I would prefer not to have a 6 months old article in the 'News' box. Kind of defies the idea, doesn't it ;-)? Many thanks in advance! Raik -- ________________________________ Dr. Raik Gruenberg http://www.raiks.de/contact.html ________________________________ From r.ritz at biologie.hu-berlin.de Fri Nov 10 12:08:20 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Fri, 10 Nov 2006 13:08:20 +0100 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45546665.9030002@embl.de> References: <45546665.9030002@embl.de> Message-ID: Raik Gruenberg schrieb: > Hi all, > > I am running a wiki for our research lab and just added a folder for > collecting Conference events. Naturally those events also show up in the > Events portlet of the portal (nice!) but I think it is getting too > crowded with for example conferences that are still one year away. > > How can I limit the items in the events portlet to either a fixed number > or, much better, to items that are not more than 3 months away. I tried > to change the settings of the Events smartfolder but that doesn't affect > the events portlet it seems. > > Any ideas? > > BTW, the same goes for the news portlet: There are not many news on our > site and I would prefer not to have a 6 months old article in the 'News' > box. Kind of defies the idea, doesn't it ;-)? > [such a question should go to plone-user, btw] As of now, the portlets do a search for the items to display from within their templates right away. So you have to customize the respective templates and adjust the catalog search therein to fit your needs (like restricting number of items to show or adding some condition on modified ...) Raphael > Many thanks in advance! > Raik > From grunberg at embl.de Fri Nov 10 13:05:41 2006 From: grunberg at embl.de (Raik Gruenberg) Date: Fri, 10 Nov 2006 14:05:41 +0100 (MET) Subject: [Setup] Re: limit content of events portlet In-Reply-To: References: <45546665.9030002@embl.de> Message-ID: <45547925.3000106@embl.de> Thanks for your fast response! I am (yet) pretty clueless when it comes to modifying plone components and templates. I couldn't even find the portlets in the ZMI. Could you please give me a starting point from where to modify the templates graphically or through Python? Thanks a lot, Raik Raphael Ritz wrote: > Raik Gruenberg schrieb: > >> Hi all, >> >> I am running a wiki for our research lab and just added a folder for >> collecting Conference events. Naturally those events also show up in >> the Events portlet of the portal (nice!) but I think it is getting too >> crowded with for example conferences that are still one year away. >> >> How can I limit the items in the events portlet to either a fixed >> number or, much better, to items that are not more than 3 months away. >> I tried to change the settings of the Events smartfolder but that >> doesn't affect the events portlet it seems. >> >> Any ideas? >> >> BTW, the same goes for the news portlet: There are not many news on >> our site and I would prefer not to have a 6 months old article in the >> 'News' box. Kind of defies the idea, doesn't it ;-)? >> > > [such a question should go to plone-user, btw] > > As of now, the portlets do a search for the items to display from > within their templates right away. So you have to customize the > respective templates and adjust the catalog search therein to > fit your needs (like restricting number of items to show or > adding some condition on modified ...) > > Raphael > >> Many thanks in advance! >> Raik >> > > > _______________________________________________ > Setup mailing list > Setup at lists.plone.org > http://lists.plone.org/mailman/listinfo/setup -- ________________________________ Dr. Raik Gruenberg http://www.raiks.de/contact.html ________________________________ From r.ritz at biologie.hu-berlin.de Fri Nov 10 13:14:45 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Fri, 10 Nov 2006 14:14:45 +0100 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45547925.3000106@embl.de> References: <45546665.9030002@embl.de> <45547925.3000106@embl.de> Message-ID: Raik Gruenberg schrieb: > Thanks for your fast response! > > I am (yet) pretty clueless when it comes to modifying plone components > and templates. I couldn't even find the portlets in the ZMI. ZMI -> portal_skins -> plone_portlets -> > Could you please give me a starting point from where to modify the > templates graphically or through Python? Most simply TTW in ZMI. Select the portlet you want to change and press 'customize'. This will result in a local copy of the template being generated in portal_skins/custom/ which will take precedence over the original one. This new copy you can now edit TTW as you like. HTH, Raphael > > Thanks a lot, > Raik > > Raphael Ritz wrote: >> Raik Gruenberg schrieb: >> >>> Hi all, >>> >>> I am running a wiki for our research lab and just added a folder for >>> collecting Conference events. Naturally those events also show up in >>> the Events portlet of the portal (nice!) but I think it is getting >>> too crowded with for example conferences that are still one year away. >>> >>> How can I limit the items in the events portlet to either a fixed >>> number or, much better, to items that are not more than 3 months >>> away. I tried to change the settings of the Events smartfolder but >>> that doesn't affect the events portlet it seems. >>> >>> Any ideas? >>> >>> BTW, the same goes for the news portlet: There are not many news on >>> our site and I would prefer not to have a 6 months old article in the >>> 'News' box. Kind of defies the idea, doesn't it ;-)? >>> >> >> [such a question should go to plone-user, btw] >> >> As of now, the portlets do a search for the items to display from >> within their templates right away. So you have to customize the >> respective templates and adjust the catalog search therein to >> fit your needs (like restricting number of items to show or >> adding some condition on modified ...) >> >> Raphael >> >>> Many thanks in advance! >>> Raik >>> >> >> >> _______________________________________________ >> Setup mailing list >> Setup at lists.plone.org >> http://lists.plone.org/mailman/listinfo/setup > From jason.stubbs+wiki at gmail.com Fri Nov 10 14:06:06 2006 From: jason.stubbs+wiki at gmail.com (Jason Stubbs) Date: Fri, 10 Nov 2006 09:06:06 -0500 Subject: [Setup] Re: limit content of events portlet In-Reply-To: <45546665.9030002@embl.de> References: <45546665.9030002@embl.de> Message-ID: Raik, When you create the event or news item, there is a properties page. In that page there is an effective date (when plone will start to make the item visible) and an expiration date (when plone makes the item invisible). Set the dates as you need the items to appear and disappear. Cheers Jason Raik Gruenberg wrote: > Hi all, > > I am running a wiki for our research lab and just added a folder for > collecting Conference events. Naturally those events also show up in > the Events portlet of the portal (nice!) but I think it is getting too > crowded with for example conferences that are still one year away. > > How can I limit the items in the events portlet to either a fixed > number or, much better, to items that are not more than 3 months away. > I tried to change the settings of the Events smartfolder but that > doesn't affect the events portlet it seems. > > Any ideas? > > BTW, the same goes for the news portlet: There are not many news on > our site and I would prefer not to have a 6 months old article in the > 'News' box. Kind of defies the idea, doesn't it ;-)? > > Many thanks in advance! > Raik > From rhills at medimorphosis.com.au Sat Nov 11 12:40:56 2006 From: rhills at medimorphosis.com.au (Rob Hills) Date: Sat, 11 Nov 2006 20:40:56 +0800 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Hi All, > Nick Davis wrote: >> Wendi, >> Since the breadcrumbs is hierarchical, what I don't understand is >> how you ever end up in a situation where you're looking at object X >> which you've got permission to look at, while folder Y is appearing in >> the breadcrumb trail which you don't have permission to look at. There's a thread on Plone User that started yesterday describing another scenario where this problem occurs: http://article.gmane.org/gmane.comp.web.zope.plone.user/61224 Cheers, Rob Hills From orit at emaillist.com Sun Nov 12 01:33:12 2006 From: orit at emaillist.com (orit at emaillist.com) Date: 12 Nov 2006 03:33:12 +0200 Subject: [Setup] =?windows-1255?b?6/rl4eX6IOPl4Owg5fT48eXtIOH09/E=?= Message-ID: <20061112033300.39600F9C4112D846@emaillist.com> An HTML attachment was scrubbed... URL: From leglernc at yahoo.com Sun Nov 12 05:43:25 2006 From: leglernc at yahoo.com (Neal Legler) Date: Sat, 11 Nov 2006 22:43:25 -0700 Subject: [Setup] Fixed in Linux: Trouble with site rebuild after Data.fs replace References: Message-ID: Hi Nick, Following the leads your questions gave us helped us get the site up and working in Linux finally. (Fortunately the site is still in development, so downtime wasn't a major issue. ;) Nick Davis wrote: > I'd strongly recommend that now you've got it working OK on Windows, if > you do still want it to work on Linux as well, then get Zope 2.9.5 and > Plone 2.5.1 on Linux too , to eliminate any issues being due to this > version difference. This was a big key to getting it to work. With the site working in Windows, we were able to use the export/import function, and the errors we got in trying to do so were reduced when we went to the latest version of Plone for Linux. > Its possible some library somewhere on the machine is accidentally older > after your rebuild. Could you have upgraded something, and didn't keep a > record? (Which you've now lost through re-installing) Typing "aptitude > install" or "yum install" - whatever Red Hat's version is - takes less > time than documenting that you did it. ;-) We ran an update on all of our software, which seemed to reduce a few more errors on attempting the import. Also, I originally said that we had all of the same Python modules that we had earlier (particularly PIL), but a lot of our errors when we ran zopectl debug were missing python modules. We had to reinstall docutils and PIL, since they weren't showing up. We also had to install programs like pdftohtml & wvWare for our AttachmentField product. So you were right--missing or outdated Python modules and programs was our biggest hangup. It's great to be back up and running! Thank you very much for pointing us in the right direction! Neal From marc.van.coillie at eife-l.org Sun Nov 12 07:58:30 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Sun, 12 Nov 2006 08:58:30 +0100 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 Message-ID: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Hello, I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 but without any success, it seems that there is no migration path from this release. Result of the attempt... a.. Starting the migration from version: 2.1.4 b.. Attempting to upgrade from: 2.1.4 c.. Migration completed at version 2.1.4 d.. End of upgrade path, migration has finished e.. The upgrade path did NOT reach current version f.. Migration has failed Is there any solution ? Will I have to wait for release 2.5.2 ? Any idea about when it will be published ? anyway thanks for all your work ! Best regards, Marc From stefan at epy.co.at Sun Nov 12 12:40:57 2006 From: stefan at epy.co.at (Stefan H. Holek) Date: Sun, 12 Nov 2006 13:40:57 +0100 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 In-Reply-To: <008a01c70630$589b5440$0301a8c0@EIFELMARC> References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Message-ID: You could try to force migration from 2.1.4. Migrations are written in a way that they don't do harm when applied more than once. Stefan P.S: 2.1.4 is indeed missing from the migration chain in Plone 2.5. Perhaps because 2.5 was cut before 2.1.4 got released. Oops. I will fix this. On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: > Hello, > I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 > but without any success, it seems that there is no migration path > from this release. > Result of the attempt... > > a.. Starting the migration from version: 2.1.4 > b.. Attempting to upgrade from: 2.1.4 > c.. Migration completed at version 2.1.4 > d.. End of upgrade path, migration has finished > e.. The upgrade path did NOT reach current version > f.. Migration has failed > Is there any solution ? Will I have to wait for release 2.5.2 ? Any > idea about when it will be published ? > > anyway thanks for all your work ! > > Best regards, > Marc -- Anything that happens, happens. --Douglas Adams From marc.van.coillie at eife-l.org Sun Nov 12 12:59:54 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Sun, 12 Nov 2006 13:59:54 +0100 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> Message-ID: <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> Hi, Thanks for your help, I've tried to force migration from 2.1.3 but without any success. So I've modified manually the migration path to add the 2.1.4 release: MigrationTool.registerUpgradePath('2.1.3', '2.5-alpha1', v2_5.alphas.two5_alpha1) to: MigrationTool.registerUpgradePath('2.1.3', '2.1.4', v2_1.two13_two14.two13_two14) MigrationTool.registerUpgradePath('2.1.4', '2.5-alpha1', v2_5.alphas.two5_alpha1) But when I've done the simulation here is the error: Result of the attempt... a.. Dry run selected. b.. Starting the migration from version: 2.1.4 c.. Attempting to upgrade from: 2.1.4 d.. Installed CMFPlacefulWorkflow. e.. Upgrade to: 2.5-alpha1, completed f.. Attempting to upgrade from: 2.5-alpha1 g.. Upgrade aborted h.. Error type: zExceptions.BadRequest i.. Error value: No select variable j.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/MigrationTool.py", line 307, in upgrade newv, msgs = self._upgrade(newv) k.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/MigrationTool.py", line 404, in _upgrade res = function(self.aq_parent) l.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/v2_5/alphas.py", line 24, in alpha1_alpha2 installPlonePAS(portal, out) m.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/v2_5/alphas.py", line 43, in installPlonePAS installOrReinstallProduct(portal, 'PlonePAS', out) n.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/migrations/migration_util.py", line 82, in installOrReinstallProduct qi.installProduct(product_name) o.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in installProduct res=install(portal) p.. File "/usr/lib/zope2.8/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) q.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 835, in install setupTools(portal, out) r.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 400, in setupTools migrateMemberDataTool(portal, out) s.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 543, in migrateMemberDataTool updateProp(mdtool, prop) t.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/Extensions/Install.py", line 570, in updateProp prop_manager._setProperty(id, value, type) u.. File "/usr/lib/zope2.8/lib/python/OFS/PropertyManager.py", line 189, in _setProperty raise BadRequest, 'No select variable %s' % value v.. End of upgrade path, migration has finished w.. The upgrade path did NOT reach current version x.. Migration has failed y.. Dry run selected, transaction aborted Any ideas ? Marc ----- Original Message ----- From: "Stefan H. Holek" To: "Marc Van Coillie" Cc: Sent: Sunday, November 12, 2006 1:40 PM Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 > You could try to force migration from 2.1.4. Migrations are written in a > way that they don't do harm when applied more than once. > > Stefan > > P.S: 2.1.4 is indeed missing from the migration chain in Plone 2.5. > Perhaps because 2.5 was cut before 2.1.4 got released. Oops. I will fix > this. > > > On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: > >> Hello, >> I've tried to migrate one of my plone instance from v2.1.4 to 2.5.1 but >> without any success, it seems that there is no migration path from this >> release. >> Result of the attempt... >> >> a.. Starting the migration from version: 2.1.4 >> b.. Attempting to upgrade from: 2.1.4 >> c.. Migration completed at version 2.1.4 >> d.. End of upgrade path, migration has finished >> e.. The upgrade path did NOT reach current version >> f.. Migration has failed >> Is there any solution ? Will I have to wait for release 2.5.2 ? Any idea >> about when it will be published ? >> >> anyway thanks for all your work ! >> >> Best regards, >> Marc > > -- > Anything that happens, happens. --Douglas Adams > > From aaron at netcorps.org Sun Nov 12 16:56:58 2006 From: aaron at netcorps.org (aaron) Date: Sun, 12 Nov 2006 08:56:58 -0800 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 In-Reply-To: <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> References: <008a01c70630$589b5440$0301a8c0@EIFELMARC> <012801c7065a$75b30bc0$0301a8c0@EIFELMARC> Message-ID: Marc, I have had success migrating 2.1.4->2.5.1 by doing a forced migration from 2.1 -> 2.5.1. That seemed to solve it. Hope that helps. Aaron On Nov 12, 2006, at 4:59 AM, Marc Van Coillie wrote: > Hi, > Thanks for your help, > > I've tried to force migration from 2.1.3 but without any success. > > So I've modified manually the migration path to add the 2.1.4 release: > > MigrationTool.registerUpgradePath('2.1.3', > '2.5-alpha1', > v2_5.alphas.two5_alpha1) > > to: > MigrationTool.registerUpgradePath('2.1.3', > > '2.1.4', > > v2_1.two13_two14.two13_two14) > > MigrationTool.registerUpgradePath('2.1.4', > > '2.5-alpha1', > > v2_5.alphas.two5_alpha1) > > But when I've done the simulation here is the error: > > Result of the attempt... > > a.. Dry run selected. > b.. Starting the migration from version: 2.1.4 > c.. Attempting to upgrade from: 2.1.4 > d.. Installed CMFPlacefulWorkflow. > e.. Upgrade to: 2.5-alpha1, completed > f.. Attempting to upgrade from: 2.5-alpha1 > g.. Upgrade aborted > h.. Error type: zExceptions.BadRequest > i.. Error value: No select variable > j.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > MigrationTool.py", line 307, in upgrade newv, msgs = self._upgrade > (newv) > k.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > MigrationTool.py", line 404, in _upgrade res = function > (self.aq_parent) > l.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/v2_5/alphas.py", line 24, in alpha1_alpha2 > installPlonePAS(portal, out) > m.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/v2_5/alphas.py", line 43, in installPlonePAS > installOrReinstallProduct(portal, 'PlonePAS', out) > n.. File "/var/lib/zope2.8/instance/eifel25/Products/CMFPlone/ > migrations/migration_util.py", line 82, in > installOrReinstallProduct qi.installProduct(product_name) > o.. File "/var/lib/zope2.8/instance/eifel25/Products/ > CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in > installProduct res=install(portal) > p.. File "/usr/lib/zope2.8/lib/python/Products/ExternalMethod/ > ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) > q.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 835, in install setupTools(portal, out) > r.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 400, in setupTools > migrateMemberDataTool(portal, out) > s.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 543, in migrateMemberDataTool > updateProp(mdtool, prop) > t.. File "/var/lib/zope2.8/instance/eifel25/Products/PlonePAS/ > Extensions/Install.py", line 570, in updateProp > prop_manager._setProperty(id, value, type) > u.. File "/usr/lib/zope2.8/lib/python/OFS/PropertyManager.py", > line 189, in _setProperty raise BadRequest, 'No select variable %s' > % value > v.. End of upgrade path, migration has finished > w.. The upgrade path did NOT reach current version > x.. Migration has failed > y.. Dry run selected, transaction aborted > Any ideas ? > > Marc > > > ----- Original Message ----- From: "Stefan H. Holek" > > To: "Marc Van Coillie" > Cc: > Sent: Sunday, November 12, 2006 1:40 PM > Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 > > >> You could try to force migration from 2.1.4. Migrations are >> written in a way that they don't do harm when applied more than >> once. >> >> Stefan >> >> P.S: 2.1.4 is indeed missing from the migration chain in Plone >> 2.5. Perhaps because 2.5 was cut before 2.1.4 got released. Oops. >> I will fix this. >> >> >> On 12. Nov 2006, at 08:58, Marc Van Coillie wrote: >> >>> Hello, >>> I've tried to migrate one of my plone instance from v2.1.4 to >>> 2.5.1 but without any success, it seems that there is no >>> migration path from this release. >>> Result of the attempt... >>> >>> a.. Starting the migration from version: 2.1.4 >>> b.. Attempting to upgrade from: 2.1.4 >>> c.. Migration completed at version 2.1.4 >>> d.. End of upgrade path, migration has finished >>> e.. The upgrade path did NOT reach current version >>> f.. Migration has failed >>> Is there any solution ? Will I have to wait for release 2.5.2 ? >>> Any idea about when it will be published ? >>> >>> anyway thanks for all your work ! >>> >>> Best regards, >>> Marc >> >> -- >> Anything that happens, happens. --Douglas Adams >> > > > _______________________________________________ > Setup mailing list > Setup at lists.plone.org > http://lists.plone.org/mailman/listinfo/setup From christophe.dufourd at club-internet.fr Sun Nov 12 17:44:19 2006 From: christophe.dufourd at club-internet.fr (Christophe DUFOURD) Date: Sun, 12 Nov 2006 18:44:19 +0100 Subject: [Setup] Help - Migration Plone 2.1.3 to 2.1.4 Message-ID: <20061112174431.25F7F25612@relay-cm.club-internet.fr> Hello, I?d like to migrate from Plone 2.1.3 to 2.1.4. I?ve got the two following error messages 1?) Product at /Control_Panel/Products/ATContentTypes Import Traceback Traceback (most recent call last): File "/usr/local/zope/zope288/lib/python/OFS/Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/zope/rec-plone214-gc/Products/ATContentTypes/__init__.py", line 54, in ? import Products.ATContentTypes.content File "/home/zope/rec-plone214-gc/Products/ATContentTypes/content/__init__.py", line 34, in ? import Products.ATContentTypes.content.topic File "/home/zope/rec-plone214-gc/Products/ATContentTypes/content/topic.py", line 33, in ? from Products.CMFPlone.CatalogTool import CatalogTool File "/home/zope/rec-plone214-gc/Products/CMFPlone/CatalogTool.py", line 27, in ? from Products.CMFPlone.utils import base_hasattr ImportError: cannot import name base_hasattr 2?) Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: type object 'PloneSite' has no attribute '__before_publishing_traverse__' Can you help me ? Best regards. Christophe DUFOURD. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nd51 at le.ac.uk Mon Nov 13 14:01:57 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Mon, 13 Nov 2006 14:01:57 +0000 Subject: [Setup] Re: Exclude from Breadcrums? In-Reply-To: References: Message-ID: Rob Hills wrote: > > There's a thread on Plone User that started yesterday describing another > scenario where this problem occurs: > > http://article.gmane.org/gmane.comp.web.zope.plone.user/61224 Rob, I thought that was a good example you posted in response, where this would happen with Smart Folders, so I totally accept your point. But we didn't hear anything back from the OP to say whether indeed this was the problem she was facing... Regards, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From benton at panix.com Mon Nov 13 21:03:26 2006 From: benton at panix.com (Benton Roberts) Date: Mon, 13 Nov 2006 16:03:26 -0500 Subject: [Setup] Current Plone build on Fedora broken? Message-ID: <4558DD9E.4070607@panix.com> Hello, all. I am having a problem creating a new Plone site, on a freshly-installed Fedora build of Zope. Here's the entire configuration history of this system: 1) Installed Fedora Core 5 with the 'minimal' package set 2) Ran 'yum -y update', and then rebooted to the latest kernel 3) Ran 'yum -y install plone' 4) Ran 'zopectl adduser admin temp_password' 5) Ran 'service zope start' This procedure installs the current Fedora build of Plone (2.5.1-2.fc5) built on Zope 2.9.4-2.fc5. The fourth step generates some deprecation warnings, but seems to work OK. So I point my browser to http://myhost:8080/manage and login with the above credentials. So far, so good. But when I try to create a Plone site by selecting 'Plone Site' from the 'Add' pulldown menu, and filling in the three required fields, I get an error page with the following message: ====================================== Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: previous Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. ====================================== I'm a little suprised that I can't find other reports of this problem, given the ubiquity of Fedora in general (and presumably the above install process in particular). Has anyone else run into this problem, or know how to fix it? Thanks, -- -benton ------------- Benton Roberts benton at panix.com PGP Key ID 0x133E098F From mstawchansky at pathfire.com Mon Nov 13 21:08:32 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Mon, 13 Nov 2006 16:08:32 -0500 Subject: [Setup] Current Plone build on Fedora broken? In-Reply-To: <4558DD9E.4070607@panix.com> Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B47C6@pf-mail01.vninet.com> Can't say I've yummed down Plone in FC5, but I just completed a clean install of FC5 and simply grabbed the Plone 2.5.1 installer from the plone site. Runs like a dream ( i.e. no input required). The Plone and Zope instance was good to go after install and I just finished creating a Plone Site and migrated my customizations over from a Plone 2.1.2 site. I've noticed that Fedora has had some repository 'burps' over the last couple of weeks, you might have better luck with installer. -----Original Message----- From: setup-bounces at lists.plone.org [mailto:setup-bounces at lists.plone.org] On Behalf Of Benton Roberts Sent: Monday, November 13, 2006 4:03 PM To: setup at lists.plone.org Subject: [Setup] Current Plone build on Fedora broken? Hello, all. I am having a problem creating a new Plone site, on a freshly-installed Fedora build of Zope. Here's the entire configuration history of this system: 1) Installed Fedora Core 5 with the 'minimal' package set 2) Ran 'yum -y update', and then rebooted to the latest kernel 3) Ran 'yum -y install plone' 4) Ran 'zopectl adduser admin temp_password' 5) Ran 'service zope start' This procedure installs the current Fedora build of Plone (2.5.1-2.fc5) built on Zope 2.9.4-2.fc5. The fourth step generates some deprecation warnings, but seems to work OK. So I point my browser to http://myhost:8080/manage and login with the above credentials. So far, so good. But when I try to create a Plone site by selecting 'Plone Site' from the 'Add' pulldown menu, and filling in the three required fields, I get an error page with the following message: ====================================== Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: previous Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. ====================================== I'm a little suprised that I can't find other reports of this problem, given the ubiquity of Fedora in general (and presumably the above install process in particular). Has anyone else run into this problem, or know how to fix it? Thanks, -- -benton ------------- Benton Roberts benton at panix.com PGP Key ID 0x133E098F _______________________________________________ Setup mailing list Setup at lists.plone.org http://lists.plone.org/mailman/listinfo/setup From swapp0 at yahoo.com Tue Nov 14 08:54:01 2006 From: swapp0 at yahoo.com (Allen Huang) Date: Tue, 14 Nov 2006 00:54:01 -0800 (PST) Subject: [Setup] no "plone site" in the add menu Message-ID: <864363.57381.qm@web30208.mail.mud.yahoo.com> I'm sure you probably have been ask the question many time, but I just started with plone and I can't find any solution to this problem on he web of the plone site. after I moved every thing into zope instance home / product folder and restarted zope, "plone site" did not show in the add menu under root how do I solve this problem? I did exactly what sure be done in the install.txt documentation. please help.. --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nd51 at le.ac.uk Tue Nov 14 09:24:13 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Tue, 14 Nov 2006 09:24:13 +0000 Subject: [Setup] Re: no "plone site" in the add menu In-Reply-To: <864363.57381.qm@web30208.mail.mud.yahoo.com> References: <864363.57381.qm@web30208.mail.mud.yahoo.com> Message-ID: Allen Huang wrote: > I'm sure you probably have been ask the question many time, but I just > started with plone and I can't find any solution to this problem on he > web of the plone site. > > after I moved every thing into zope instance home / product folder > and restarted zope, "plone site" did not show in the add menu under root > > how do I solve this problem? I did exactly what sure be done in the > install.txt documentation. Please check the permissions of the CMFPlone folder that you copied into Products. Also, look in the zope.conf file and switch debug-mode on if its not already on, then restart and Zope may fail with a helpful error. One thing that confuses a lot of new people is that if you are NOT in debug mode, Zope will continue to run and appear to be OK even if some products had a problem on startup. One other thing - when asking questions like this please always tell people what version of Plone, Zope, python you have and on what O/S. Welcome to Plone. :-) hope this helps, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From nielssteenkrogh at zitelab.dk Tue Nov 14 12:27:54 2006 From: nielssteenkrogh at zitelab.dk (Niels Steen Krogh) Date: Tue, 14 Nov 2006 13:27:54 +0100 Subject: [Setup] fedora problem In-Reply-To: <200611141200.kAEC0eXs029533@s1wr6.dotserv.com> References: <200611141200.kAEC0eXs029533@s1wr6.dotserv.com> Message-ID: <20061114121612.M42419@zitelab.dk> try starting with ./zopectl fg (from the bin-directory where you find zopectl) look for errors when you try to add plone-site in the zmi. Post the errors (from zopeztl fg) here so we might have better suggestions. /Niels From vedawms at unc.edu Tue Nov 14 14:50:57 2006 From: vedawms at unc.edu (vedawms) Date: Tue, 14 Nov 2006 06:50:57 -0800 (PST) Subject: [Setup] no "plone site" in the add menu In-Reply-To: <864363.57381.qm@web30208.mail.mud.yahoo.com> References: <864363.57381.qm@web30208.mail.mud.yahoo.com> Message-ID: <7339011.post@talk.nabble.com> Along the lines of what Nick recommended, when you restart Zope, use this command to restart it: sudo /Applications/Plone-2.5.1/Instance/bin/zopectl fg -- View this message in context: http://www.nabble.com/no-%22plone-site%22-in-the-add-menu-tf2628100.html#a7339011 Sent from the Plone Setup mailing list archive at Nabble.com. From vedawms at unc.edu Tue Nov 14 19:37:05 2006 From: vedawms at unc.edu (vedawms) Date: Tue, 14 Nov 2006 11:37:05 -0800 (PST) Subject: [Setup] stylesheets for site dropped, site broken Message-ID: <7344751.post@talk.nabble.com> I went into the ZMI for my site and turned off debug mode on stylesheets to try to improve performance. Immediately, the site choked and all stylesheets were dropped. I shut down zope then restarted. Stylesheets still missing. This is the second time this has happened to me, and I'm not sure what the commonality is. I thought maybe debug mode for zope was on, so I went to read the zope.conf file. Apparently it's not on, but there are only a few lines to my zope.conf, which made me think that maybe there was something wrong with it?? http://paste.plone.org/11540 I did a restart of zope in debug mode and got this: http://paste.plone.org/11541 It never really finished reloading, and going to the site now gives an internal server error. This is what I'm running. Plone 2.5.1, CMF-1.6.2, Zope (Zope 2.9.5-final, python 2.4.4, linux2), Five 1.3.7, Python 2.4.4 (#1, Nov 13 2006, 09:22:41) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)], PIL 1.1.5 You are running in "production mode". Thoughts? I know I need to get rid of the duplicate products, but beyond that I am at a loss. Thanks, - Veda -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7344751 Sent from the Plone Setup mailing list archive at Nabble.com. From vedawms at unc.edu Tue Nov 14 20:18:41 2006 From: vedawms at unc.edu (vedawms) Date: Tue, 14 Nov 2006 12:18:41 -0800 (PST) Subject: [Setup] stylesheets for site dropped, site broken In-Reply-To: <7344751.post@talk.nabble.com> References: <7344751.post@talk.nabble.com> Message-ID: <7345531.post@talk.nabble.com> Ok, so something else interesting... I restarted zope, all all content showed up, but still no stylesheets. I made a tiny change to ploneCustom.css, and presto, everything is back again. So... I assume it comes down to caching. I have CacheFu installed, but the only thing I configured was to add my site domains to the main page and to tell it to Cache in ProxyCache for 1 hour (hence, me pulling my hair out for the last 45 mins). I've uninstalled CacheFu and reinstalled it, hoping for the best. So, that brings me to my next question: Will CacheFu work just by installing it? My users are complaining that the site is extremely slow, but I'm not sure how to correctly set it up, since there are so many bells and whistles... -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7345531 Sent from the Plone Setup mailing list archive at Nabble.com. From swapp0 at yahoo.com Wed Nov 15 02:16:03 2006 From: swapp0 at yahoo.com (Allen Huang) Date: Tue, 14 Nov 2006 18:16:03 -0800 (PST) Subject: [Setup] install PIL into Plone 2.1.4 Message-ID: <210321.60393.qm@web30204.mail.mud.yahoo.com> I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't have PIL included in it. I download PIL1.1.5 and try installing it. But it turn out that PIL is install to python 2.3 instead of python2.4.3 used by Zope2.10.0. how do I fix this problem.. anyone? --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From limi at plone.org Wed Nov 15 02:58:30 2006 From: limi at plone.org (Alexander Limi) Date: Tue, 14 Nov 2006 18:58:30 -0800 Subject: [Setup] Re: stylesheets for site dropped, site broken References: <7344751.post@talk.nabble.com> <7345531.post@talk.nabble.com> Message-ID: On Tue, 14 Nov 2006 12:18:41 -0800, vedawms wrote: > Will CacheFu work just by installing it? My users are complaining that > the > site is extremely slow, but I'm not sure how to correctly set it up, > since > there are so many bells and whistles.. CacheFu has excellent documentation, and also a good presentation/slide PDF from the Plone Conference 2006: http://plone.org/events/conferences/seattle-2006/presentations (High Performance Plone) -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From limi at plone.org Wed Nov 15 06:17:04 2006 From: limi at plone.org (Alexander Limi) Date: Tue, 14 Nov 2006 22:17:04 -0800 Subject: [Setup] Re: install PIL into Plone 2.1.4 References: <210321.60393.qm@web30204.mail.mud.yahoo.com> Message-ID: On Tue, 14 Nov 2006 18:16:03 -0800, Allen Huang wrote: > I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't have > PIL included in it. Stop right there. Plone 2.1 does *not* run on Zope 2.10. Plone 3.0 is the version scheduled to work on Zope 2.10. Please use the version combinations that are listed as supported. -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From dave at netaxxs.com.au Wed Nov 15 02:46:41 2006 From: dave at netaxxs.com.au (Dave Fregon) Date: Wed, 15 Nov 2006 13:46:41 +1100 Subject: [Setup] install PIL into Plone 2.1.4 In-Reply-To: <210321.60393.qm@web30204.mail.mud.yahoo.com> References: <210321.60393.qm@web30204.mail.mud.yahoo.com> Message-ID: <1163558801.9050.73.camel@localhost> On Tue, 2006-11-14 at 18:16 -0800, Allen Huang wrote: > I'm using Plone2.1.4 with Zope2.10.0 and this Plone package doesn't > have PIL included in it. > I download PIL1.1.5 and try installing it. But it turn out that PIL is > install to python 2.3 instead of python2.4.3 used by Zope2.10.0. > > how do I fix this problem.. anyone? Explicitly tell the install script what version of python to use and thus install too. ie: instead of : $ python setup.py install which is probably your python2.3, try putting in the full path to python2.4 $ /path/to/python2.4 setup.py install Dave -- NetAxxs 20 Chisolm St Wangaratta 3677 Australia +613 5722 9622 From marc.van.coillie at eife-l.org Tue Nov 14 08:31:57 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Tue, 14 Nov 2006 09:31:57 +0100 Subject: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 References: <20061113120017.EB0FF7E5CC@m-n2.sivit.org> Message-ID: <044d01c707c7$5a86f9b0$0301a8c0@EIFELMARC> Hi, I've reached to do the migration (my error was due to some specific properties in my portal_memberdata). FYI, it seems that for Plone2.5/PlonePAS migration/installation : - an empty (null) memberdata property can't work with it (so in that case use a default value in the portal_memberdata property seems to solve this) - the same with a 'multipleselection' property (the only way I've found is to delete this property before to run the migration) Anyway after my migration I've seen that the ACL_Users referenced all my previous users but the portal_memberdata section claims that there is no member stored in my site, is it normal ??? It seems not cause when I try to login I've got this error message: Type de l'erreur TypeError Valeur de l'erreur iteration over non-sequence Requ?te envoy?e au serveur le 2006/11/14 08:12:51.483 GMT+1 Any ideas ? Will it be better to install PlonePas 1.3 in my existing Plone2.1 portal and after that doing the migration to Plone 2.5 ??? Does anyone have tried this (migration from PlonePas1.3 to PlonePas 2) ? Thanks in advance for your help, Marc Message: 3 Date: Sun, 12 Nov 2006 08:56:58 -0800 From: aaron Subject: Re: [Setup] Migration Plone 2.1.4 to Plone 2.5.1 To: setup at lists.plone.org Message-ID: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Marc, I have had success migrating 2.1.4->2.5.1 by doing a forced migration from 2.1 -> 2.5.1. That seemed to solve it. Hope that helps. Aaron From vedawms at unc.edu Wed Nov 15 13:58:26 2006 From: vedawms at unc.edu (vedawms) Date: Wed, 15 Nov 2006 05:58:26 -0800 (PST) Subject: [Setup] stylesheets for site dropped, site broken In-Reply-To: References: <7344751.post@talk.nabble.com> <7345531.post@talk.nabble.com> Message-ID: <7358050.post@talk.nabble.com> Ah yes, I have my notes from that which are a lot less lucid than the PDF. Thanks! -- View this message in context: http://www.nabble.com/stylesheets-for-site-dropped%2C-site-broken-tf2631722.html#a7358050 Sent from the Plone Setup mailing list archive at Nabble.com. From mstawchansky at pathfire.com Wed Nov 15 15:25:09 2006 From: mstawchansky at pathfire.com (Mike Stawchansky) Date: Wed, 15 Nov 2006 10:25:09 -0500 Subject: [Setup] Trying to export from Plone 2.1.3 and import to 2.5.1 Message-ID: <05B2BB2FD1612A41AAAEE2034F245E5B0B47DF@pf-mail01.vninet.com> I think I've installed all the correct Products into my Plone 2.5.1 instance to match the 2.1.3 I'm exporting from, however when I try to import my .zexp of my 2.1.3 instance, it doesn't like me. Below is the trace info, if anything jumps out your thoughs would be most appreciated, or if I need to go about this a different way.... Thanks, Mike Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.ObjectManager, line 588, in manage_importObject Module OFS.ObjectManager, line 605, in _importObjectFromFile Module ZODB.ExportImport, line 75, in importFile Module transaction._transaction, line 295, in savepoint Module transaction._transaction, line 292, in savepoint Module transaction._transaction, line 675, in __init__ Module ZODB.Connection, line 1012, in savepoint Module ZODB.Connection, line 493, in _commit Module ZODB.ExportImport, line 144, in _importDuringCommit Module copy_reg, line 48, in _reconstructor TypeError: ('object.__new__(Index) is not safe, use Persistence.Persistent.__new__()', , (, From Michele.Zanotti at apss.tn.it Wed Nov 15 17:01:56 2006 From: Michele.Zanotti at apss.tn.it (Zanotti Michele) Date: Wed, 15 Nov 2006 18:01:56 +0100 Subject: [Setup] Problem with members search after migration to 2.5.1 Message-ID: <942D97AADEBADE4488705C3CCED883F586FC15@w3gen06.apss.tn.it> Hi all, i'm tryng to upgrade my plone instance from 2.1.2 to 2.5.1 (Zope 2.9.5 on Windows). I have an oddity and a problem. The oddity is that before a dry run I have: Instance version 2.1.2 Filesystem version 2.1.5 and after the dry run I have: Instance version 2.5.alpha1 Filesystem version 2.1.5. So seems to me that dry run modify the zodb. Anyway if I redo an upgrade (without checking dry-run, this time!) everything works except members administration: if I search for memeber I have an Error Type TypeError Error Value iteration over non-sequence Request made at 2006/11/15 17:49:57.016 GMT+1 Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 96, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 39, in _call Module Products.CMFFormController.ControllerBase, line 245, in getNext - __traceback_info__: ['id = prefs_users_overview', 'status = success', 'button=FindAll', 'errors={}', 'context=', 'kwargs={}', 'next_action=None', ''] Module Products.CMFFormController.Actions.TraverseTo, line 36, in __call__ Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 96, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 42, in _call Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 195, in _exec Module Products.CMFCore.FSPageTemplate, line 134, in pt_render Module Products.PageTemplates.PageTemplate, line 104, in pt_render - Module TAL.TALInterpreter, line 238, in __call__ Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 715, in do_condition Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 507, in do_setLocal_tal Module Products.PageTemplates.TALES, line 221, in evaluate - URL: file:CMFPlone/skins/plone_prefs/prefs_users_overview.cpt - Line 91, Column 8 - Expression: - Names: {'container': , 'context': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': (), 'state': }, 'repeat': , 'request': , 'root': , 'template': , 'traverse_subpath': [], 'user': } Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: (searchstring or findAll) and mtool.searchForMembers(name=searchstring) or [] Module Python expression "(searchstring or findAll) and mtool.searchForMembers(name=searchstring) or []", line 1, in Module Products.PlonePAS.tools.membership, line 190, in searchForMembers Module Products.CMFPlone.MembershipTool, line 321, in listMembers Module Products.PlonePAS.pas, line 272, in getUsers Module Products.PlonePAS.plugins.user, line 131, in getUsers Module Products.PluggableAuthService.PluggableAuthService, line 223, in getUserById Module Products.PluggableAuthService.PluggableAuthService, line 719, in _findUser Module Products.PlonePAS.plugins.property, line 164, in getPropertiesForUser Module Products.PluggableAuthService.UserPropertySheet, line 109, in __init__ TypeError: iteration over non-sequence Can anyone help me to solve this problem? Thanks Michele -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at netaxxs.com.au Wed Nov 15 23:09:01 2006 From: dave at netaxxs.com.au (Dave Fregon) Date: Thu, 16 Nov 2006 10:09:01 +1100 Subject: [Setup] Problem with members search after migration to 2.5.1 In-Reply-To: <942D97AADEBADE4488705C3CCED883F586FC15@w3gen06.apss.tn.it> References: <942D97AADEBADE4488705C3CCED883F586FC15@w3gen06.apss.tn.it> Message-ID: <1163632141.8866.13.camel@localhost> On Wed, 2006-11-15 at 18:01 +0100, Zanotti Michele wrote: > Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > - __traceback_info__: (searchstring or findAll) and mtool.searchForMembers(name=searchstring) or [] > Module Python expression "(searchstring or findAll) and mtool.searchForMembers(name=searchstring) or []", line 1, in > Module Products.PlonePAS.tools.membership, line 190, in searchForMembers > Module Products.CMFPlone.MembershipTool, line 321, in listMembers > Module Products.PlonePAS.pas, line 272, in getUsers > Module Products.PlonePAS.plugins.user, line 131, in getUsers > Module Products.PluggableAuthService.PluggableAuthService, line 223, in getUserById > Module Products.PluggableAuthService.PluggableAuthService, line 719, in _findUser > Module Products.PlonePAS.plugins.property, line 164, in getPropertiesForUser > Module Products.PluggableAuthService.UserPropertySheet, line 109, in __init__ > TypeError: iteration over non-sequence > Can anyone help me to solve this problem? I too have had this problem in 2 sites so far, I posted to the Plone Users list with no reply, and the ozzope list .. It appears this issue has something to do with properties on users not being found, I can do a search in the ZMI acl_users not a problem, but something in the membership data I think is breaking stuff when calling via plone tools etc, where maybe properties are missing on users, I'm just guessing as this new PAS is rather a black box for me atm. I have mutable_properties enabled in acl_users.plugins for what that's worth .. I presume the users do not have properties that are being looked for, but darned if I can work it out what they should be, or how to fix :\ In one of the sites I just ended up moving the content into a fresh Plone in the same zope instance, and losing the Members ... in the other site, with over 4000 users, I'm kinda stuck. Any ideas where to look or stuff to try with regard troubleshooting this issue? Dave -- NetAxxs 20 Chisolm St Wangaratta 3677 Australia +613 5722 9622 From 2111279 at gmail.com Thu Nov 16 08:41:38 2006 From: 2111279 at gmail.com (jjordaan) Date: Thu, 16 Nov 2006 10:41:38 +0200 Subject: [Setup] Re: Welcome to the "Setup" mailing list In-Reply-To: References: Message-ID: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> im trying to do research on how moodle and educommons communicates. installed apache and moodle. does anyone know how to install a Zope server. i need it to run educommons on the Zope server. i have followed the instructions but they were written for redhat. im currently running ubuntu dapper. when i install python, i get the following errors: "INFO: Can't locate Tcl/Tk libs and/or headers" -jjordaan -------------- next part -------------- An HTML attachment was scrubbed... URL: From nd51 at le.ac.uk Thu Nov 16 10:11:06 2006 From: nd51 at le.ac.uk (Nick Davis) Date: Thu, 16 Nov 2006 10:11:06 +0000 Subject: [Setup] Re: Welcome to the "Setup" mailing list In-Reply-To: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> References: <797009460611160041l614bc4b3r8bf4189e99ee401e@mail.gmail.com> Message-ID: jjordaan wrote: > im trying to do research on how moodle and educommons communicates. > installed apache and moodle. > does anyone know how to install a Zope server. > i need it to run educommons on the Zope server. > i have followed the instructions but they were written for redhat. > im currently running ubuntu dapper. > when i install python, i get the following errors: > > "INFO: Can't locate Tcl/Tk libs and/or headers" Hello, This sounds like either Tcl/Tk lib/hdr package(s) are not installed, or the path is not set up for it to find them. To an experienced Linux user that is obvious. If you're not experienced with Linux, you need to get hold of some books. Try a 'which tcl' , as the same user you're using to build python/zope, to see if tcl is installed at all (I can't imagine it not being, since Linux depends left right & centre on tcl). Then do "sudo apt-cache search tcl" and amongst the long list generated should be something like extra libraries for tcl. Then do 'sudo aptitude install ' - with the package name from the list above. It'll either get the packages you want, or, if it says you've already got them, then you'll know its a library path issue you've got to hunt down. This newsgroup is meant for setup issues at the Plone level. For help with Linux, the Ubuntu forums would be more friendly to people without a lot of Linux experience. Hope that helps, Nick -- Nick Davis Web Application Developer University of Leicester http://www2.le.ac.uk http://ebulletin.le.ac.uk From 2111279 at gmail.com Thu Nov 16 12:19:58 2006 From: 2111279 at gmail.com (jjordaan) Date: Thu, 16 Nov 2006 14:19:58 +0200 Subject: [Setup] UWC student running into a brick wall Message-ID: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> i have finaly set up Python. now im havin trouble with Python Imaging Library. it doesnt find the packages i require. i know its probably not pointing to the correct path. but im not that experienced with linux. and dont know where to modify the installation it gives the following output: PIL 1.1.5 BUILD SUMMARY -------------------------------------------------------------------- version 1.1.5 platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] -------------------------------------------------------------------- *** TKINTER support not available *** JPEG support not available --- ZLIB (PNG/ZIP) support ok *** FREETYPE2 support not available -jjordaan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michele.Zanotti at apss.tn.it Thu Nov 16 12:38:46 2006 From: Michele.Zanotti at apss.tn.it (Zanotti Michele) Date: Thu, 16 Nov 2006 13:38:46 +0100 Subject: R: [Setup] Problem with members search after migration to 2.5.1 In-Reply-To: <1163632141.8866.13.camel@localhost> Message-ID: <942D97AADEBADE4488705C3CCED883F503B468B6@w3gen06.apss.tn.it> >It appears this issue has something to do with properties on >users not being found, I can do a search in the ZMI acl_users >not a problem, but something in the membership data I think is >breaking stuff when calling via plone tools etc, Thank you, Dave. With your suggestion and a little script I have found the corrupted (?) user (well, I have only 30 users): Deleted him in zmi, i can search the others in Plone users overview. This is the script: memberIdList = context.portal_membership.listMemberIds() corrupted=[] for memberId in memberIdList: try: u=context.portal_membership.getMemberById(memberId) except: corrupted.append(memberId) return str(corrupted) Well, it has worked for me, but I have no skill for saying it is correct! Michele From 2111279 at gmail.com Fri Nov 17 09:26:43 2006 From: 2111279 at gmail.com (jjordaan) Date: Fri, 17 Nov 2006 11:26:43 +0200 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> Message-ID: <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> On 11/16/06, jjordaan <2111279 at gmail.com> wrote: > > i have finaly set up Python. > now im havin trouble with Python Imaging Library. > it doesnt find the packages i require. > i know its probably not pointing to the correct path. > but im not that experienced with linux. > and dont know where to modify the installation > it gives the following output: PIL 1.1.5 BUILD SUMMARY > -------------------------------------------------------------------- > version 1.1.5 > platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] > -------------------------------------------------------------------- > *** TKINTER support not available > *** JPEG support not available > --- ZLIB (PNG/ZIP) support ok > *** FREETYPE2 support ok > > -jjordaan > -------------- next part -------------- An HTML attachment was scrubbed... URL: From temporaryplone at arcor.de Sat Nov 18 08:43:59 2006 From: temporaryplone at arcor.de (Mr. Sun) Date: Sat, 18 Nov 2006 09:43:59 +0100 Subject: [Setup] Problems with Plone Installation on OpenBSD 4.0 Message-ID: Hello! I installed Zope on OpenBSD 4.0 yesterday. Now i'm trying to install Plone which didn't (?) work out. So here's what i did: First i tried to compile Zope by source via the ports system which failed because of needed X-Libaries for the tk-compilation. Anyway, the resolution and compilation of port depencies gave me a running python which i symlinked with the following commands: ln -s /usr/local/bin/python2.4 /usr/local/bin/python ln -s /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc Afterwards, i successfully installed python-expat and expat via the packages system. Packages are: python-expat-2.4.3p0.tgz ...which depends on expat 2.0.0.tgz without the python-expat i wasn't possible to start the zopectl via the terminal at a later point (mean after successful install of zope). I installed Zope 2.8.6-final.tgz via the package system which automatically sets up a user & group for _zope and gave me the following output on my terminal: --- zope-2.8.6p0 ------------------- This package uses the INSTANCE_HOME installation method, as described at http://www.zope.org/Members/4am/instancehome. This allows you to install the Zope package once and create as many sites as you want without changing your core Zope installation. Have a look at /usr/local/lib/zope/doc/README.OpenBSD to see how to create your instance and have it start at boot time. In README.OpenBSD is the first problem i got. It says: In this document we'll see how to create a zope instance and have it start at boot time. Throughout this document, we will assume that the instance you want will be located in /var/www under the name of 'zope'. Our instance will thus be /var/www/zope. 1) Creating your instance - run /usr/local/lib/zope/bin/mkzopeinstance.py to create your instance: # /usr/local/lib/zope/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc. Directory: /var/www/zope Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: zopeadmin Password: Verify password: - as we want to run our instance(s) with the _zope user, we should grant him the rights on the log/ and var/ directories. # chown _zope /var/www/zope/{log,var} As far as i have read the documentation of plone, the mkzopinstancy.py shouldn't be executed as root. I did it at a first installation of zope, but after reading the docs on plone.org i removed the whole package which deleted all files installed by itself and reinstalled the whole zope pkg. so i did it run mkzopeinstance.py as an unprivileged user, but not as the www (which is default for apache on OpenBSD) or _zope user. I was able to install it and to gain access to the websurface. Here is my Zope Control Panel Info: Zope Version (Zope 2.8.6-final, python 2.4.3, openbsd4) Python Version 2.4.3 (#1, Aug 31 2006, 18:24:01) [GCC 3.3.5 (propolice)] System Platform openbsd4 SOFTWARE_HOME /usr/local/lib/zope/lib/python ZOPE_HOME /usr/local/lib/zope INSTANCE_HOME /var/www/zope CLIENT_HOME /var/www/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8080) So afterwards, i downloaded the Plone-2.0.5 Tarball and extracted it in my working directory. After downloading the additional needed ... Five-1.2.6.tgz Imaging-1.1.5.tar.gz jpegsrc.v6b zlib-1.2.3 elementtree-1.2.6-20050316.tar.gz - I replaced Five in the Extraction-Dir with the downloaded Five-1.2.6 - compiled jpegsrc and put the compiled files to my /usr/local/corresponding_dirs - compiled Imaging-1.1.5 with jpg and png support, mv'd the dir to extracted Plone2.0.5/ - extracted zlib-1.2.3 and mv'd the dir to extracted Plone2.0.5/ - extracted elementree-1.2.6* and mv'd the dir to extracted Plone2.0.5/ Following the Readme i moved the directories under Plone2.0.5/ to my $INSTANCE_HOME/Products directory and restarted Zope. Actually, i do have Plone-specific Products like BTreeFolder2 or Plone Language Tool in my Droplist, but no "Add Plone Site". Zope gave me a big error log which i added under http://home.arcor.de/hasann/public/zope.log My /var/www/zope directory is listed in http://home.arcor.de/hasann/public/zopetree Further Questions: - Am i right here? Or is this more a zope problem? (Anyway i think the problems are my fault ;) Any Advices welcome! Thanx in Advance, Mr. Sun From temporaryplone at arcor.de Sat Nov 18 09:17:52 2006 From: temporaryplone at arcor.de (temporaryplone at arcor.de) Date: Sat, 18 Nov 2006 10:17:52 +0100 Subject: [Setup] Installation of Plone on OpenBSD 4.0 Message-ID: Hello! I installed Zope on OpenBSD 4.0 yesterday. Now i'm trying to install Plone which didn't (?) work out. So here's what i did: First i tried to compile Zope by source via the ports system which failed because of needed X-Libaries for the tk-compilation. Anyway, the resolution and compilation of port depencies gave me a running python which i symlinked with the following commands: ln -s /usr/local/bin/python2.4 /usr/local/bin/python ln -s /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc Afterwards, i successfully installed python-expat and expat via the packages system. Packages are: python-expat-2.4.3p0.tgz ...which depends on expat 2.0.0.tgz without the python-expat i wasn't possible to start the zopectl via the terminal at a later point (mean after successful install of zope). I installed Zope 2.8.6-final.tgz via the package system which automatically sets up a user & group for _zope and gave me the following output on my terminal: --- zope-2.8.6p0 ------------------- This package uses the INSTANCE_HOME installation method, as described at http://www.zope.org/Members/4am/instancehome. This allows you to install the Zope package once and create as many sites as you want without changing your core Zope installation. Have a look at /usr/local/lib/zope/doc/README.OpenBSD to see how to create your instance and have it start at boot time. In README.OpenBSD is the first problem i got. It says: In this document we'll see how to create a zope instance and have it start at boot time. Throughout this document, we will assume that the instance you want will be located in /var/www under the name of 'zope'. Our instance will thus be /var/www/zope. 1) Creating your instance - run /usr/local/lib/zope/bin/mkzopeinstance.py to create your instance: # /usr/local/lib/zope/bin/mkzopeinstance.py Please choose a directory in which you'd like to install Zope "instance home" files such as database files, configuration files, etc. Directory: /var/www/zope Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: zopeadmin Password: Verify password: - as we want to run our instance(s) with the _zope user, we should grant him the rights on the log/ and var/ directories. # chown _zope /var/www/zope/{log,var} As far as i have read the documentation of plone, the mkzopinstancy.py shouldn't be executed as root. I did it at a first installation of zope, but after reading the docs on plone.org i removed the whole package which deleted all files installed by itself and reinstalled the whole zope pkg. so i did it run mkzopeinstance.py as an unprivileged user, but not as the www (which is default for apache on OpenBSD) or _zope user. I was able to install it and to gain access to the websurface. Here is my Zope Control Panel Info: Zope Version (Zope 2.8.6-final, python 2.4.3, openbsd4) Python Version 2.4.3 (#1, Aug 31 2006, 18:24:01) [GCC 3.3.5 (propolice)] System Platform openbsd4 SOFTWARE_HOME /usr/local/lib/zope/lib/python ZOPE_HOME /usr/local/lib/zope INSTANCE_HOME /var/www/zope CLIENT_HOME /var/www/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8080) So afterwards, i downloaded the Plone-2.0.5 Tarball and extracted it in my working directory. After downloading the additional needed ... Five-1.2.6.tgz Imaging-1.1.5.tar.gz jpegsrc.v6b zlib-1.2.3 elementtree-1.2.6-20050316.tar.gz - I replaced Five in the Extraction-Dir with the downloaded Five-1.2.6 - compiled jpegsrc and put the compiled files to my /usr/local/corresponding_dirs - compiled Imaging-1.1.5 with jpg and png support, mv'd the dir to extracted Plone2.0.5/ - extracted zlib-1.2.3 and mv'd the dir to extracted Plone2.0.5/ - extracted elementree-1.2.6* and mv'd the dir to extracted Plone2.0.5/ Following the Readme i moved the directories under Plone2.0.5/ to my $INSTANCE_HOME/Products directory and restarted Zope. Actually, i do have Plone-specific Products like BTreeFolder2 or Plone Language Tool in my Droplist, but no "Add Plone Site". My actual zopectl fg is at /home/arcor.de/hasann/public/zope_fg.txt Zope gave me a big error log which i added under http://home.arcor.de/hasann/public/zope.log, but it's similar to the output of zopectl fg. My /var/www/zope directory is listed in http://home.arcor.de/hasann/public/zopetree.txt perhaps i just messed up the rights? Any Advices welcome! Thanx in Advance, Mr. Sun From dmidd at chartermi.net Mon Nov 20 05:22:19 2006 From: dmidd at chartermi.net (Daryl Middleton) Date: Mon, 20 Nov 2006 00:22:19 -0500 Subject: [Setup] Plone 2.51 and ZmysqlDA Message-ID: I am unable to get the ZmysqlDA to appear on the dropdown menu. I utilized Plone 2.51 installer on Windows 2000 pro. Had to update Python to 2.44 so python-mysql would install. Everything works in Plone but still no drop down selection for database adapter. I believe python-mysql and ZmysqlDA are in the proper directories. Any one having better luck. From marc.van.coillie at eife-l.org Mon Nov 20 08:30:24 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon, 20 Nov 2006 09:30:24 +0100 Subject: [Setup] Re: Re: Migration Plone 2.1.4 to Plone 2.5.1 References: <20061115173841.E6483E0F02@m-n4.sivit.org> Message-ID: <008901c70c7e$2116bf60$0301a8c0@EIFELMARC> Hello, I'm responding to myself, here the steps I've followed to migrate properly from 2.1.4 to 2.5.1 (and using PlonePas1.3 before to move to Plone2.5.1 and PlonePas2.1): - Installing PlonePas 1.3 on Plone2.1 is not so easy, please follow this tips to modify some files in PlonePas 1.3 http://plone.org/products/plonepas/issues/15 (I've used these releases of the products, except for PasswordResetTool, I've used the last one 0.4.1). - Before to install PlonePas 2.1, take a look at your member-metadata, I've suppressed all unused metadata (related to deprecated products like CMFBoard), as well as all metadata using Lines type, all metadata using selection have been changed to string. - Backup your data.fs database (of course) - Install PlonePas (try to login and search in the Members section to see if everything is correct) After that move your Data.fs in a zope instance with Plone2.5.1 and all the other products you are using and that's it. I've just need to delete the plone login portlet related to my skin in order to use the plone default one. To see if the memberdata are migrated correclty (and also before migration to see all metadata not really used) I'm using a very simple script (but very usefull in my case): from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE print "User Name;location;occupation;interests;timezone" for m in context.portal_membership.listMembers(): print "%s;" %m.getUserName(),"%s;" %m.getProperty('location'),"%s;" %m.getProperty('occupation'),"%s;" %m.getProperty('interests'),"%s;" %m.getProperty('timezone') return printed (of course replace here the property by the property you want to see) Hope this can help somebody else. Marc > > Hi, > I've reached to do the migration (my error was due to some specific > properties in my portal_memberdata). > FYI, it seems that for Plone2.5/PlonePAS migration/installation : > - an empty (null) memberdata property can't work with it (so in that case > use a default value in the portal_memberdata property seems to solve this) > - the same with a 'multipleselection' property (the only way I've found is > to delete this property before to run the migration) > > Anyway after my migration I've seen that the ACL_Users referenced all my > previous users but the portal_memberdata section claims that there is no > member stored in my site, is it normal ??? > It seems not cause when I try to login I've got this error message: > > Type de l'erreur > TypeError > Valeur de l'erreur > iteration over non-sequence > Requ?te envoy?e au serveur le > 2006/11/14 08:12:51.483 GMT+1 > Any ideas ? > > Will it be better to install PlonePas 1.3 in my existing Plone2.1 portal > and > after that doing the migration to Plone 2.5 ??? > Does anyone have tried this (migration from PlonePas1.3 to PlonePas 2) ? > > Thanks in advance for your help, > Marc > From marc.van.coillie at eife-l.org Mon Nov 20 08:45:49 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon, 20 Nov 2006 09:45:49 +0100 Subject: [Setup] Re: Re: Problem with members search after migration to 2.5.1 References: <20061116120017.A77EE7E544@m-n2.sivit.org> Message-ID: <009901c70c80$48e0fcc0$0301a8c0@EIFELMARC> Hi, I've got this error also: "TypeError: iteration over non-sequence" When I've done my first attempt to migrate from 2.1.4 to 2.5.1, it seems to be related to bad member metadata, I've just post in this how I've migrated (using an another step to deploy PlonePas1.3 on my Plone2.1.4 instance to check that all the member metadatas are moved correctly from Gruf to PlonePas). So I've been obliged to delete or change the types of some of these metadatas (due to unused products, advanced types like multiple selection, selection and lines). Selection types have been changed to 'string'. To see the value of the metadata before to delete them I'm using this short script: from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE print "User Name;location;occupation;interests;timezone" for m in context.portal_membership.listMembers(): print "%s;" %m.getUserName(),"%s;" %m.getProperty('location'),"%s;" %m.getProperty('occupation'),"%s;" %m.getProperty('interests'),"%s;" %m.getProperty('timezone') return printed With some metadatas the result of the script is not printed correctly on the screen (no carriage return) so in that case I've suppressed the metadata which give this print out error (don't tell me why I'm not an expert in plone and python design development)... Anyway after this cleaning in the member properties I've been able to migrate correclty and don't see again this error when I'm searching for Members information or trying to login :-). (Now I've got other errors but related to browser support with Plone2.5.1 :-( ) Last point: this cleaning has been done before migration and install of PlonePas 1.3, I don't think that it can change something after migration so I guess that you need to go back to your previous instance and plone version and try again... Hope this can help you. Marc From marc.van.coillie at eife-l.org Mon Nov 20 09:02:04 2006 From: marc.van.coillie at eife-l.org (Marc Van Coillie) Date: Mon, 20 Nov 2006 10:02:04 +0100 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) Message-ID: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Hello, I've just migrated our plone instances on Plone2.5.1 and one of my colleagues can't access them using her IE 6 browser (IE6.0.29 on Windows XP), she's got this error message: Stack overflow at line 0 She has done a test with www.plone.org and she's got the same error. She has deleted all the cookies and IE temp files but with no success (Firefox connection from her PC works well). It seems that there is an error somewhere (in the CSS ?), other PCs with IE6 works fine, that's very bizarre... Does anyone know how to solve this issue (a specific settings in IE) ? Can it be related to a specific JVM or other MS library (related to MS Office, a service pack ??) Regarding other browser tests, for Safari/Mac and some other IE6 users we need to delete the cookies to login properly and maintain the login from one page to an another. We don't have this error with Plone2.5 nor on Plone2.1.4... Marc From py.landure at dorigo.fr Mon Nov 20 09:14:41 2006 From: py.landure at dorigo.fr (=?ISO-8859-1?Q?Pierre-Yves_Landur=E9?=) Date: Mon, 20 Nov 2006 10:14:41 +0100 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Message-ID: <45617201.8080601@dorigo.fr> Hi, i've just got a report of the same problem on the site : http://www.ville-meudon.fr For the moment i've no informations on the version of Internet Explorer used... But this is not a isolated problem. -- Pierre-Yves Landur? ----------------------------------------------------------------- Dorigo Consultants 15 rue d'Hauteville - 75010 Paris T?l. +33 1 48 07 53 08 - Fax +33 1 43 38 60 12 GSM +33 6 82 17 56 53 py.landure at dorigo.fr http://www.dorigo-consultants.com Cliquez ici pour venir chez nous ----------------------------------------------------------------- Marc Van Coillie a ?crit : > Hello, > I've just migrated our plone instances on Plone2.5.1 and one of my > colleagues can't access them using her IE 6 browser (IE6.0.29 on > Windows XP), she's got this error message: > Stack overflow at line 0 > She has done a test with www.plone.org and she's got the same error. > She has deleted all the cookies and IE temp files but with no success > (Firefox connection from her PC works well). > It seems that there is an error somewhere (in the CSS ?), other PCs > with IE6 works fine, that's very bizarre... > Does anyone know how to solve this issue (a specific settings in IE) ? > Can it be related to a specific JVM or other MS library (related to MS > Office, a service pack ??) > > Regarding other browser tests, for Safari/Mac and some other IE6 users > we need to delete the cookies to login properly and maintain the login > from one page to an another. > > We don't have this error with Plone2.5 nor on Plone2.1.4... > > Marc > > _______________________________________________ > Setup mailing list > Setup at lists.plone.org > http://lists.plone.org/mailman/listinfo/setup > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: py.landure.vcf Type: text/x-vcard Size: 433 bytes Desc: not available URL: From vedawms at unc.edu Mon Nov 20 14:45:50 2006 From: vedawms at unc.edu (vedawms) Date: Mon, 20 Nov 2006 06:45:50 -0800 (PST) Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> Message-ID: <7443689.post@talk.nabble.com> I also have been experiencing this with a new 2.5.1 site on IE6.0.2. Someone suggested this might be a solution, but my client is in another country and not sophisticated enough to try this out: "If the css or js uses filters or xmlhttp objects then it might be worhtwhile to get a new version of the MSXML stack: See: http://tinyurl.com/dtsmt for the latest or : http://tinyurl.com/yazofc for an overview." Good luck, - Veda -- View this message in context: http://www.nabble.com/IE6-Browser-errors-support-with-Plone-2.5.1-%28Stack-overflow-at-line-0%29-tf2667735.html#a7443689 Sent from the Plone Setup mailing list archive at Nabble.com. From smohs at billian.com Mon Nov 20 16:26:55 2006 From: smohs at billian.com (Seth Mohs) Date: Mon, 20 Nov 2006 11:26:55 -0500 Subject: [Setup] Setting up plone as a corporate site Message-ID: Does anyone know of a how-to or documentation on setting up plone for a corporate site. Basically I want a public site with no comments, log ins, etc and a CMS site that employees can log into and manage the content on the public site. --Seth From optilude at gmx.net Mon Nov 20 17:03:22 2006 From: optilude at gmx.net (Martin Aspeli) Date: Mon, 20 Nov 2006 09:03:22 -0800 (PST) Subject: [Setup] Setting up plone as a corporate site In-Reply-To: References: Message-ID: <7446139.post@talk.nabble.com> Seth Mohs wrote: > > Does anyone know of a how-to or documentation on setting up plone for a > corporate site. Basically I want a public site with no comments, log ins, > etc and a CMS site that employees can log into and manage the content on > the > public site. > There is lots of information on plone.org/documentation :) You probably want the how-tos on "closing the site", by removing the Join link (and the login link if you wish). Comments you can turn off per-content-type in potral_types in the ZMI. Out of the box, Plone does not distinguish between the "editing site" and the "public site", which tends to be easier for users to get to grips with, but there's a tutorial on setting up a "staged site" if you so wish. You probably also want to read the "putting a new look on Plone" tutorial to create a custom skin. Martin -- View this message in context: http://www.nabble.com/Setting-up-plone-as-a-corporate-site-tf2670078.html#a7446139 Sent from the Plone Setup mailing list archive at Nabble.com. From tech_dev at wildintellect.com Tue Nov 21 00:28:23 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Mon, 20 Nov 2006 16:28:23 -0800 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> Message-ID: jjordaan wrote: > On 11/16/06, jjordaan <2111279 at gmail.com> > wrote: >> >> i have finaly set up Python. >> now im havin trouble with Python Imaging Library. >> it doesnt find the packages i require. >> i know its probably not pointing to the correct path. >> but im not that experienced with linux. >> and dont know where to modify the installation >> it gives the following output: > > > > > PIL 1.1.5 BUILD SUMMARY >> -------------------------------------------------------------------- >> version 1.1.5 >> platform linux2 2.4.3 (#14, Nov 16 2006, 11:53:33) >> [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] >> -------------------------------------------------------------------- >> *** TKINTER support not available >> *** JPEG support not available >> --- ZLIB (PNG/ZIP) support ok >> *** FREETYPE2 support ok >> >> -jjordaan >> > Looks like your running Ubuntu, you can install PIL using the package management system, it will handle all dependencies for you, same for python. Either use Synaptic or from the command line $sudo apt-get install python-imaging if you need it for python 2.4 $sudo apt-get install python2.4-imaging When you get around to Zope you can also use the package manager. Personally I prefer to do this step from source. On Ubuntu there's a great tool to allow you to log things you install from source, called checkinstall, I recommend you use it any time you're installing from source so it makes it easy to uninstall or upgrade. Alex From shadroth at gmail.com Tue Nov 21 00:50:44 2006 From: shadroth at gmail.com (Ben) Date: Tue, 21 Nov 2006 11:50:44 +1100 Subject: [Setup] Re: UWC student running into a brick wall In-Reply-To: References: <797009460611160419o78ce3c9ai5553be4a8bf5b87@mail.gmail.com> <797009460611170126k356e4012j1d863b1fecb5678b@mail.gmail.com> Message-ID: <56b72d5a0611201650l38f35bfco95c7eb650bd794e4@mail.gmail.com> If it's anything like setup in CentOS and SUSE, you need (for Ubuntu) tcl8.3 tcl8.3-dev tk8.3 tk8.3-dev (8.4 also available, not sure which one would be better to use). That will get TKINTER going. For jpeg, you probably need these: libjpeg62 libjpeg62-dev From temporaryplone at arcor.de Tue Nov 21 13:46:33 2006 From: temporaryplone at arcor.de (Mr. Sun) Date: Tue, 21 Nov 2006 14:46:33 +0100 Subject: [Setup] Re: To the readers: Problems with Plone Installation on OpenBSD 4.0 References: Message-ID: To the readers, The plone port on OpenBSD 4.0 is actually marked as broken. What a pity! Am 18.11.2006, 09:43 Uhr, schrieb Mr. Sun : > Hello! > > I installed Zope on OpenBSD 4.0 yesterday. > Now i'm trying to install Plone which didn't (?) work out. From limi at plone.org Tue Nov 21 16:45:36 2006 From: limi at plone.org (Alexander Limi) Date: Tue, 21 Nov 2006 08:45:36 -0800 Subject: [Setup] Re: To the readers: Problems with Plone Installation on OpenBSD 4.0 References: Message-ID: Try using the Universal *ix installer from http://plone.org/download instead. On Tue, 21 Nov 2006 05:46:33 -0800, Mr. Sun wrote: > To the readers, > > The plone port on OpenBSD 4.0 is actually marked as broken. > > What a pity! > > Am 18.11.2006, 09:43 Uhr, schrieb Mr. Sun > : > >> Hello! >> >> I installed Zope on OpenBSD 4.0 yesterday. >> Now i'm trying to install Plone which didn't (?) work out. > > -- _____________________________________________________________________ Alexander Limi ? Chief Architect ? Plone Solutions ? Norway Consulting ? Training ? Development ? http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder ? http://plone.org ? Connecting Content Plone Foundation ? http://plone.org/foundation ? Protecting Plone From aclark at aclark.net Tue Nov 21 19:06:02 2006 From: aclark at aclark.net (Alex Clark) Date: Tue, 21 Nov 2006 19:06:02 +0000 (UTC) Subject: [Setup] Re: 2.0.3 -> 2.5.1 Migration failure question! References: Message-ID: Nick Davis writes: > It looks that way. A good way to find out more is use the debugger and > set a breakpoint on the last line of that trace. I like emacs for > debugging, as it steps through syntax-highlighted code, but there are > many alternative ways to do the same thing & opinions on the matter. Is it reasonable to put a try/except around that block of code just to make it through the migration? O:-) > From emailproduk at gmail.com Thu Nov 23 06:19:55 2006 From: emailproduk at gmail.com (MYkad Reader) Date: Thu, 23 Nov 2006 14:19:55 +0800 Subject: [Setup] MyKad Reader tawaran terendah Message-ID: <0J960078O83OHKL0@av2.tm.net.my> Tawaran Penghabisan Stok.. Saya hanya ingin mencelah sebentar... MYKAd Reader bagi kegunaan membaca semua maklumat yang terkandung di dalam Kad pengenalan anda.. Anda boleh gunakan untuk menyemak kad pengenalan sesiapa sahaja ... Harga serendah RM 19.90 bagi tempahan Online sahaja... http://docs.google.com/Doc?id=dt75zrg_12j6pr MyKad Reader tawaran terendah From emailproduk at gmail.com Thu Nov 23 07:14:22 2006 From: emailproduk at gmail.com (MYkad Reader) Date: Thu, 23 Nov 2006 15:14:22 +0800 Subject: [Setup] MyKad Reader tawaran terendah Message-ID: <0J960070MAO9HNY0@av2.tm.net.my> Tawaran Penghabisan Stok.. Saya hanya ingin mencelah sebentar... MYKAd Reader bagi kegunaan membaca semua maklumat yang terkandung di dalam Kad pengenalan anda.. Anda boleh gunakan untuk menyemak kad pengenalan sesiapa sahaja ... Harga serendah RM 19.90 bagi tempahan Online sahaja... http://docs.google.com/Doc?id=dt75zrg_12j6pr MyKad Reader tawaran terendah From py.landure at dorigo.fr Thu Nov 23 08:43:22 2006 From: py.landure at dorigo.fr (=?ISO-8859-1?Q?Pierre-Yves_Landur=E9?=) Date: Thu, 23 Nov 2006 09:43:22 +0100 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <7443689.post@talk.nabble.com> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> Message-ID: <45655F2A.8030400@dorigo.fr> Hi, i've just found that my problem was triggered by the use of CacheFu... Desintalling it solved the problem. Maybe it can help. -- Pierre-Yves Landur? ----------------------------------------------------------------- Dorigo Consultants 15 rue d'Hauteville - 75010 Paris T?l. +33 1 48 07 53 08 - Fax +33 1 43 38 60 12 GSM +33 6 82 17 56 53 py.landure at dorigo.fr http://www.dorigo-consultants.com Cliquez ici pour venir chez nous ----------------------------------------------------------------- vedawms a ?crit : > I also have been experiencing this with a new 2.5.1 site on IE6.0.2. Someone > suggested this might be a solution, but my client is in another country and > not sophisticated enough to try this out: > > "If the css or js uses filters or xmlhttp objects then it might be > worhtwhile to get a new version of the MSXML stack: > See: http://tinyurl.com/dtsmt for the latest or : http://tinyurl.com/yazofc > for an overview." > > Good luck, > > - Veda > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: py.landure.vcf Type: text/x-vcard Size: 433 bytes Desc: not available URL: From briansullivan at gmail.com Thu Nov 23 14:45:14 2006 From: briansullivan at gmail.com (Brian Sullivan) Date: Thu, 23 Nov 2006 09:45:14 -0500 Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: <45655F2A.8030400@dorigo.fr> References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> <45655F2A.8030400@dorigo.fr> Message-ID: On 11/23/06, Pierre-Yves Landur? wrote: > Hi, > > i've just found that my problem was triggered by the use of CacheFu... > Desintalling it solved the problem. Maybe it can help. BTW this problem (stack overflow message) seems to happen with IE7 at www.plone.org as well. Perhaps this thread should be continued on the plone list? From otrcomm at isp-systems.net Thu Nov 23 18:32:13 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu, 23 Nov 2006 11:32:13 -0700 Subject: [Setup] plone with apache 1.3.34 Message-ID: <000e01c70f2d$b3767ba0$ef01a8c0@intel> hello, i just got plone installed on a fedora core 5 server that does not have x-windows installed, so my only access to localhost is via lynx. i need some help getting zope/plone setup to run under apache 1.3.34 (both ports 80 and 443). i started the daemons with '/opt/Plone-2.5/zeocluster/bin/startcluster.sh' and when i lynx to http://localhost:8080, i get the "Zope Quick Start" welcome screen, so i assume zope/plone is basically installed properly. i am currently using phpwebsite on a domain, http://www.montessoriconnections.com, and i would like to setup a virtual domain, http://plone.montessoriconnections.com, to start migrating the site over to plone. i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do not know enough about apache 2 to translate the instructions to apache 1.3.34. could someone point me to a tutorial for apache 1.3.34, or help me with the setup? thanks, murrah boswell From otrcomm at isp-systems.net Thu Nov 23 19:24:08 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu, 23 Nov 2006 12:24:08 -0700 Subject: [Setup] is this list active Message-ID: <000501c70f34$f2cc2690$ef01a8c0@intel> is this list active? thanks, murrah boswell From otrcomm at isp-systems.net Thu Nov 23 22:18:02 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu, 23 Nov 2006 15:18:02 -0700 Subject: [Setup] plone with apache 1.3.34 Message-ID: <000b01c70f4d$3e58bd90$ef01a8c0@intel> hello, i hope this isn't a double post, but i never saw this message show up in the list when i posted it earlier. i just got plone installed on a fedora core 5 server that does not have x-windows installed, so my only access to localhost is via lynx. i need some help getting zope/plone setup to run under apache 1.3.34 (both ports 80 and 443). i started the daemons with '/opt/Plone-2.5/zeocluster/bin/startcluster.sh' and when i lynx to http://localhost:8080, i get the "Zope Quick Start" welcome screen, so i assume zope/plone is basically installed properly. i am currently using phpwebsite on a domain, http://www.montessoriconnections.com, and i would like to setup a virtual domain, http://plone.montessoriconnections.com, to start migrating the site over to plone. i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do not know enough about apache 2 to translate the instructions to apache 1.3.34. could someone point me to a tutorial for apache 1.3.34, or help me with the setup? thanks, murrah boswell From shadroth at gmail.com Fri Nov 24 00:43:47 2006 From: shadroth at gmail.com (Ben) Date: Fri, 24 Nov 2006 11:43:47 +1100 Subject: [Setup] plone with apache 1.3.34 In-Reply-To: <000e01c70f2d$b3767ba0$ef01a8c0@intel> References: <000e01c70f2d$b3767ba0$ef01a8c0@intel> Message-ID: <56b72d5a0611231643p54e1feafj3f713fd75417c793@mail.gmail.com> On 11/24/06, otrcomm wrote: > i found a tutorial about setting up plone/zope to run under apache 2, http://plone.org/documentation/tutorial/plone-apache, but i do > not know enough about apache 2 to translate the instructions to apache 1.3.34. > > could someone point me to a tutorial for apache 1.3.34, or help me with the setup? They're very similar. Here's my install notes (nb. these are slightly out of date, so an upgrade is required. This install has since been updated to Python 2.4.4, (PIL rebuilt), Zope 2.9.5, Plone 2.5.1 Those notes are in my server diary which I won't be releasing, but you can probably use the newer versions straight up. Make sure you set the server name in httpd.conf and ssl.conf, otherwise it should be all as is written here. These haven't been approved as secure yet, but this will get you to a working installation. Cheers, Ben --- Minimum CentOS 3 text install, all defaults, except remove any optional packages Plone 2.5 Zope 2.9.3 -------------------- 1. Install GPG key -------------------- # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3 you're meant to do it off the CD-ROM, but at least this will work if you don't have it. ------------- 2. Firewall ------------- * Open ports for: SSH (probably safer on a non-standard port - fix this later), FTP, SMTP (may not be needed), WEB - may need adjusting for testing, Zope Web server (8080 - may need adjusting) # yum install vim-enhanced * Edit /etc/sysconfig/iptables and add the following lines just before the first line with REJECT on it: -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 21 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 22 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 25 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 80 -h ACCEPT -A RH-Firewall-1-INPUT state --state NEW -m tcp -p tcp --dport 8080 -h ACCEPT * Also need port 9080 open for second ZEO client's webserver. ----------- 3. Update ----------- # yum update ------------------- 4. Extra Packages ------------------- Needed before setting up the latest Python and PIL. # yum install gcc gcc-c++ zlib-devel libjeg-devel freetype-devel tcl-devel tk-devel ----------- 5. Python ----------- * wget the latest Python (2.4.3 at time of writing) and install with defaults: ./configure --prefix=/opt/python make make install -------- 6. PIL -------- * wget and install the latest PIL (1.1.5 at the time of writing) /opt/python/bin/python setup.py build_ext -i /opt/python/bin/python selftest.py /opt/python/bin/python setup.py install --------- 7. Zope --------- v 2.9.4 at the time of writing Install Zope with ZEO, as per http://plone.org/documentation/tutorial/robust-installation - as detailed below: 1. # adduser zope # mkdir /opt/zope # cd /opt/zope # mkdir pub0 sec0 products zeo 2. $ ./configure --prefix=/opt/zope/z2.9.4-p2.4.3 --with-python=/opt/python/bin/python $ make # make install 3. # cd /opt/zope # ln -s z2.9.4-p2.4.3 zope # /opt/python/bin/python zope/bin/mkzeoinstance.py zeo 8100 4. # vim zeo/etc/zeo.conf * change the socket directory from etc to var: replace: socket-name $INSTANCE/etc/zeo.zdsock with: socket-name $INSTANCE/var/zeo.zdsock (otherwise you won't be able to start zeo using zeoctl) * uncomment 'user zope' 5. # /opt/python/bin/python zope/bin/mkzopeinstance.py --dir=pub0 # /opt/python/bin/python zope/bin/mkzopeinstance.py --dir=sec0 With the sites as: pub0 #this will be used for the public site, possibly with a secure login to a members area mem0 #optional - with a secure login for the members, sec0 #this will be used as a totally secure site for the administration # chown -R dogsbody:dogsbody /opt/zope 6. make changes to zope.conf for each instance, as per tutorial. when changing the zope.conf for the second site, uncomment portbase, instead of changing the ports. (UNTESTED: If using more than two clients, increase portbase by 1000 for each additional client) each successive Zope instance will overwrite the primary ZMI user and password data. The exact configuration w.r.t. number of instances will depend on how RAM usage can best be reduced. 7. chgrp zope zeo/var zeo/log pub0/var pub0/log sec0/var sec0/log chmod g+w zeo/var zeo/log pub0/var pub0/log sec0/var sec0/log ---------- 8. Plone ---------- As per http://plone.org/documentation/tutorial/robust-installation: cd /tmp tar zxf Plone-x.y.z.tar.gz cd $BASE mkdir products mv /tmp/Plone-x.y.z/* products rm -r /tmp/Plone-x.y.z* cd client0 rm -r Products ln -s ../products Products # repeat the last three steps for all Zeo clients/Zope instances !!NB!! Delete the 'Five' folder from the products directory. ------------------ 9. Plone Options ------------------ * Close site to new signups http://plone.org/documentation/how-to/closing-site NB. This blocks all sites in the ZODB, possibly better to implement on a per-site basis. * Site Setup > Portal Settings: Set 'Allow Anonymous Users To View About Information' to 'No' * Stop anonymous users from viewing content in the visible (public draft) state. Make the same changes to restrictions for the 'Access contents information' permission and the make both changes to the 'Pending' state as well, see: http://plone.org/documentation/how-to/displaying-only-201cpublished201d-items-in-folder-listings-to-anonymous-users ------------ 10. Apache ------------ #yum install httpd mod_ssl Setup a Virtalhost (!!!NB: This needs to be checked to ensure it isn't an open proxy) Use the RewriteRule structure specified here: http://plone.org/documentation/tutorial/plone-apache/virtualhost In particular: * Enable virtual hosting: NameVirtualHost *:80 * Configure the VirtualHost, * NB: replace 'plone-site-folder' wit whatever your plone site is called. * NB. Change the rewrite log level or comment it out when it's working. RewriteEngine On RewriteLog "/var/log/httpd/rewrite_log" RewriteLogLevel 1 RewriteRule ^/(.*) \ http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/plone-site-folder/VirtualHostRoot/$1 [P] # CustomLog logs/dummy-host.example.com-access_log common --------- 11. SSL --------- In /etc/httpd/conf.d/ssl.conf make sure the Virtual host is setup with Rewrite rules: RewriteEngine On RewriteRule ^/(.*) http://localhost:9080/VirtualHostBase/https/%{SERVER_NAME}:443/plone-site-folder/$1 [P] NB: set 'plone-site-folder' to whatever your plone site folder name is, or omit it entirely if you want to give access to the whole ZMI. You will also need to configure the Servername variable. eg. Severname: domainname.tld:443 http://plone.org/documentation/how-to/apache-ssl http://plone.org/documentation/tutorial/plone-apache/virtualhost http://plone.org/documentation/how-to/secure-login-without-plain-text-passwords From otrcomm at isp-systems.net Fri Nov 24 06:56:47 2006 From: otrcomm at isp-systems.net (otrcomm) Date: Thu, 23 Nov 2006 23:56:47 -0700 Subject: [Setup] plone with apache 1.3.34 References: <000e01c70f2d$b3767ba0$ef01a8c0@intel> <56b72d5a0611231643p54e1feafj3f713fd75417c793@mail.gmail.com> Message-ID: <001901c70f95$b63c7e30$ef01a8c0@intel> hello, sorry i sent you a blank reply just now, i accidently hit the send button before i typed anything. ----- Original Message ----- From: "Ben" > > could someone point me to a tutorial for apache 1.3.34, or help me with the setup? > > They're very similar. Here's my install notes (nb. these are slightly > out of date, so an upgrade is required. This install has since been > updated to Python 2.4.4, (PIL rebuilt), Zope 2.9.5, Plone 2.5.1 Those > notes are in my server diary which I won't be releasing, but you can > probably use the newer versions straight up. > > Make sure you set the server name in httpd.conf and ssl.conf, > otherwise it should be all as is written here. These haven't been > approved as secure yet, but this will get you to a working > installation. > anyway, thanks for the detailed notes. I will give them a run through. thanks, murrah boswell From frankbenjones at aim.com Sun Nov 26 07:10:03 2006 From: frankbenjones at aim.com (frankbenjones at aim.com) Date: Sun, 26 Nov 2006 02:10:03 -0500 Subject: [Setup] Problem importing site from 2.1.2 to 2.5 on different server. Message-ID: <8C8DF410738F519-7F8-2CF6@WEBMAIL-MA13.sysops.aol.com> (Just noticed I originally posted to the users list instead of setup list by mistake. Sorry for the double post). I'm trying to upgrade two Plone sites from 2.1.2 to 2.5 or 2.5.1. I get the following error when importing the exported plone site zexp file: ---------------------------------------------------------------------------------------------------------- Site Error An error was encountered while publishing this resource. Error Type: TransformException Error Value: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry ---------------------------------------------------------------------------------------------------------- Log output below (from the windows box): 2006-11-25T22:40:30 ERROR Zope.SiteErrorLog http://localhost:8080/test/manage_importObject Traceback (most recent call last): File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\Publish.py", line 114, in publish request, bind=1) File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "C:\Program Files\Plone 2\Zope\lib\python\ZPublisher\Publish.py", line 40, in call_object result=apply(object,args) # Type s to step into published object. File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 577, in manage_importObject set_owner=set_owner) File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 599, in _importObjectFromFile self._setObject(id, ob, set_owner=set_owner) File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 309, in _setObject object.manage_afterAdd(object, self) File "C:\Program Files\Plone 2\Data\Products\CMFCore\CMFCatalogAware.py", line 203, in manage_afterAdd self.__recurse('manage_afterAdd', item, container) File "C:\Program Files\Plone 2\Data\Products\CMFCore\CMFCatalogAware.py", line 239, in __recurse getattr(ob, name)(*args) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 379, in manage_afterAdd transforms.initialize(self) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\transforms\__init__.py", line 60, in initialize engine.registerTransform(transform) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 481, in registerTransform self._mapTransform(transform) File "C:\Program Files\Plone 2\Data\Products\PortalTransforms\TransformEngine.py", line 284, in _mapTransform raise TransformException(msg) TransformException: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry Same error trying to import another site on the Linux box. Here is the log for that import: 2006-11-25T21:08:43 ERROR Zope.SiteErrorLog http://drogo.jonesns.net:8080/wcs/manage_importObject Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.ObjectManager, line 588, in manage_importObject Module OFS.ObjectManager, line 610, in _importObjectFromFile Module OFS.ObjectManager, line 333, in _setObject Module zope.event, line 23, in notify Module zope.app.event.dispatching, line 66, in dispatch Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter, line 481, in subscribers Module zope.app.event.objectevent, line 192, in objectEventNotify Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter, line 481, in subscribers Module OFS.subscribers, line 114, in dispatchObjectMovedEvent Module OFS.subscribers, line 137, in callManageAfterAdd Module Products.CMFCore.CMFCatalogAware, line 203, in manage_afterAdd Module Products.CMFCore.CMFCatalogAware, line 239, in __recurse Module Products.PortalTransforms.TransformEngine, line 379, in manage_afterAdd Module Products.PortalTransforms.transforms, line 60, in initialize Module Products.PortalTransforms.TransformEngine, line 481, in registerTransform - __traceback_info__: ('image_to_pcx', ) Module Products.PortalTransforms.TransformEngine, line 284, in _mapTransform TransformException: Output MIME type 'image/pcx' for transform image_to_pcx is not registered in the MIME types registry In an attempt to fix this I installed 2.1.3 with the installer in 2003 Server thinking that going from 2.1.2 to 2.1.3 then to 2.1.4 and so on would fix this. Imported and migrated the site from 2.1.2, packed the database then exported it. I then installed 2.1.4 in another 2003 Server box (using vmware) and the did the migrations and database pack. Worked fine in both cases. I then installed 2.5.1 in another vmware clone and get the same error as I get with 2.5.1 in a CentOS 4.4 (fully updated) box installed with the "Universal" installer. I'm experiening this on both a 2003 Server where I installed with the 2.5.1 installer and on the CentOS box. I've searched on google, the plone site, and the user list but I must be an idiot as I can't find a solution. Any help would be appreciated as I'm clueless as to how to fix it. fj ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vedawms at unc.edu Mon Nov 27 15:07:28 2006 From: vedawms at unc.edu (vedawms) Date: Mon, 27 Nov 2006 07:07:28 -0800 (PST) Subject: [Setup] IE6 Browser errors/support with Plone 2.5.1 (Stack overflow at line 0) In-Reply-To: References: <00b401c70c82$8ca2f4c0$0301a8c0@EIFELMARC> <7443689.post@talk.nabble.com> <45655F2A.8030400@dorigo.fr> Message-ID: <7561545.post@talk.nabble.com> I'm in agreement. Do you want to post it in the other forum since you were able to reproduce the error? I can't replicate this on my end, I was just reporting a problem from a client in Guatemala. Does it still happen for you if CacheFu compression is set to never? Setting it to never solved another problem of mine with IE, so I'm just wondering... Thanks, - Veda Brian Sullivan wrote: > > On 11/23/06, Pierre-Yves Landur? wrote: >> Hi, >> >> i've just found that my problem was triggered by the use of CacheFu... >> Desintalling it solved the problem. Maybe it can help. > > > BTW this problem (stack overflow message) seems to happen with IE7 at > www.plone.org as well. > > Perhaps this thread should be continued on the plone list? > > _______________________________________________ > Setup mailing list > Setup at lists.plone.org > http://lists.plone.org/mailman/listinfo/setup > > -- View this message in context: http://www.nabble.com/IE6-Browser-errors-support-with-Plone-2.5.1-%28Stack-overflow-at-line-0%29-tf2667735.html#a7561545 Sent from the Plone Setup mailing list archive at Nabble.com. From sdouche at gmail.com Mon Nov 27 16:09:14 2006 From: sdouche at gmail.com (Sebastien Douche) Date: Mon, 27 Nov 2006 17:09:14 +0100 Subject: [Setup] Re: Plone 2.5.1 with LDAP In-Reply-To: References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> Message-ID: <5e1183fa0611270809t18dfb563hcda668d20e10d1f9@mail.gmail.com> On 11/6/06, Maurits van Rees wrote: > Actually, you still need LDAPUserFolder. But you also need > LDAPMultiPlugins, possibly with the patch from antiloop.plone.org > which that how-to mentions. If the how-to does not mention that, then > there is another how-to or tutorial on plone.org that you need to > find. :) I can't patch LDAPMultiPlugins (v1.3 & 1.4) : patching file LDAPPluginBase.py Hunk #1 FAILED at 23. Hunk #2 succeeded at 111 (offset 13 lines). Hunk #3 FAILED at 216. 2 out of 3 hunks FAILED -- saving rejects to file LDAPPluginBase.py.rej patching file LDAPMultiPlugin.py Hunk #1 FAILED at 30. Hunk #2 succeeded at 311 (offset -1 lines). 1 out of 2 hunks FAILED -- saving rejects to file LDAPMultiPlugin.py.rej patching file property.py > If you see users in the ZMI but don't see them in Plone, then in the > ZMI you need to check if the ldap plugin is listed for the correct > plugin interfaces in acl_users/plugins. Which plugins must be activated ? I see users in ZMI but not users properties in Plone. I have authentification, Properties, User enumeration plugins. > And you need to check if the mapping of attributes between Plone and > LDAP is correct. I think lone at least needs/wants to get a fullname > and email from ldap. Mapping is good. -- S?bastien Douche From barry_page at yahoo.co.nz Mon Nov 27 23:35:32 2006 From: barry_page at yahoo.co.nz (Barry Page) Date: Mon, 27 Nov 2006 15:35:32 -0800 (PST) Subject: [Setup] init.d script for Plone 2.5.1 on linux Message-ID: <20061127233532.11523.qmail@web37215.mail.mud.yahoo.com> I have posted an init.d script for the Plone 2.5(.1) universal linux installation onto plone.org, as I don't think one is included in the install package. I don't like having to just use the scripts provided from the command line, and prefer being able to start zope at boot, and also be able to call the start/stop/restart/status functions from a backup script. Enhancements and suggestions are welcome. Regards, Barry Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.van.rees at zestsoftware.nl Tue Nov 28 08:56:48 2006 From: m.van.rees at zestsoftware.nl (Maurits van Rees) Date: Tue, 28 Nov 2006 08:56:48 +0000 (UTC) Subject: [Setup] Re: Plone 2.5.1 with LDAP References: <1629.202.81.63.114.1162257995.squirrel@webmail.chem.itb.ac.id> <5e1183fa0611270809t18dfb563hcda668d20e10d1f9@mail.gmail.com> Message-ID: Sebastien Douche, on 2006-11-27: > On 11/6/06, Maurits van Rees wrote: >> Actually, you still need LDAPUserFolder. But you also need >> LDAPMultiPlugins, possibly with the patch from antiloop.plone.org >> which that how-to mentions. If the how-to does not mention that, then >> there is another how-to or tutorial on plone.org that you need to >> find. :) > > I can't patch LDAPMultiPlugins (v1.3 & 1.4) : I worked on this with Wichert Akkerman recently. Hm, let's put a patched LDAPMultiPlugins 1.4 (from svn) on my site: http://maurits.vanrees.org/download/LDAPMultiPlugins_1.4_trunk_patched.tgz Note: this patched version depends on PlonePAS, so currently there is no chance that this will make it into LDAPMultiPlugins itself, as Jens does not want it to depend on Plone when currently it works with plain Zope. > Which plugins must be activated ? I see users in ZMI but not users > properties in Plone. I have authentification, Properties, User > enumeration plugins. I made a list of what plugins one might need. I have it in a product that I may want to put on the collective some time. But here is the doc for the plugins as I understand them: http://maurits.vanrees.org/download/PLUGINS.txt HTH, -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." From aclark at aclark.net Tue Nov 28 13:57:21 2006 From: aclark at aclark.net (Alex Clark) Date: Tue, 28 Nov 2006 13:57:21 +0000 (UTC) Subject: [Setup] Modified CMFCore/MemberDataTool.py to facilitate 2.0.3 -> 2.5.1 migration, ok? Message-ID: In addition to deleting a couple troublesome member folders (out of many so not a big deal) I had to put a try/except around the following block of code from CMFCore/MemberDataTool.py to get the migration to finish, anyone see a problem with doing that? starting at line 314: try: if mapping.has_key(id): if not self.__class__.__dict__.has_key(id): value = mapping[id] if type(value)==type(''): proptype = tool.getPropertyType(id) or 'string' if type_converters.has_key(proptype): value = type_converters[proptype](value) setattr(self, id, value) except: pass Thanks, Alex From falecom at npeventos.com.br Tue Nov 28 14:10:13 2006 From: falecom at npeventos.com.br (NP Eventos) Date: Tue, 28 Nov 2006 12:10:13 -0200 (BRST) Subject: [Setup] Congresso de Patrimonio Message-ID: <20061128141013.E93321083B9@inmailer.insite.com.br> An HTML attachment was scrubbed... URL: From optilude at gmx.net Tue Nov 28 20:04:46 2006 From: optilude at gmx.net (Martin Aspeli) Date: Tue, 28 Nov 2006 20:04:46 +0000 Subject: [Setup] Re: is this list active In-Reply-To: <000501c70f34$f2cc2690$ef01a8c0@intel> References: <000501c70f34$f2cc2690$ef01a8c0@intel> Message-ID: otrcomm wrote: > is this list active? yes From salv0 at hotmail.com Wed Nov 29 00:42:44 2006 From: salv0 at hotmail.com (joshua may) Date: Wed, 29 Nov 2006 11:42:44 +1100 Subject: [Setup] Difficulties installing Plone3alpha Message-ID: Hi! I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone product isn't registering? Any idea why? I'm on Windows if that makes a difference. Josh. From r.ritz at biologie.hu-berlin.de Wed Nov 29 09:27:04 2006 From: r.ritz at biologie.hu-berlin.de (Raphael Ritz) Date: Wed, 29 Nov 2006 10:27:04 +0100 Subject: [Setup] Re: Difficulties installing Plone3alpha In-Reply-To: References: Message-ID: joshua may schrieb: > Hi! > > I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the > option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone > product isn't registering? > > Any idea why? > Try starting in debug mode and see where it fails. Most probably it's a missing dependency like PIL or ElementTree Raphael > I'm on Windows if that makes a difference. > > Josh. > > > > From comptekki at gmail.com Wed Nov 29 15:29:42 2006 From: comptekki at gmail.com (Wes James) Date: Wed, 29 Nov 2006 08:29:42 -0700 Subject: [Setup] Difficulties installing Plone3alpha In-Reply-To: References: Message-ID: <533df7fa0611290729m7dd8e22ch3ae6c6c66a8a50b8@mail.gmail.com> On 11/28/06, joshua may wrote: > Hi! > > I have Zope 2.10.1 and Plone 3 alpha, and for some reason I don't have the > option to add the 'Plone Site' (or whatever) via Zope. So the CMFPlone > product isn't registering? > > Any idea why? > > I'm on Windows if that makes a difference. > > Josh. > Have you been following the list and noticed that the windows installer version for this version is available from? Well, I guess you'd need to be on the dev list - here's a repeat: On 11/28/06, Sidnei da Silva wrote: > Hi there, > > I would like to announce the availability of the Plone 3.0.0 Installer > for Windows, which can be downloaded from: > > http://www.enfoldsystems.com/downloads.html > > The 2.5 Installer has also been updated to include ElementTree, after > I saw a message that it is required now (?), and can be downloaded > from the same page. > > You are welcome to test and report bugs at the usual place, the Plone > Trac, under the category 'Installers': > > http://dev.plone.org/plone/ > wj From salv0 at hotmail.com Wed Nov 29 23:13:48 2006 From: salv0 at hotmail.com (joshua may) Date: Thu, 30 Nov 2006 10:13:48 +1100 Subject: [Setup] Re: Difficulties installing Plone3alpha References: Message-ID: > Most probably it's a missing dependency like PIL or > ElementTree Yeah, it turned out to be PIL. I rtfm'ed correctly, and with a bit more trial and error I had it sorted. Thanks! From salv0 at hotmail.com Wed Nov 29 23:15:49 2006 From: salv0 at hotmail.com (joshua may) Date: Thu, 30 Nov 2006 10:15:49 +1100 Subject: [Setup] Re: Difficulties installing Plone3alpha References: <533df7fa0611290729m7dd8e22ch3ae6c6c66a8a50b8@mail.gmail.com> Message-ID: > Have you been following the list and noticed that the windows > installer version for this version is available from? I didn't, no. But thanks! I eventually got it working without the installer, but I'll re-do it with the installer. That's probably more likely to match the structure of the Plone 2.5 install that I'm "upgrading" from (read: playing with to see what Plone 3.0 has in store..). Hopefully (famous last words..!) it'll go smoothly. Thanks for that. Josh From pradhanparas at gmail.com Thu Nov 30 20:32:54 2006 From: pradhanparas at gmail.com (Paras pradhan) Date: Thu, 30 Nov 2006 14:32:54 -0600 Subject: [Setup] Removing a plone site Message-ID: <8b711df40611301232u1e312e58l8bebee3b74e21b27@mail.gmail.com> Hi When i try to remove a plone site. I am getting the following error. Plz help. info: OS: ubuntu dapper drake Plone version: 2.5 Zope version: 2.9.4-final Python: 2.4.3 All built using src files. Thanks Paras. Site Error An error was encountered while publishing this resource. *Error Type: AttributeError* *Error Value: portal_membership* ------------------------------ Troubleshooting Suggestions - The URL may be incorrect. - The parameters passed to this resource may be incorrect. - A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. -------------- next part -------------- An HTML attachment was scrubbed... URL: