{"action":"created","issue":{"url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/281","repository_url":"https://api.github.com/repos/IBM-Swift/BluePic","labels_url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/281/comments","events_url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/281/events","html_url":"https://github.com/IBM-Swift/BluePic/issues/281","id":161959141,"number":281,"title":"Blue-Pic server not starting in Bluemix","user":{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IBM-Swift/BluePic/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-23T15:56:05Z","updated_at":"2016-06-23T16:28:43Z","closed_at":null,"body":"updated BluePic-Server/properties.json with openwhisk info\r\n\r\nThen use both IBM Cloud Tool to deploy and it the stay as running, never started\r\nThen login into Bluemix and restart App\r\nLogs shows errors:\r\n```\r\nSTG/0 Linking CHttpParser2016-06-23T11:50:58.928-0400\r\nSTG/0 /tmp/staged/app/Packages/Socket-0.5.20/Sources/Socket.swift:1798:42: error: use of undeclared type 'Data'2016-06-23T11:50:59.614-0400\r\nSTG/0 ^~~~2016-06-23T11:50:59.615-0400\r\nSTG/0 /tmp/staged/app/Packages/Socket-0.5.20/Sources/Socket.swift:1847:36: error: use of undeclared type 'Data'2016-06-23T11:50:59.615-0400\r\nSTG/0 data.append(self.readStorage as Data)2016-06-23T11:50:59.615-0400\r\nSTG/0 guard let str = NSString(data: data as Data, encoding: NSUTF8StringEncoding.rawValue)2016-06-23T11:50:59.615-0400\r\nSTG/0 ^~~~2016-06-23T11:50:59.615-0400\r\nSTG/0 /tmp/staged/app/Packages/SwiftyJSON-7.0.4/Source/SwiftyJSON.swift:840:38: error: use of undeclared type 'JSONSerialization'2016-06-23T11:50:59.756-0400\r\nSTG/0 public func rawData(options opt: JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> NSData {2016-06-23T11:50:59.756-0400\r\nSTG/0 ^~~~~~~~~~~~~~~~~2016-06-23T11:50:59.756-0400\r\nSTG/0 /tmp/staged/app/Packages/SwiftyJSON-7.0.4/Source/SwiftyJSON.swift:97:35: error: type 'String' has no member 'Encoding'2016-06-23T11:50:59.757-0400\r\nSTG/0 return string.data(using: String.Encoding.utf8).flatMap({JSON(data: $0)}) ?? JSON(NSNull())2016-06-23T11:50:59.757-0400\r\nSTG/0 ^~~~~~ ~~~~~~~~2016-06-23T11:50:59.757-0400\r\nSTG/0<unknown>:0: error: build had 2 command failures2016-06-23T11:51:06.787-0400\r\nSTG/0Staging failed: Buildpack compilation step failed2016-06-23T11:51:06.801-0400\r\nSTG/0swift-build: error: exit(1): /tmp/cache/swift-DEVELOPMENT-SNAPSHOT-2016-05-03-a/swift-DEVELOPMENT-SNAPSHOT-2016-05-03-a-ubuntu14.04/usr/bin/swift-build-tool -f /tmp/staged/app/.build/release.yaml2016-06-23T11:51:06.790-0400\r\nAPI/10encountered error: App staging failed in the buildpack compile phase2016-06-23T11:51:07.060-0400\r\n```\r\n\r\ncc @triceam "},"comment":{"url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/comments/228105919","html_url":"https://github.com/IBM-Swift/BluePic/issues/281#issuecomment-228105919","issue_url":"https://api.github.com/repos/IBM-Swift/BluePic/issues/281","id":228105919,"user":{"login":"rolivieri","id":6609246,"avatar_url":"https://avatars.githubusercontent.com/u/6609246?v=3","gravatar_id":"","url":"https://api.github.com/users/rolivieri","html_url":"https://github.com/rolivieri","followers_url":"https://api.github.com/users/rolivieri/followers","following_url":"https://api.github.com/users/rolivieri/following{/other_user}","gists_url":"https://api.github.com/users/rolivieri/gists{/gist_id}","starred_url":"https://api.github.com/users/rolivieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolivieri/subscriptions","organizations_url":"https://api.github.com/users/rolivieri/orgs","repos_url":"https://api.github.com/users/rolivieri/repos","events_url":"https://api.github.com/users/rolivieri/events{/privacy}","received_events_url":"https://api.github.com/users/rolivieri/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T16:28:43Z","updated_at":"2016-06-23T16:28:43Z","body":"@csantanapr Looks like you are having a compilation error. What I would suggest is to do a fresh clone of this repo (master branch) and compile the server code locally. Done that, then execute cf push from the root folder of this repo. Can you try that?"}}
{"actor":{"display_login":"rolivieri"}}