RE: Cannot upload word documents

"Winterflood, Jonathan" <[email protected]> Tue, 18 Sep 2007 13:42:08 +0200
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <9FD178D09DF6AC43B2FF313CFB0D11ED30E709@CORPMAIL33.corp.capgemini.com>
Hi,

 

I had a problem on Mandrake (as opposed to windows) :

The transformation pdf_to_text was looking for the binary pdftohtml instead of pdftotext (I have absolutely no idea why....)

Symlinking to pdftotext with a pdftohtml-named link somewhere in the PATH hacked the problem.

 

Do you find anything if you do 'which wvHtml' when logged in with the user zope falls back to? Or for that matter, can you run the wvHtml binary as that user?

 

HTH,

Jonathan

________________________________

De : [email protected] [mailto:[email protected]] De la part de Müge YARANLI
Envoyé : mardi 18 septembre 2007 11:10
À : [email protected]
Objet : [CPS-devel] Cannot upload word documents

 

Hi,
 
My CPS site suddenly started to fail uploading word documents- although I made no change... 
 
In order to overcome the problem, I installed wvHtml once again, but the problem still persists. So has anybody met this error before, and do you have any idea how to fix it? 
 
Thanks...
 
----------
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 26, in cpsdocument_create
   - <FSPythonScript at /cpsUZAY/cpsdocument_create used for /cpsUZAY/workspaces/uydu-teknolojileri-grubu/kalite-yonetimi>
   - Line 26
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 28, in cpsdocument_create_do
   - <FSPythonScript at /cpsUZAY/cpsdocument_create_do used for /cpsUZAY/workspaces/uydu-teknolojileri-grubu/kalite-yonetimi>
   - Line 28
  Module Products.CPSCore.CPSTypes, line 60, in invokeFactory
  Module Products.CPSWorkflow.workflowtool, line 310, in invokeFactoryFor
  Module Products.CPSWorkflow.workflowtool, line 447, in _createObject
  Module Products.CPSCore.ProxyTool, line 176, in createRevision
  Module Products.CPSCore.ObjectRepositoryTool, line 132, in createRevision
  Module Products.CPSCore.CPSTypes, line 112, in constructContent
  Module Products.CPSDocument.FlexibleTypeInformation, line 237, in _constructInstance
  Module Products.CPSSchemas.DataModel, line 337, in _commit
  Module Products.CPSSchemas.DataModel, line 359, in _commitData
  Module Products.CPSSchemas.BasicFields, line 568, in computeDependantFields
  Module Products.CPSSchemas.FileUtils, line 71, in convertFileToText
  Module Products.CPSSchemas.FileUtils, line 57, in _convertFileToMimeType
  Module Products.PortalTransforms.TransformEngine, line 115, in convertTo
  Module Products.PortalTransforms.chain, line 32, in convert
  Module Products.PortalTransforms.zope.Transform, line 169, in convert
  Module Products.PortalTransforms.transforms.word_to_html, line 36, in convert
  Module Products.PortalTransforms.transforms.office_wvware, line 18, in __init__
  Module Products.PortalTransforms.libtransforms.commandtransform, line 19, in __init__
  Module Products.PortalTransforms.libtransforms.utils, line 25, in bin_search
MissingBinary: Unable to find binary "wvHtml"

 

 



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel