nv icon indicating copy to clipboard operation
nv copied to clipboard

nvAlt 2.2.7 freezes on High Sierra (developer beta 1 & 2)

Open seltzered opened this issue 9 years ago • 53 comments

Observing nvAlt freezing on macos High Sierra developer beta 1 & 2. Basically observing the app beachball upon startup and not open the main window.

Filing to see if anyone else is having issues too. Will try to compile/debug from https://github.com/ttscoff/nv/tree/2.2.5 if time frees up.

seltzered avatar Jun 23 '17 18:06 seltzered

Seeing the same issue on High Sierra 10.13 Beta (17A291m). After loading the mmd files in my repository, nvAlt logs the following before it must be killed:

default 16:28:40.514637 -0600 nvALT FILE WAS MODIFIED: zumatribute.txt default 16:28:40.579110 -0600 nvALT load time: 17.5986, default 16:28:41.337702 -0600 nvALT 0x7fbac0606470 - PerformanceMonitor::measurePostBackgroundingMemoryUsage: Process was using 660254720 bytes of memory after becoming non visible. default 16:28:41.340472 -0600 nvALT OSErr AERemoveEventHandler(AEEventClass, AEEventID, AEEventHandlerUPP, Boolean)(spec,phac handler=0x7fff7c18f8ee isSys=YES) err=0/noErr default 16:28:41.348644 -0600 nvALT .sdef warning for argument 'FileType' of command 'save' in suite 'Standard Suite': 'saveable file format' is not a valid type name. default 16:28:41.348974 -0600 nvALT OSErr AERemoveEventHandler(AEEventClass, AEEventID, AEEventHandlerUPP, Boolean)(ascr,gdut handler=0x7fff7b0f98d0 isSys=YES) err=0/noErr default 16:28:41.418990 -0600 nvALT finished: '/var/folders/r2/sryb07fm8xj9wb0059bpd2gh0000gn/T/NVPlainTextEditingSpace' default 16:29:01.149457 -0600 kernel AGC:: [nvALT pid 79177 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:00:38.233 default 16:44:21.063124 -0600 SubmitDiagInfo Submitted problem report file:///Library/Logs/DiagnosticReports/nvALT_2017-07-03-155357_zuma.hang

pmessenich avatar Jul 03 '17 23:07 pmessenich

Confirming here as well. Sadness!

neilio avatar Jul 11 '17 20:07 neilio

Remains a problem in beta 3.

pvg avatar Jul 18 '17 02:07 pvg

Still an issue in beta 4.

kylelundstedt avatar Jul 27 '17 00:07 kylelundstedt

Also an issue on the public beta (17A315i).

oztourer avatar Jul 27 '17 23:07 oztourer

Got curious and built the app. And paused to see the stacktrace when it starts freezing.

It looks like commenting out lines 3232-3233 in appcontroller.m makes it work, that is these lines:

            [theFieldEditor setDrawsBackground:NO];
            [theFieldEditor setSelectedTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[NSColor selectedTextBackgroundColor], NSBackgroundColorAttributeName, nil]];

I'm still not sure why though, still need to step through the code. and it may turn out to be something a radar should be filed for.

In case anyone else is trying to build/debug, you shouldn't need the simperium key to debug this, just add a simperiumconfig.h with X's for the api key.

seltzered avatar Jul 28 '17 03:07 seltzered

Try FSNotes, modern notatational velocity reinvention. High Sierra compatible and in active development now https://github.com/glushchenko/fsnotes

glushchenko avatar Aug 05 '17 20:08 glushchenko

Thanks for the tip, @glushchenko. Unfortunately that app is still pretty rough - there's no sync support, for example - so it's a non-starter for me, but I'll definitely keep an eye on it.

neilio avatar Aug 05 '17 20:08 neilio

@neilio, you can choose Dropbox or iCloud Drive destinaion for sync ;)

glushchenko avatar Aug 06 '17 10:08 glushchenko

I can confirm NVAlt continues to freeze in the latest PUBLIC release (macOS beta 6)

BitWriter can't come soon enough.

timbuktu234 avatar Aug 12 '17 23:08 timbuktu234

Is there any information available on the BitWriter project?

TempSpas avatar Aug 13 '17 00:08 TempSpas

Depending on which nvALT features you use, you should definitely check out fsnotes (mentioned above). I personally store all my notes as individual rtf files, so the latest fsnotes beta is working just fine for me. I've compiled nvALT without the two lines mentioned in https://github.com/ttscoff/nv/issues/459#issuecomment-318543427 so I have it limping along on 10.13 but fsnotes is far more usable that that.

Disclaimer — I've contributed a few PR's to fsnotes :)

https://github.com/glushchenko/fsnotes

jeff-h avatar Aug 13 '17 01:08 jeff-h

TempSpas: in the very recent Mac Power users podcast on tagging, Brett mentioned they are hard a work on BitWriter, but no ETA. Considering the quality of Marked 2 and Brett's attention to detail, I suspect BitWriter is going to be amazing. FSNotes is very nice and minimal, but is still missing lots of features that at least I use, so come High Sierra lets hope there is a BitWriter beta to work with...

iandol avatar Aug 13 '17 03:08 iandol

Would anyone be willing to compile and post a build of nvALT with the two lines commented out? I am running the latest beta of High Sierra and I am really missing nvALT.

Japandave avatar Aug 24 '17 15:08 Japandave

https://github.com/pvg/nvtemp/raw/master/nvALT.app.zip It's unsigned, built with Xcode 8 on High Sierra beta 7. If it blows up your computer, it's your own fault.

pvg avatar Aug 24 '17 17:08 pvg

Thanks for this, pvg. But seems that this version can't login to the simplenote server. Time for me to investigate a dropbox based setup.

fdkz avatar Aug 24 '17 17:08 fdkz

Thank you, pvg. I appreciate it. Here's hoping we can keep nvALT puttering along until Bitwriter comes out.

fdkz: Though I also love Simplenote, I long ago moved my notes folder to be within my Dropbox folder; that way I could access it both with Simplenote and with any other note taking app I was trying (such as 1writer, which is excellent but slow)—also as an insurance policy incase Simplenote ever stopped working. I'd recommend the same.

Japandave avatar Aug 24 '17 18:08 Japandave

There's a missing header in nvALT for Simplenote integration which presumably contains an API key/credentials and is not included. There's a sample header with dummy credentials which is what I used to build this so it won't work with Simplenote. This build is really just a stopgap so at an absolute minimum you can get your data out - something that's surprisingly tricky without a working nv app.

pvg avatar Aug 24 '17 18:08 pvg

I donated 20$ to help and mentioned this issue. Maybe it motivates more people to help Brett.

http://brettterpstra.com/donate/

steipete avatar Aug 27 '17 23:08 steipete

I've donated 10$ too and mentioned this issue as well.

http://brettterpstra.com/donate/

BitWriter can't come soon enough.

timbuktu234 avatar Aug 28 '17 00:08 timbuktu234