-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup tool import portlet error #12
Comments
Sorry, the XML code is: <assignment name="radio-legislativa" category="context" key="/"
manager="plone.rightcolumn" type="collective.flowplayer.Player"
visible="True">
<property name="show_more">True</property>
<property name="header">Radio Legislativa</property>
<property name="splash">/imagens/audio-player.png</property>
<property name="limit"/>
<property name="target">/institucional/audios</property>
<property name="random">False</property>
</assignment> |
The traceback is:
|
Actually I changed the property for 'limit' tag and it worked:
The portlet is created but it does'nt appears, even with MP3 files in '/institucional/audios' folder. If I create it manually with the same parameters than it works fine. Some idea what is going wrong? |
I fixed it in interlegis/interlegis.portalmodelo.policy@6461965#diff-bea04f6e897f15298f3ead26d4afedb0R441 don't know why this is necessary! :-( |
I'm trying to export and import a Video Player portlet using setup tool but it raises an error on Plone 4.3.3:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.GenericSetup.tool, line 565, in manage_importTarball
Module Products.GenericSetup.tool, line 350, in runAllImportStepsFromProfile
Module Products.GenericSetup.tool, line 1100, in _runImportStepsFromContext
Module Products.GenericSetup.tool, line 1015, in _doRunImportStep
traceback_info: portlets
Module plone.app.portlets.exportimport.portlets, line 727, in importPortlets
Module Products.GenericSetup.utils, line 509, in _importBody
Module plone.app.portlets.exportimport.portlets, line 249, in _importNode
Module plone.app.portlets.exportimport.portlets, line 258, in _initProvider
Module plone.app.portlets.exportimport.portlets, line 312, in _initPortlets
Module plone.app.portlets.exportimport.portlets, line 481, in _initAssignmentNode
Module plone.app.portlets.exportimport.portlets, line 119, in import_assignment
Module plone.app.portlets.exportimport.portlets, line 162, in import_node
Module plone.app.portlets.exportimport.portlets, line 205, in from_unicode
Module zope.schema._bootstrapfields, line 435, in fromUnicode
ValueError: invalid literal for int() with base 10: ''
I'm using collective.flowplayer 4.2.1. The importing XML is bellow. Some idea what is going wrong?
True
Radio Legislativa
/imagens/audio-player.png
/institucional/audios
False
The text was updated successfully, but these errors were encountered: