{"action":"created","issue":{"url":"https://api.github.com/repos/nanoc/nanoc/issues/1338","repository_url":"https://api.github.com/repos/nanoc/nanoc","labels_url":"https://api.github.com/repos/nanoc/nanoc/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/nanoc/nanoc/issues/1338/comments","events_url":"https://api.github.com/repos/nanoc/nanoc/issues/1338/events","html_url":"https://github.com/nanoc/nanoc/issues/1338","id":316753275,"node_id":"MDU6SXNzdWUzMTY3NTMyNzU=","number":1338,"title":"Nanoc (almost) always crashing at build","user":{"login":"Doshirae","id":19783971,"node_id":"MDQ6VXNlcjE5NzgzOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/19783971?v=4","gravatar_id":"","url":"https://api.github.com/users/Doshirae","html_url":"https://github.com/Doshirae","followers_url":"https://api.github.com/users/Doshirae/followers","following_url":"https://api.github.com/users/Doshirae/following{/other_user}","gists_url":"https://api.github.com/users/Doshirae/gists{/gist_id}","starred_url":"https://api.github.com/users/Doshirae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doshirae/subscriptions","organizations_url":"https://api.github.com/users/Doshirae/orgs","repos_url":"https://api.github.com/users/Doshirae/repos","events_url":"https://api.github.com/users/Doshirae/events{/privacy}","received_events_url":"https://api.github.com/users/Doshirae/received_events","type":"User","site_admin":false},"labels":[{"id":13125410,"node_id":"MDU6TGFiZWwxMzEyNTQxMA==","url":"https://api.github.com/repos/nanoc/nanoc/labels/type:bug%20:bug:","name":"type:bug :bug:","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2018-04-23T10:31:13Z","updated_at":"2018-09-20T17:52:18Z","closed_at":"2018-09-15T15:21:24Z","author_association":"NONE","body":"Well, the title says it all : when I happen to build my nanoc site, I have to build it several times before it eventually works\r\n\r\n### Steps to reproduce\r\n\r\nReally I don't know what is causing it, so I can't help on this part…\r\n\r\n### Expected behavior\r\n\r\nI expect the site to build properly\r\n\r\n### Actual behavior\r\n\r\nFirst build attempt : \r\n`Errno::ENOENT: No such file or directory @ rb_sysopen - output/2018/04/le-post-rock/index.html`\r\n\r\nSecond build attempt : \r\n`Errno::ENOENT: No such file or directory @ rb_sysopen - output/2018/04/le-post-rock/index.html`\r\n\r\nThird build attempt : \r\n`Errno::ENOENT: No such file or directory @ rb_sysopen - output/2018/01/le-blog-est-lisible-sur-mobile/index.html`\r\n\r\nFourth build attempt : \r\nNow it builds \r\n\r\n\r\n### Details\r\n\r\nObviously, all the files that nanoc thinks are missing are here on my filesystem\r\n\r\n\r\nI also sometimes get errors like `Errno::ENOENT: No such file or directory @ rb_file_s_link - (/tmp/nanoc20180423-21843-10r5xok/text_items/0, output/2018/04/le-post-rock/index.html)` with [this](https://p.patate-douce.me/1b45a2) crashlog\r\n\r\nAnd sometimes, it just builds normally\r\n\r\n### Crash log\r\n\r\nSorry, I'm using my own paste thingy, because Gist just deletes the newlines of the crash log, and I don't have the time or the patience to add them back\r\n\r\nFirst crash log :      https://p.patate-douce.me/4c93ff\r\nSecond crash log : https://p.patate-douce.me/e40cd0\r\nThird crash log :     https://p.patate-douce.me/045d3f"},"comment":{"url":"https://api.github.com/repos/nanoc/nanoc/issues/comments/423275005","html_url":"https://github.com/nanoc/nanoc/issues/1338#issuecomment-423275005","issue_url":"https://api.github.com/repos/nanoc/nanoc/issues/1338","id":423275005,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzI3NTAwNQ==","user":{"login":"ddfreyne","id":6269,"node_id":"MDQ6VXNlcjYyNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6269?v=4","gravatar_id":"","url":"https://api.github.com/users/ddfreyne","html_url":"https://github.com/ddfreyne","followers_url":"https://api.github.com/users/ddfreyne/followers","following_url":"https://api.github.com/users/ddfreyne/following{/other_user}","gists_url":"https://api.github.com/users/ddfreyne/gists{/gist_id}","starred_url":"https://api.github.com/users/ddfreyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddfreyne/subscriptions","organizations_url":"https://api.github.com/users/ddfreyne/orgs","repos_url":"https://api.github.com/users/ddfreyne/repos","events_url":"https://api.github.com/users/ddfreyne/events{/privacy}","received_events_url":"https://api.github.com/users/ddfreyne/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T17:52:18Z","updated_at":"2018-09-20T17:52:18Z","author_association":"MEMBER","body":"@Fjan Good follow-up!\r\n\r\nThe consensus on global mutable state is that it’s bad, but global mutable state creeps up in non-obvious ways. Global mutable state isn’t just global variables (`$foo` in Ruby) — there’s more:\r\n\r\n* the current working directory\r\n* the environment\r\n* the filesystem\r\n* etc\r\n\r\nI was aware that depending on the current working directory is problematic, but it slipped my mind and ended up not fixing the problem."}}
{"actor":{"display_login":"ddfreyne"}}