Skip to content

Instantly share code, notes, and snippets.

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
var cell = row.selectAll('.cell').data(function(d) { return d; })
.enter().append('div')
.attr('class', 'cell');
2012-10-31 12:15:07.717 PhoneGapTest[7467:15b03] CRASH: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
2012-10-31 12:15:07.720 PhoneGapTest[7467:15b03] Stack Trace: (
0 CoreFoundation 0x001a702e __exceptionPreprocess + 206
1 libobjc.A.dylib 0x026dce7e objc_exception_throw + 44
2 CoreFoundation 0x0016da95 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 165
3 CoreFoundation 0x0019a4e9 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 73
4 PhoneGapTest 0x0006addf -[KPAPIClient initWithBaseUrl:version:appKey:appSecret:] + 503
5 PhoneGapTest 0x00068272 -[Kiip initWithAppKey:andSecret:] + 227
6 PhoneGapTest 0x00003264 -[AppDelegate application:didFinishLaunchingWithOptions:] + 148
7 UIKit 0x003df7b7 -[UIApplication _handleDelegateCa
2012-10-31 12:05:16.011 PhoneGapTest[7288:15b03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
*** First throw call stack:
(0x1a7012 0x26dce7e 0x16da95 0x19a4e9 0x6ae2f 0x682c2 0x3329 0x3df7b7 0x3dfda7 0x3e0fab 0x3f2315 0x3f324b 0x3e4cf8 0x350edf9 0x350ead0 0x11cbf5 0x11c962 0x14dbb6 0x14cf44 0x14ce1b 0x3e07da 0x3e265c 0x31c6 0x30f5)
libc++abi.dylib: terminate called throwing an exception

Building a tiny iOS App with Kiip

Some nonsense here, maybe a little story

Creating your new XCode Project

  1. Download XCode from the Apple App Store (if you haven't already).
  2. Select the Single View Application template. We're going to keep it simple for now.
  3. Enter in your personal information and product name, I'm going to go with HelloPlanet.
  4. Save your new project.
# Building a tiny iOS App with Kiip
Some nonsense here, maybe a little story
## Creating your new XCode Project
1. Download XCode from the Apple App Store (if you haven't already).
2. Select the Single View Application template. We're going to keep it simple for now.
3. Enter in your personal information and product name, I'm going to go with `HelloPlanet`.
4. Save your new project.
# Building a tiny iOS App with Kiip
Some nonsense here, maybe a little story
## Creating your new XCode Project
1. Download XCode from the Apple App Store (if you haven't already).
2. Select the Single View Application template. We're going to keep it simple for now.
3. Enter in your personal information and product name, I'm going to go with `HelloPlanet`.
4. Save your new project.
RiakError: "do not know how to handle type <type 'int'>"
2012-10-18 21:34:12,022 - kiip.model.query.Device - query:290 - ERROR - Backing store error!
Traceback (most recent call last):
File "/srv/kiip/lib/model/query.py", line 269, in _invoke_action
result = method_impl(*args, **kwargs)
File "/srv/kiip/lib/riakstore/query.py", line 174, in get_by_id
obj = self._bucket.get_binary(id, r=r)
File "/usr/local/etc/virtualenvs/kiip/local/lib/python2.7/site-packages/riak/bucket.py", line 275, in get_binary
return obj.reload(r)
File "/usr/local/etc/virtualenvs/kiip/local/lib/python2.7/site-packages/riak/riak_object.py", line 386, in reload
import bootstrap
from models import Device
import logging
logger = logging.getlogger(__name__)
from threadpool import ThreadPool
def run():
f = open('device_id.txt')
output = open('/tmp/out.txt', 'w')
import bootstrap
from models import Device
import logging
logger = logging.getlogger(__name__)
from threadpool import ThreadPool
def run():
f = open('device_id.txt')
output = open('/tmp/out.txt', 'w')