{"action":"created","issue":{"url":"https://api.github.com/repos/scalameter/scalameter/issues/98","labels_url":"https://api.github.com/repos/scalameter/scalameter/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/scalameter/scalameter/issues/98/comments","events_url":"https://api.github.com/repos/scalameter/scalameter/issues/98/events","html_url":"https://github.com/scalameter/scalameter/issues/98","id":68368856,"number":98,"title":"OfflineReport tries to access root directory","user":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-14T13:14:49Z","updated_at":"2015-05-30T16:32:03Z","closed_at":null,"body":"Running the following test in scalameter 0.6\r\n```scala\r\nobject Test extends PerformanceTest.OfflineReport {\r\n\r\n  val sizes = Gen.range(\"size\")(10, 100, 10)\r\n\r\n  performance of \"Test1\" in {\r\n    measure method \"M1\" in {\r\n      using(sizes) in {\r\n        r ⇒ (1 to r).toList\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\nwith the sbt command\r\n```\r\nsbt project/test:runMain benchmark.Test\r\n```\r\n\r\nresults in\r\n```\r\nPushing to history with info: Map()\r\nNew history info: Map(time-indices -> ArrayBuffer(1))\r\n[error] (run-main-0) java.io.FileNotFoundException: /Test1.M1.Test-0.dat (Permission denied)\r\njava.io.FileNotFoundException: /Test1.M1.Test-0.dat (Permission denied)\r\n\tat java.io.FileOutputStream.open(Native Method)\r\n\tat java.io.FileOutputStream.<init>(FileOutputStream.java:221)\r\n\tat java.io.FileOutputStream.<init>(FileOutputStream.java:171)\r\n\tat org.scalameter.persistence.SerializationPersistor.saveHistory(SerializationPersistor.scala:40)\r\n\tat org.scalameter.persistence.SerializationPersistor.save(SerializationPersistor.scala:60)\r\n\tat org.scalameter.reporting.RegressionReporter$$anonfun$6$$anonfun$7.apply(RegressionReporter.scala:51)\r\n\tat org.scalameter.reporting.RegressionReporter$$anonfun$6$$anonfun$7.apply(RegressionReporter.scala:44)\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.immutable.List.foreach(List.scala:381)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:245)\r\n\tat scala.collection.immutable.List.map(List.scala:285)\r\n\tat org.scalameter.reporting.RegressionReporter$$anonfun$6.apply(RegressionReporter.scala:44)\r\n\tat org.scalameter.reporting.RegressionReporter$$anonfun$6.apply(RegressionReporter.scala:39)\r\n\tat scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)\r\n\tat org.scalameter.utils.Tree$$anon$1.org$scalameter$utils$Tree$$anon$$recurse(Tree.scala:30)\r\n\tat org.scalameter.utils.Tree$$anon$1$$anonfun$org$scalameter$utils$Tree$$anon$$recurse$1.apply(Tree.scala:31)\r\n\tat org.scalameter.utils.Tree$$anon$1$$anonfun$org$scalameter$utils$Tree$$anon$$recurse$1.apply(Tree.scala:31)\r\n\tat scala.collection.immutable.List.foreach(List.scala:381)\r\n\tat org.scalameter.utils.Tree$$anon$1.org$scalameter$utils$Tree$$anon$$recurse(Tree.scala:31)\r\n\tat org.scalameter.utils.Tree$$anon$1$$anonfun$org$scalameter$utils$Tree$$anon$$recurse$1.apply(Tree.scala:31)\r\n\tat org.scalameter.utils.Tree$$anon$1$$anonfun$org$scalameter$utils$Tree$$anon$$recurse$1.apply(Tree.scala:31)\r\n\tat scala.collection.immutable.List.foreach(List.scala:381)\r\n\tat org.scalameter.utils.Tree$$anon$1.org$scalameter$utils$Tree$$anon$$recurse(Tree.scala:31)\r\n\tat org.scalameter.utils.Tree$$anon$1.foreach(Tree.scala:34)\r\n\tat scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)\r\n\tat org.scalameter.reporting.RegressionReporter.report(RegressionReporter.scala:39)\r\n\tat org.scalameter.Reporter$Composite$$anonfun$1.apply(Reporter.scala:25)\r\n\tat org.scalameter.Reporter$Composite$$anonfun$1.apply(Reporter.scala:25)\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.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)\r\n\tat scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)\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.scalameter.Reporter$Composite.report(Reporter.scala:25)\r\n\tat org.scalameter.PerformanceTest$Initialization$class.executeTests(PerformanceTest.scala:48)\r\n\tat org.scalameter.PerformanceTest.executeTests(PerformanceTest.scala:10)\r\n\tat org.scalameter.PerformanceTest$$anonfun$1.apply$mcZ$sp(PerformanceTest.scala:15)\r\n\tat org.scalameter.PerformanceTest$$anonfun$1.apply(PerformanceTest.scala:15)\r\n\tat org.scalameter.PerformanceTest$$anonfun$1.apply(PerformanceTest.scala:15)\r\n\tat scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)\r\n\tat org.scalameter.PerformanceTest.main(PerformanceTest.scala:14)\r\n\tat benchmark.Test.main(Test.scala)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/scalameter/scalameter/issues/comments/107059759","html_url":"https://github.com/scalameter/scalameter/issues/98#issuecomment-107059759","issue_url":"https://api.github.com/repos/scalameter/scalameter/issues/98","id":107059759,"user":{"login":"axel22","id":151774,"avatar_url":"https://avatars.githubusercontent.com/u/151774?v=3","gravatar_id":"","url":"https://api.github.com/users/axel22","html_url":"https://github.com/axel22","followers_url":"https://api.github.com/users/axel22/followers","following_url":"https://api.github.com/users/axel22/following{/other_user}","gists_url":"https://api.github.com/users/axel22/gists{/gist_id}","starred_url":"https://api.github.com/users/axel22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel22/subscriptions","organizations_url":"https://api.github.com/users/axel22/orgs","repos_url":"https://api.github.com/users/axel22/repos","events_url":"https://api.github.com/users/axel22/events{/privacy}","received_events_url":"https://api.github.com/users/axel22/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T16:32:03Z","updated_at":"2015-05-30T16:32:03Z","body":"Cool!\r\nI would just release it along with the next major version (0.7) instead.\r\n\r\nBtw, after a recent change, the default benchmark directory should be `target/benchmarks`."}}