ttscoff / nv

MultiMarkdown version of Notational Velocity with Markdown editing features and preview
http://brettterpstra.com/projects/nvalt
BSD 3-Clause "New" or "Revised" License
1.77k stars 197 forks source link

Switch to empty Notes folder & changing Note storage method crashes application #24

Open ghost opened 13 years ago

ghost commented 13 years ago
  1. Create an empty directory on your Mac
  2. Start nvALT
  3. Go to Preferences, Notes
  4. Change "Read notes from folder:" to the empty directory you made.
  5. Change "Store and read notes on disk as" from "Single Database" to "Plain Text Files"
  6. nvALT crashses at this point for me.

If you create a note between step 4 and 5, the application doesn't crash.

I'm guessing it's trying to convert notes in step 5 but failing because there aren't any notes to convert.

elasticthreads commented 13 years ago

Thanks for the report.

What version of nvALT are you using? Please get it from the "About nvALT" command in the nvALT menu. Should be something like : "Version 2.0 (56)"

We're about to release 2.1, which I think fixes this bug. Unless you're beta testing 2.1 (which I can't tell from your GitHub username).

On Wed, Jul 6, 2011 at 11:45 AM, buildndeploy < reply@reply.github.com>wrote:

  1. Create an empty directory on your Mac
  2. Start nvALT
  3. Go to Preferences, Notes
  4. Change "Read notes from folder:" to the empty directory you made.
  5. Change "Store and read notes on disk as" from "Single Database" to "Plain Text Files"
  6. nvALT crashses at this point for me.

If you create a note between step 4 and 5, the application doesn't crash.

I'm guessing it's trying to convert notes in step 5 but failing because there aren't any notes to convert.

Reply to this email directly or view it on GitHub: https://github.com/ttscoff/nv/issues/24

ghost commented 13 years ago

It is in fact Version 2.0 (56).

dsully commented 13 years ago

Here's the relevant crash log:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x00007fff8dcd4112 CFStringGetLength + 18 1 com.apple.CoreFoundation 0x00007fff8dce4214 CFURLCreateWithFileSystemPath + 36 2 net.elasticthreads.nv 0x000000010000b824 0x100000000 + 47140 3 net.elasticthreads.nv 0x0000000100034a74 0x100000000 + 215668 4 net.elasticthreads.nv 0x000000010000e322 0x100000000 + 58146 5 com.apple.CoreFoundation 0x00007fff8dd6011d -[NSObject performSelector:withObject:] + 61 6 com.apple.AppKit 0x00007fff8e8a2852 -[NSApplication sendAction:to:from:] + 139 7 com.apple.AppKit 0x00007fff8e98f34f -[NSMenuItem _corePerformAction] + 399 8 com.apple.AppKit 0x00007fff8e98f086 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125 9 com.apple.AppKit 0x00007fff8e90c7e3 -[NSMenu performKeyEquivalent:] + 281 10 com.apple.AppKit 0x00007fff8e90b439 -[NSApplication _handleKeyEquivalent:] + 526 11 com.apple.AppKit 0x00007fff8e8039fa -[NSApplication sendEvent:] + 4354 12 com.apple.AppKit 0x00007fff8e79a42b -[NSApplication run] + 548 13 com.apple.AppKit 0x00007fff8ea1852a NSApplicationMain + 867 14 net.elasticthreads.nv 0x000000010000180d 0x100000000 + 6157 15 net.elasticthreads.nv 0x0000000100009c3c 0x100000000 + 39996