{"action":"created","issue":{"url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/33","repository_url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator","labels_url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/33/comments","events_url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/33/events","html_url":"https://github.com/gutschilla/elixir-pdf-generator/issues/33","id":272478043,"number":33,"title":"elixir-pdf-generator fails due to Porcelain error when packaged in distillery using hot code upgrading","user":{"login":"samginn","id":10699568,"avatar_url":"https://avatars3.githubusercontent.com/u/10699568?v=4","gravatar_id":"","url":"https://api.github.com/users/samginn","html_url":"https://github.com/samginn","followers_url":"https://api.github.com/users/samginn/followers","following_url":"https://api.github.com/users/samginn/following{/other_user}","gists_url":"https://api.github.com/users/samginn/gists{/gist_id}","starred_url":"https://api.github.com/users/samginn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samginn/subscriptions","organizations_url":"https://api.github.com/users/samginn/orgs","repos_url":"https://api.github.com/users/samginn/repos","events_url":"https://api.github.com/users/samginn/events{/privacy}","received_events_url":"https://api.github.com/users/samginn/received_events","type":"User","site_admin":false},"labels":[{"id":132738987,"url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-09T08:32:14Z","updated_at":"2018-03-27T09:35:24Z","closed_at":null,"author_association":"NONE","body":"When I perform a hot code upgrade on a running server, the elixir-pdf-generator fails whenever it is called with the following error:\r\n\r\n```(Porcelain.UsageError) Looks like the :porcelain app is not running. Make sure you've added :porcelain to the list of applications in your mix.exs.```\r\n\r\nI've added :porcelain to mix.exs as well as added it to ```rel/config.exs``` under applications, but neither solve the problem. Manually restarting the server works just fine and PDFGenerator will work correctly without any porcelain errors. However, whenever I perform a hot code upgrade, it will generate this error."},"comment":{"url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/comments/376460283","html_url":"https://github.com/gutschilla/elixir-pdf-generator/issues/33#issuecomment-376460283","issue_url":"https://api.github.com/repos/gutschilla/elixir-pdf-generator/issues/33","id":376460283,"user":{"login":"gutschilla","id":1702431,"avatar_url":"https://avatars2.githubusercontent.com/u/1702431?v=4","gravatar_id":"","url":"https://api.github.com/users/gutschilla","html_url":"https://github.com/gutschilla","followers_url":"https://api.github.com/users/gutschilla/followers","following_url":"https://api.github.com/users/gutschilla/following{/other_user}","gists_url":"https://api.github.com/users/gutschilla/gists{/gist_id}","starred_url":"https://api.github.com/users/gutschilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gutschilla/subscriptions","organizations_url":"https://api.github.com/users/gutschilla/orgs","repos_url":"https://api.github.com/users/gutschilla/repos","events_url":"https://api.github.com/users/gutschilla/events{/privacy}","received_events_url":"https://api.github.com/users/gutschilla/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T09:35:24Z","updated_at":"2018-03-27T09:35:24Z","author_association":"OWNER","body":"Hmmm... For now I fear I will have to add a warning to the README indicating that hot code upgrades don't work with elixir-pdf-generator. "}}
{"actor":{"display_login":"gutschilla"}}