Skip to content

Instantly share code, notes, and snippets.

@ethanmick
Created January 22, 2012 02:01
Show Gist options
  • Save ethanmick/1655077 to your computer and use it in GitHub Desktop.
Save ethanmick/1655077 to your computer and use it in GitHub Desktop.
2012-01-21 21:01:28.745 Magikarp[34407:fb03] Posting list with user: [email protected] and Epsilonn
2012-01-21 21:01:28.747 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:319 Request <RKManagedObjectLoader: 0x82e3b40> added to queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=0 loadingCount=0/5>
2012-01-21 21:01:28.747 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:265 Processing request <RKManagedObjectLoader: 0x82e3b40> in queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=0/5>
2012-01-21 21:01:28.748 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:189 Loading count increasing from 0 to 1. Firing requestQueueDidBeginLoading
2012-01-21 21:01:28.749 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:216 Loading count set to 1 for queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=0/5>
2012-01-21 21:01:28.750 Magikarp[34407:fb03] T restkit.network.cache:RKRequestCache.m:122 Found cachePath '/Users/ethan/Library/Application Support/iPhone Simulator/5.0/Applications/A9570042-9C74-46C7-911F-8075CAFBF93E/Library/Caches/RKClientRequestCache-129.21.140.120/PermanentStore/00ddb0925db9df0b52d5e3fe60c872ac' for <RKManagedObjectLoader: 0x82e3b40>
2012-01-21 21:01:28.751 Magikarp[34407:fb03] T restkit.network.cache:RKRequestCache.m:143 Determined hasResponseForRequest: <RKManagedObjectLoader: 0x82e3b40> => NO
2012-01-21 21:01:28.751 Magikarp[34407:fb03] T restkit.network.reachability:RKReachabilityObserver.m:240 Reachability Flags: -R -------
2012-01-21 21:01:28.752 Magikarp[34407:fb03] T restkit.network.reachability:RKReachabilityObserver.m:283 Reachability observer <RKReachabilityObserver: 0x807c5d0 host=129.21.140.120 isReachabilityDetermined=YES isMonitoringLocalWiFi=686324 reachabilityFlags=-R -------> determined networkStatus = RKReachabilityReachableViaWiFi
2012-01-21 21:01:28.753 Magikarp[34407:fb03] D restkit.network.reachability:RKReachabilityObserver.m:297 Reachability observer <RKReachabilityObserver: 0x807c5d0 host=129.21.140.120 isReachabilityDetermined=YES isMonitoringLocalWiFi=686324 reachabilityFlags=-R -------> determined isNetworkReachable = 1
2012-01-21 21:01:28.754 Magikarp[34407:fb03] D restkit.network:RKRequest.m:362 Sending asynchronous POST request to URL http://129.21.140.120:8080/lists.
2012-01-21 21:01:28.757 Magikarp[34407:fb03] D restkit.network:RKObjectLoader.m:302 POST or PUT request for source object <List: 0x6e9c810> (entity: List; id: 0x80a3a00 <x-coredata://897895BC-E46D-4ABC-889E-363BA26A9E61/List/p8> ; data: {
listID = 0;
tasks = (
);
title = "A New List";
}), serializing to MIME Type application/json for transport...
2012-01-21 21:01:28.758 Magikarp[34407:fb03] D restkit.object_mapping:RKObjectMappingOperation.m:509 Starting mapping operation...
2012-01-21 21:01:28.758 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:510 Performing mapping operation: RKObjectMappingOperation for '__NSCFDictionary' object. Mapping values from object <List: 0x6e9c810> (entity: List; id: 0x80a3a00 <x-coredata://897895BC-E46D-4ABC-889E-363BA26A9E61/List/p8> ; data: {
listID = 0;
tasks = (
);
title = "A New List";
}) to object {
} with object mapping RKObjectMapping class => NSMutableDictionary: keyPath mappings => (
"RKObjectKeyPathMapping: title => title",
"RKObjectKeyPathMapping: listID => id",
"RKObjectKeyPathMapping: tasks => tasks"
)
2012-01-21 21:01:28.759 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:263 Mapping attribute value keyPath 'title' to 'title'
2012-01-21 21:01:28.760 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:273 Mapped attribute value from keyPath 'title' to 'title'. Value: A New List
2012-01-21 21:01:28.760 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:263 Mapping attribute value keyPath 'listID' to 'id'
2012-01-21 21:01:28.761 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:273 Mapped attribute value from keyPath 'listID' to 'id'. Value: 0
2012-01-21 21:01:28.762 Magikarp[34407:fb03] D restkit.object_mapping:RKObjectMappingOperation.m:404 Mapping one to many relationship value at keyPath 'tasks' to 'tasks'
2012-01-21 21:01:28.762 Magikarp[34407:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:456 Mapped relationship object from keyPath 'tasks' to 'tasks'. Value: (
)
2012-01-21 21:01:28.763 Magikarp[34407:fb03] D restkit.object_mapping:RKObjectMappingOperation.m:516 Finished mapping operation successfully...
2012-01-21 21:01:28.764 Magikarp[34407:fb03] T restkit.network.cache:RKRequestCache.m:122 Found cachePath '/Users/ethan/Library/Application Support/iPhone Simulator/5.0/Applications/A9570042-9C74-46C7-911F-8075CAFBF93E/Library/Caches/RKClientRequestCache-129.21.140.120/PermanentStore/b241477c141b4b51834d5dc8964c4a52' for <RKManagedObjectLoader: 0x82e3b40>
2012-01-21 21:01:28.764 Magikarp[34407:fb03] D restkit.network.cache:RKRequestCache.m:250 Read nil cached headers from cachePath '/Users/ethan/Library/Application Support/iPhone Simulator/5.0/Applications/A9570042-9C74-46C7-911F-8075CAFBF93E/Library/Caches/RKClientRequestCache-129.21.140.120/PermanentStore/b241477c141b4b51834d5dc8964c4a52.headers' for '<RKManagedObjectLoader: 0x82e3b40>'
2012-01-21 21:01:28.766 Magikarp[34407:fb03] D restkit.network.cache:RKRequestCache.m:278 Found cached ETag '(null)' for '<RKManagedObjectLoader: 0x82e3b40>'
2012-01-21 21:01:28.767 Magikarp[34407:fb03] T restkit.network:RKRequest.m:310 Prepared POST URLRequest '<NSMutableURLRequest http://129.21.140.120:8080/lists>'. HTTP Headers: {
Accept = "application/json";
"Content-Length" = 40;
"Content-Type" = "application/json";
}. HTTP Body: {"id":0,"title":"A New List","tasks":[]}.
2012-01-21 21:01:28.768 Magikarp[34407:fb03] D restkit.network.queue:RKRequestQueue.m:272 Sent request <RKManagedObjectLoader: 0x82e3b40> from queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=1/5>. Loading count = 1 of 5
2012-01-21 21:01:28.775 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:227 Timer initialized with delay 0.300000 for queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=1/5>
2012-01-21 21:01:28.821 Magikarp[34407:fb03] D restkit.network:RKResponse.m:163 Asked if canAuthenticateAgainstProtectionSpace: with authenticationMethod = NSURLAuthenticationMethodDefault
2012-01-21 21:01:28.822 Magikarp[34407:fb03] D restkit.network:RKResponse.m:137 Received authentication challenge
2012-01-21 21:01:28.872 Magikarp[34407:fb03] D restkit.network:RKResponse.m:163 Asked if canAuthenticateAgainstProtectionSpace: with authenticationMethod = NSURLAuthenticationMethodDefault
2012-01-21 21:01:28.873 Magikarp[34407:fb03] D restkit.network:RKResponse.m:137 Received authentication challenge
2012-01-21 21:01:28.874 Magikarp[34407:fb03] W restkit.network:RKResponse.m:157 Failed authentication challenge after 1 failures
2012-01-21 21:01:28.902 Magikarp[34407:fb03] ERROR 2012 - Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x6e9ed80 {NSErrorFailingURLKey=http://129.21.140.120:8080/lists, NSErrorFailingURLStringKey=http://129.21.140.120:8080/lists}
2012-01-21 21:01:28.917 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:340 Removing request <RKManagedObjectLoader: 0x82e3b40> from queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=1 loadingCount=1/5>
2012-01-21 21:01:28.919 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:202 Loading count decreasing from 1 to 0. Firing requestQueueDidFinishLoading
2012-01-21 21:01:28.920 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:216 Loading count set to 0 for queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=0 loadingCount=1/5>
2012-01-21 21:01:28.920 Magikarp[34407:fb03] T restkit.network.queue:RKRequestQueue.m:352 Decremented the loading count to 0
2012-01-21 21:01:28.926 Magikarp[34407:fb03] D restkit.network.queue:RKRequestQueue.m:455 Request <RKManagedObjectLoader: 0x82e3b40> failed loading in queue <RKRequestQueue: 0x828e180 name=(null) suspended=NO requestCount=0 loadingCount=0/5> with error: The operation couldn’t be completed. (NSURLErrorDomain error -1012.).(Now loading 0 of 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment