{"action":"created","issue":{"url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/13","repository_url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules","labels_url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/13/comments","events_url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/13/events","html_url":"https://github.com/korpling/pepperModules-PAULAModules/issues/13","id":174590333,"number":13,"title":"Conversion of merged corpus to PAULA fails","user":{"login":"amir-zeldes","id":2188635,"avatar_url":"https://avatars.githubusercontent.com/u/2188635?v=3","gravatar_id":"","url":"https://api.github.com/users/amir-zeldes","html_url":"https://github.com/amir-zeldes","followers_url":"https://api.github.com/users/amir-zeldes/followers","following_url":"https://api.github.com/users/amir-zeldes/following{/other_user}","gists_url":"https://api.github.com/users/amir-zeldes/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-zeldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-zeldes/subscriptions","organizations_url":"https://api.github.com/users/amir-zeldes/orgs","repos_url":"https://api.github.com/users/amir-zeldes/repos","events_url":"https://api.github.com/users/amir-zeldes/events{/privacy}","received_events_url":"https://api.github.com/users/amir-zeldes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T18:15:29Z","updated_at":"2016-09-01T18:23:10Z","closed_at":null,"body":"I have the same documents in two formats: TreeTagger and conll. Both formats convert correctly to PAULA individually. However, using both sources and the merger module, I get the following error, which looks like the output directory cannot be created (although in fact it is created and remains empty):\r\n\r\n```\r\n+----------------------------------- step 1 -----------------------------------+\r\n|importer:      CoNLLImporter                                                  |\r\n|path:          file:/C:/Pepper4_new/corpora/_sandbox/dep/GUM                  |\r\n|corpus index:  0                                                              |\r\n|properties:                                                                   |\r\n|               conll.SLEMMA:            LEMMA                                 |\r\n|               conll.SPOS:              POSTAG                                |\r\n|               conll.considerProjectivity:true                                  |\r\n|               conll.projectiveMode:    TYPE                                  |\r\n|               conll.splitFeatures:     true                                  |\r\n|               pepper.after.addSLayer:  dep                                   |\r\n|               pepper.after.removeAnnos:cat                                   |\r\n|               pepper.after.renameAnnos:deprel:=func                          |\r\n|               pepper.after.reportCorpusGraph:false                                 |\r\n|               pepper.after.tokenize:   false                                 |\r\n|                                                                              |\r\n+----------------------------------- step 2 -----------------------------------+\r\n|importer:      TreetaggerImporter                                             |\r\n|path:          file:/C:/Pepper4_new/corpora/_sandbox/xml/GUM                  |\r\n|corpus index:  1                                                              |\r\n|properties:                                                                   |\r\n|               pepper.after.addSLayer:  tei                                   |\r\n|               pepper.after.reportCorpusGraph:false                                 |\r\n|               pepper.after.tokenize:   false                                 |\r\n|               treetagger.input.annotateAllSpansWithSpanName:true                                  |\r\n|               treetagger.input.annotateUnannotatedSpans:true                                  |\r\n|               treetagger.input.metaTag:text                                  |\r\n|               treetagger.input.separatorAfterToken:                                      |\r\n|                                                                              |\r\n+----------------------------------- step 3 -----------------------------------+\r\n|manipulator:   Merger                                                         |\r\n|path:          null                                                           |\r\n|properties:                                                                   |\r\n|               copyNodes:               true                                  |\r\n|               escapeMapping:           \" \": \"\", \"     \": \"\", \"        \": \"\", \"\r\n\": \"\", \"├ñ\": \"ae\", \"├╢\": \"oe\", \"├╝\": \"ue\", \"├ƒ\": \"ss\", \"├ä\": \"Ae\", \"├û\": \"Oe\", \"├£\": \"Ue\", |\r\n|               firstAsBase:             true                                  |\r\n|               pepper.after.reportCorpusGraph:false                                 |\r\n|               pepper.after.tokenize:   false                                 |\r\n|               punctuations:            '.',',',':',';','!','?','(',')','{','}','<','>'|\r\n|                                                                              |\r\n+----------------------------------- step 4 -----------------------------------+\r\n|exporter:      PAULAExporter                                                  |\r\n|path:          file:/C:/Pepper4_new/corpora/_sandbox/_out                     |\r\n|properties:                                                                   |\r\n|               emptyNamespace:          no_layer                              |\r\n|               humanReadable:           true                                  |\r\n|               pepper.after.reportCorpusGraph:false                                 |\r\n|               pepper.after.tokenize:   false                                 |\r\n|                                                                              |\r\n+------------------------------------------------------------------------------+\r\n\r\nusing meta tag 'text'\r\nusing input file encoding 'UTF-8'\r\nCONVERSION ENDED WITH ERRORS, REQUIRED TIME: 00:00:01.016 s\r\nCannot create directory C:\\Pepper4_new\\corpora\\_sandbox\\_out\\GUM (PepperModuleException)\r\nfull stack trace:\r\norg.corpus_tools.pepper.modules.exceptions.PepperModuleException: Cannot create directory C:\\Pepper4_new\\corpora\\_sandbox\\_out\\GUM\r\n        at org.corpus_tools.peppermodules.paula.PAULAExporter.mapCorpusStructure(PAULAExporter.java:108)\r\n        at org.corpus_tools.peppermodules.paula.PAULAExporter.exportCorpusStructure(PAULAExporter.java:71)\r\n        at org.corpus_tools.pepper.impl.PepperExporterImpl.start(PepperExporterImpl.java:119)\r\n        at org.corpus_tools.pepper.core.ModuleControllerImpl$2.run(ModuleControllerImpl.java:272)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n        at java.util.concurrent.FutureTask.run(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        at java.lang.Thread.run(Unknown Source)\r\n```\r\n\r\nHere is my pepperparams (the data can be found in the GUM repo, I'm using the 'ants' document from the folders dep/ (conll format) and xml/ (tt format, I renamed the files to .tt). The OS is Win10 64. Each of the import conversions runs fine if I comment out the other, as well as the merging module.\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<pepper>\r\n\t<importer name=\"CoNLLImporter\" path=\"file:/C:/Pepper4_new/corpora/_sandbox/dep/GUM/\">\r\n\t\t<customization>\r\n\t\t\t<property key=\"pepper.after.addSLayer\">dep</property>\r\n\t\t\t<property key=\"pepper.after.removeAnnos\">cat</property>\r\n\t\t\t<property key=\"pepper.after.renameAnnos\">deprel:=func</property>\r\n\t\t</customization>\r\n\t</importer>\r\n\t<importer name=\"TreetaggerImporter\" path=\"file:/C:/Pepper4_new/corpora/_sandbox/xml/GUM/\">\r\n\t\t<customization>\r\n\t\t\t<property key=\"treetagger.input.metaTag\">text</property>\r\n\t\t\t<property key=\"treetagger.input.annotateAllSpansWithSpanName\">true</property>\r\n\t\t\t<property key=\"treetagger.input.annotateUnannotatedSpans\">true</property>\r\n\t\t\t<property key=\"pepper.after.addSLayer\">tei</property>\r\n\t\t</customization>\r\n\t</importer>\r\n\t<manipulator name=\"Merger\">\r\n\t\t<property key=\"copyNodes\">true</property>\r\n\t\t<property key=\"firstAsBase\">true</property>\r\n\t</manipulator>\r\n\t<exporter name=\"PAULAExporter\" path=\"file:/C:/Pepper4_new/corpora/_sandbox/_out\">\r\n\t</exporter>\r\n</pepper>\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/comments/244167301","html_url":"https://github.com/korpling/pepperModules-PAULAModules/issues/13#issuecomment-244167301","issue_url":"https://api.github.com/repos/korpling/pepperModules-PAULAModules/issues/13","id":244167301,"user":{"login":"amir-zeldes","id":2188635,"avatar_url":"https://avatars.githubusercontent.com/u/2188635?v=3","gravatar_id":"","url":"https://api.github.com/users/amir-zeldes","html_url":"https://github.com/amir-zeldes","followers_url":"https://api.github.com/users/amir-zeldes/followers","following_url":"https://api.github.com/users/amir-zeldes/following{/other_user}","gists_url":"https://api.github.com/users/amir-zeldes/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-zeldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-zeldes/subscriptions","organizations_url":"https://api.github.com/users/amir-zeldes/orgs","repos_url":"https://api.github.com/users/amir-zeldes/repos","events_url":"https://api.github.com/users/amir-zeldes/events{/privacy}","received_events_url":"https://api.github.com/users/amir-zeldes/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T18:23:10Z","updated_at":"2016-09-01T18:23:10Z","body":"I was able to reproduce this on RHEL, so it doesn't look like a Windows problem."}}
{"actor":{"display_login":"amir-zeldes"}}