{"action":"created","issue":{"url":"https://api.github.com/repos/brython-dev/brython/issues/898","repository_url":"https://api.github.com/repos/brython-dev/brython","labels_url":"https://api.github.com/repos/brython-dev/brython/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/brython-dev/brython/issues/898/comments","events_url":"https://api.github.com/repos/brython-dev/brython/issues/898/events","html_url":"https://github.com/brython-dev/brython/issues/898","id":345031055,"node_id":"MDU6SXNzdWUzNDUwMzEwNTU=","number":898,"title":"Web worker failures","user":{"login":"butscher","id":3160774,"node_id":"MDQ6VXNlcjMxNjA3NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3160774?v=4","gravatar_id":"","url":"https://api.github.com/users/butscher","html_url":"https://github.com/butscher","followers_url":"https://api.github.com/users/butscher/followers","following_url":"https://api.github.com/users/butscher/following{/other_user}","gists_url":"https://api.github.com/users/butscher/gists{/gist_id}","starred_url":"https://api.github.com/users/butscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butscher/subscriptions","organizations_url":"https://api.github.com/users/butscher/orgs","repos_url":"https://api.github.com/users/butscher/repos","events_url":"https://api.github.com/users/butscher/events{/privacy}","received_events_url":"https://api.github.com/users/butscher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-26T22:45:46Z","updated_at":"2018-07-27T23:32:06Z","closed_at":null,"author_association":"NONE","body":"When trying to run a script which starts a web worker using the Brython release files (version 3.6.2) Brython tries to load the file \"web_workers/worker.js\" (relative to web site file location).\r\n\r\nWhen using the Brython source files, it loads lots of these files, then does nothing more, last web console entry is \"ReferenceError: window is not defined\" in \"py2js.js\". Probably it tries to retrieve `window` inside the web worker which fails naturally.\r\n\r\nUsed browser is Firefox 56.0b9 32bit on Windows 7 Pro 64bit."},"comment":{"url":"https://api.github.com/repos/brython-dev/brython/issues/comments/408563224","html_url":"https://github.com/brython-dev/brython/issues/898#issuecomment-408563224","issue_url":"https://api.github.com/repos/brython-dev/brython/issues/898","id":408563224,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODU2MzIyNA==","user":{"login":"butscher","id":3160774,"node_id":"MDQ6VXNlcjMxNjA3NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3160774?v=4","gravatar_id":"","url":"https://api.github.com/users/butscher","html_url":"https://github.com/butscher","followers_url":"https://api.github.com/users/butscher/followers","following_url":"https://api.github.com/users/butscher/following{/other_user}","gists_url":"https://api.github.com/users/butscher/gists{/gist_id}","starred_url":"https://api.github.com/users/butscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butscher/subscriptions","organizations_url":"https://api.github.com/users/butscher/orgs","repos_url":"https://api.github.com/users/butscher/repos","events_url":"https://api.github.com/users/butscher/events{/privacy}","received_events_url":"https://api.github.com/users/butscher/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T23:32:06Z","updated_at":"2018-07-27T23:32:06Z","author_association":"NONE","body":"Thank you. Unfortunately this now ends up with\r\n\r\n`TypeError: self.__BRYTHON__._load_scripts is not a function` at `worker.js:78:5`"}}
{"actor":{"display_login":"butscher"}}