{"action":"created","issue":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/94","labels_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/94/comments","events_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/94/events","html_url":"https://github.com/grzegorzmazur/migration_test/issues/94","id":97000457,"number":94,"title":"ToFile() failure [sf#94]","user":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/milestones/3","html_url":"https://github.com/grzegorzmazur/migration_test/milestones/1.4","labels_url":"https://api.github.com/repos/grzegorzmazur/migration_test/milestones/3/labels","id":1223592,"number":3,"title":"1.4","description":null,"creator":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-07-24T08:15:59Z","updated_at":"2015-07-24T08:21:51Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-24T08:21:47Z","updated_at":"2015-07-24T08:21:55Z","closed_at":"2015-07-24T08:21:51Z","body":"**Reported by qwert2003 on 2015-07-11 00:52 UTC**\n**steps to reproduce:**\r\n    In>  ToFile(\"out\") Echo(\"Result:\")\r\n\r\n**expected result:** file containing \"Result:\"\r\n    > cat out\r\n    Result:\r\n    >\r\n\r\n**actual result:**\r\n\r\n*Java-Yacas:* error message, no file written\r\n    In> ToFile(\"out\") Echo(\"Result:\")\r\n    net.sf.yacas.YacasException: In function \"ToFile\" : generic error\r\n    Out>\r\n\r\n*C-Yacas:* empty file written\r\n    In>  ToFile(\"out\") Echo(\"Result:\")\r\n    Out> Echo(\"Result:\");\r\n    In> quit\r\n    Quitting...\r\n    > ls\r\n    out\r\n    > cat out\r\n    > \r\n\r\n**note**\r\nToFile() did work in C-Yacas 1.3.6 and (at least) Java-Yacas 1.3.5"},"comment":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/comments/124433023","html_url":"https://github.com/grzegorzmazur/migration_test/issues/94#issuecomment-124433023","issue_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/94","id":124433023,"user":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T08:21:55Z","updated_at":"2015-07-24T08:21:55Z","body":"**Commented by qwert2003 on 2015-07-11 22:58 UTC**\nThanks for the ToFile() fix in JavaYacas.\r\n\r\nIn CYacas with current trunk I still have the issue described (empty file). I did a clean svn co, ./makemake, ./configure --prefix=...., make, make install.\r\n\r\nPossibly the reason is that *make install* does not copy the file *packages.ys*. When I copy the file from the source scripts directory to PREFIX/share/yacas/scripts the issue disappears (the file out contains \"Result:\". Can you reproduce this?\r\nAs a related note, ./yacas --scripts mypath/scripts fails: terminate called after throwing an instance of 'std::bad_alloc'\r\n"}}