Modify

Ticket #317 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

Error on Publishing Video

Reported by: anna Owned by: baiju
Priority: critical Milestone: 3.0-beta2
Component: plone3 Severity:
Keywords: Cc:
Who will test this:

Description

This came up while adding a video from the new Plumi install of latest buildout that Grant and I have installed.

Error appeared after clicking Save on step 3 of video edit form.

Metadata has no value 'duration' (index 0)

 http://anna.plumi.org/error_log/showEntry?id=1265697671.40.331158672979

Error log follows:

Time 2010/02/09 17:41:11.400 US/Eastern User Name (User Id) admin (admin) Request URL  http://anna.plumi.org/Members/admin/videos/test/atct_edit Exception Type ValueError? Exception Value Metadata has no value 'duration' (index 0) Traceback (innermost last):

Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 90, in call Module Products.CMFFormController.BaseControllerPageTemplate?, line 28, in _call Module Products.CMFFormController.ControllerBase?, line 231, in getNext Module Products.CMFFormController.Actions.TraverseTo?, line 38, in call Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPythonScript, line 106, in call Module Products.CMFFormController.ControllerBase?, line 231, in getNext Module Products.CMFFormController.Actions.TraverseTo?, line 38, in call Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPythonScript, line 104, in call Module Products.CMFFormController.Script, line 145, in call Module Products.CMFCore.FSPythonScript, line 140, in call Module Shared.DC.Scripts.Bindings, line 313, in call Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 196, in _exec Module None, line 1, in content_edit <FSControllerPythonScript at /testplone/content_edit used for /testplone/Members/admin/videos/test> Line 1 Module Products.CMFCore.FSPythonScript, line 140, in call Module Shared.DC.Scripts.Bindings, line 313, in call Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 196, in _exec Module None, line 13, in content_edit_impl <FSPythonScript at /testplone/content_edit_impl used for /testplone/Members/admin/videos/test> Line 13 Module Products.LinguaPlone?.I18NBaseObject, line 415, in processForm Module Products.Archetypes.BaseObject?, line 663, in processForm Module Products.LinguaPlone?.I18NBaseObject, line 409, in _processForm traceback_info: (<PlumiVideo? at /testplone/Members/admin/videos/test>, <Field thumbnailImageDescription(string:rw)>, <bound method PlumiVideo?.setThumbnailImageDescription of <PlumiVideo? at /testplone/Members/admin/videos/test>>) Module Products.Archetypes.CatalogMultiplex?, line 124, in reindexObject Module Products.CMFPlone.CatalogTool?, line 439, in catalog_object Module Products.ZCatalog.ZCatalog, line 536, in catalog_object Module Products.ZCatalog.Catalog, line 349, in catalogObject Module Products.ZCatalog.Catalog, line 278, in updateMetadata Module Products.ZCatalog.Catalog, line 417, in recordify Module plone.indexer.wrapper, line 59, in getattr Module plone.indexer.delegate, line 16, in call Module plumi.app.policy.catalog_extension, line 145, in videoDuration Module plumi.content.content.plumivideo, line 285, in plumiVideoDuration Module hachoir_metadata.metadata, line 83, in get ValueError?: Metadata has no value 'duration' (index 0) Display traceback as text

REQUEST

form

form.button.save 'Save' fieldset 'thumbnail' last_referer ' http://anna.plumi.org/publish' add_reference {'destination': , 'field': , 'type': } thumbnailImageDescription thumbnailImage_file <ZPublisher.HTTPRequest.FileUpload? instance at 0x7ff7a8fed1b8> cookies

DF_expert '0' I18N_LANGUAGE 'en' ac 'NjE2NDZkNjk2ZTo2NTZkNmY3MjY3MzQzMg%3D%3D' tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrBpY1B8laAGVDci1LowJtQTKWXIlAABQ3NEDS5lnpCZI0NOSCyBmhyIEtNDQG69QDANNYJZs' DF_filter lazy items

SESSION <bound method SessionDataManager?.getSessionData of <SessionDataManager? at /session_data_manager>> other

VIRTUAL_URL_PARTS (' http://anna.plumi.org', 'Members/admin/videos/test/atct_edit') last_referer ' http://anna.plumi.org/publish' tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrBpY1B8laAGVDci1LowJtQTKWXIlAABQ3NEDS5lnpCZI0NOSCyBmhyIEtNDQG69QDANNYJZs' VIRTUAL_URL ' http://anna.plumi.org/Members/admin/videos/test/atct_edit' URL5 ' http://anna.plumi.org' URL4 ' http://anna.plumi.org/Members' ac 'NjE2NDZkNjk2ZTo2NTZkNmY3MjY3MzQzMg%3D%3D' URL3 ' http://anna.plumi.org/Members/admin' URL2 ' http://anna.plumi.org/Members/admin/videos' AUTHENTICATION_PATH 'testplone/vhm' thumbnailImage_file <ZPublisher.HTTPRequest.FileUpload? instance at 0x7ff7a8fed1b8> thumbnailImageDescription form.button.save 'Save' LANGUAGE 'en' AUTHENTICATED_USER <PropertiedUser? 'admin'> SERVER_URL ' http://anna.plumi.org' traverse_subpath [] ACTUAL_URL ' http://anna.plumi.org/Members/admin/videos/test/atct_edit' DF_expert '0' fieldset 'thumbnail' URL ' http://anna.plumi.org/Members/admin/videos/test/atct_edit' add_reference {'destination': , 'field': , 'type': } I18N_LANGUAGE 'en' DF_filter PUBLISHED <FSControllerPageTemplate at /testplone/atct_edit used for /testplone/Members/admin/videos/test> controller_state <Products.CMFFormController.ControllerState?.ControllerState? object at 0x7ff7a8eec750> TraversalRequestNameStack? [] _pts_is_rtl False VirtualRootPhysicalPath? (, 'testplone') LANGUAGE_TOOL <Products.PloneLanguageTool?.LanguageTool?.LanguageBinding? instance at 0xe63cd88> BASE1 ' http://anna.plumi.org' BASE2 ' http://anna.plumi.org/Members' BASE3 ' http://anna.plumi.org/Members/admin' BASE4 ' http://anna.plumi.org/Members/admin/videos' BASE5 ' http://anna.plumi.org/Members/admin/videos/test' BASE6 ' http://anna.plumi.org/Members/admin/videos/test/atct_edit' URL1 ' http://anna.plumi.org/Members/admin/videos/test' URL0  http://anna.plumi.org/Members/admin/videos/test/atct_edit URL1  http://anna.plumi.org/Members/admin/videos/test URL2  http://anna.plumi.org/Members/admin/videos URL3  http://anna.plumi.org/Members/admin URL4  http://anna.plumi.org/Members URL5  http://anna.plumi.org BASE0  http://anna.plumi.org BASE1  http://anna.plumi.org BASE2  http://anna.plumi.org/Members BASE3  http://anna.plumi.org/Members/admin BASE4  http://anna.plumi.org/Members/admin/videos BASE5  http://anna.plumi.org/Members/admin/videos/test BASE6  http://anna.plumi.org/Members/admin/videos/test/atct_edit environ

HTTP_X_FORWARDED_SERVER 'anna.plumi.org' HTTP_REFERER ' http://anna.plumi.org/Members/admin/videos/test/atct_edit' HTTP_ACCEPT_LANGUAGE 'en-us' SERVER_SOFTWARE 'Zope/(unreleased version, python 2.4.6, linux2) ZServer/1.1 Plone/3.3.4' SCRIPT_NAME REQUEST_METHOD 'POST' PATH_INFO '/VirtualHostBase/http/anna.plumi.org:80/testplone/VirtualHostRoot/Members/admin/videos/test/atct_edit' HTTP_ORIGIN ' http://anna.plumi.org' SERVER_PROTOCOL 'HTTP/1.1' channel.creation_time 1265697670 CONNECTION_TYPE 'Keep-Alive' HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/?531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10' HTTP_COOKIE 'ac="NjE2NDZkNjk2ZTo2NTZkNmY3MjY3MzQzMg%3D%3D"; DF_expert="0"; DF_filter=""; I18N_LANGUAGE="en"; tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrBpY1B8laAGVDci1LowJtQTKWXIlAABQ3NEDS5lnpCZI0NOSCyBmhyIEtNDQG69QDANNYJZs"' SERVER_NAME '0.0.0.0' REMOTE_ADDR '127.0.0.1' HTTP_VIA '1.1 anna.plumi.org' PATH_TRANSLATED '/VirtualHostBase/http/anna.plumi.org:80/testplone/VirtualHostRoot/Members/admin/videos/test/atct_edit' SERVER_PORT '8080' CONTENT_LENGTH '1060' HTTP_HOST '127.0.0.1:8080' HTTP_ACCEPT 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' GATEWAY_INTERFACE 'CGI/1.1' HTTP_X_FORWARDED_FOR '58.96.97.176' HTTP_X_FORWARDED_HOST 'anna.plumi.org' CONTENT_TYPE 'multipart/form-data; boundary=----WebKitFormBoundaryAxDrnWI3omUGGqnP' HTTP_ACCEPT_ENCODING 'gzip, deflate'

Attachments

Change History

comment:1 Changed 5 years ago by baiju

  • Owner set to baiju
  • Status changed from new to assigned

comment:2 Changed 5 years ago by baiju

  • Status changed from assigned to closed
  • Resolution set to worksforme

Please check it after updating plumi.app

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.