Discussion:
[CalendarX-users] Need clarifications on how to install CalendarX
LOK Yek Soon
2009-12-04 17:10:51 UTC
Permalink
Hi,

I am new to Plone and this is the first time I am trying to add a product
into Plone.

I face some problems when I run ./bin/buildout -v

Here's what I have done so far?

1. Open buildout.cfg in my Plone instance (eg. /usr/local/Plone/zinstance)
and edit it as per instructions in INSTALL.txt (in folder
Products.CalendarX-0.9.5stable/Products/CalendarX/docs)

2. Save the buildout.cfg file

3. run ./bin/buildout -v

4. And I got the following error
======
While:
Initializing.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1508, in main
user_defaults, windows_restart, command)
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 124, in __init__
_update(data, _open(os.path.dirname(config_file), config_file, []))
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1189, in _open
parser.readfp(fp)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
286, in readfp
self._read(fp, filename)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
490, in _read
raise e
ParsingError: File contains parsing errors:
/usr/local/Plone/zinstance/buildout.cfg
[line 292]: ' recipe = infrae.subversion\n'
[line 293]: ' urls =
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/CalendarX\n'
=======

What could be the problem?

Thanks
YS
Lupa Zurven
2009-12-04 17:59:54 UTC
Permalink
YS,
I am so sorry! Those instructions (from 0.9.3) weren't updated for the
real egg we're using now. Thanks for spotting it.

So instead:

1. remove that recipe for infrae.subversion completely from your
buildout.cfg
2. in the main "Eggs" section, just add Products.CalendarX to the list. For
example, in my simple test buildout, the section looks like this:

eggs =
Plone
Products.CalendarX

That is all you need. There is a real egg for the 0.9.5stable release of
CalendarX at the Cheese Shop and one at Plone, so your buildout should find
it just fine. No need to list a ZCML slug either.

And I'll change that INSTALL.txt doc too, shortly. I have a bug report in
the tracker at Plone.org that I'm trying to fix, and will perhaps lead to an
updated egg soon.
Cheers,
+lupa+
Post by LOK Yek Soon
Hi,
I am new to Plone and this is the first time I am trying to add a product
into Plone.
I face some problems when I run ./bin/buildout -v
Here's what I have done so far?
1. Open buildout.cfg in my Plone instance (eg. /usr/local/Plone/zinstance)
and edit it as per instructions in INSTALL.txt (in folder
Products.CalendarX-0.9.5stable/Products/CalendarX/docs)
2. Save the buildout.cfg file
3. run ./bin/buildout -v
4. And I got the following error
======
Initializing.
An internal error occured due to a bug in either zc.buildout or in a
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1508, in main
user_defaults, windows_restart, command)
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 124, in __init__
_update(data, _open(os.path.dirname(config_file), config_file, []))
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1189, in _open
parser.readfp(fp)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
286, in readfp
self._read(fp, filename)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
490, in _read
raise e
/usr/local/Plone/zinstance/buildout.cfg
[line 292]: ' recipe = infrae.subversion\n'
[line 293]: ' urls =
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/CalendarX\n'
=======
What could be the problem?
Thanks
YS
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
CalendarX-users mailing list
https://lists.sourceforge.net/lists/listinfo/calendarx-users
LOK Yek Soon
2009-12-08 01:23:41 UTC
Permalink
Hi Lupa,

Thanks for the prompt response.

The installation goes through without any errors with the updated
instructions.

Appreciate your help.

YS
Post by Lupa Zurven
YS,
I am so sorry! Those instructions (from 0.9.3) weren't updated for the
real egg we're using now. Thanks for spotting it.
1. remove that recipe for infrae.subversion completely from your
buildout.cfg
2. in the main "Eggs" section, just add Products.CalendarX to the list.
eggs =
Plone
Products.CalendarX
That is all you need. There is a real egg for the 0.9.5stable release of
CalendarX at the Cheese Shop and one at Plone, so your buildout should find
it just fine. No need to list a ZCML slug either.
And I'll change that INSTALL.txt doc too, shortly. I have a bug report in
the tracker at Plone.org that I'm trying to fix, and will perhaps lead to an
updated egg soon.
Cheers,
+lupa+
Post by LOK Yek Soon
Hi,
I am new to Plone and this is the first time I am trying to add a product
into Plone.
I face some problems when I run ./bin/buildout -v
Here's what I have done so far?
1. Open buildout.cfg in my Plone instance (eg. /usr/local/Plone/zinstance)
and edit it as per instructions in INSTALL.txt (in folder
Products.CalendarX-0.9.5stable/Products/CalendarX/docs)
2. Save the buildout.cfg file
3. run ./bin/buildout -v
4. And I got the following error
======
Initializing.
An internal error occured due to a bug in either zc.buildout or in a
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1508, in main
user_defaults, windows_restart, command)
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 124, in __init__
_update(data, _open(os.path.dirname(config_file), config_file, []))
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1189, in _open
parser.readfp(fp)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
286, in readfp
self._read(fp, filename)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
490, in _read
raise e
/usr/local/Plone/zinstance/buildout.cfg
[line 292]: ' recipe = infrae.subversion\n'
[line 293]: ' urls =
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/CalendarX\n'
=======
What could be the problem?
Thanks
YS
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
CalendarX-users mailing list
https://lists.sourceforge.net/lists/listinfo/calendarx-users
Hal Noble
2009-12-07 17:49:50 UTC
Permalink
YS,

It looks like you are using a slightly older method of adding CalendarX to your buildout.
try commenting out, or removing, the line:

https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/ CalendarX

This might be in a section called [productcheckouts].

Instead, try adding Products.CalendarX to the [buildout] eggs section:

[buildout]
...
...
eggs =
Products.CalendarX
...

Hopefully you will not need anything else since this latest release of CalendarX is
packaged as an egg.

Hal

Hal Noble
netCorps - Technology Assistance for Non-Profits
1245 Pearl Street Eugene, OR 97401
Phone: 541-465-1127 x107

670 Superior Court, #108 Medford, OR 97504
Phone: 541-951-7201

400 W. Main Street Durham, NC 27701
Phone: 919-373-4234

www.netCorps.org
Become a fan of netCorps on Facebook to see updates about the work we're doing!
http://www.facebook.com/pages/netCorps/125976668096
Post by LOK Yek Soon
Hi,
I am new to Plone and this is the first time I am trying to add a
product into Plone.
I face some problems when I run ./bin/buildout -v
Here's what I have done so far?
1. Open buildout.cfg in my Plone instance (eg.
/usr/local/Plone/zinstance) and edit it as per instructions in
INSTALL.txt (in folder
Products.CalendarX-0.9.5stable/Products/CalendarX/docs)
2. Save the buildout.cfg file
3. run ./bin/buildout -v
4. And I got the following error
======
Initializing.
An internal error occured due to a bug in either zc.buildout or in a
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1508, in main
user_defaults, windows_restart, command)
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 124, in __init__
_update(data, _open(os.path.dirname(config_file), config_file, []))
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1189, in _open
parser.readfp(fp)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
286, in readfp
self._read(fp, filename)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
490, in _read
raise e
/usr/local/Plone/zinstance/buildout.cfg
[line 292]: ' recipe = infrae.subversion\n'
[line 293]: ' urls =
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/
CalendarX\n'
=======
What could be the problem?
Thanks
YS
------------------------------------------------------------------------
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
------------------------------------------------------------------------
_______________________________________________
CalendarX-users mailing list
https://lists.sourceforge.net/lists/listinfo/calendarx-users
LOK Yek Soon
2009-12-08 01:25:12 UTC
Permalink
Hi Hal,

Thanks for highlighting that.

I am new to Plone and will take note of the various installation methods.

YS
Post by Hal Noble
YS,
It looks like you are using a slightly older method of adding CalendarX to
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/CalendarX
This might be in a section called [productcheckouts].
[buildout]
...
...
eggs =
Products.CalendarX
...
Hopefully you will not need anything else since this latest release of
CalendarX is packaged as an egg.
Hal
Hal Noble
netCorps - Technology Assistance for Non-Profits
1245 Pearl Street Eugene, OR 97401
Phone: 541-465-1127 x107
670 Superior Court, #108 Medford, OR 97504
Phone: 541-951-7201
400 W. Main Street Durham, NC 27701
Phone: 919-373-4234
www.netCorps.org
Become a fan of netCorps on Facebook to see updates about the work we're doing!
http://www.facebook.com/pages/netCorps/125976668096
Post by LOK Yek Soon
Hi,
I am new to Plone and this is the first time I am trying to add a product
into Plone.
I face some problems when I run ./bin/buildout -v
Here's what I have done so far?
1. Open buildout.cfg in my Plone instance (eg. /usr/local/Plone/zinstance)
and edit it as per instructions in INSTALL.txt (in folder
Products.CalendarX-0.9.5stable/Products/CalendarX/docs)
2. Save the buildout.cfg file
3. run ./bin/buildout -v
4. And I got the following error
======
Initializing.
An internal error occured due to a bug in either zc.buildout or in a
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1508, in main
user_defaults, windows_restart, command)
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 124, in __init__
_update(data, _open(os.path.dirname(config_file), config_file, []))
File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.2-py2.4.egg/zc/buildout/buildout.py",
line 1189, in _open
parser.readfp(fp)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
286, in readfp
self._read(fp, filename)
File "/usr/local/Plone/Python-2.4/lib/python2.4/ConfigParser.py", line
490, in _read
raise e
/usr/local/Plone/zinstance/buildout.cfg
[line 292]: ' recipe = infrae.subversion\n'
[line 293]: ' urls =
https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/CalendarX\n'
=======
What could be the problem?
Thanks
YS
------------------------------------------------------------------------
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. Attend
in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
------------------------------------------------------------------------
_______________________________________________
CalendarX-users mailing list
https://lists.sourceforge.net/lists/listinfo/calendarx-users
Loading...