Hi Alin,
Many thanks for you response. I updated my buildout and now can see the edit button for adding geogags. However, while I can see the browser connecting to the googleapi, no popup box appears. At the moment I'm not sure if related to my network, so will try again later, and check the log.
I was wondering if you could kindly help with one other query - is it possible to install the EEA social media product (https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.socialmedia/). I'd be grateful if you could suggest what additions I need to make to my buildout - I've tried the following but without success on starting up the zope instance (traceback below).
Cheers,
Richard
---------------------
auto-checkout =
eea.socialmedia
eggs
eea.socialmedia
zcml
eea.socialmedia
eea.socialmedia.default
develop =
src/eea.socialmedia
[sources]
eea.socialmedia = svn https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.socialmedia/trunk@25322
Error:
Traceback (most recent call last):
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/Startup/run.py", line 72, in <module>
run()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/Startup/__init__.py", line 86, in prepare
self.startZope()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/Startup/__init__.py", line 259, in startZope
Zope2.startup()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/__init__.py", line 47, in startup
_startup()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/startup.py", line 118, in startup
load_zcml()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/startup.py", line 52, in load_zcml
load_site()
File "/home/rcooper/plone412/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/zcml.py", line 46, in load_site
_context = xmlconfig.file(site_zcml)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 649, in file
include(context, name, package)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/rcooper/plone412/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 705, in finish
args = toargs(context, *self.argdata)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 1397, in toargs
args[str(name)] = field.fromUnicode(s)
File "/home/rcooper/plone412/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/fields.py", line 139, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/rcooper/plone412/zinstance/parts/instance/etc/site.zcml", line 15.2-15.55
ZopeXMLConfigurationError: File "/home/rcooper/plone412/zinstance/parts/instance/etc/package-includes/033-eea.socialmedia.default-configure.zcml", line 1.0-1.67
ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module eea.socialmedia has no global default')
On 12/05/2011 03:58 PM, Alin Voinea wrote:Hi Richard,
Thank you for trying eea.geotags, hope you'll find it useful. Here is a demo buildout for eea.geotags with plone 4.1:
https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.geotags/buildouts/plone4/
So, in order to use eea.geotags widget for the default Plone Content-Types you'll also have to include eea.geotags.default within your buildout's zcml directive:
eggs = eea.geotags zcml = eea.geotags # Use eea.geotags 'location' field/widget also # for default Plone content-types eea.geotags.default
Let me know if this fixed your issue ;)
Cheers,
Alin
On 12/02/2011 12:05 PM, Richard Cooper wrote:Dear Alin,
I was wondering if you could kindly advise on implementing the EEAGeotags product into Plone. Please see my query below.
Maybe there is an additional configuration step I've missed?
Best regards,
Richard
-------- Original Message --------
Subject: EEA GeoTags - should it work in Plone 4.1? Date: Fri, 02 Dec 2011 16:29:34 +0700 From: Richard Cooper <ric...@iwlearn.org> To: weba...@eea.europa.eu
Dear EEA Webadmin,
I'm trying your new EEAGeotags Plone product (v4.3), but unable to find any field or link in a content item (e.g. event, news) where I can geolocate the item.
I installed the product using buildout and activated the products in Plone's Add-on page.
I've inserted an alchemy key into the ZMI.
I've experimented with the Alchemy settings at @@alchemy-tags.html but I don't know how these relate to the Geotags product (not sure if I need to modify?)
I'd be really grateful for any suggestions on how to enable. Should it work in Plone 4.1?
My system details:
- Plone 4.1.2 (4111)
- CMF 2.2.4
- Zope 2.13.10
- Python 2.6.7 (r267:88850, Nov 23 2011, 10:46:23) [GCC 4.4.3]
Best regards,
Richard
--
__________________________________
Richard Cooper PhD,
Environmental Specialist/Project Manager
Southeast Asia START Regional Centre (SEA START RC),
Chulalongkorn University,
5th Floor, Chulawich 1 Building,
Henri Dunant Road,
Bangkok 10330, THAILAND.
Tel: +66-2-218 9469
Fax: +66-2-251-9416
Email: rco...@start.or.th
Skype name: richtcooper
Coastal Cities at Risk/LMIC Forum: http://www.start.or.th/iriacc-project/ccar-forum / Twitter: http://twitter.com/#!/coastalmegacity
(Membership/registration is open to anyone with an interest in urban climate change adaptation issues)
-- Alin Voinea Eau de Web (http://www.eaudeweb.ro) 55, Clucerului, ap. 7 - 011364 Bucharest Tel/fax: +40 21 222 1522, Mobile: +40 722 688 168
--
__________________________________
Richard Cooper PhD,
Environmental Specialist/Project Manager
Southeast Asia START Regional Centre (SEA START RC),
Chulalongkorn University,
5th Floor, Chulawich 1 Building,
Henri Dunant Road,
Bangkok 10330, THAILAND.
Tel: +66-2-218 9469
Fax: +66-2-251-9416
Email: rco...@start.or.th
Skype name: richtcooper
Coastal Cities at Risk/LMIC Forum: http://www.start.or.th/iriacc-project/ccar-forum / Twitter: http://twitter.com/#!/coastalmegacity
(Membership/registration is open to anyone with an interest in urban climate change adaptation issues)
-- Alin Voinea Eau de Web (http://www.eaudeweb.ro) 55, Clucerului, ap. 7 - 011364 Bucharest Tel/fax: +40 21 222 1522, Mobile: +40 722 688 168