Closed AppWerft closed 3 years ago
Hi Rainer, jahcode is part of this repository and it is probably just the first of a list of missing dependencies. We don’t have much experience with Titanium and don’t know where and how you need to register the dependencies in titaniumifier. (it runs only on node 0.11 :-1: ) We are trying to set it up and having a look in the wiki. cheers
Now I have rebuilt with repo from juni. https://github.com/AppWerft/TiBaqend
Hi, The baqend sdk of juni will not work properly with the current version of baqend, since there was some braking changes under the hood. I think you forgot to npm install the dependencies after cloning this repo?
just type npm install
after you have cloned this repo and the titaniumifier should succeed. :-)
I have installed all depencies by npm. But I have still not tested in a project. The new module is larger: old: 500kb new 0.9 Mb
Am 29/11/15 um 14:18 schrieb Florian Bücklers:
Hi, The baqend sdk of juni will not work properly with the current version of baqend, since there was some braking changes under the hood. I think you forgot to npm install the dependencies after cloning this repo?
just type |npm install| after you have cloned this repo and the titaniumifier should succeed. :-)
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160416165.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Its true that the newer version is a little bit larger, but the main reason of the very large size is, that the titaniumfier shims the entiered node 0.10 enviroment which we do not need at all. browserify have a option to prevent this, but i do not know how you can prevent this in titaniumfier.
Yes I know, it is possible the useless parts.
Now comes:
[ERROR] : TiExceptionHandler: (main) [1573,1573] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [0,1573] - In tibaqend.js:30315,9 [ERROR] : TiExceptionHandler: (main) [0,1573] - Message: Uncaught Error: secure random number generation not supported by this browser [ERROR] : TiExceptionHandler: use chrome, FireFox or Internet Explorer 11 [ERROR] : TiExceptionHandler: (main) [0,1573] - Source: throw new Error(
I think I need an other method to do this.
Am 29/11/15 um 14:25 schrieb Florian Bücklers:
Its true that the newer version is a little bit larger, but the main reason of the very large size is, that the titaniumfier shims the entiered node 0.10 enviroment which we do not need at all. browserify have a option to prevent this, but i do not know how you can prevent this in titaniumfier.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160416440.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Hm, i'am not sure why this error raise. Our sdk runs also in ie9 and ie10 and in safari as well...
It seams that packaging is not really required anymore for Appcelerator. Look at the documentation of the common Module usage of Appcelerator: https://wiki.appcelerator.org/display/guides2/CommonJS+Modules+in+Titanium You can use the browser ready library provided in dist folder. Maybe that helps.
In most cases nodeJS uses native components like net or http. In your case the SDK uses code for generating uniqueID.
I will see.
Am 29/11/15 um 15:35 schrieb Florian Bücklers:
It seams that packaging is not really required anymore for Appcelerator. Look at the documentation of the common Module usage of Appcelerator: https://wiki.appcelerator.org/display/guides2/CommonJS+Modules+in+Titanium
You can use the browser ready library provided in dist folder. Maybe that helps.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160419605.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
The issue is happening in node-uuid. You are using getRandomValues(). Reason? I can use a function from Titanium namespace.
Cheers!
Am 29/11/15 um 15:35 schrieb Florian Bücklers:
It seams that packaging is not really required anymore for Appcelerator. Look at the documentation of the common Module usage of Appcelerator: https://wiki.appcelerator.org/display/guides2/CommonJS+Modules+in+Titanium
You can use the browser ready library provided in dist folder. Maybe that helps.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160419605.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
My plan: replace
lib/util/index.js:exports.uuid = require('node-uuid').v4;
with require('tit-uuid').
In this (my) module I'am using a native functioj to get the deviceID.
Do you see more problems with Titanium?
Am 29/11/15 um 15:35 schrieb Florian Bücklers:
It seams that packaging is not really required anymore for Appcelerator. Look at the documentation of the common Module usage of Appcelerator: https://wiki.appcelerator.org/display/guides2/CommonJS+Modules+in+Titanium
You can use the browser ready library provided in dist folder. Maybe that helps.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160419605.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Maybe you will be fine with that, we will see. The SDK itself has not many external dependencies.
Currently I substitude //exports.uuid = require('./node-uuid').v4; exports.uuid = Ti.Platform.getId();
in lib/util/index.js
Am 29/11/15 um 16:56 schrieb Florian Bücklers:
Maybe you will be fine with that, we will see. The SDK itself has not many external dependencies.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160425353.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Hi Florian:
var DB = require('tibaqend'); DB.connect('http://MYSUBDOMAIN.baqend.com/'); // waits while the SDK connects to your Baqend DB.ready(function() { console.log('Info: Baqend connected'); DB.User.find(); });
ready don't come in …
How can I debug why?
Am 29/11/15 um 16:56 schrieb Florian Bücklers:
Maybe you will be fine with that, we will see. The SDK itself has not many external dependencies.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160425353.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Ti.Platform.getId()
is not really a replacement for the uuid generator. For each new object which you are creating we will generate a new uuid.
You can use a second callback or the promise style notation to catch all errors.
var DB = require('tibaqend');
DB.connect('http://MYSUBDOMAIN.baqend.com/');
// waits while the SDK connects to your Baqend
DB.ready(function() {
console.log('Info: Baqend connected');
DB.User.find();
}).catch(function(e) {
console.error(e);
});
Am 29/11/15 um 17:31 schrieb Florian Bücklers:
|Ti.Platform.getId()| is not really a replacement for the uuid generator. For each new object which you are creating will will generate a new uuid.
Ok, I can create a uuid for every object. (Bad) solution: Ti.Platform.id + Math.random() or better logic.
You can use a second callback or the promise style notation to catch all errors.
|var DB = require('tibaqend'); DB.connect('http://MYSUBDOMAIN.baqend.com/'); // waits while the SDK connects to your Baqend DB.ready(function() { console.log('Info: Baqend connected'); DB.User.find(); }).catch(function(e) { console.error(e); }); |
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160430540.
Thanks. with xhr.onload I see right response like: [INFO] : [{"class":"/db/Todo","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"listId":{"name":"listId","type":"/db/String","order":0},"name":{"name":"name","type":"/db/String","order":1},"activities":{"name":"activities","type":"/db/collection.List[/db/Activity]","order":2},"active":{"name":"active","type":"/db/Boolean","order":3},"done":{"name":"done","type":"/db/Boolean","order":4}}},{"class":"/db/User","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"username":{"name":"username","type":"/db/String","order":0}}},{"class":"/db/Device","superClass":"/db/Object","acl":{"load":{"/db/Role/2":"allow"},"insert":{"/db/Role/1":"allow"},"update":{"/db/Role/1":"allow"},"delete":{"/db/Role/1":"allow"},"query":{"/db/Role/2":"allow"},"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"deviceOs":{"name":"deviceOs","type":"/db/String","order":0}}},{"class":"/db/Activity","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"}},"embedded":true,"fields":{"start":{"name":"start","type":"/db/DateTime","order":0},"end":{"name":"end","type":"/db/DateTime","order":1}}},{"class":"/db/Role","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"name":{"name":"name","type":"/db/String","order":0},"users":{"name":"users","type":"/db/collection.Set[/db/User]","order":1}}},{"class":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"id":{"name":"id","type":"/db/String","order":0},"version":{"name":"version","type":"/db/Integer","order":1},"acl":{"name":"acl","type":"/db/JsonObject","order":2}}}]
I see a little probelm: On iOS we have no methode getAllResponseHeaders() for XHR. There is only for ANdroid. What is the purpose for it?
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
this runs awesome: exports.uuid = Ti.Platform.createUUID();
Am 29/11/15 um 17:31 schrieb Florian Bücklers:
|.catch(function(e) { console.error(e); });|
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Thanks for your hint with the catch node: I can see
ERROR: {"message":"Handling the Response for GET /schema: undefined","name":"CommunicationError","cause":[{"class":"/db/Todo","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"listId":{"name":"listI
But in onload node on xhr I see:
[INFO] : [{"class":"/db/Todo","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"listId":{"name":"listId","type":"/db/String","order":0},"name":{"name":"name","type":"/db/String","order":1},"activities":{"name":"activities","type":"/db/collection.List[/db/Activity]","order":2},"active":{"name":"active","type":"/db/Boolean","order":3},"done":{"name":"done","type":"/db/Boolean","order":4}}},{"class":"/db/User","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"username":{"name":"username","type":"/db/String","order":0}}},{"class":"/db/Device","superClass":"/db/Object","acl":{"load":{"/db/Role/2":"allow"},"insert":{"/db/Role/1":"allow"},"update":{"/db/Role/1":"allow"},"delete":{"/db/Role/1":"allow"},"query":{"/db/Role/2":"allow"},"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"deviceOs":{"name":"deviceOs","type":"/db/String","order":0}}},{"class":"/db/Activity","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"}},"embedded":true,"fields":{"start":{"name":"start","type":"/db/DateTime","order":0},"end":{"name":"end","type":"/db/DateTime","order":1}}},{"class":"/db/Role","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"name":{"name":"name","type":"/db/String","order":0},"users":{"name":"users","type":"/db/collection.Set[/db/User]","order":1}}},{"class":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"id":{"name":"id","type":"/db/String","order":0},"version":{"name":"version","type":"/db/Integer","order":1},"acl":{"name":"acl","type":"/db/JsonObject","order":2}}}]
Am 29/11/15 um 17:31 schrieb Florian Bücklers:
|.catch(function(e) { console.error(e); });|
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
It seems that the status code is not returned correctly. It will be checked before the response is parsed and handled
And to work around the getAllResponseHeaders you can use the xhr logic:
//lib/connector/XMLHttpConnector.js:63
Connector.RESPONSE_HEADERS.forEach(function(name) {
response.headers[name] = xhr.getResponseHeader(name);
});
Hi Florian
the DB connect answers with 200
and
[INFO] : { headers: {}, [INFO] : statusCode: 200, [INFO] : entity: '[{"class":"/db/Todo","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"listId":{"name":"listId","type":"/db/String","order":0},"name":{"name":"name","type":"/db/String","order":1},"activities":{"name":"activities","type":"/db/collection.List[/db/Activity]","order":2},"active":{"name":"active","type":"/db/Boolean","order":3},"done":{"name":"done","type":"/db/Boolean","order":4}}},{"class":"/db/User","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"username":{"name":"username","type":"/db/String","order":0}}},{"class":"/db/Device","superClass":"/db/Object","acl":{"load":{"/db/Role/2":"allow"},"insert":{"/db/Role/1":"allow"},"update":{"/db/Role/1":"allow"},"delete":{"/db/Role/1":"allow"},"query":{"/db/Role/2":"allow"},"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"deviceOs":{"name":"deviceOs","type":"/db/String","order":0}}},{"class":"/db/Activity","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"}},"embedded":true,"fields":{"start":{"name":"start","type":"/db/DateTime","order":0},"end":{"name":"end","type":"/db/DateTime","order":1}}},{"class":"/db/Role","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"name":{"name":"name","type":"/db/String","order":0},"users":{"name":"users","type":"/db/collection.Set[/db/User]","order":1}}},{"class":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"id":{"name":"id","type":"/db/String","order":0},"version":{"name":"version","type":"/db/Integer","order":1},"acl":{"name":"acl","type":"/db/JsonObject","order":2}}}]' }
The catch node shows:
[ERROR] : {"message":"Handling the Response for GET /schema: undefined","name":"CommunicationError","cause":[{"class":"/db/Todo","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"listId":{"name":"listId","type":"/db/String","order":0},"name":{"name":"name","type":"/db/String","order":1},"activities":{"name":"activities","type":"/db/collection.List[/db/Activity]","order":2},"active":{"name":"active","type":"/db/Boolean","order":3},"done":{"name":"done","type":"/db/Boolean","order":4}}},{"class":"/db/User","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"username":{"name":"username","type":"/db/String","order":0}}},{"class":"/db/Device","superClass":"/db/Object","acl":{"load":{"/db/Role/2":"allow"},"insert":{"/db/Role/1":"allow"},"update":{"/db/Role/1":"allow"},"delete":{"/db/Role/1":"allow"},"query":{"/db/Role/2":"allow"},"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"deviceOs":{"name":"deviceOs","type":"/db/String","order":0}}},{"class":"/db/Activity","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"}},"embedded":true,"fields":{"start":{"name":"start","type":"/db/DateTime","order":0},"end":{"name":"end","type":"/db/DateTime","order":1}}},{"class":"/db/Role","superClass":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/Role/1":"allow"}},"fields":{"name":{"name":"name","type":"/db/String","order":0},"users":{"name":"users","type":"/db/collection.Set[/db/User]","order":1}}},{"class":"/db/Object","acl":{"schemaAdd":{"/db/Role/1":"allow"},"schemaReplace":{"/db/Role/1":"allow"},"schemaSubclass":{"/db/R
I think the problem is the transport of response to caller. How do you think?
Am 29/11/15 um 18:34 schrieb Florian Bücklers:
And to work Arround the getAllResponseHeaders you can use the xhr logic:
|lib/connector/XMLHttpConnector.js:63 Connector.RESPONSE_HEADERS.forEach(function(name) { response.headers[name] = xhr.getResponseHeader(name); }); |
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160434484.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Renaming statusCode to status should do the trick ;-)
Your are incredible awesome.
[INFO] : { source: [INFO] : { responseText: '{"className":"info.orestes.rest.error.NotFound","message":"Can\'t find user by token.","stackTrace":[{"fileName":"DbUserMe.java","className":"info.orestes.server.resource.db.DbUserMe","methodName":"doGet","lineNumber":35},{"fileName":"RestServlet.java","className":"info.orestes.rest.RestServlet","methodName":"doGetAsync","lineNumber":135},{"fileName":"RestServlet.java","className":"info.orestes.rest.RestServlet","methodName":"service","lineNumber":361},{"fileName":"BaseResource.java","className":"info.orestes.server.resource.BaseResource","methodName":"service","lineNumber":82},{"fileName":"RestServletHandler.java","className":"info.orestes.rest.service.RestServletHandler","methodName":"handle","lineNumber":16},{"fileName":"RestHandler.java","className":"info.orestes.rest.service.RestHandler","methodName":"handle","lineNumber":18},{"fileName":"HandlerWrapper.java","className":"org.eclipse.jetty.server.handler.HandlerWrapper","methodName":"handle","lineNumber":119},{"fileName":"RestRouter.java","className":"info.orestes.rest.service.RestRouter","methodName":"handle","lineNumber":98},{"fileName":"ContextHandler.java","className":"org.eclipse.jetty.server.handler.ContextHandler","methodName":"doHandle","lineNumber":1116},{"fileName":"ContextHandler.java","className":"org.eclipse.jetty.server.handler.ContextHandler","methodName":"doScope","lineNumber":1052},{"fileName":"ScopedHandler.java","className":"org.eclipse.jetty.server.handler.ScopedHandler","methodName":"handle","lineNumber":141},{"fileName":"HandlerCollection.java","className":"org.eclipse.jetty.server.handler.HandlerCollection","methodName":"handle","lineNumber":109},{"fileName":"HandlerWrapper.java","className":"org.eclipse.jetty.server.handler.HandlerWrapper","methodName":"handle","lineNumber":119},{"fileName":"Server.java","className":"org.eclipse.jetty.server.Server","methodName":"handle","lineNumber":517},{"fileName":"HttpChannel.java","className":"org.eclipse.jetty.server.HttpChannel","methodName":"handle","lineNumber":302},{"fileName":"HttpConnection.java","className":"org.eclipse.jetty.server.HttpConnection","methodName":"onFillable","lineNumber":242},{"fileName":"AbstractConnection.java","className":"org.eclipse.jetty.io.AbstractConnection$ReadCallback","methodName":"succeeded","lineNumber":245},{"fileName":"FillInterest.java","className":"org.eclipse.jetty.io.FillInterest","methodName":"fillable","lineNumber":95},{"fileName":"SelectChannelEndPoint.java","className":"org.eclipse.jetty.io.SelectChannelEndPoint$2","methodName":"run","lineNumber":75},{"fileName":"ExecuteProduceConsume.java","className":"org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume","methodName":"produceAndRun","lineNumber":213},{"fileName":"ExecuteProduceConsume.java","className":"org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume","methodName":"run","lineNumber":147},{"fileName":"QueuedThreadPool.java","className":"org.eclipse.jetty.util.thread.QueuedThreadPool","methodName":"runJob","lineNumber":654},{"fileName":"QueuedThreadPool.java","className":"org.eclipse.jetty.util.thread.QueuedThreadPool$3","methodName":"run","lineNumber":572},{"fileName":"Thread.java","className":"java.lang.Thread","methodName":"run","lineNumber":745}],"status":404,"reason":"Not Found"}', [WARN] : TiBlob: (KrollRuntimeThread) [0,1057] getNativePath not supported for non-file blob types. [INFO] : responseXML: null, [INFO] : apiName: 'Ti.Network.HTTPClient', [INFO] : timeout: undefined, [INFO] : domain: null, [INFO] : readyState: 3, [INFO] : status: 404, [INFO] : autoRedirect: true, [INFO] : tlsVersion: 0, [INFO] : file: undefined, [INFO] : validatesSecureCertificate: false, [INFO] : autoEncodeUrl: true, [INFO] : statusText: 'Not Found', [INFO] : username: null, [INFO] : _hasJavaListener: undefined, [INFO] : password: null, [INFO] : allResponseHeaders: 'Server:nginx/1.9.5\nDate:Sun, 29 Nov 2015 20:55:17 GMT\nContent-Type:application/json;charset=iso-8859-1\nContent-Length:3276\nConnection:keep-alive\nCache-Control:must-revalidate, no-cache, no-store\n', [INFO] : location: 'http://tutorial.baqend.com/db/User/me', [INFO] : responseData: [INFO] : { file: null, [INFO] : nativePath: null, [INFO] : height: 0, [INFO] : Am 29/11/15 um 21:13 schrieb Florian Bücklers:
Renaming statusCode to status should do the trick ;-)
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160463463.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
Is there still an issue? If you are not logged in this error is expected and the sdk should be ready.
I have to register a user -- stupide question?
OK, next week I will implement websockets.
Am 29/11/15 um 22:08 schrieb Florian Bücklers:
Is there still an issue? If you are not logged in this error is expected and the sdk should be ready.
— Reply to this email directly or view it on GitHub https://github.com/Baqend/js-sdk/issues/2#issuecomment-160472139.
Dipl.-Ing. Rainer Schleevoigt Certified TYPO3 Integrator Certified Titanium App Developer
Novalisweg 10
22303 Hamburg ℡ 040 60812460 |Ust-ID: DE239491976|||||||
No, you can just ignore the error, if you don’t need authentication. Any public information should be accessible now. This error is usually not printed or logged, it is probably just the information that you are not already logged-in by cookie from your last visit.
Hi, I tried to build ti.Module by titaniumifier and cloned this branch to my machine. In the root I started:
and got:
Its right there is no jahcode in the repo. How can I fix it?