Open redmoonrose opened 5 years ago
hmm it looks like Realm is attempting to use an old schema version
@redmoonrose i'm sorry, i thought i replied with a solution to your problem! until i have the time to get to this and fix it, follow the removal directions in the readme to reset the database
Unfortunately this issue prevents the app from being used at all. So right now, NPS Browser for macOS is unusable and only crashes on startup.
Resetting database does nothing to alleviate the issue.
@WBSpitfire have you tried redownloading the app after running the removal commands? I still haven't encountered this issue and unfortunately I'm still busy working on NPS v3 so I don't have the time to fix this at the moment.
I'm sorry if I came across as hostile in my last post - I was frustrated after getting everything else set up but hitting a roadblock with this. I apologize and understand you're busy with other projects, and that this is a free software that you've made in your available time.
I redownloaded the .dmg but the same issue came up. However, I did then decide to download the dmg from a separate computer and then transfer it (after again doing another wipe from the readme instructions), and then that worked.... so I dunno. But that seemed to have done the trick.
No worries, that's strange that that solved your issue instead of deleting the database and refreshing. :thinking:
If it happens again and you get frustrated, I would recommend you just use the NPS site to download the PKG and then run it through pkg2zip from the command line. The new v3 beta site is practically NPS Browser but without automatic decryption after download.
Cheers
Anytime I open NPS Browser on macOS Mojave 10.14.4 a prompt comes up "NPS Browser quit unexpectedly".
Process: NPS Browser [6006] Path: /Applications/NPS Browser.app/Contents/MacOS/NPS Browser Identifier: JK3Y.NPS-Browser Version: 1.4.2 (8) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: NPS Browser [6006] User ID: 501
Date/Time: 2019-04-07 19:50:24.533 -0400 OS Version: Mac OS X 10.14.4 (18E226) Report Version: 12 Anonymous UUID: 3672EB4B-402C-35DE-20BA-E6BDBF5C5335
Sleep/Wake UUID: D978FA32-A21F-49D8-8F64-7FEB08E8B335
Time Awake Since Boot: 69000 seconds Time Since Wake: 490 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [6006]
Application Specific Information: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=1 "Provided schema version 0 is less than last set version 1." UserInfo={NSLocalizedDescription=Provided schema version 0 is less than last set version 1., Error Code=1}: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-902.0.54/src/swift/stdlib/public/core/ErrorType.swift, line 184
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libswiftCore.dylib 0x000000010301cd10 specialized assertionFailure(:_:file:line:flags:) + 144 1 libswiftCore.dylib 0x0000000102ecc7f2 swift_unexpectedError + 322 2 JK3Y.NPS-Browser 0x000000010211216b 0x1020ec000 + 156011 3 JK3Y.NPS-Browser 0x0000000102110a53 0x1020ec000 + 150099 4 com.apple.AppKit 0x00007fff2e4af112 -[NSClassSwapper initWithCoder:] + 602 5 com.apple.Foundation 0x00007fff3304168f _decodeObjectBinary + 2447 6 com.apple.Foundation 0x00007fff33040bde _decodeObject + 246 7 com.apple.Foundation 0x00007fff33040ada -[NSKeyedUnarchiver decodeObjectForKey:] + 205 8 com.apple.AppKit 0x00007fff2e464ac8 -[NSNibConnector initWithCoder:] + 96 9 com.apple.AppKit 0x00007fff2e464950 -[NSNibOutletConnector initWithCoder:] + 76 10 com.apple.Foundation 0x00007fff3304168f _decodeObjectBinary + 2447 11 com.apple.Foundation 0x00007fff33042fde -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1682 12 com.apple.Foundation 0x00007fff3304258f -[NSArray(NSArray) initWithCoder:] + 198 13 com.apple.Foundation 0x00007fff3304168f _decodeObjectBinary + 2447 14 com.apple.Foundation 0x00007fff33040bde _decodeObject + 246 15 com.apple.Foundation 0x00007fff33040ada -[NSKeyedUnarchiver decodeObjectForKey:] + 205 16 com.apple.AppKit 0x00007fff2e463590 -[NSIBObjectData initWithCoder:] + 201 17 com.apple.Foundation 0x00007fff3304168f _decodeObjectBinary + 2447 18 com.apple.Foundation 0x00007fff33040bde _decodeObject + 246 19 com.apple.Foundation 0x00007fff33040ada -[NSKeyedUnarchiver decodeObjectForKey:] + 205 20 com.apple.AppKit 0x00007fff2e5f676f -[NSNib _instantiateNibWithExternalNameTable:options:] + 535 21 com.apple.AppKit 0x00007fff2e5f645b -[NSNib _instantiateWithOwner:options:topLevelObjects:] + 136 22 com.apple.AppKit 0x00007fff2ecc4d97 -[NSStoryboard instantiateControllerWithIdentifier:] + 236 23 com.apple.AppKit 0x00007fff2e4563a5 NSApplicationMain + 702 24 JK3Y.NPS-Browser 0x00000001020ee099 0x1020ec000 + 8345 25 libdyld.dylib 0x00007fff5d25b3d5 start + 1
Thread 1: 0 libsystem_pthread.dylib 0x00007fff5d4483f0 start_wqthread + 0
Thread 2: 0 libsystem_pthread.dylib 0x00007fff5d4483f0 start_wqthread + 0
Thread 3: 0 libsystem_pthread.dylib 0x00007fff5d4483f0 start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x00007fff5d4483f0 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000baa14881 rbx: 0x00007fcee950ff60 rcx: 0x0000000000000081 rdx: 0x00000000bac150a9 rdi: 0x00000000baa14881 rsi: 0x0000600003bc7480 rbp: 0x00007ffeedb12c70 rsp: 0x00007ffeedb12c30 r8: 0x00000000000000cb r9: 0x00000000000007fb r10: 0x0000000000003480 r11: 0x0000000000000050 r12: 0x00007fcee950ff80 r13: 0x0000600003bc7480 r14: 0x0000000103167d59 r15: 0x00000000000000f4 rip: 0x000000010301cd10 rfl: 0x0000000000010202 cr2: 0x000000010257cd52
Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6