ImportError: Module five has no global intid: Does PloneGetPaid support Plone3 ?

24 views
Skip to first unread message

claudio

unread,
Nov 28, 2007, 4:56:32 AM11/28/07
to getpaid-dev
I'm trying to install this version of PloneGetPaid:
http://getpaid.googlecode.com/files/PloneGetPaid-2007-11-21.tar.gz

I can see this comment/label to the file:"Thankful Nightly at rev
1036, hopefully w windows fix. Plone 3 users: no need to install Five
or CMFonFive from the tarball"

I'm using
* CMF: CMF-2.1.0
* Debug mode: Yes
* PIL: 1.1.6
* Platform: linux2
* Plone File System: 3.0
* Plone Instance: 3.0
* Python: 2.4.4
* Zope: (Zope 2.10.4-final, python 2.4.4, linux2)

but I've this error:

...
File "/opt/Plone-3.0/lib/python/zope/configuration/config.py", line
692, in finish
actions = self.handler(context, **args)
File "/opt/Plone-3.0/lib/python/Products/Five/fiveconfigure.py",
line 79, in loadProducts
handleBrokenProduct(product)
File "/opt/Plone-3.0/lib/python/Products/Five/fiveconfigure.py",
line 77, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/opt/Plone-3.0/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File "/opt/Plone-3.0/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/opt/Plone-3.0/Python-2.4.4/lib/python2.4/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/Plone-3.0/Python-2.4.4/lib/python2.4/xml/sax/
xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/Plone-3.0/Python-2.4.4/lib/python2.4/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/opt/Plone-3.0/Python-2.4.4/lib/python2.4/xml/sax/
expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/Plone-3.0/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File "/opt/Plone-3.0/lib/python/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/opt/Plone-3.0/lib/python/zope/configuration/config.py", line
691, in finish
args = toargs(context, *self.argdata)
File "/opt/Plone-3.0/lib/python/zope/configuration/config.py", line
1383, in toargs
args[str(name)] = field.fromUnicode(s)
File "/opt/Plone-3.0/lib/python/zope/configuration/fields.py", line
141, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/opt/
Plone-3.0/zinstance/etc/site.zcml", line 15.2-15.23
ZopeXMLConfigurationError: File "/opt/Plone-3.0/zinstance/Products/
PloneGetPaid/configure.zcml", line 25.0-25.48
ConfigurationError: ('Invalid value for', 'package', 'ImportError:
Module five has no global intid')

Does PloneGetPaid support Plone3 ?

claudio

claudio

unread,
Nov 28, 2007, 6:04:16 AM11/28/07
to getpaid-dev


On 28 Nov, 10:56, claudio <ilclau...@gmail.com> wrote:
> I'm trying to install this version of PloneGetPaid:http://getpaid.googlecode.com/files/PloneGetPaid-2007-11-21.tar.gz
>
> I can see this comment/label to the file:"Thankful Nightly at rev
> 1036, hopefully w windows fix. Plone 3 users: no need to install Five
> or CMFonFive from the tarball"
>
> I'm using
> * CMF: CMF-2.1.0
> * Debug mode: Yes
> * PIL: 1.1.6
> * Platform: linux2
> * Plone File System: 3.0
> * Plone Instance: 3.0
> * Python: 2.4.4
> * Zope: (Zope 2.10.4-final, python 2.4.4, linux2)

I can see that I don't have this error with Plone2.5:
* CMF: CMF-1.6.2
* Debug mode: Yes
* Five: Five 1.4.2
* PIL: 1.1.6
* Platform: linux2
* Plone File System: 2.5.2
* Plone Instance: 2.5.2
* Python: 2.4.4 (#1, May 15 2007, 11:09:31) [GCC 4.0.2 20050808
(prerelease) (Ubuntu 4.0.1-4ubuntu9)]
* Zope: (Zope 2.9.6-final, python 2.4.4, linux2)


claudio

Maurits van Rees

unread,
Nov 28, 2007, 6:38:08 AM11/28/07
to getpa...@googlegroups.com
On Wed, Nov 28, 2007 at 03:04:16AM -0800, claudio wrote:
>
>
>
> On 28 Nov, 10:56, claudio <ilclau...@gmail.com> wrote:
> > I'm trying to install this version of PloneGetPaid:http://getpaid.googlecode.com/files/PloneGetPaid-2007-11-21.tar.gz
> >
> > I can see this comment/label to the file:"Thankful Nightly at rev
> > 1036, hopefully w windows fix. Plone 3 users: no need to install Five
> > or CMFonFive from the tarball"
> >
> > I'm using
> > * CMF: CMF-2.1.0
> > * Debug mode: Yes
> > * PIL: 1.1.6
> > * Platform: linux2
> > * Plone File System: 3.0
> > * Plone Instance: 3.0
> > * Python: 2.4.4
> > * Zope: (Zope 2.10.4-final, python 2.4.4, linux2)
>
> I can see that I don't have this error with Plone2.5:

The difference is that on 3.0 your zope instance already has a
lib/python/five directory and this means that
Products/PloneGetPaid/lib/five/intid is never found. Basically the
same problem happens for the other directories in
Products/PloneGetPaid/lib

I changed this already in in the buildout for 3.0, mostly because I
did not like the directory layout. But now I see that it is really
necessary because else PloneGetPaid just cannot work on 3.0. For 2.5
it should not matter.

I wanted to upload a new build on the google site, but was greeted
with this error message:

Forbidden
Your client does not have permission to get URL /upload/getpaid
from this server. (Client IP address: ...)

You are attempting to perform an activity that you have
insufficient permissions for. If you feel this is in error, please
contact the project administrator.

Can someone give me permission to upload a new build? Or should I
already have that permission as a coder and is something else wrong?


I want to try just uploading a build for 3.0 specifically, though the
only difference is that the Five and CMFonFive products are not in
there. If this works then my changes in the build script of the 3.0
buildout could be taken over in the 2.5 buildout.

I made sure there a README.txt is also added to the build. I will
paste it below for reference.

Claudio, these instructions should help you as well. Well, with the
build you downloaded you would just need to move the subdirectories of
the PloneGetPaid/lib directory to the lib/python directory of your
zope instance.


Installation instructions
=========================

Copy the directory/directories within the Products directory to the
Products directory of your zope instance.

Copy the directories within the lib/python directory to the
lib/python directory of your zope instance. (On Windows: lib\python.)

Also, you will need the following python packages:

- simplejson
- dateutil

Install them with the standard package tools available for your
platform or with easy-install.


For further instructions and more info see the readme.txt file in
the PloneGetPaid dir within Products.

--
Maurits van Rees | http://maurits.vanrees.org/ [NL]
Work | http://zestsoftware.nl/
"I am trapped in a Klein Bottle and can't get in."

claudio

unread,
Nov 28, 2007, 9:21:49 AM11/28/07
to getpaid-dev


On 28 Nov, 12:38, Maurits van Rees <maurits.vanr...@gmail.com> wrote:
>..
> Installation instructions
> =========================
>
> Copy the directory/directories within the Products directory to the
> Products directory of your zope instance.
>
> Copy the directories within the lib/python directory to the
> lib/python directory of your zope instance. (On Windows: lib\python.)

Ok, thank you very much, I'll try this fix.
However now I'm testing the Product on Plone2.5 that has not this
problem :-)

> Also, you will need the following python packages:
> - simplejson
> - dateutil

Yes I know, they are required by both Plone3.0 and Plone2.5 because
the Python of their package doesn't include these libraries.

Thank you

claudio

Christopher Johnson

unread,
Nov 29, 2007, 10:50:29 PM11/29/07
to getpa...@googlegroups.com
Maurits - did you get the perms worked out for the branch? If not, please ping me tomorrow (Fri) and I can help.

Cheers,
Chris
--
Cofounder and CEO
ifPeople - Innovation for People
www.ifpeople.net
t: 678-608-3408
130 Boulevard NE, #6
Atlanta, GA 30312

Maurits van Rees

unread,
Nov 30, 2007, 9:31:05 PM11/30/07
to getpa...@googlegroups.com
On Thu, Nov 29, 2007 at 10:50:29PM -0500, Christopher Johnson wrote:
> Maurits - did you get the perms worked out for the branch? If not, please
> ping me tomorrow (Fri) and I can help.

This was a problem with uploading a tar ball. I figured it out now.
I tried uploading a tar ball through the website. But I was logged in
with my usual google account. So I also had my usual password, which
differs from the password I need for the google code site. So I was
denied access.

I just ran the nightly script and then all was fine. I uploaded a tar
ball, which I will talk about in my next email.

Reply all
Reply to author
Forward
0 new messages