Codebook aborts when Wifi is turned off macOS Sierra

Running macOS Sierra 10.12.3 Beta + Codebook 3.1.6 (419). Sync to dropbox.

When WiFi is turned off & a sync is started Codebook aborts with an uncaught exception. First part of crash report is shown below:

Process: Codebook [554]
Path: /Applications/Codebook.app/Contents/MacOS/Codebook
Identifier: net.zetetic.Strip.mac
Version: 3.1.6 (419)
App Item ID: 437092903
App External ID: 820251599
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Codebook [554]
User ID: 501

Date/Time: 2017-01-06 04:57:17.866 +0000
OS Version: Mac OS X 10.12.3 (16D17a)
Report Version: 12
Anonymous UUID: E127FCC9-21E1-1D44-7AE4-85BEECF7C946

Time Awake Since Boot: 67 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: 'NSConcreteAttributedString initWithString:: nil value’
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8e38b0db __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffa3018a2a objc_exception_throw + 48
2 CoreFoundation 0x00007fff8e4089c5 +[NSException raise:format:] + 197
3 Foundation 0x00007fff8fd5cd44 -[NSConcreteAttributedString initWithString:] + 135
4 AppKit 0x00007fff8c0fea31 -[NSAlert setInformativeText:] + 56
5 Codebook 0x0000000102d70acb Codebook + 187083
6 Codebook 0x0000000102d80860 Codebook + 252000
7 Codebook 0x0000000102fcf5d8 Codebook + 2672088
8 DropboxOSX 0x000000010316ee07 -[DBRestClient requestDidCreateDirectory:] + 136
9 DropboxOSX 0x0000000103169c6e -[DBRequest connection:didFailWithError:] + 344
10 CFNetwork 0x00007fff8d4951bf __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 72
11 CFNetwork 0x00007fff8d4950d1 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 198
12 CFNetwork 0x00007fff8d4f95f9 -[NSURLConnectionInternal _withConnectionAndDelegate:] + 45
13 CFNetwork 0x00007fff8d4fc0ab _ZL23_NSURLConnectionDidFailP16_CFURLConnectionP9__CFErrorPKv + 86
14 CFNetwork 0x00007fff8d4fbfa4 ___ZN27URLConnectionClient_Classic17_delegate_didFailEP9__CFErrorU13block_pointerFvvE_block_invoke + 118
15 CFNetwork 0x00007fff8d62f2c3 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
16 libdispatch.dylib 0x00007fffa38c40b8 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fffa38d8e12 _dispatch_block_invoke_direct + 322
18 CFNetwork 0x00007fff8d494ec4 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
19 CoreFoundation 0x00007fff8e2c5ed4 CFArrayApplyFunction + 68
20 CFNetwork 0x00007fff8d494dbd _ZN19RunloopBlockContext7performEv + 137
21 CFNetwork 0x00007fff8d494c54 _ZN17MultiplexerSource7performEv + 282
22 CFNetwork 0x00007fff8d494a76 _ZN17MultiplexerSource8_performEPv + 72
23 CoreFoundation 0x00007fff8e3218d1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
24 CoreFoundation 0x00007fff8e302c6c __CFRunLoopDoSources0 + 556
25 CoreFoundation 0x00007fff8e302156 __CFRunLoopRun + 934
26 CoreFoundation 0x00007fff8e301b54 CFRunLoopRunSpecific + 420
27 HIToolbox 0x00007fff8d88cacc RunCurrentEventLoopInMode + 240
28 HIToolbox 0x00007fff8d88c901 ReceiveNextEventCommon + 432
29 HIToolbox 0x00007fff8d88c736 _BlockUntilNextEventMatchingListInModeWithFilter + 71
30 AppKit 0x00007fff8be32abc _DPSNextEvent + 1120
31 AppKit 0x00007fff8c5ad1f7 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
32 AppKit 0x00007fff8be2743d -[NSApplication run] + 926
33 AppKit 0x00007fff8bdf1d58 NSApplicationMain + 1237
34 Codebook 0x0000000102d460c8 Codebook + 12488
35 libdyld.dylib 0x00007fffa38fa255 start + 1

Hi @trainersbuk, thanks for using Codebook and letting us know, sorry about the bug. We’re looking into it now.

Hi @trainersbuk, we were able to reproduce the issue and have included a fix in our latest beta version, would you like to give that a shot?

Hi, yes, i’m quite happy to beta test versions of Codebook. I’m an
experienced developer & happy to do this type of testing when I have
time available. Please tell me how I can download this version of the
software. I can only see build 423 on the websiite.

@trainersbuk great, thanks! Build 425 is available now, you can download it here:

https://www.zetetic.net/downloads/codebook/osx/Codebook-direct.zip