{"action":"created","issue":{"url":"https://api.github.com/repos/cugos/dropchop/issues/226","repository_url":"https://api.github.com/repos/cugos/dropchop","labels_url":"https://api.github.com/repos/cugos/dropchop/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/cugos/dropchop/issues/226/comments","events_url":"https://api.github.com/repos/cugos/dropchop/issues/226/events","html_url":"https://github.com/cugos/dropchop/issues/226","id":114528379,"number":226,"title":"Failing tests on Codeship.io","user":{"login":"alukach","id":897290,"avatar_url":"https://avatars.githubusercontent.com/u/897290?v=3","gravatar_id":"","url":"https://api.github.com/users/alukach","html_url":"https://github.com/alukach","followers_url":"https://api.github.com/users/alukach/followers","following_url":"https://api.github.com/users/alukach/following{/other_user}","gists_url":"https://api.github.com/users/alukach/gists{/gist_id}","starred_url":"https://api.github.com/users/alukach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alukach/subscriptions","organizations_url":"https://api.github.com/users/alukach/orgs","repos_url":"https://api.github.com/users/alukach/repos","events_url":"https://api.github.com/users/alukach/events{/privacy}","received_events_url":"https://api.github.com/users/alukach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cugos/dropchop/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-11-02T05:38:16Z","updated_at":"2016-07-31T15:12:47Z","closed_at":"2016-07-31T15:12:47Z","body":"Codeship.io seems to be throwing errors when running `./codeship/test.sh`:\r\n\r\n``` bash\r\n[05:33:30] Using gulpfile ~/src/github.com/cugos/dropchop/gulpfile.js\r\n[05:33:30] Starting 'topojson'...\r\n[05:33:30] Starting 'css_vendor'...\r\n[05:33:30] Starting 'mapbox_assets'...\r\n[05:33:30] Starting 'fa-fonts'...\r\n[05:33:30] Starting 'lint'...\r\n[05:33:30] Starting 'js_dropchop'...\r\n[05:33:30] Starting 'html'...\r\n[05:33:30] Starting 'sass'...\r\n[05:33:30] Starting 'assets'...\r\n[05:33:30] Finished 'css_vendor' after 154 ms\r\n[05:33:30] Finished 'html' after 205 ms\r\n/home/rof/src/github.com/cugos/dropchop/src/js/layerlist.dropchop.js: line 120, col 18, ['extent'] is better written in dot notation.\r\n\r\n1 error\r\n[05:33:30] Finished 'sass' after 297 ms\r\n[05:33:31] Finished 'fa-fonts' after 740 ms\r\n[05:33:31] Finished 'lint' after 816 ms\r\n[05:33:31] Finished 'js_dropchop' after 1.29 s\r\n[05:33:31] Starting 'js'...\r\n[05:33:31] Finished 'js' after 8.02 s\r\n[05:33:31] Finished 'mapbox_assets' after 1.35 s\r\n[05:33:31] Finished 'assets' after 1.33 s\r\n[05:33:31] Starting 'build'...\r\n[05:33:31] Finished 'build' after 8.87 s\r\n[05:33:32] Finished 'topojson' after 1.94 s\r\n[05:33:32] Starting 'js_vendor'...\r\n[05:34:02] Finished 'js_vendor' after 30 s\r\n[05:34:02] Starting 'vendor'...\r\n[05:34:02] Finished 'vendor' after 11 s\r\n[05:34:02] Starting 'build:prod'...\r\n[05:34:02] Finished 'build:prod' after 8.56 s\r\n[05:34:04] Using gulpfile ~/src/github.com/cugos/dropchop/gulpfile.js\r\n[05:34:05] Starting 'test'...\r\n02 11 2015 05:34:05.190:INFO [karma]: Karma v0.13.10 server started at http://localhost:9876/\r\n02 11 2015 05:34:05.195:INFO [launcher]: Starting browser PhantomJS\r\n02 11 2015 05:34:07.866:INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket 9CUaoKp5lFvLk9PTAAAA with id 414491\r\n\r\nStart:\r\n  Dropchop!\r\n    dropchop.js\r\n       Throws error without options set\r\n       Options are set\r\n       Throws error when dc element is not found\r\n    notify.dropchop.js\r\n       dc.notify() - appear & disappear\r\n       notification closes when close button is clicked\r\n    dropzone.dropchop.js\r\n       dc.dropzone event listeners\r\n    left menu\r\n       order is accurate\r\n  form.dropchop.js\r\n     dc.form.create()\r\n     dc.form.remove()\r\n     dc.form.createParam()\r\n    dc.form.inputs\r\n       dc.form.inputs.number()\r\n       dc.form.inputs.select()\r\n       dc.form.inputs.checkbox()\r\n       dc.form.inputs.switch()\r\n       dc.form.inputs.recursive()\r\n  layerlist.dropchop.js\r\n     after adding a layer, the DOM element exists\r\n  layers.dropchop.js\r\n     dc.layers.add()\r\n     dc.layers.remove()\r\n     dc.layers.duplicate()\r\n     dc.layers.rename()\r\n     dc.layers.makeLayer()\r\n  selection.dropchop.js\r\n     dc.selection.add()\r\n     dc.selection.remove()\r\n     dc.selection.clear()\r\n  util.dropchop.js\r\n     dc.util.removeFileExtension()\r\n     dc.util.removeWhiteSpace()\r\n     dc.util.concat()\r\n     dc.util.xhr()\r\n     dc.util.readFile()\r\n     dc.util.executeUrlParams()\r\n     dc.util.getFileExtension()\r\n     dc.util.getBBox()\r\n     dc.util.uncollect()\r\n     dc.util.executeFC()\r\n     dc.util.loader()\r\n     dc.util.jsonFromUrl()\r\n     dc.util.updateSearch()\r\nERROR: Object{position: 0, totalSize: 0, lengthComputable: false, loaded: 0, total: 0, returnValue: true, timeStamp: 1446442448921, eventPhase: 2, target: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, defaultPrevented: false, srcElement: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, type: 'error', clipboardData: , cancelable: true, currentTarget: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, bubbles: false, cancelBubble: false}\r\nERROR: Object{position: 0, totalSize: 0, lengthComputable: false, loaded: 0, total: 0, returnValue: true, timeStamp: 1446442448939, eventPhase: 2, target: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, defaultPrevented: false, srcElement: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, type: 'error', clipboardData: undefined, cancelable: true, currentTarget: Object{readyState: 4, response: '', responseXML: null, onload: function () { ... }, onerror: function (a) { ... }, onloadstart: null, status: 0, onabort: null, upload: Object{onabort: ..., onload: ..., onprogress: ..., onerror: ..., onloadstart: ...}, onreadystatechange: null, responseType: '', onprogress: null, withCredentials: false, responseText: '', statusText: ''}, bubbles: false, cancelBubble: false}\r\n\r\nFinished in 0.823 secs / 0.41 secs\r\n\r\nSUMMARY:\r\n 37 tests completed\r\nPhantomJS 1.9.8 (Linux 0.0.0) ERROR\r\nSyntaxError: Unable to parse JSON string\r\nat /home/rof/src/github.com/cugos/dropchop/dist/static/js/dropchop.js:1\r\n\r\nFinished in 1.649 secs / 0.41 secs\r\n\r\nSUMMARY:\r\n 37 tests completed\r\nUnhandled rejection Error: Not running\r\nat Server.close (net.js:1233:11)\r\nat /home/rof/src/github.com/cugos/dropchop/node_modules/karma/lib/server.js:338:17\r\nat tryCatcher (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/util.js:26:23)\r\nat Promise._settlePromiseFromHandler (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/promise.js:507:31)\r\nat Promise._settlePromiseAt (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/promise.js:581:18)\r\nat Promise._settlePromises (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/promise.js:697:14)\r\nat Async._drainQueue (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/async.js:123:16)\r\nat Async._drainQueues (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/async.js:133:10)\r\nat Async.drainQueues (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/node_modules/bluebird/js/main/async.js:15:14)\r\nat process._tickCallback (node.js:415:13)\r\n[05:34:08] Finished 'test' after 3.98 s\r\n[05:34:11] 'test' errored after 6.98 s\r\n[05:34:11] Error: 1\r\nat formatError (/home/rof/src/github.com/cugos/dropchop/node_modules/gulp/bin/gulp.js:169:10)\r\nat Gulp.<anonymous> (/home/rof/src/github.com/cugos/dropchop/node_modules/gulp/bin/gulp.js:195:15)\r\nat Gulp.EventEmitter.emit (events.js:95:17)\r\nat Gulp.Orchestrator._emitTaskDone (/home/rof/src/github.com/cugos/dropchop/node_modules/gulp/node_modules/orchestrator/index.js:264:8)\r\nat /home/rof/src/github.com/cugos/dropchop/node_modules/gulp/node_modules/orchestrator/index.js:275:23\r\nat finish (/home/rof/src/github.com/cugos/dropchop/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)\r\nat cb (/home/rof/src/github.com/cugos/dropchop/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)\r\nat removeAllListeners [as _onTimeout] (/home/rof/src/github.com/cugos/dropchop/node_modules/karma/lib/server.js:329:7)\r\nat Timer.listOnTimeout [as ontimeout] (timers.js:110:15)\r\n```\r\n\r\nThis may be due to a lack of a requirement on Codeship.io? Tests run successfully on my machine."},"comment":{"url":"https://api.github.com/repos/cugos/dropchop/issues/comments/236435373","html_url":"https://github.com/cugos/dropchop/issues/226#issuecomment-236435373","issue_url":"https://api.github.com/repos/cugos/dropchop/issues/226","id":236435373,"user":{"login":"mapsam","id":1943001,"avatar_url":"https://avatars.githubusercontent.com/u/1943001?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsam","html_url":"https://github.com/mapsam","followers_url":"https://api.github.com/users/mapsam/followers","following_url":"https://api.github.com/users/mapsam/following{/other_user}","gists_url":"https://api.github.com/users/mapsam/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsam/subscriptions","organizations_url":"https://api.github.com/users/mapsam/orgs","repos_url":"https://api.github.com/users/mapsam/repos","events_url":"https://api.github.com/users/mapsam/events{/privacy}","received_events_url":"https://api.github.com/users/mapsam/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T15:12:47Z","updated_at":"2016-07-31T15:12:47Z","body":"Fixed in #257 "}}
{"actor":{"display_login":"mapsam"}}