{"action":"created","issue":{"url":"https://api.github.com/repos/silk-framework/silk/issues/53","repository_url":"https://api.github.com/repos/silk-framework/silk","labels_url":"https://api.github.com/repos/silk-framework/silk/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/silk-framework/silk/issues/53/comments","events_url":"https://api.github.com/repos/silk-framework/silk/issues/53/events","html_url":"https://github.com/silk-framework/silk/issues/53","id":135888362,"number":53,"title":"Bad dataset handling for CSV files","user":{"login":"jplu","id":959590,"avatar_url":"https://avatars.githubusercontent.com/u/959590?v=3","gravatar_id":"","url":"https://api.github.com/users/jplu","html_url":"https://github.com/jplu","followers_url":"https://api.github.com/users/jplu/followers","following_url":"https://api.github.com/users/jplu/following{/other_user}","gists_url":"https://api.github.com/users/jplu/gists{/gist_id}","starred_url":"https://api.github.com/users/jplu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplu/subscriptions","organizations_url":"https://api.github.com/users/jplu/orgs","repos_url":"https://api.github.com/users/jplu/repos","events_url":"https://api.github.com/users/jplu/events{/privacy}","received_events_url":"https://api.github.com/users/jplu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T22:38:32Z","updated_at":"2016-02-24T13:15:51Z","closed_at":"2016-02-24T13:15:51Z","body":"Hello,\r\n\r\nIf you check this [screenshot](http://img4.hostingpics.net/pics/600007Capturedecran20160223a232313.png) you will be able to see that the blue dataset paths are in red on the schema, and the red dataset paths are in blue on the schema. As the colors are reversed Silk check the path in the wrong dataset (CSV file) and throws this exception:\r\n\r\n```\r\n[warn] o.s.r.a.G.Loading - Error loading resources\r\njava.lang.Exception: Property /Financial+Institution+Name not found in CSV\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:139) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:135) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.Iterator$class.foreach(Iterator.scala:742) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n[warn] o.s.r.a.G.Loading - Error loading resources\r\njava.lang.Exception: Property /LegalAddress_Region_2 not found in CSV\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:139) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:135) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.Iterator$class.foreach(Iterator.scala:742) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n[warn] o.s.r.a.G.Loading - Failed after 101ms: Property /LegalAddress_Region_2 not found in CSV\r\n[ERROR] [02/23/2016 23:04:57.723] [play-akka.actor.default-dispatcher-33] [TaskInvocation] Property /LegalAddress_Region_2 not found in CSV\r\njava.lang.Exception: Property /LegalAddress_Region_2 not found in CSV\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:139)\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:135)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)\r\n\tat scala.collection.Iterator$class.foreach(Iterator.scala:742)\r\n\tat scala.collection.AbstractIterator.foreach(Iterator.scala:1194)\r\n\tat scala.collection.IterableLike$class.foreach(IterableLike.scala:72)\r\n\tat scala.collection.AbstractIterable.foreach(Iterable.scala:54)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:245)\r\n\tat scala.collection.AbstractTraversable.map(Traversable.scala:104)\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource.retrieveEntities(CsvSource.scala:135)\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource.retrieve(CsvSource.scala:114)\r\n\tat org.silkframework.execution.Loader$LoadingThread.retrieveEntities(Loader.scala:79)\r\n\tat org.silkframework.execution.Loader$LoadingThread.run(Loader.scala:89)\r\n\r\n[error] a.d.TaskInvocation - Property /LegalAddress_Region_2 not found in CSV\r\njava.lang.Exception: Property /LegalAddress_Region_2 not found in CSV\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:139) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat org.silkframework.plugins.dataset.csv.CsvSource$$anonfun$6.apply(CsvSource.scala:135) ~[com.silk-framework.pluginscsv-2.7.0.jar:2.7.0]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.collection.Iterator$class.foreach(Iterator.scala:742) ~[org.scala-lang.scala-library-2.11.7.jar:na]\r\n```\r\n\r\nP.S: as you can also see, there is some graphical bugs.\r\n\r\nI'm using the 2.7.0 release.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/silk-framework/silk/issues/comments/188251221","html_url":"https://github.com/silk-framework/silk/issues/53#issuecomment-188251221","issue_url":"https://api.github.com/repos/silk-framework/silk/issues/53","id":188251221,"user":{"login":"jplu","id":959590,"avatar_url":"https://avatars.githubusercontent.com/u/959590?v=3","gravatar_id":"","url":"https://api.github.com/users/jplu","html_url":"https://github.com/jplu","followers_url":"https://api.github.com/users/jplu/followers","following_url":"https://api.github.com/users/jplu/following{/other_user}","gists_url":"https://api.github.com/users/jplu/gists{/gist_id}","starred_url":"https://api.github.com/users/jplu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplu/subscriptions","organizations_url":"https://api.github.com/users/jplu/orgs","repos_url":"https://api.github.com/users/jplu/repos","events_url":"https://api.github.com/users/jplu/events{/privacy}","received_events_url":"https://api.github.com/users/jplu/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T13:15:51Z","updated_at":"2016-02-24T13:15:51Z","body":"This seems to be fixed in this new version indeed.\r\n\r\nThanks!"}}