Re: how to install plone.app.event on a policy package?
Johannes Raggam <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
you can use plone.app.event, as if it's installed? do you have a
recurrence widget, the open end and whole day checkboxes in the event
edit form? the new event view?
if yes, then plone.app.event is installed but quickinstaller thinks it's
not. maybe it's just the missing five:registerPackage directive in
plone.app.event's main configure.zcml. in the ``at`` subpackage it's
registered, though. looks like, it would make sense to register it like
this for the main plone.app.event configure.zcml and maybe for the
``dx`` subpackage too. altough i dislike this concept, because apart
from making quickinstaller happy, i don't see any use for
five:registerPackage.
On Wed, 2014-05-21 at 20:13 -0300, Héctor Velarde wrote:
> hi, I'm finishing integration of p.a.event 1.1.1 on a policy package for
> a project I'm working on;
>
> - I listed it as a dependency on setup.py
>
> install_requires=[
> ...
> 'plone.app.event [archetypes] <1.2',
> ...
> ],
>
> - I read its configure.zcml:
>
> <include package="plone.app.event" />
>
> - I installed it adding the following to metadata.xml:
>
> <dependency>profile-plone.app.event.at:default</dependency>
>
> the package installs its configlet because I see a link to Event
> Settings on the control panel:
>
> https://github.com/plone/plone.app.event/blob/1.1.x/plone/app/event/profiles/default/controlpanel.xml
>
> but both GS profiles appear as not installed.
>
> also, a quick test show it is not installed indeed and can not be installed:
>
> (Pdb) self.qi.isProductInstalled('plone.app.event')
> False
> (Pdb) from plone import api
> (Pdb) setup = api.portal.get_tool('portal_setup')
> (Pdb)
> setup.runAllImportStepsFromProfile('profile-plone.app.event.at:default')
> ...
> (Pdb) self.qi.isProductInstalled('plone.app.event')
> False
>
> if I install plone.app.event.at via control panel it seems to work, but
> then plone.app.event 1.1.1 remains uninstalled.
>
> what I'm doing wrong? do I have to deal manually with
> Products.DateRecurringIndex dependency in some way? do I have to install
> plone.app.event before plone.app.event.at? how?
>
> best regards
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
--
programmatic web development
di(fh) johannes raggam / thet
python plone zope development
plone framework team member
mail: office-//[email protected]
web: http://programmatic.pro
http://bluedynamics.com
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEABECAAYFAlN9NrkACgkQW4mNMQxDgAdvgACfT5iIVO8pnjHR4axqgw2bn3vn slwAoIxMN415tYlOL6M1BRWskclL0+UC =1fcc -----END PGP SIGNATURE-----