I have a problem when I try to insert into data in the database. When the activity is opened, the connection is OK, and SELECT is OK, and I receive data and show the data on screen, that is not the problem.
I am sure that connection is no close , because I have no programm it, but I don't know why I cannot INSERT INTO data in the database.
In the screen there is no Error, there are Warnings, that I will copy below. Does anybody why I am not allowed to insert data in a table in the same database?
Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:mysql://XXX.XXX.X.X:3306/BBDD,user,password);
Statement st = conn.createStatement();
rs = st.executeQuery(ConsultSQL);
INSERT CODE
Statement statement = conn.createStatement();
statement.executeUpdate("INSERT INTO data(name, number) VALUES ('" + "hi" + "', " + 3 + ")");
ERROR / WARNINGS:
01-30 04:21:02.739: W/System.err(2232): com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
01-30 04:21:02.739: W/System.err(2232): The last packet successfully received from the server was 10.447 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
01-30 04:21:02.739: W/System.err(2232): at java.lang.reflect.Constructor.constructNative(Native Method)
01-30 04:21:02.739: W/System.err(2232): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
01-30 04:21:02.739: W/System.err(2232): at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
01-30 04:21:02.739: W/System.err(2232): at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1121)
01-30 04:21:02.739: W/System.err(2232): at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4165)
01-30 04:21:02.739: W/System.err(2232): at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
01-30 04:21:02.739: W/System.err(2232): at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
01-30 04:21:02.749: W/System.err(2232): at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
01-30 04:21:02.749: W/System.err(2232): at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1811)
01-30 04:21:02.749: W/System.err(2232): at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1725)
01-30 04:21:02.749: D/audio_hw_primary(86): start_output_stream: card:0, port:0, rate:44100
01-30 04:21:02.749: W/System.err(2232): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
01-30 04:21:02.759: W/System.err(2232): at android.os.Handler.dispatchMessage(Handler.java:99)
01-30 04:21:02.759: W/System.err(2232): at android.os.Looper.loop(Looper.java:137)
01-30 04:21:02.759: W/System.err(2232): at android.app.ActivityThread.main(ActivityThread.java:4424)
01-30 04:21:02.759: W/System.err(2232): at java.lang.reflect.Method.invokeNative(Native Method)
01-30 04:21:02.759: W/System.err(2232): at java.lang.reflect.Method.invoke(Method.java:511)
01-30 04:21:02.769: W/System.err(2232): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-30 04:21:02.769: W/System.err(2232): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-30 04:21:02.769: W/System.err(2232): at dalvik.system.NativeStart.main(Native Method)
01-30 04:21:02.769: W/System.err(2232): Caused by: android.os.NetworkOnMainThreadException
01-30 04:21:02.769: W/System.err(2232): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1099)
01-30 04:21:02.769: W/System.err(2232): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:163)
01-30 04:21:02.769: W/System.err(2232): at libcore.io.IoBridge.recvfrom(IoBridge.java:503)
01-30 04:21:02.769: W/System.err(2232): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
01-30 04:21:02.769: W/System.err(2232): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
01-30 04:21:02.769: W/System.err(2232): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
01-30 04:21:02.769: W/System.err(2232): at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)
01-30 04:21:02.769: W/System.err(2232): at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)
01-30 04:21:02.779: W/System.err(2232): at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)
01-30 04:21:02.779: W/System.err(2232): at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3163)
01-30 04:21:02.779: W/System.err(2232): at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3620)
01-30 04:21:02.779: W/System.err(2232): at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3609)
01-30 04:21:02.779: W/System.err(2232): at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4160)
01-30 04:21:02.779: W/System.err(2232): ... 16 more
Related
part 1:
AWSStaticCredentialsProvider *credentials = [[AWSStaticCredentialsProvider alloc] initWithAccessKey:#"xxxxxxxxxxx" secretKey:#"xxxxxxxxxxxx"];
AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionAPNortheast1 credentialsProvider:credentials];
[AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration;
[AWSDDLog sharedInstance].logLevel = AWSDDLogLevelVerbose;
[AWSDDLog addLogger:[AWSDDTTYLogger sharedInstance] ];
part 2:
AWSS3TransferManagerUploadRequest *uploadRequest = [AWSS3TransferManagerUploadRequest new];
uploadRequest.bucket = #"bucket";
uploadRequest.key = #"tarpath";
uploadRequest.body = [NSURL fileURLWithPath: srcPath];
[[transferManager upload:uploadRequest] continueWithExecutor:[AWSExecutor mainThreadExecutor] withBlock:^id(AWSTask *task) {
if (task.error) {
if ([task.error.domain isEqualToString:AWSS3TransferManagerErrorDomain])
{return nil;}];
}
info.plist has prepared the ATS problem
Below is The error log:
content-encoding:aws-chunked
content-type:binary/octet-stream
host:s3-ap-northeast-1.amazonaws.com
transfer-encoding:Chunked
user-agent:aws-sdk-iOS/2.5.9 iOS/10.2.1 zh_CN transfer-manager
x-amz-content-sha256:STREAMING-AWS4-HMAC-SHA256-PAYLOAD
x-amz-date:20170813T133010Z
x-amz-decoded-content-length:78670
content-encoding;content-type;host;transfer-encoding;user-agent;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length
STREAMING-AWS4-HMAC-SHA256-PAYLOAD]
2017-08-13 22:30:10:521 test[1026:597507] AWS4 String to Sign: [AWS4-HMAC-SHA256
20170813T133010Z
20170813/ap-northeast-1/s3/aws4_request
7b0dac3ee72f93ad197c7dd6277c2cf5779e6f13c7009e405cafeb765c45eeb0]
2017-08-13 22:30:10:523 test[1026:597507] Request headers:
{
Authorization = "AWS4-HMAC-SHA256 Credential=xxxxxxxxxxxxx/20170813/ap-northeast-1/s3/aws4_request,
SignedHeaders=content-encoding;content-type;host;transfer-encoding;user-agent;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length,
Signature=f91f3f9002bfe3ae7ec39c71846efd7c99bdf72d5f8163ac400d476f1055b7e7";
"Content-Encoding" = "aws-chunked";
"Content-Type" = "binary/octet-stream";
Host = "s3-ap-northeast-1.amazonaws.com";
"Transfer-Encoding" = Chunked;
"User-Agent" = "aws-sdk-iOS/2.5.9 iOS/10.2.1 zh_CN transfer-manager";
"X-Amz-Date" = 20170813T133010Z;
"x-amz-content-sha256" = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD";
"x-amz-decoded-content-length" = 78670;
}
2017-08-13 22:31:11:117 test[1026:597507] Session task failed with error: Error Domain=NSURLErrorDomain Code=-1001 "要求逾時。"
UserInfo={NSUnderlyingError=0x171056e90 {Error
Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)"
UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}},
NSErrorFailingURLStringKey=https://s3-ap-northeast-1.amazonaws.com/zxmdata/thevoice/56334401838871229471503493680_Wanmei2017.aac,
NSErrorFailingURLKey=https://s3-ap-northeast-1.amazonaws.com/zxmdata/thevoice/56334401838871229471503493680_Wanmei2017.aac,
_kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=要求逾時。}
2017-08-13 22:31:11.161499 test[1026:597374] Error: Error Domain=NSURLErrorDomain Code=-1001 "要求逾時。"
UserInfo={NSUnderlyingError=0x171056e90 {Error
Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)"
UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}},
NSErrorFailingURLStringKey=https://s3-ap-northeast-1.amazonaws.com/zxmdata/thevoice/56334401838871229471503493680_Wanmei2017.aac,
NSErrorFailingURLKey=https://s3-ap-northeast-1.amazonaws.com/zxmdata/thevoice/56334401838871229471503493680_Wanmei2017.aac,
_kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=要求逾時。}
Error message says it is a NSErrorFailingURLStringKey error.
The url in error message has a typo, - in https:
h-ttps://s3-ap-northeast-1.amazonaws.com/zxmdata/thevoice/56334401838871229471503493680_Wanmei2017.aac
I am using Socket.IO for my iOS chat application. Chat library called socket.io-client-swift is in Swift and i could manage to manually integrate it to my Objective-C project using bridging.
I imported 'Source' folder from above library into my Xcode and placed #import "MyProjectName-Swift.h" in my ChatViewController with code below:
//in viewDidLoad
NSURL* url = [[NSURL alloc] initWithString:#"http://localhost:3000/"];
SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url options:#{#"log": #YES, #"forcePolling": #YES}];
[socket on:#"connect" callback:^(NSArray* data, SocketAckEmitter* ack) {
NSLog(#"socket connected");
}];
[socket on:#"currentAmount" callback:^(NSArray* data, SocketAckEmitter* ack) {
double cur = [[data objectAtIndex:0] floatValue];
[socket emitWithAck:#"canUpdate" withItems:#[#(cur)]](0, ^(NSArray* data) {
[socket emit:#"update" withItems:#[#{#"amount": #(cur + 2.50)}]];
});
[ack with:#[#"Got your currentAmount, ", #"dude"]];
}];
[socket connect];
I am using node.js locally(http://localhost:3000/) by the help of this tutorial to send message from, and i can see it simultaneously in my Xcode console:
2016-05-13 14:59:20.345 CoreData_Chat[45303:372543] LOG SocketEnginePolling: Doing polling request
2016-05-13 14:59:24.033 CoreData_Chat[45303:373287] LOG SocketEnginePolling: Got polling response
2016-05-13 14:59:24.033 CoreData_Chat[45303:373287] LOG SocketEnginePolling: Doing polling request
2016-05-13 14:59:24.033 CoreData_Chat[45303:373285] LOG SocketEngine: Got message: 42["chat message","hii"]
2016-05-13 14:59:24.034 CoreData_Chat[45303:373285] LOG SocketIOClient: Should parse message: 2["chat message","hii"]
2016-05-13 14:59:24.034 CoreData_Chat[45303:373285] LOG SocketParser: Parsing 2["chat message","hii"]
2016-05-13 14:59:24.035 CoreData_Chat[45303:373285] LOG SocketParser: Decoded packet as: SocketPacket {type: 2; data: [chat message, hii]; id: -1; placeholders: -1; nsp: /}
2016-05-13 14:59:24.035 CoreData_Chat[45303:373285] LOG SocketIOClient: Handling event: chat message with data: (
hii)
So, how can i emit this message to show in my app and/or send message to server. There is no any clear tutorial explaining this, especially in Objective-C. Can anyone help? Thank you.
NSMutableDictionary *messageServer = [[NSMutableDictionary alloc]init];
[messageServer setObject:#"bet" forKey:userActivity];
[messageServer setObject:#"0" forKey:betMoney];
SocketIOClient emit:EVENTNAME withItems:#[messageServer];
I am trying to upload a file image to the content but i get this error.
error: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has
occurred and a secure connection to the server cannot be made."
UserInfo={NSLocalizedDescription=An SSL error has occurred and a
secure connection to the server cannot be made.,
NSLocalizedRecoverySuggestion=Would you like to connect to the server
anyway?, _kCFStreamErrorDomainKey=3, NSUnderlyingError=0x162007a0
{Error Domain=kCFErrorDomainCFNetwork Code=-1200 "An SSL error has
occurred and a secure connection to the server cannot be made."
UserInfo={NSLocalizedDescription=An SSL error has occurred and a
secure connection to the server cannot be made.,
_kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamPropertySSLClientCertificateState=0, NSLocalizedRecoverySuggestion=Would you like to connect to the server
anyway?, _kCFStreamErrorCodeKey=-9802,
kCFStreamPropertySSLPeerTrust=,
_kCFStreamErrorDomainKey=3, kCFStreamPropertySSLPeerCertificates={type = immutable, count = 3, values = ( 0 :
1 : 2 : )},
NSErrorFailingURLStringKey=https://qbprod.s3.amazonaws.com/,
NSErrorFailingURLKey=https://qbprod.s3.amazonaws.com/}},
_kCFStreamErrorCodeKey=-9802, NSErrorFailingURLStringKey=https://qbprod.s3.amazonaws.com/,
NSErrorPeerCertificateChainKey={type
= immutable, count = 3, values = ( 0 : 1 : 2 :
)},
NSErrorClientCertificateStateKey=0,
NSURLErrorFailingURLPeerTrustErrorKey=,
NSErrorFailingURLKey=https://qbprod.s3.amazonaws.com/}
I used the below code to upload file and it worked perfectly.
let imageData: NSData = UIImagePNGRepresentation(image)!
QBRequest.TUploadFile(imageData,
fileName: "testimage.png",
contentType: "image/png",
isPublic: false,
successBlock: {(response: QBResponse!, uploadedBlob: QBCBlob!) in
/** You get success with updated blob **/
}, statusBlock: {(request: QBRequest?, status: QBRequestStatus?) in
},
errorBlock: {(response: QBResponse!) in
})
I'm trying to create/write a pList file out side of the documents directory but I'm getting this error:
error writing to file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “spanishPlayground-toys.plist” doesn’t exist." UserInfo=0x618000278200 {NSFilePath=/Users/myUser/Volumes/Depot/proyects/myApp/Assets/config.plist, NSUserStringVariant=Folder, NSUnderlyingError=0x618000247140 "The operation couldn’t be completed. No such file or directory"}
This is my code:
NSString *filePath = [NSHomeDirectory() stringByAppendingPathComponent:#"/Volumes/Depot/proyects/myApp/Assets/config.plist"];
BOOL writeStatus = [plistData writeToFile: filePath
options: NSDataWritingAtomic
error: &error]; if (!writeStatus) {
NSLog (#"error writing to file: %#", error);
return; }
Any of you has any idea of how can I write the file outside of the documents directory?
I'll really appreciate you help.
I'm getting several errors, that are not blocking, in this piece of code:
[psc lock];
NSError *error = nil;
if (![psc addPersistentStoreWithType:NSSQLiteStoreType
configuration:nil
URL:localStore
options:options
error:&error]) {
NSLog(#"Unresolved error %#, %#", error, [error userInfo]);
abort();
}
[psc unlock];
Something like the following ( note: at the end of the process, the data seem correctly synchronized , no exception is thrown and error is nil, but however the synchronization takes some time); the error are of two kinds, at the beginning it seems a file ( or more ) is missing and then it says something about data integrity ( some foreign keys that are not satisfied ), maybe the two problems are related ?
Is this a normal situation ?
( btw, the app is in store, https://itunes.apple.com/app/id582749801 , it memorizes tracks from gps and make them available to other devices, tracks may contain much data, 2 records for second )
( sorry for the long log, i have cut it a bit, however it may be useful to understand what is happening )
2012-12-14 11:18:25.489 CloudGPSTracker[9303:907] -[PFUbiquityTransactionLog loadPlistAtLocation:withError:](485): CoreData: Ubiquity: Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt, NSUnderlyingError=0x1ddf3e50 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}
2012-12-14 11:18:25.491 CloudGPSTracker[9303:907] -[PFUbiquityTransactionLog loadContents:](290): CoreData: Ubiquity: Error encountered while trying to load the comparison metadata for transaction log: <PFUbiquityTransactionLog: 0x1f083450>
transactionLogLocation: <PFUbiquityLocation: 0x1f005420>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt
transactionNumber: (null)
Error: Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. (Cocoa error 134302.)" UserInfo=0x1f2c1ae0 {reason=Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt, NSUnderlyingError=0x1ddf3e50 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}}
userInfo: {
reason = "Error reading the log file at location: (null)\nuserInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 \"The operation couldn\U2019t be completed. (Cocoa error 256 - The item failed to download.)\" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt, NSUnderlyingError=0x1ddf3e50 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\", NSDescription=The item failed to download.}\nuserInfo: {\n NSDescription = \"The item failed to download.\";\n NSURL = \"file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt\";\n NSUnderlyingError = \"Error Domain=UBErrorDomain Code=0 \\\"The operation couldn\\U2019t be completed. (UBErrorDomain error 0.)\\\"\";\n}";
}
2012-12-14 11:18:25.495 CloudGPSTracker[9303:907] -[_PFUbiquityRecordsImporter createSortedOperationsArrayForLogLocationsInContext:isFirstImport:](256): CoreData: Ubiquity: Error loading comparison metadata for transaction log: (null)
Error: Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. (Cocoa error 134302.)" UserInfo=0x1f2c1ae0 {reason=Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt, NSUnderlyingError=0x1ddf3e50 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}}
User Info: {
reason = "Error reading the log file at location: (null)\nuserInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 \"The operation couldn\U2019t be completed. (Cocoa error 256 - The item failed to download.)\" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt, NSUnderlyingError=0x1ddf3e50 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\", NSDescription=The item failed to download.}\nuserInfo: {\n NSDescription = \"The item failed to download.\";\n NSURL = \"file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA47-A783C78DE466.1.cdt\";\n NSUnderlyingError = \"Error Domain=UBErrorDomain Code=0 \\\"The operation couldn\\U2019t be completed. (UBErrorDomain error 0.)\\\"\";\n}";
}
2012-12-14 11:20:10.991 CloudGPSTracker[9303:907] -[PFUbiquityTransactionLog loadPlistAtLocation:withError:](485): CoreData: Ubiquity: Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1f50b7e0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt, NSUnderlyingError=0x1f50b850 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}
2012-12-14 11:20:10.993 CloudGPSTracker[9303:907] -[PFUbiquityTransactionLog loadContents:](290): CoreData: Ubiquity: Error encountered while trying to load the comparison metadata for transaction log: <PFUbiquityTransactionLog: 0x1f50f490>
transactionLogLocation: <PFUbiquityLocation: 0x1f18f940>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt
transactionNumber: (null)
Error: Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. (Cocoa error 134302.)" UserInfo=0x1f5106f0 {reason=Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1f50b7e0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt, NSUnderlyingError=0x1f50b850 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}}
userInfo: {
reason = "Error reading the log file at location: (null)\nuserInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 \"The operation couldn\U2019t be completed. (Cocoa error 256 - The item failed to download.)\" UserInfo=0x1f50b7e0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt, NSUnderlyingError=0x1f50b850 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\", NSDescription=The item failed to download.}\nuserInfo: {\n NSDescription = \"The item failed to download.\";\n NSURL = \"file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt\";\n NSUnderlyingError = \"Error Domain=UBErrorDomain Code=0 \\\"The operation couldn\\U2019t be completed. (UBErrorDomain error 0.)\\\"\";\n}";
}
2012-12-14 11:20:10.996 CloudGPSTracker[9303:907] -[_PFUbiquityRecordsImporter createSortedOperationsArrayForLogLocationsInContext:isFirstImport:](256): CoreData: Ubiquity: Error loading comparison metadata for transaction log: (null)
Error: Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. (Cocoa error 134302.)" UserInfo=0x1f5106f0 {reason=Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1f50b7e0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt, NSUnderlyingError=0x1f50b850 "The operation couldn’t be completed. (UBErrorDomain error 0.)", NSDescription=The item failed to download.}
userInfo: {
NSDescription = "The item failed to download.";
NSURL = "file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt";
NSUnderlyingError = "Error Domain=UBErrorDomain Code=0 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\"";
}}
User Info: {
reason = "Error reading the log file at location: (null)\nuserInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 \"The operation couldn\U2019t be completed. (Cocoa error 256 - The item failed to download.)\" UserInfo=0x1f50b7e0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt, NSUnderlyingError=0x1f50b850 \"The operation couldn\U2019t be completed. (UBErrorDomain error 0.)\", NSDescription=The item failed to download.}\nuserInfo: {\n NSDescription = \"The item failed to download.\";\n NSURL = \"file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8EEB401B-05C5-4221-AEA3-EC377BB51CAB.1.cdt\";\n NSUnderlyingError = \"Error Domain=UBErrorDomain Code=0 \\\"The operation couldn\\U2019t be completed. (UBErrorDomain error 0.)\\\"\";\n}";
}
2012-12-14 11:20:45.173 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44d50> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2718:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.174 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44be0> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2771:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.176 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44a60> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2695:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.177 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44960> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2620:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.179 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd447e0> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2614:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.180 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44680> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2715:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.181 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd44500> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2688:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.183 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934
Unable to find relationship destination object: <PFUbiquityGlobalObjectID: 0x1dd443c0> (3F7NTNZ29A.com.3bsoft.CloudGPSTracker:POINT:p2617:mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14)
2012-12-14 11:20:45.185 CloudGPSTracker[9303:907] -[_PFUbiquityRecordImportOperation processObjects:withState:andImportContext:outError:](845): CoreData: Ubiquity: <_PFUbiquityRecordImportOperation: 0x20979220>:
localPeerID: mobile.00857B2E-B835-504A-8FD6-C666D92AD889
logScore: <PFUbiquityKnowledgeVector: 0x2096eb70> (mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14:1)
transactionLog: <PFUbiquityTransactionLog: 0x20893c90>
transactionLogLocation: <PFUbiquityLocation: 0x1f190a20>: /private/var/mobile/Library/Mobile Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/8F59A23C-CEB2-4B0B-A663-1616726A5F77.1.cdt
transactionNumber: 2934