<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with the bulk document importer in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-the-bulk-document-importer/m-p/314476#M1477</link>
    <description>&lt;P&gt;Bonjour&lt;/P&gt;
&lt;P&gt;J'ai installé nuxeo-platform-importer-1.3.0 avec succès.&lt;/P&gt;
&lt;P&gt;J'ai testé avec succès en utilisant le randomImporter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/randomImporter/run?targetPath=/&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Puis j'ai essayé d'importer un petit dossier contenant l'arborescence suivante:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; Répertoire de C:\tmp\A
               B
        12&amp;nbsp;686 CCC.docx
       183&amp;nbsp;802 OOO.pdf

 Répertoire de C:\tmp\A\B
        12&amp;nbsp;686 CCC.docx
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;avec la commande:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/fileImporter/run?targetPath=/&amp;amp;inputPath=/tmp/A:&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1&amp;amp;folderishType=Folder&amp;amp;leafType=File"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;mais aucun résultat&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;* Adding handle: conn: 0x206620
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x206620) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8081 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 8081 (#0)
* Server auth using Basic with user 'Administrator'
&amp;gt; GET /nuxeo/site/fileImporter/run?targetPath=/&amp;amp;inputPath=tmp/A:&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1&amp;amp;folderishType=Folder&amp;amp;
leafType=File HTTP/1.1
&amp;gt; Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y
&amp;gt; User-Agent: curl/7.33.0
&amp;gt; Host: localhost:8081
&amp;gt; Accept: */*
&amp;gt;
&amp;lt; HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
&amp;lt; Server: Apache-Coyote/1.1
&amp;lt; X-UA-Compatible: IE=Edge,chrome=1
&amp;lt; Content-Type: text/plain;charset=UTF-8
&amp;lt; Transfer-Encoding: chunked
&amp;lt; Date: Tue, 25 Feb 2014 09:08:17 GMT
&amp;lt;
Started* Connection #0 to host localhost left intact
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;voici le log file obtenu par la commande:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/fileImporter/log"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DEBUG : Filter with blockSyncPostCommitProcessing set false, blockAsyncProcessing set false, blockMimeTypeDetection set
false and blockNotifications set true, was added on the importer with the hash code 565730774. The source node name is A
:
DEBUG : Running filter with blockSyncPostCommitProcessing set false, blockAsyncProcessing set false, blockMimeTypeDetect
ion set false and blockNotifications set true, on the importer with the hash code 565730774. The source node name is A:
DEBUG : Unable to create leaf document for C:\tmp\A::org.nuxeo.ecm.core.api.ClientException: Failed to create document:
A:org.nuxeo.ecm.core.api.DocumentException: java.io.FileNotFoundException: C:\tmp\A: (La syntaxe du nom de fichier, de r
+®pertoire ou de volume est incorrecte)
INFO : All Threads terminated
INFO : 0 docs created
INFO : 0.0 docs/s
INFO : Nuxeo-Importer-1-T0 --&amp;gt; 0
INFO : Simon Stopwatch: [org.nuxeo.ecm.platform.importer.create_leaf INHERIT] total 61.1 ms, counter 5, max 34.9 ms, min
 5.52 ms, mean 12.2 ms
* Connection #0 to host localhost left intact
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;enfin, voici le log du serveur nuxeo:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Caused by: org.nuxeo.ecm.platform.mimetype.MimetypeDetectionException: C:\tmp\A: (La syntaxe du nom de fichier, de rÃ©pertoire ou de volume est incorrecte)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromBlob(MimetypeRegistryService.java:356)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromFilenameAndBlobWithDefault(MimetypeRegistryService.java:414)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.updateMimetype(MimetypeRegistryService.java:435)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.updateMimetype(MimetypeRegistryService.java:442)
	at org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater.updateBlobProperty(MimetypeIconUpdater.java:158)
	at org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater.handleEvent(MimetypeIconUpdater.java:109)
	... 17 more
Caused by: java.io.FileNotFoundException: C:\tmp\A: (La syntaxe du nom de fichier, de rÃ©pertoire ou de volume est incorrecte)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:146)
	at org.nuxeo.ecm.core.api.impl.blob.FileBlob.getStream(FileBlob.java:97)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromBlob(MimetypeRegistryService.java:345)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Qui peut m'aider?&lt;/P&gt;
&lt;P&gt;Merci d'avance
Christian Arnault&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2014 10:10:07 GMT</pubDate>
    <dc:creator>Arnault_</dc:creator>
    <dc:date>2014-02-25T10:10:07Z</dc:date>
    <item>
      <title>Problem with the bulk document importer</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-the-bulk-document-importer/m-p/314476#M1477</link>
      <description>&lt;P&gt;Bonjour&lt;/P&gt;
&lt;P&gt;J'ai installé nuxeo-platform-importer-1.3.0 avec succès.&lt;/P&gt;
&lt;P&gt;J'ai testé avec succès en utilisant le randomImporter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/randomImporter/run?targetPath=/&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Puis j'ai essayé d'importer un petit dossier contenant l'arborescence suivante:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; Répertoire de C:\tmp\A
               B
        12&amp;nbsp;686 CCC.docx
       183&amp;nbsp;802 OOO.pdf

 Répertoire de C:\tmp\A\B
        12&amp;nbsp;686 CCC.docx
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;avec la commande:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/fileImporter/run?targetPath=/&amp;amp;inputPath=/tmp/A:&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1&amp;amp;folderishType=Folder&amp;amp;leafType=File"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;mais aucun résultat&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;* Adding handle: conn: 0x206620
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x206620) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8081 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 8081 (#0)
* Server auth using Basic with user 'Administrator'
&amp;gt; GET /nuxeo/site/fileImporter/run?targetPath=/&amp;amp;inputPath=tmp/A:&amp;amp;batchSize=1&amp;amp;nbNodes=3&amp;amp;nbThreads=1&amp;amp;folderishType=Folder&amp;amp;
leafType=File HTTP/1.1
&amp;gt; Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y
&amp;gt; User-Agent: curl/7.33.0
&amp;gt; Host: localhost:8081
&amp;gt; Accept: */*
&amp;gt;
&amp;lt; HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
&amp;lt; Server: Apache-Coyote/1.1
&amp;lt; X-UA-Compatible: IE=Edge,chrome=1
&amp;lt; Content-Type: text/plain;charset=UTF-8
&amp;lt; Transfer-Encoding: chunked
&amp;lt; Date: Tue, 25 Feb 2014 09:08:17 GMT
&amp;lt;
Started* Connection #0 to host localhost left intact
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;voici le log file obtenu par la commande:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -v --basic -u "Administrator:Administrator" "http://localhost:8081/nuxeo/site/fileImporter/log"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DEBUG : Filter with blockSyncPostCommitProcessing set false, blockAsyncProcessing set false, blockMimeTypeDetection set
false and blockNotifications set true, was added on the importer with the hash code 565730774. The source node name is A
:
DEBUG : Running filter with blockSyncPostCommitProcessing set false, blockAsyncProcessing set false, blockMimeTypeDetect
ion set false and blockNotifications set true, on the importer with the hash code 565730774. The source node name is A:
DEBUG : Unable to create leaf document for C:\tmp\A::org.nuxeo.ecm.core.api.ClientException: Failed to create document:
A:org.nuxeo.ecm.core.api.DocumentException: java.io.FileNotFoundException: C:\tmp\A: (La syntaxe du nom de fichier, de r
+®pertoire ou de volume est incorrecte)
INFO : All Threads terminated
INFO : 0 docs created
INFO : 0.0 docs/s
INFO : Nuxeo-Importer-1-T0 --&amp;gt; 0
INFO : Simon Stopwatch: [org.nuxeo.ecm.platform.importer.create_leaf INHERIT] total 61.1 ms, counter 5, max 34.9 ms, min
 5.52 ms, mean 12.2 ms
* Connection #0 to host localhost left intact
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;enfin, voici le log du serveur nuxeo:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Caused by: org.nuxeo.ecm.platform.mimetype.MimetypeDetectionException: C:\tmp\A: (La syntaxe du nom de fichier, de rÃ©pertoire ou de volume est incorrecte)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromBlob(MimetypeRegistryService.java:356)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromFilenameAndBlobWithDefault(MimetypeRegistryService.java:414)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.updateMimetype(MimetypeRegistryService.java:435)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.updateMimetype(MimetypeRegistryService.java:442)
	at org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater.updateBlobProperty(MimetypeIconUpdater.java:158)
	at org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater.handleEvent(MimetypeIconUpdater.java:109)
	... 17 more
Caused by: java.io.FileNotFoundException: C:\tmp\A: (La syntaxe du nom de fichier, de rÃ©pertoire ou de volume est incorrecte)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:146)
	at org.nuxeo.ecm.core.api.impl.blob.FileBlob.getStream(FileBlob.java:97)
	at org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.getMimetypeFromBlob(MimetypeRegistryService.java:345)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Qui peut m'aider?&lt;/P&gt;
&lt;P&gt;Merci d'avance
Christian Arnault&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2014 10:10:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-with-the-bulk-document-importer/m-p/314476#M1477</guid>
      <dc:creator>Arnault_</dc:creator>
      <dc:date>2014-02-25T10:10:07Z</dc:date>
    </item>
  </channel>
</rss>

