tomboy-notes / tomboy.osx

MonoMac-based version of Tomboy.
Other
20 stars 3 forks source link

After setting particular location for notes, opening Preferences now crashes Tomboy #51

Open yaomtc opened 8 years ago

yaomtc commented 8 years ago

I've tried uninstalling and re-installing, and tried deleting the Application Support folder, but no matter what I've done, it still crashes when I try to open Preferences. Here's the terminal output:

$ ./Tomboy
[DEBUG 02:33:48.389] Backup Path set to /Users/chris/Library/Application Support/Tomboy/v1
[DEBUG 02:33:48.518] cache directory set to /Users/chris/Library/Caches/Tomboy
2016-07-02 02:33:51.660 Tomboy[2637:82381] Could not connect action, target class SyncPrefDialogController does not respond to -SyncURL:
2016-07-02 02:33:51.660 Tomboy[2637:82381] Could not connect action, target class SyncPrefDialogController does not respond to -exportNotes:

Unhandled Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
  at MonoMac.AppKit.NSControl.set_StringValue (System.String value) <0x78a0df8 + 0x000b3> in <filename unknown>:0 
  at Tomboy.SyncPrefDialogController.AwakeFromNib () <0x78a0db0 + 0x00027> in <filename unknown>:0 
  at (wrapper native-to-managed) System.Object:[Tomboy.SyncPrefDialogController:Void AwakeFromNib()] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector)
  at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:IntPtr_objc_msgSendSuper (intptr,intptr)
  at MonoMac.AppKit.NSWindowController.get_Window () <0x7705c08 + 0x0007b> in <filename unknown>:0 
  at Tomboy.SyncPrefDialogController.get_Window () <0x78a0640 + 0x00013> in <filename unknown>:0 
  at Tomboy.AppDelegate.Preferences (MonoMac.Foundation.NSObject sender) <0x78a05d0 + 0x0002f> in <filename unknown>:0 
  at (wrapper dynamic-method) System.Object:[Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject)
  at (wrapper native-to-managed) System.Object:[Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject)
  at (wrapper managed-to-native) MonoMac.AppKit.NSApplication:NSApplicationMain (int,string[])
  at MonoMac.AppKit.NSApplication.Main (System.String[] args) <0x6cd7bb8 + 0x0007b> in <filename unknown>:0 
  at Tomboy.MainClass.Main (System.String[] args) <0x795f58 + 0x00017> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: value
  at MonoMac.AppKit.NSControl.set_StringValue (System.String value) <0x78a0df8 + 0x000b3> in <filename unknown>:0 
  at Tomboy.SyncPrefDialogController.AwakeFromNib () <0x78a0db0 + 0x00027> in <filename unknown>:0 
  at (wrapper native-to-managed) System.Object:[Tomboy.SyncPrefDialogController:Void AwakeFromNib()] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector)
  at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:IntPtr_objc_msgSendSuper (intptr,intptr)
  at MonoMac.AppKit.NSWindowController.get_Window () <0x7705c08 + 0x0007b> in <filename unknown>:0 
  at Tomboy.SyncPrefDialogController.get_Window () <0x78a0640 + 0x00013> in <filename unknown>:0 
  at Tomboy.AppDelegate.Preferences (MonoMac.Foundation.NSObject sender) <0x78a05d0 + 0x0002f> in <filename unknown>:0 
  at (wrapper dynamic-method) System.Object:[Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject)
  at (wrapper native-to-managed) System.Object:[Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject)
  at (wrapper managed-to-native) MonoMac.AppKit.NSApplication:NSApplicationMain (int,string[])
  at MonoMac.AppKit.NSApplication.Main (System.String[] args) <0x6cd7bb8 + 0x0007b> in <filename unknown>:0 
  at Tomboy.MainClass.Main (System.String[] args) <0x795f58 + 0x00017> in <filename unknown>:0 
trepidity commented 8 years ago

Which version of Tomboy is this?

On July 2, 2016 at 1:38:21 AM, yaomtc (notifications@github.com) wrote:

I've tried uninstalling and re-installing, and tried deleting the Application Support folder, but no matter what I've done, it still crashes when I try to open Preferences. Here's the terminal output:

$ ./Tomboy [DEBUG 02:33:48.389] Backup Path set to /Users/chris/Library/Application Support/Tomboy/v1 [DEBUG 02:33:48.518] cache directory set to /Users/chris/Library/Caches/Tomboy 2016-07-02 02:33:51.660 Tomboy[2637:82381] Could not connect action, target class SyncPrefDialogController does not respond to -SyncURL: 2016-07-02 02:33:51.660 Tomboy[2637:82381] Could not connect action, target class SyncPrefDialogController does not respond to -exportNotes:

Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: value at MonoMac.AppKit.NSControl.set_StringValue (System.String value) <0x78a0df8 + 0x000b3> in :0 at Tomboy.SyncPrefDialogController.AwakeFromNib () <0x78a0db0 + 0x00027> in :0 at (wrapper native-to-managed) System.Object:Tomboy.SyncPrefDialogController:Void AwakeFromNib() at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:IntPtr_objc_msgSendSuper (intptr,intptr) at MonoMac.AppKit.NSWindowController.get_Window () <0x7705c08 + 0x0007b> in :0 at Tomboy.SyncPrefDialogController.get_Window () <0x78a0640 + 0x00013> in :0 at Tomboy.AppDelegate.Preferences (MonoMac.Foundation.NSObject sender) <0x78a05d0 + 0x0002f> in :0 at (wrapper dynamic-method) System.Object:Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject) at (wrapper native-to-managed) System.Object:Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject) at (wrapper managed-to-native) MonoMac.AppKit.NSApplication:NSApplicationMain (int,string[]) at MonoMac.AppKit.NSApplication.Main (System.String[] args) <0x6cd7bb8 + 0x0007b> in :0 at Tomboy.MainClass.Main (System.String[] args) <0x795f58 + 0x00017> in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null. Parameter name: value at MonoMac.AppKit.NSControl.set_StringValue (System.String value) <0x78a0df8 + 0x000b3> in :0 at Tomboy.SyncPrefDialogController.AwakeFromNib () <0x78a0db0 + 0x00027> in :0 at (wrapper native-to-managed) System.Object:Tomboy.SyncPrefDialogController:Void AwakeFromNib() at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:IntPtr_objc_msgSendSuper (intptr,intptr) at MonoMac.AppKit.NSWindowController.get_Window () <0x7705c08 + 0x0007b> in :0 at Tomboy.SyncPrefDialogController.get_Window () <0x78a0640 + 0x00013> in :0 at Tomboy.AppDelegate.Preferences (MonoMac.Foundation.NSObject sender) <0x78a05d0 + 0x0002f> in :0 at (wrapper dynamic-method) System.Object:Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject) at (wrapper native-to-managed) System.Object:Tomboy.AppDelegate:Void Preferences(MonoMac.Foundation.NSObject) at (wrapper managed-to-native) MonoMac.AppKit.NSApplication:NSApplicationMain (int,string[]) at MonoMac.AppKit.NSApplication.Main (System.String[] args) <0x6cd7bb8 + 0x0007b> in :0 at Tomboy.MainClass.Main (System.String[] args) <0x795f58 + 0x00017> in :0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomboy-notes/tomboy.osx/issues/51, or mute the thread https://github.com/notifications/unsubscribe/AAtBXX2GyiTv5gMICZUrR5qTvioE8H0lks5qRgdbgaJpZM4JDnVn .

yaomtc commented 8 years ago

It's from the installation file provided on the main page here, 0.3.4. Not sure what version of Tomboy that corresponds to.

yaomtc commented 8 years ago

I've also tried deleting the Tomboy folders in Application Support and Caches before reinstalling, but no dice. Still crashes. Is there another location for config files? How can I get a fresh start?

trepidity commented 8 years ago

What version of OS X?

--  Jared

On July 2, 2016 at 1:00:40 PM, yaomtc (notifications@github.com) wrote:

I've also tried deleting the Tomboy folders in Application Support and Caches before reinstalling, but no dice. Still crashes. Is there another location for config files? How can I get a fresh start?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

yaomtc commented 8 years ago

Newest, El Capitan. On Jul 12, 2016 11:14, "Jared Jennings" notifications@github.com wrote:

What version of OS X?

Jared

On July 2, 2016 at 1:00:40 PM, yaomtc (notifications@github.com) wrote:

I've also tried deleting the Tomboy folders in Application Support and Caches before reinstalling, but no dice. Still crashes. Is there another location for config files? How can I get a fresh start?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomboy-notes/tomboy.osx/issues/51#issuecomment-232079903, or mute the thread https://github.com/notifications/unsubscribe/AFRxXelMn5p62MgzWoVKTXsQn-IFwN_Fks5qU69QgaJpZM4JDnVn .

gwhitney commented 8 years ago

I have the same precise issue; and moreover, when I try to follow the build instructions (to see if the current master version behaved any better), tomboy-library builds fine, but when I open the tomboy.osx.sln file in Xamarin Studio 6.1.1 it complains "Unknown project type: PackagingProject" and "Error while trying to load the project: '[..FULL PATH SNIPPED..]/tomboy.osx/tomboy-library/Tomboy-library/Tomboy-library.csproj': Text content is not allowed inside a ItemGroup element." and then won't do a thing.

Any thoughts? Any way to build without Xamarin Studio? Since Xamarin won't even get going with the project, there's not really any way I can try to debug.

gwhitney commented 8 years ago

Oh, I should mention that I had tried to set up tomboy osx to sync with grauphel, not being aware of bug #39 that doomed me there. So possibly this issue is tied up with that one. In any case, I would be very happy if this and #39 could be worked out. I would be happy to work on them myself (it looks from the comments like there has already been much work on #39 and the related #41) but as I can't even get the build to work it is tough for me to contribute effort here. So any thoughts/information about how to get past the Xamarin issues in my last comment would be very helpful as I could then attack these issues myself and perhaps be helpful to the maintainers of this project. Thanks, Glen

trepidity commented 8 years ago

@gwhitney I was doing a lot of work on the OS X build, but haven't touched in a couple of years. So, yes the project has fallen far behind Xamarin changes. I was ready to make the required big changes so that it could just work with Xamarin instead of Monomac, but it seemed like it would require a bit of work and I ran out of time again.

If you can make it work, that would be great. Whatever you think is needed. I think it would be best if we dropped the MonoMac references and went with the current MainStream Xamarin best practices.