{"action":"created","issue":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/1051","labels_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1051/comments","events_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1051/events","html_url":"https://github.com/foosel/OctoPrint/pull/1051","id":105342268,"number":1051,"title":"Fix checks with os.path.realpath() for systems with symlinked paths","user":{"login":"markbastiaans","id":7204312,"avatar_url":"https://avatars.githubusercontent.com/u/7204312?v=3","gravatar_id":"","url":"https://api.github.com/users/markbastiaans","html_url":"https://github.com/markbastiaans","followers_url":"https://api.github.com/users/markbastiaans/followers","following_url":"https://api.github.com/users/markbastiaans/following{/other_user}","gists_url":"https://api.github.com/users/markbastiaans/gists{/gist_id}","starred_url":"https://api.github.com/users/markbastiaans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbastiaans/subscriptions","organizations_url":"https://api.github.com/users/markbastiaans/orgs","repos_url":"https://api.github.com/users/markbastiaans/repos","events_url":"https://api.github.com/users/markbastiaans/events{/privacy}","received_events_url":"https://api.github.com/users/markbastiaans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-08T09:48:37Z","updated_at":"2015-12-07T07:41:45Z","closed_at":"2015-09-08T11:16:39Z","pull_request":{"url":"https://api.github.com/repos/foosel/OctoPrint/pulls/1051","html_url":"https://github.com/foosel/OctoPrint/pull/1051","diff_url":"https://github.com/foosel/OctoPrint/pull/1051.diff","patch_url":"https://github.com/foosel/OctoPrint/pull/1051.patch"},"body":"I'm working on getting a recent version of Octoprint (1.2.6) packaged for Synology NASes in [SynoCommunity/spksrc](https://github.com/SynoCommunity/spksrc). I've gotten it to work after some tinkering, but it needed two trivial fixes to work with Synology's habit of putting packages in a symlinked location. Specifically, two checks using `os.path.realpath()` fail on Synology's OS while they shouldn't be.\r\n\r\nI've not filed a bug report for this yet, let me know if I should. I've tested the fix on Synology only but I think the fix is so trivial that it won't will negatively impact other platforms."},"comment":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/comments/162438707","html_url":"https://github.com/foosel/OctoPrint/pull/1051#issuecomment-162438707","issue_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1051","id":162438707,"user":{"login":"markbastiaans","id":7204312,"avatar_url":"https://avatars.githubusercontent.com/u/7204312?v=3","gravatar_id":"","url":"https://api.github.com/users/markbastiaans","html_url":"https://github.com/markbastiaans","followers_url":"https://api.github.com/users/markbastiaans/followers","following_url":"https://api.github.com/users/markbastiaans/following{/other_user}","gists_url":"https://api.github.com/users/markbastiaans/gists{/gist_id}","starred_url":"https://api.github.com/users/markbastiaans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbastiaans/subscriptions","organizations_url":"https://api.github.com/users/markbastiaans/orgs","repos_url":"https://api.github.com/users/markbastiaans/repos","events_url":"https://api.github.com/users/markbastiaans/events{/privacy}","received_events_url":"https://api.github.com/users/markbastiaans/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T07:41:44Z","updated_at":"2015-12-07T07:41:44Z","body":"Thanks @foosel!"}}