{"action":"created","issue":{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/509","repository_url":"https://api.github.com/repos/parallaxinc/BlocklyProp","labels_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/509/comments","events_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/509/events","html_url":"https://github.com/parallaxinc/BlocklyProp/issues/509","id":170920931,"number":509,"title":"NAN on Compile/Load after apparent auto-logout of user","user":{"login":"PropGit","id":1266318,"avatar_url":"https://avatars.githubusercontent.com/u/1266318?v=3","gravatar_id":"","url":"https://api.github.com/users/PropGit","html_url":"https://github.com/PropGit","followers_url":"https://api.github.com/users/PropGit/followers","following_url":"https://api.github.com/users/PropGit/following{/other_user}","gists_url":"https://api.github.com/users/PropGit/gists{/gist_id}","starred_url":"https://api.github.com/users/PropGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PropGit/subscriptions","organizations_url":"https://api.github.com/users/PropGit/orgs","repos_url":"https://api.github.com/users/PropGit/repos","events_url":"https://api.github.com/users/PropGit/events{/privacy}","received_events_url":"https://api.github.com/users/PropGit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"michel-cf","id":5745991,"avatar_url":"https://avatars.githubusercontent.com/u/5745991?v=3","gravatar_id":"","url":"https://api.github.com/users/michel-cf","html_url":"https://github.com/michel-cf","followers_url":"https://api.github.com/users/michel-cf/followers","following_url":"https://api.github.com/users/michel-cf/following{/other_user}","gists_url":"https://api.github.com/users/michel-cf/gists{/gist_id}","starred_url":"https://api.github.com/users/michel-cf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michel-cf/subscriptions","organizations_url":"https://api.github.com/users/michel-cf/orgs","repos_url":"https://api.github.com/users/michel-cf/repos","events_url":"https://api.github.com/users/michel-cf/events{/privacy}","received_events_url":"https://api.github.com/users/michel-cf/received_events","type":"User","site_admin":false},"assignees":[{"login":"michel-cf","id":5745991,"avatar_url":"https://avatars.githubusercontent.com/u/5745991?v=3","gravatar_id":"","url":"https://api.github.com/users/michel-cf","html_url":"https://github.com/michel-cf","followers_url":"https://api.github.com/users/michel-cf/followers","following_url":"https://api.github.com/users/michel-cf/following{/other_user}","gists_url":"https://api.github.com/users/michel-cf/gists{/gist_id}","starred_url":"https://api.github.com/users/michel-cf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michel-cf/subscriptions","organizations_url":"https://api.github.com/users/michel-cf/orgs","repos_url":"https://api.github.com/users/michel-cf/repos","events_url":"https://api.github.com/users/michel-cf/events{/privacy}","received_events_url":"https://api.github.com/users/michel-cf/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/milestones/4","html_url":"https://github.com/parallaxinc/BlocklyProp/milestones/December%202016","labels_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/milestones/4/labels","id":996100,"number":4,"title":"December 2016","description":"Bug fixes. ","creator":{"login":"DarkmatterVale","id":6094957,"avatar_url":"https://avatars.githubusercontent.com/u/6094957?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkmatterVale","html_url":"https://github.com/DarkmatterVale","followers_url":"https://api.github.com/users/DarkmatterVale/followers","following_url":"https://api.github.com/users/DarkmatterVale/following{/other_user}","gists_url":"https://api.github.com/users/DarkmatterVale/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkmatterVale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkmatterVale/subscriptions","organizations_url":"https://api.github.com/users/DarkmatterVale/orgs","repos_url":"https://api.github.com/users/DarkmatterVale/repos","events_url":"https://api.github.com/users/DarkmatterVale/events{/privacy}","received_events_url":"https://api.github.com/users/DarkmatterVale/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":15,"state":"open","created_at":"2015-02-26T00:36:29Z","updated_at":"2016-10-25T17:50:33Z","due_on":"2016-12-05T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-12T17:33:56Z","updated_at":"2016-10-25T19:00:04Z","closed_at":null,"body":"If leaving the BlocklyProp editor open for a while (with an existing program displayed, in this case), selecting to Compile or Load displays a NAN message.\r\n![image](https://cloud.githubusercontent.com/assets/1266318/17631171/c91b69ec-6077-11e6-8dfa-9b14564c96fd.png)\r\n\r\nI believe the real problem is that the user was automatically logged out between the last successful use and now, as navigating to the home screen, logging in, and opening the same program again works properly.\r\n\r\nMessages like \"NAN\" do nothing to inform the user of the actual problem.  We need BlocklyProp to trap this kind of error, determine the actual cause, and display a friendly message that leads the user to the solution.  Such as \"Can not compile because your account is logged out.  Please log in and try again.\" in this case.\r\n\r\nThis issue may also be related to Issue #420."},"comment":{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/comments/256141841","html_url":"https://github.com/parallaxinc/BlocklyProp/issues/509#issuecomment-256141841","issue_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/509","id":256141841,"user":{"login":"zfi","id":8442260,"avatar_url":"https://avatars.githubusercontent.com/u/8442260?v=3","gravatar_id":"","url":"https://api.github.com/users/zfi","html_url":"https://github.com/zfi","followers_url":"https://api.github.com/users/zfi/followers","following_url":"https://api.github.com/users/zfi/following{/other_user}","gists_url":"https://api.github.com/users/zfi/gists{/gist_id}","starred_url":"https://api.github.com/users/zfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfi/subscriptions","organizations_url":"https://api.github.com/users/zfi/orgs","repos_url":"https://api.github.com/users/zfi/repos","events_url":"https://api.github.com/users/zfi/events{/privacy}","received_events_url":"https://api.github.com/users/zfi/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T19:00:04Z","updated_at":"2016-10-25T19:00:04Z","body":"Can we check for a valid login before sending a job off to the cloud compiler? Or intercept the error from the cloud compiler and determine the login state?"}}
{"actor":{"display_login":"zfi"}}