{ "id": "147221", "key": "AC-97", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-12T11:50:05.000+0000", "created": "2015-04-23T13:07:58.000+0000", "labels": [ "arrow" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-12T11:50:05.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14555", "name": "Arrow Builder" } ], "description": "Im able to run an arrow project with 4 different models locally but when I try to publish and deploy the app i get the error :\r\n\r\nUnable to parse URL for publish: Appcelerator Command-Line interface version 0.2.255\r\n\r\nDeploying the application to the Appcelerator cloud. One moment....\r\nError | non-zero exit code", "attachment": [], "flagged": false, "summary": "Unable to publish arrow project", "creator": { "name": "Dcat", "key": "dcat", "displayName": "Anthony", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "Dcat", "key": "dcat", "displayName": "Anthony", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 4.0.0.201504231721", "comment": { "comments": [ { "id": "350674", "author": { "name": "Dcat", "key": "dcat", "displayName": "Anthony", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried creating new projects, logging out and logging back in, and then I tried to publish without creating any models and got this message:\r\n\r\nUnable to parse URL for publish: Appcelerator Command-Line Interface, version 0.2.255\r\n\r\nInstalling dependancies....nonmodeltest\r\nChecking for 1 module: connector/appc.arrowdb\r\nFetching connector/appc.arrowdb@1.0.71\r\nInstalled 1 module\r\nDeploying the application to the Appcelerator Cloud. One moment...\r\nERROR | non-zero exit code", "updateAuthor": { "name": "Dcat", "key": "dcat", "displayName": "Anthony", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-24T16:59:19.000+0000", "updated": "2015-04-24T16:59:19.000+0000" }, { "id": "352364", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi [~Dcat],\r\n\r\nPlease try the following:\r\n* Update your Appc CLIs to the latest builds:\r\n** {{sudo npm install -g appcelerator}}\r\n** {{appc use latest}}\r\n* After updating your Appc CLI, try publishing with the DEBUG and trace flags on {{DEBUG=* appc publish -l trace}} and comment with the logs\r\n\r\nThanks,\r\nWilson", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-12T23:53:46.000+0000", "updated": "2015-05-12T23:53:46.000+0000" }, { "id": "364347", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nTested this issue. It is not a valid bug.\r\n\r\n*Test Environments:*\r\n\r\nCLI Version :4.1.3\r\n\r\nTitanium SDK Version:4.1.1.GA\r\n\r\nAppc Studio: Appcelerator Studio, build: 4.1.1.201507141126\r\n\r\nAlloy: 1.7.6\r\n\r\nMac OS X,Version = 10.10.1.\r\n\r\n\r\n\r\n*Test Step:*\r\n\r\n1) Create a arrow project\r\n\r\n2) run an arrow project with 4 different models locally \r\n\r\n3)To deploy the project to the cloud, from the project directory, execute the following command:\r\n\r\n{code}\r\n\r\nappc publish\r\n\r\n{code}\r\n\r\n*Test code:*\r\n\r\n{code}\r\n\r\nvar Arrow = require('arrow'),\r\n\tserver = new Arrow();\r\n\r\n// lifecycle examples\r\nserver.on('starting', function () {\r\n\tserver.logger.debug('server is starting!');\r\n});\r\n\r\nserver.on('started', function () {\r\n\tserver.logger.debug('server started!');\r\n});\r\n\r\n// start the server\r\nserver.start();\r\n\r\n{code}\r\n\r\n*Models:*\r\n\r\n*user.js*\r\n\r\n{code}\r\n\r\nvar Arrow = require('arrow');\r\n\r\nvar User = Arrow.Model.extend('testuser',{\r\n\tfields: {\r\n\t\tfirst_name: {type:String},\r\n\t\tlast_name: {type:String},\r\n\t\temail: {type:String}\r\n\t},\r\n\tconnector: 'appc.arrowdb'\r\n});\r\n\r\nmodule.exports = User;\r\n\r\n{code}\r\n\r\n*car.js*\r\n\r\n{code}\r\n\r\nvar Arrow = require('arrow');\r\n\r\nvar car = Arrow.createModel('car', {\r\n fields: {\r\n make: { type: String, description: 'the make of a car' },\r\n model: { type: String, description: 'the model of the car', required: true },\r\n year: { type: Number, description: 'year the car was made', required: true },\r\n bluebook: { type: Number, description: 'kelly bluebook value of the car', required: true },\r\n mileage: { type: Number, description: 'current mileage of the car', required: true }\r\n },\r\n connector: 'appc.arrowdb'\r\n});\r\n\r\nmodule.exports = car;\r\n\r\n{code}\r\n\r\n*book.js*\r\n\r\n{code}\r\n\r\nvar Arrow = require('arrow');\r\n\r\nvar book = Arrow.createModel('book', {\r\n fields: {\r\n \r\n author: { type: String, description: 'the model of the author', required: true },\r\n year: { type: Number, description: 'year the author was made', required: true },\r\n bluebook: { type: Number, description: 'kelly bluebook value of the author', required: true },\r\n mileage: { type: Number, description: 'current mileage of the author', required: true }\r\n },\r\n connector: 'appc.arrowdb'\r\n});\r\n\r\nmodule.exports = book;\r\n\r\n{code}\r\n\r\n*exam.js*\r\n\r\n{code}\r\n\r\nvar Arrow = require('arrow');\r\n\r\nvar exam = Arrow.createModel('exam', {\r\n fields: {\r\n \r\n name: { type: String, description: 'the name of the exam', required: true },\r\n subject: { type: Number, description: 'exam topic', required: true },\r\n year: { type: Number, description: 'exam year', required: true },\r\n },\r\n connector: 'appc.arrowdb'\r\n});\r\n\r\nmodule.exports = exam;\r\n\r\n{code}\r\n\r\n*Test Result:*\r\n\r\nArrow Project has published successfully without any error.\r\n\r\n*Ti logs:*\r\n\r\n{code}\r\n\r\nUsers-MacBook-Pro:testarr user$ appc publish\r\n\r\nAppcelerator Command-Line Interface, version 4.1.3\r\n\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\n\r\n\r\nPublishing application ... this could take several minutes\r\n\r\nPackaging application ... \r\n\r\nDeploying application ... \r\n\r\nStarting application ... \r\n\r\nApplication deployed to https://af6376eef581f0366a8e27052d7b6454a09405a1.cloudapp-enterprise.appcelerator.com\r\n\r\nPublished api/testarr@1.0.0\r\n\r\nUsers-MacBook-Pro:testarr user$ \r\n\r\n{code}\r\n\r\nThanks\r\n\r\n", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-19T10:52:34.000+0000", "updated": "2015-11-12T06:54:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }