Message d'erreur lors du rattachement d'un fichier Word

"Alain MAINAR" <[email protected]>
Newsgroups gmane.comp.web.zope.cps.general.french
Message-ID <[email protected]>
Bonjour,
 
Lors d'une tentative de rattachement d'un fichier Word à un document du type « Fichier », le message d'erreur suivant est renvoyé. Quelqu'un pourrait-il nous aider ? Le problème ne se pose pas avec Excel, ni avec Powerpoint, ni avec les fichiers PDF.
 
Time2006/11/08 14:11:37.923 GMT+1
User Name (User Id)Admin (Admin)
Request URLhttp://srvdoc/cps/workspaces/services/informatique/cpsdocument_create
Exception TypeIOError
Exception Value[Errno 2] No such file or directory: 'c:\\windows\\temp\\tmpnc7gm-\\unknown.doc.html'
 

Je précise que j'ai essayé de rattacher un document dont le nom n'est pas « unknown.doc.local », et pas situé dans windows\temp.
 
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 /cps/cpsdocument_create used for /cps/workspaces/services/informatique>
   - 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 /cps/cpsdocument_create_do used for /cps/workspaces/services/informatique>
   - 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 38, in convert
  Module Products.PortalTransforms.transforms.office_wvware, line 53, in html
IOError: [Errno 2] No such file or directory: 'c:\\windows\\temp\\tmpnc7gm-\\unknown.doc.html'
 
REQUEST
form
widget__Title 'test' 
type_name 'File' 
cpsdocument_create_button 'Cr\xe9er' 
widget__file_choice 'change' 
cpsformuid '75682524224073' 
widget__Source '' 
widget__file <ZPublisher.HTTPRequest.FileUpload instance at 0x07BD2490> 
button_placeholder '' 
widget__file_filename '' 
widget__Rights '' 
widget__Description '' 
 
cookies
__cp 'x%DA%CD%8E%CD%0A%021%0C%84%EB%CFEo%2A%BE%C3%5E%0A%DD%DDS_%C3%AB%A7R%07%09%B6%DB%D2%14%C4%B77%5Dp%C1%27%D0C%263%13%02_%B7VJ%D1J%E4%BA%11%E9v%22UFq%8B%3E3%EFe%3FSypv%1E%CC%87V%A7H%15%ACi%E2%EA%A6%D6n%5B%1B%24%1F%9B%F11hd%BA%21R%0A%E9N%98%EF%BD%B5%96%CFb%DC%E4%C2%8B%A1k%A1%08%16E%08%A8%EDs0%C6%E8%1Ee9a%06%BA%FC%04%E8%F4%01%1A%10%F1%0FD%BC%10%8D_DoC%A8%7D%81' 
__ac_name 'Admin' 
cpsskins_view_mode 'eyJzZWxlY3RlZF9wb3J0bGV0IjogInBvcnRsZXRfbmF2aWdhdGlvbl8zdGFicyIsICJwb3J0bGV0c19wYW5lbCI6ICJwb3J0bGV0X3Nsb3RzIiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL3dvcmtzcGFjZXMvc2VydmljZXMvaW5mb3JtYXRpcXVlL2Nwc2RvY3VtZW50X2NyZWF0ZSIsICJzY3JvbGx5IjogIjAiLCAidGhlbWUiOiAiZGVmYXVsdCIsICJzY3JvbGx4IjogIjAiLCAidGhlbWVzX3BhbmVsIjogInd5c2l3eWciLCAic2VsZWN0ZWRfY29udGVudCI6ICIxNDg2MTIxNTkwIiwgInBhZ2UiOiAiZGVmYXV0Q0NNTCIsICJlZGl0ZWRfdXJsIjogImNwcy9wb3J0YWxfdGhlbWVzL2RlZmF1bHQvZGVmYXV0Q0NNTC9tYWluL3BvcnRhbF9ib3hfdHJlZXZpZXcifQ==' 
_ZopeId '19793239A2lhHQBd71U' 
 
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> 
 
other
TraversalRequestNameStack [] 
cpsformuid '75682524224073' 
AUTHENTICATED_USER <CPSUser Admin> 
URL 'http://srvdoc/cps/workspaces/services/informatique/cpsdocument_create' 
type_name 'File' 
SERVER_URL 'http://srvdoc' 
AUTHENTICATION_PATH 'cps' 
traverse_subpath [] 
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0x04A70CD8> 
_ts_domain_cache {'default': <LocalizerDomain at /cps/translation_service/>} 
PUBLISHED <FSPythonScript at /cps/cpsdocument_create used for /cps/workspaces/services/informatique> 
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0x04A70CD8> 
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0x04789300> 
ACTUAL_URL 'http://srvdoc/cps/workspaces/services/informatique/cpsdocument_create' 
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at /cps/Localizer/default>} 
URL0 http://srvdoc/cps/workspaces/services/informatique/cpsdocument_create 
URL1 http://srvdoc/cps/workspaces/services/informatique 
URL2 http://srvdoc/cps/workspaces/services 
URL3 http://srvdoc/cps/workspaces 
URL4 http://srvdoc/cps 
URL5 http://srvdoc 
BASE0 http://srvdoc 
BASE1 http://srvdoc 
BASE2 http://srvdoc/cps 
BASE3 http://srvdoc/cps/workspaces 
BASE4 http://srvdoc/cps/workspaces/services 
BASE5 http://srvdoc/cps/workspaces/services/informatique 
BASE6 http://srvdoc/cps/workspaces/services/informatique/cpsdocument_create 
 
environ
HTTP_COOKIE 'cpsskins_view_mode="eyJzZWxlY3RlZF9wb3J0bGV0IjogInBvcnRsZXRfbmF2aWdhdGlvbl8zdGFicyIsICJwb3J0bGV0c19wYW5lbCI6ICJwb3J0bGV0X3Nsb3RzIiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL3dvcmtzcGFjZXMvc2VydmljZXMvaW5mb3JtYXRpcXVlL2Nwc2RvY3VtZW50X2NyZWF0ZSIsICJzY3JvbGx5IjogIjAiLCAidGhlbWUiOiAiZGVmYXVsdCIsICJzY3JvbGx4IjogIjAiLCAidGhlbWVzX3BhbmVsIjogInd5c2l3eWciLCAic2VsZWN0ZWRfY29udGVudCI6ICIxNDg2MTIxNTkwIiwgInBhZ2UiOiAiZGVmYXV0Q0NNTCIsICJlZGl0ZWRfdXJsIjogImNwcy9wb3J0YWxfdGhlbWVzL2RlZmF1bHQvZGVmYXV0Q0NNTC9tYWluL3BvcnRhbF9ib3hfdHJlZXZpZXcifQ=="; __ac_name="Admin"; _ZopeId="19793239A2lhHQBd71U"; __cp="x%DA%CD%8E%CD%0A%021%0C%84%EB%CFEo%2A%BE%C3%5E%0A%DD%DDS_%C3%AB%A7R%07%09%B6%DB%D2%14%C4%B77%5Dp%C1%27%D0C%263%13%02_%B7VJ%D1J%E4%BA%11%E9v%22UFq%8B%3E3%EFe%3FSypv%1E%CC%87V%A7H%15%ACi%E2%EA%A6%D6n%5B%1B%24%1F%9B%F11hd%BA%21R%0A%E9N%98%EF%BD%B5%96%CFb%DC%E4%C2%8B%A1k%A1%08%16E%08%A8%EDs0%C6%E8%1Ee9a%06%BA%FC%04%E8%F4%01%1A%10%F1%0FD%BC%10%8D_DoC%A8%7D%81"; __ac="QWRtaW46IWFkbWluKiRkb2Muag%3D%3D"' 
SERVER_SOFTWARE 'Zope/(Zope 2.9.2, python 2.4.2, win32) ZServer/1.1 CPS/3.4' 
SCRIPT_NAME '' 
REQUEST_METHOD 'POST' 
PATH_INFO '/cps/workspaces/services/informatique/cpsdocument_create' 
SERVER_PROTOCOL 'HTTP/1.1' 
channel.creation_time 1162991435 
CONNECTION_TYPE 'Keep-Alive' 
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)' 
HTTP_REFERER 'http://srvdoc/cps/workspaces/services/informatique/cpsdocument_create_form?widget__Title=&type_name=File' 
SERVER_NAME 'srvdoc.CCML.local' 
REMOTE_ADDR '137.200.24.32' 
PATH_TRANSLATED '\\cps\\workspaces\\services\\informatique\\cpsdocument_create' 
SERVER_PORT '80' 
CONTENT_LENGTH '60208' 
HTTP_HOST 'srvdoc' 
HTTP_CACHE_CONTROL 'no-cache' 
HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*' 
GATEWAY_INTERFACE 'CGI/1.1' 
HTTP_ACCEPT_LANGUAGE 'fr' 
CONTENT_TYPE 'multipart/form-data; boundary=---------------------------7d6303253b00e2' 
HTTP_ACCEPT_ENCODING 'gzip, deflate'
 
 
 
 
 
Merci par avance.
 
Cordialement,
 
AM
 
CPS 3.4.2
Zope

_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.