SparkleShare icon indicating copy to clipboard operation
SparkleShare copied to clipboard

Mac OSx client does not start

Open boelenz opened this issue 7 years ago • 8 comments

System information

Environment | SparkleShare 2.0.1 Environment | Git LFS 2.3.4 Environment | Git 2.15.1 Environment | macOS 10.13.4 (High Sierra)

What I tried to do

Start the Sparkleshare Mac OSx client by doubleclicking the app in the finder.

What went wrong

Nothing visible happened. No icon appeared in the top of my screen. No error message appeared either.

Background

The first time I tried to start the client, the Mac OS X warning appeared that I downloaded the app from the Internet. I clicked on the button that I would like to start the app anyway.

Logfiles

Besides the above pasted "environment" entries, the logs are empty.

boelenz avatar May 08 '18 17:05 boelenz

Are you sure it isn't running? On my system (Ubuntu 18.04), it is actually running, but its icon on the taskbar (the bar across the top of the screen) is invisible. I discovered it by accidentally clicking on an empty bit of bar to the left of the right-most visible icon. You may want to try the same on your screen.

rob-hills avatar May 10 '18 09:05 rob-hills

Hi rob-hills, if I run ps aux from an Iterm screen, it is not there. Also, when I select "force stop" from the Apple menu, it is not on the list.

boelenz avatar May 12 '18 05:05 boelenz

Hi @boelenz, OK it's pretty clear it's not running then. Strange that there's nothing in the log.

rob-hills avatar May 12 '18 08:05 rob-hills

I'm also having this issue. Even after moving SparkleShare to my Applications folder, it just sits there after I double click it. Searched for it in activity monitor and it's not there. OSX 10.11.15

peterhuson avatar May 24 '18 19:05 peterhuson

Could this be the same as #1837?

hbons avatar Jul 15 '18 09:07 hbons

@hbons I just ran 2.01 from the terminal and got:

18:35:16 Environment | Git LFS 2.3.4
18:35:16 Environment | Git 2.15.1
18:35:16 Environment | macOS 10.11.5 (El Capitan)
18:35:17 | Wrote crash report to /Volumes/Macintosh HD/Users/peter/SparkleShare/crash_report.txt
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Could not initialize an instance of the type 'Foundation.NSUrl': the native 'initWithString:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
  at Foundation.NSObject.InitializeHandle (System.IntPtr handle, System.String initSelector) [0x000ad] in <088ca15f28ed485b8ec04e5baf83b5ec>:0 
  at Foundation.NSUrl..ctor (System.String urlString) [0x00042] in <088ca15f28ed485b8ec04e5baf83b5ec>:0 
  at SparkleShare.About+SparkleLink..ctor (System.String text, System.String address) [0x0000d] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.About.CreateAbout () [0x00324] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.About..ctor () [0x000e0] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.UserInterface.<UserInterface>m__0 () [0x0002a] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.Controller+<Invoke>c__AnonStorey1.<>m__0 () [0x00000] in <431f4724be5840a2bdac0ac223371386>:0 
  at Foundation.NSActionDispatcher.Apply () [0x00001] in <088ca15f28ed485b8ec04e5baf83b5ec>:0 
--- End of stack trace from previous location where exception was thrown ---
  at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend_IntPtr_IntPtr_bool (intptr,intptr,intptr,intptr,bool)
  at Foundation.NSObject.InvokeOnMainThread (System.Action action) [0x00024] in <088ca15f28ed485b8ec04e5baf83b5ec>:0 
  at SparkleShare.Controller.Invoke (SparkleShare.Controller+Code code) [0x00018] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.UserInterface..ctor () [0x00006] in <431f4724be5840a2bdac0ac223371386>:0 
  at SparkleShare.SparkleShare.Main (System.String[] args) [0x00123] in <431f4724be5840a2bdac0ac223371386>:0 

I also tried 3.28 and got:

18:33:54 Environment | SparkleShare 3.28.0
18:33:54 Environment | Git LFS 2.3.4
18:33:54 Environment | Git 2.15.1
18:33:54 Environment | macOS 10.11.5 (El Capitan)
18:33:55 | Wrote crash report to /Volumes/Macintosh HD/Users/peter/SparkleShare/crash_report.txt
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Could not initialize an instance of the type 'Foundation.NSUrl': the native 'initWithString:' method returned nil.
It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.
  at Foundation.NSObject.InitializeHandle (System.IntPtr handle, System.String initSelector) [0x000ad] in <0aa8e8bc51034abc90319f22e927a436>:0 
  at Foundation.NSUrl..ctor (System.String urlString) [0x00042] in <0aa8e8bc51034abc90319f22e927a436>:0 
  at SparkleShare.About+SparkleLink..ctor (System.String text, System.String address) [0x00010] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.About.CreateAbout () [0x00324] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.About..ctor () [0x000ee] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.UserInterface.<.ctor>b__6_0 () [0x0002c] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.Controller+<>c__DisplayClass26_0.<Invoke>b__0 () [0x00000] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at Foundation.NSActionDispatcher.Apply () [0x00001] in <0aa8e8bc51034abc90319f22e927a436>:0 
  at (wrapper managed-to-native) ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_IntPtr_bool(intptr,intptr,intptr,intptr,bool)
  at Foundation.NSObject.InvokeOnMainThread (System.Action action) [0x00024] in <0aa8e8bc51034abc90319f22e927a436>:0 
  at SparkleShare.Controller.Invoke (SparkleShare.Controller+Code code) [0x0001a] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.UserInterface..ctor () [0x00008] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 
  at SparkleShare.SparkleShare.Main (System.String[] args) [0x00059] in <d3af7ba2831e4b6e9746cad8ae7981ff>:0 

peterhuson avatar Jul 17 '18 22:07 peterhuson

It also crashes for me, with the following issue:

Process:               SparkleShare [46673]
Path:                  /Applications/Networking/SparkleShare.app/Contents/MacOS/SparkleShare
Identifier:            org.sparkleshare.SparkleShare
Version:               3.28.0 (3.28.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           SparkleShare [46673]
User ID:               501

Crashed Thread:        0  tid_160b  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: '-[NSProcessInfo fullUserName]: unrecognized selector sent to instance 0x7f876a846750'
terminating with uncaught exception of type NSException
abort() called

zeigerpuppy avatar Nov 05 '18 07:11 zeigerpuppy

I have also tried building from the latest pull using VisualStudio. The SparkleShare.app builds with some warnings but still fails to run:

5/11/2018 19:37:42.588 SparkleShare[50698]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSProcessInfo fullUserName]: unrecognized selector sent to instance 0x7febf1c69970'

I's be happy to test compile changes but am not experienced with Mono/VisualStudio so may need some guidance.

zeigerpuppy avatar Nov 05 '18 08:11 zeigerpuppy