From victor at ambra.ro Fri Jun 1 15:31:48 2007 From: victor at ambra.ro (Victor Sterpu) Date: Fri, 01 Jun 2007 16:31:48 +0300 Subject: [COREblog-en] python scripts Message-ID: <46601FC4.1020707@ambra.ro> I hope I am posting on the right mailing list. I need to use a pyton script, but I receive the following error*. *Error Type: Unauthorized Error Value: The container has no security assertions. Access to 'socket' of (module 'socket' from '/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/socket.pyc') denied. How can I fix it? Thank you. ** From mlarreategi at codesyntax.com Mon Jun 4 08:38:18 2007 From: mlarreategi at codesyntax.com (Mikel Larreategi) Date: Mon, 04 Jun 2007 08:38:18 +0200 Subject: [COREblog-en] python scripts In-Reply-To: <46601FC4.1020707@ambra.ro> References: <46601FC4.1020707@ambra.ro> Message-ID: <4663B35A.4020705@codesyntax.com> Victor Sterpu(e)k dio: > I hope I am posting on the right mailing list. > I need to use a pyton script, but I receive the following error*. > > *Error Type: Unauthorized > Error Value: The container has no security assertions. Access to > 'socket' of (module 'socket' from > '/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/socket.pyc') denied. > You can't import socket module from python scripts... you should write an external method. Python scripts are executed in a so called "restricted python", where you can only import a small set of standard library modules. Mikel -- Mikel Larreategi mlarreategi at codesyntax.com CodeSyntax Azitaingo Industrialdea 3 K E-20600 Eibar Tel: (+34) 943 82 17 80 From victor at ambra.ro Mon Jun 4 10:54:52 2007 From: victor at ambra.ro (Victor Sterpu) Date: Mon, 04 Jun 2007 11:54:52 +0300 Subject: [COREblog-en] python scripts In-Reply-To: <4663B35A.4020705@codesyntax.com> References: <46601FC4.1020707@ambra.ro> <4663B35A.4020705@codesyntax.com> Message-ID: <4663D35C.40105@ambra.ro> Thank you. I made it with the external method. Mikel Larreategi wrote: > Victor Sterpu(e)k dio: > >> I hope I am posting on the right mailing list. >> I need to use a pyton script, but I receive the following error*. >> >> *Error Type: Unauthorized >> Error Value: The container has no security assertions. Access to >> 'socket' of (module 'socket' from >> '/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/socket.pyc') denied. >> >> > > You can't import socket module from python scripts... you should write > an external method. Python scripts are executed in a so called > "restricted python", where you can only import a small set of standard > library modules. > > > Mikel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://postaria.com/pipermail/coreblog-en/attachments/20070604/cb5a3b0b/attachment.htm From maciekk at bsdterminal.pl Mon Jun 18 10:34:38 2007 From: maciekk at bsdterminal.pl (Maciej Kowalczyk - Tepfer) Date: Mon, 18 Jun 2007 10:34:38 +0200 Subject: [COREblog-en] Capcha Coreblog for Zope Message-ID: <4676439E.6040905@bsdterminal.pl> Hi, I've implemented the zope captcha mechnism if you are insterested here it is: http://www.bsdterminal.pl/opensource/zope-pycaptcha/zope_turing_test/view?set_language=en Regards Maciej From asen.quintana at barcelona.msf.org Wed Jun 20 12:34:51 2007 From: asen.quintana at barcelona.msf.org (Asen QUINTANA) Date: Wed, 20 Jun 2007 12:34:51 +0200 Subject: [COREblog-en] How to tag-clouds in CoreBlog2 In-Reply-To: Message-ID: Hi I would like to use, through a portlet the tag-clouds functionality?.Any idea on how to developt it? regards Asen Quintana From hairy at trollstomper.org.uk Thu Jun 21 11:37:15 2007 From: hairy at trollstomper.org.uk (The Troll Under the Bridge) Date: Thu, 21 Jun 2007 10:37:15 +0100 (BST) Subject: [COREblog-en] Problems with COREBlog2 In-Reply-To: <15470694.16941182418590476.JavaMail.root@scalix> Message-ID: <16999966.16961182418635565.JavaMail.root@scalix> Hi, I wonder if someone can answer a couple of questions for me. We're running Plone 2.5.2 and COREBlog2 9.82b. 1. It appears that COREBlog is not handling the 'effective date' properly, as a result items appear on the main blog page and in the portlets the day "after" they are posted. If after posting an entry I go to properties and change the 'effective date' to 'yesterday', the entry pops up where I expect it to. Is there an easy fix for this ? 2. When the system sends out emails / notifications of postings, something rather odd is happening and the Header options (To/From/Subject etc) are appearing in the body of the email, rather than being taken as part of the header. Again - is there an easy fix for this ? Apart from that it seems to work quite nicely. tia -- Hairy The Big Hairy Troll -------------- next part -------------- An HTML attachment was scrubbed... URL: http://postaria.com/pipermail/coreblog-en/attachments/20070621/872fc9cc/attachment.htm From shibata at webcore.co.jp Thu Jun 21 12:06:25 2007 From: shibata at webcore.co.jp (Atsushi Shibata) Date: Thu, 21 Jun 2007 19:06:25 +0900 Subject: [COREblog-en] Problems with COREBlog2 In-Reply-To: <16999966.16961182418635565.JavaMail.root@scalix> References: <16999966.16961182418635565.JavaMail.root@scalix> Message-ID: <20070621190625.649237.93f10d05@webcore.co.jp> Hi :-). On Thu, 21 Jun 2007 10:37:15 +0100 (BST), wrote: > 1. It appears that COREBlog is not handling the 'effective date' > properly, as a result items appear on the main blog page and in the > portlets the day "after" they are posted. If after posting an entry I > go to properties and change the 'effective date' to 'yesterday', the > entry pops up where I expect it to. Is there an easy fix for this ? Be sure to change entry's workflow state to "publishd" after you finish writing entry. Otherwise, the date of the entry will be the same as "modified date" That's Plone way :-). > 2. When the system sends out emails / notifications of postings, > something rather odd is happening and the Header options > (To/From/Subject etc) are appearing in the body of the email, rather > than being taken as part of the header. Again - is there an easy fix > for this ? Please check email address field in the settings tab. If there are any CR codes, COREBlog2 won't send notification mail properly. Regards. ---------------------------------------- Atsushi Shibata (Webcore Corp.) shibata at webcore.co.jp http://www.webcore.co.jp/ ---------------------------------------- From hairy at trollstomper.org.uk Thu Jun 21 12:14:24 2007 From: hairy at trollstomper.org.uk (The Troll Under the Bridge) Date: Thu, 21 Jun 2007 11:14:24 +0100 (BST) Subject: [COREblog-en] Problems with COREBlog2 In-Reply-To: <20070621190625.649237.93f10d05@webcore.co.jp> Message-ID: <24626759.17031182420864211.JavaMail.root@scalix> Hi, >Be sure to change entry's workflow state to "publishd" after you finish Yup, first thing I did - had I not then changing the published date to yesterday wouldn't have worked (!) >Please check email address field in the settings tab. >If there are any CR codes, COREBlog2 won't send notification mail >properly. I've checked all the date fields .. no CR's present. This is working inside Plone, it's pretty difficult to get this stuff wrong (!) -- Hairy The Big Hairy Troll From hairy at trollstomper.org.uk Thu Jun 21 12:30:29 2007 From: hairy at trollstomper.org.uk (The Troll Under the Bridge) Date: Thu, 21 Jun 2007 11:30:29 +0100 (BST) Subject: [COREblog-en] BlogTimes ... Message-ID: <14710876.17071182421829964.JavaMail.root@scalix> Hi, I'm also trying to install "BlogTimes" using the docs online ... I don't seem to be able to get it to work. I've added folders "modules" and "methods" to the instance and added "addEntryHook" to methods and an dtml call to modules as described .. nothing seems to be happening. Are there some more detailed docs or is there a 'trick' to this ? -- Hairy The Big Hairy Troll -------------- next part -------------- An HTML attachment was scrubbed... URL: http://postaria.com/pipermail/coreblog-en/attachments/20070621/6435c048/attachment.htm From shibata at webcore.co.jp Thu Jun 21 13:04:03 2007 From: shibata at webcore.co.jp (Atsushi Shibata) Date: Thu, 21 Jun 2007 20:04:03 +0900 Subject: [COREblog-en] Problems with COREBlog2 In-Reply-To: <24626759.17031182420864211.JavaMail.root@scalix> References: <24626759.17031182420864211.JavaMail.root@scalix> Message-ID: <20070621200403.549158.c90957bf@webcore.co.jp> Hi :-). On Thu, 21 Jun 2007 11:14:24 +0100 (BST), wrote: > Yup, first thing I did - had I not then changing the published date > to yesterday wouldn't have worked (!) Oh sorry. Please tell me the version of Zope you use. I remenber there is time-zope issue in some convination of Plone and Zope (but I'm not sure...). > I've checked all the date fields .. no CR's present. > > This is working inside Plone, it's pretty difficult to get this stuff > wrong (!) Sorry, I have no idea about this probrem. Please tell me if anyone suffers from the same problem. Thanks in advance. ---------------------------------------- Atsushi Shibata (Webcore Corp.) shibata at webcore.co.jp http://www.webcore.co.jp/ ---------------------------------------- From shibata at webcore.co.jp Thu Jun 21 13:05:13 2007 From: shibata at webcore.co.jp (Atsushi Shibata) Date: Thu, 21 Jun 2007 20:05:13 +0900 Subject: [COREblog-en] BlogTimes ... In-Reply-To: <14710876.17071182421829964.JavaMail.root@scalix> References: <14710876.17071182421829964.JavaMail.root@scalix> Message-ID: <20070621200513.511633.ee91753a@webcore.co.jp> Hi again :-). BlogTime plugin is for COREBlog, which is the blog product fore PURE Zope. So you cannot use it with COREBlog2 and Plone. Regards. On Thu, 21 Jun 2007 11:30:29 +0100 (BST), wrote: > Hi, > > I'm also trying to install "BlogTimes" using the docs online ... I > don't seem to be able to get it to work. > > I've added folders "modules" and "methods" to the instance and added > "addEntryHook" to methods and an dtml call to modules as described .. > nothing seems to be happening. > > Are there some more detailed docs or is there a 'trick' to this ? ---------------------------------------- Atsushi Shibata (Webcore Corp.) shibata at webcore.co.jp http://www.webcore.co.jp/ ---------------------------------------- From hairy at trollstomper.org.uk Thu Jun 21 13:40:17 2007 From: hairy at trollstomper.org.uk (The Troll Under the Bridge) Date: Thu, 21 Jun 2007 12:40:17 +0100 (BST) Subject: [COREblog-en] Problems with COREBlog2 In-Reply-To: <20070621200403.549158.c90957bf@webcore.co.jp> Message-ID: <14058000.17111182426017579.JavaMail.root@scalix> Ok, solved this one, it's actually a bug in Zope 2.9.6. The solution is to copy back an old version of DateTime.py into; /usr/lib/zope2.9/lib/python/DateTime/ I've attached my (working) version of DataTime for anyone that's stuck. It's a problem with the timezones, effectively (for me) it thinks that I've posted an entry 1 hour in the future, so I need to wait an hour before it appears. I guess anyone set to GMT will be Ok .. :) ----- Original Message ----- From: "Atsushi Shibata" To: "Coreblog (English)" Sent: Thursday, June 21, 2007 12:04:03 PM (GMT) Europe/London Subject: Re: [COREblog-en] Problems with COREBlog2 Hi :-). On Thu, 21 Jun 2007 11:14:24 +0100 (BST), wrote: > Yup, first thing I did - had I not then changing the published date > to yesterday wouldn't have worked (!) Oh sorry. Please tell me the version of Zope you use. I remenber there is time-zope issue in some convination of Plone and Zope (but I'm not sure...). > I've checked all the date fields .. no CR's present. > > This is working inside Plone, it's pretty difficult to get this stuff > wrong (!) Sorry, I have no idea about this probrem. Please tell me if anyone suffers from the same problem. Thanks in advance. ---------------------------------------- Atsushi Shibata (Webcore Corp.) shibata at webcore.co.jp http://www.webcore.co.jp/ ---------------------------------------- _______________________________________________ COREblog-en mailing list COREblog-en at postaria.com http://postaria.com/mailman/listinfo/coreblog-en Unsubscription writing to coreblog-en-leave at postaria.com -- Hairy The Big Hairy Troll From hairy at trollstomper.org.uk Thu Jun 21 13:57:01 2007 From: hairy at trollstomper.org.uk (The Troll Under the Bridge) Date: Thu, 21 Jun 2007 12:57:01 +0100 (BST) Subject: [COREblog-en] Re; Mail notifications Message-ID: <23785449.17141182427021689.JavaMail.root@scalix> As far as I can see this is just broken. Emails come through, but it's putting the entire message including headers into the body .. there's nothing wrong with my config as far as I can see. I think send_mail may be "doing it wrong" in the context of Plone's current "MailHost" ... -- Hairy The Big Hairy Troll -------------- next part -------------- An HTML attachment was scrubbed... URL: http://postaria.com/pipermail/coreblog-en/attachments/20070621/c8609577/attachment.htm