{"action":"created","issue":{"url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/10","repository_url":"https://api.github.com/repos/jipolanco/WriteVTK.jl","labels_url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/10/comments","events_url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/10/events","html_url":"https://github.com/jipolanco/WriteVTK.jl/issues/10","id":146779317,"number":10,"title":"vtk_grid() hangs on Windows","user":{"login":"juliohm","id":3345261,"avatar_url":"https://avatars.githubusercontent.com/u/3345261?v=3","gravatar_id":"","url":"https://api.github.com/users/juliohm","html_url":"https://github.com/juliohm","followers_url":"https://api.github.com/users/juliohm/followers","following_url":"https://api.github.com/users/juliohm/following{/other_user}","gists_url":"https://api.github.com/users/juliohm/gists{/gist_id}","starred_url":"https://api.github.com/users/juliohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliohm/subscriptions","organizations_url":"https://api.github.com/users/juliohm/orgs","repos_url":"https://api.github.com/users/juliohm/repos","events_url":"https://api.github.com/users/juliohm/events{/privacy}","received_events_url":"https://api.github.com/users/juliohm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T00:32:17Z","updated_at":"2016-04-08T00:56:16Z","closed_at":null,"body":"Could you please confirm the following code hangs on Windows? It works just fine on Linux.\r\n\r\n```julia\r\nusing GeoStatsImages\r\nusing WriteVTK\r\n\r\nfunction writevtk(filename, grid)\r\n    nx, ny, nz = size(grid)\r\n    vtkfile = vtk_grid(filename, Float64[1:nx;], Float64[1:ny;], Float64[1:nz;], compress=false)\r\n    vtk_point_data(vtkfile, grid, \"facies\")\r\n    vtk_save(vtkfile)\r\nend\r\n\r\nfunction thickness(basin)\r\n    AUX = repeat(sum(!isnan(basin),3), inner=[1,1,size(basin,3)])\r\n    AUX = AUX / maximum(AUX)\r\n    AUX[isnan(basin)] = NaN\r\n\r\n    AUX\r\nend\r\n\r\nGRID = thickness(training_image(\"Flumy\"))\r\n\r\nwritevtk(\"AUX\", GRID)\r\n```"},"comment":{"url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/comments/207153259","html_url":"https://github.com/jipolanco/WriteVTK.jl/issues/10#issuecomment-207153259","issue_url":"https://api.github.com/repos/jipolanco/WriteVTK.jl/issues/10","id":207153259,"user":{"login":"juliohm","id":3345261,"avatar_url":"https://avatars.githubusercontent.com/u/3345261?v=3","gravatar_id":"","url":"https://api.github.com/users/juliohm","html_url":"https://github.com/juliohm","followers_url":"https://api.github.com/users/juliohm/followers","following_url":"https://api.github.com/users/juliohm/following{/other_user}","gists_url":"https://api.github.com/users/juliohm/gists{/gist_id}","starred_url":"https://api.github.com/users/juliohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliohm/subscriptions","organizations_url":"https://api.github.com/users/juliohm/orgs","repos_url":"https://api.github.com/users/juliohm/repos","events_url":"https://api.github.com/users/juliohm/events{/privacy}","received_events_url":"https://api.github.com/users/juliohm/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T00:56:16Z","updated_at":"2016-04-08T00:56:16Z","body":"The issue is the filename, whenever I set it to `AUX`, the code hangs on Windows."}}