v7.6.2(n) MacOS FAHControl doesn't work [Fixed]

Moderators: Site Moderators, FAHC Science Team

gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

v7.6.2(n) MacOS FAHControl doesn't work [Fixed]

Post by gunnarre »

FahClient v 7.6.20 runs, because it gives output in /Library/Application\ Support/FAHClient/log.txt but FAHControl (advanced control) v. 7.6.20 fails to start. No error messages are given, even if I start it from the command line.

OS: macOS 10.14.6
Computer: MacBook Pro (Retina, 13-inch, Mid 2014)
v. 7.6.13 works fine.

Edit: Temporary solution:
Joe_H wrote: Here is a link to the 7.6.13 installer:

https://download.foldingathome.org/rele ... 4.mpkg.zip
Last edited by gunnarre on Sat Nov 21, 2020 8:43 am, edited 2 times in total.
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: v7.6.20 MacOS FAHControl doesn't work

Post by PantherX »

Can you please post the log file of V7.6.20?
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
calxalot
Site Moderator
Posts: 1117
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: v7.6.20 MacOS FAHControl doesn't work

Post by calxalot »

What happens if you try to launch it from the command line using

Code: Select all

open -a FAHControl.app
Also, do you have VMWare installed?
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: v7.6.20 MacOS FAHControl doesn't work

Post by gunnarre »

calxalot wrote:

Code: Select all

open -a FAHControl.app

Code: Select all

LSOpenURLsWithRole() failed for the application /Applications/Folding@home/FAHControl.app with error -10810.
calxalot wrote:Also, do you have VMWare installed?
No
PantherX wrote:Can you please post the log file of V7.6.20?
Sure, but FAHClient runs just fine:

Code: Select all

*********************** Log Started 2020-10-18T07:57:26Z ***********************
07:57:27:******************************* libFAH ********************************
07:57:27:       Date: Oct 9 2020
07:57:27:       Time: 11:13:29
07:57:27:   Revision: 06b99f7701e0d3f883dd14a78b459ad27da23809
07:57:27:     Branch: master
07:57:27:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
07:57:27:    Options: -std=c++11 -fsigned-char -O3 -funroll-loops
07:57:27:             -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
07:57:27:   Platform: darwin 19.2.0
07:57:27:       Bits: 64
07:57:27:       Mode: Release
07:57:27:****************************** FAHClient ******************************
07:57:27:    Version: 7.6.20
07:57:27:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
07:57:27:  Copyright: 2020 foldingathome.org
07:57:27:   Homepage: https://foldingathome.org/
07:57:27:       Date: Oct 12 2020
07:57:27:       Time: 15:01:37
07:57:27:   Revision: c858fe2a8342bfa3e116e00b394d8dfa322ecd18
07:57:27:     Branch: master
07:57:27:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
07:57:27:    Options: -std=c++11 -fsigned-char -O3 -funroll-loops
07:57:27:             -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
07:57:27:   Platform: darwin 19.2.0
07:57:27:       Bits: 64
07:57:27:       Mode: Release
07:57:27:     Config: /Library/Application Support/FAHClient/config.xml
07:57:27:******************************** CBang ********************************
07:57:27:       Date: Oct 9 2020
07:57:27:       Time: 11:12:03
07:57:27:   Revision: ab0a6d9e35982b831a74cb2706c569fe46bac2af
07:57:27:     Branch: master
07:57:27:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
07:57:27:    Options: -std=c++11 -fsigned-char -O3 -funroll-loops
07:57:27:             -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
07:57:27:             -fPIC
07:57:27:   Platform: darwin 19.2.0
07:57:27:       Bits: 64
07:57:27:       Mode: Release
07:57:27:******************************* System ********************************
07:57:27:        CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
07:57:27:     CPU ID: GenuineIntel Family 6 Model 69 Stepping 1
07:57:27:       CPUs: 4
07:57:27:     Memory: 8.00GiB
07:57:27:Free Memory: 187.81MiB
07:57:27:    Threads: POSIX_THREADS
07:57:27: OS Version: 10.14
07:57:27:Has Battery: true
07:57:27: On Battery: false
07:57:27: UTC Offset: 2
07:57:27:        PID: 63230
07:57:27:        CWD: /Library/Application Support/FAHClient
07:57:27:         OS: Darwin 18.7.0 x86_64
07:57:27:    OS Arch: AMD64
07:57:27:       GPUs: 0
07:57:27:       CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
07:57:27:             dlopen(libcuda.dylib, 1): image not found
07:57:27:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
07:57:27:             dlopen(libOpenCL.dylib, 1): image not found
07:57:27:***********************************************************************
07:57:27:<config>
07:57:27:  <!-- Network -->
07:57:27:  <proxy v=':8080'/>
07:57:27:
07:57:27:  <!-- Slot Control -->
07:57:27:  <pause-on-start v='True'/>
07:57:27:  <power v='LIGHT'/>
07:57:27:
07:57:27:  <!-- User Information -->
07:57:27:  <passkey v='*****'/>
07:57:27:  <team v='238918'/>
07:57:27:  <user v='gr89n'/>
07:57:27:
07:57:27:  <!-- Folding Slots -->
07:57:27:  <slot id='0' type='CPU'>
07:57:27:    <cpus v='2'/>
07:57:27:  </slot>
07:57:27:</config>
07:57:27:Trying to access database...
07:57:27:Successfully acquired database lock
07:57:27:FS00:Initialized folding slot 00: cpu:2 - PAUSED by user
07:57:30:17:127.0.0.1:New Web session
07:57:43:26:127.0.0.1:New Web session
07:57:51:FS00:Unpaused
07:57:51:WU01:FS00:Starting
07:57:51:WU01:FS00:Running FahCore: /usr/local/bin/FAHCoreWrapper "/Library/Application Support/FAHClient/cores/cores.foldingathome.org/osx/64bit-avx2-256/a8-0.0.8/Core_a8.fah/FahCore_a8" -dir 01 -suffix 01 -version 706 -lifeline 63230 -checkpoint 15 -np 2
07:57:51:WU01:FS00:Started FahCore on PID 63320
07:57:52:WU01:FS00:Core PID:63321
07:57:52:WU01:FS00:FahCore 0xa8 started

Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
bogomir
Posts: 10
Joined: Sun Oct 18, 2020 1:05 pm

Re: v7.6.20 MacOS FAHControl doesn't work

Post by bogomir »

I do have the exact same problem. I can access the Client via telnet, but the FAHControl App doesn't start. If I run it from Spotlight, I get the following error "Das Programm „FAHControl.app“ kann nicht geöffnet werden." Sorry, this is in German, but it says, the program cannot be opened. When I double-click the app in the Finder, it starts and dies immediately without showing the UI (I briefly see the dot unter the app icon in the dock, but that's it). When I open it with the command in the thread, I get the exact same message as shown in the thread above. This is MacOS 10.15.7.
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: v7.6.20 MacOS FAHControl doesn't work

Post by PantherX »

Welcome to the F@H Forum bogomir,

I am guessing that you have the same situation where FAHControl can't open but you can still run FAHClient without issues. Thanks for the report and I will notify the people involved :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: v7.6.20 MacOS FAHControl doesn't work

Post by PantherX »

BTW bogomir, does V7.6.13 works fine on your macOS 10.15.7 system or not (i.e. does FAHControl App starts up without any issues)?
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
bogomir
Posts: 10
Joined: Sun Oct 18, 2020 1:05 pm

Re: v7.6.20 MacOS FAHControl doesn't work

Post by bogomir »

Hey PantherX, yes, the exact same thing as described by gunnarre. 7.6.13 worked fine without issues. With 7.6.20 FAHClient runs (as mentioned I can telnet into it and start/stop folding and so on.). It is only FAHControl, which seem to have issues. This is a mid 2014 MacBook Pro with 10.15.7.
stealthswifttlk
Posts: 14
Joined: Fri Aug 29, 2008 9:01 pm
Location: Sheffield, UK

Re: v7.6.20 MacOS FAHControl doesn't work

Post by stealthswifttlk »

After casually browsing for a couple of days, I've noted a not insubstantial amount of threads/posts about installation issues for FAHControl under Linux and MacOS. I believe this is all due to the sunset of Python2 earlier this year ( https://www.python.org/doc/sunset-python-2/ ) and consequently macOS and various Linux distributions trying to push for a move forward to Python3 ( https://www.macobserver.com/analysis/ma ... languages/ )

Currently on github, there are several issues in relation to python2 dependence that could probably be closed if we deprecated the need for Python2 as a dependency. Indeed there are a couple of good pull requests that seem to have made decent headway towards this goal. This isn't a new issue, having been acknowledged all the way back in 2012 ( https://github.com/FoldingAtHome/fah-issues/issues/858 ) but I think this is something that needs addressing now or imminently as distribution maintainers seem to be actively dropping Python2 support from their maintained repositories.

I figure this will have a detrimental impact towards potential new supporters or even current supporters if they perceive they are hindered from reinstallation of FaH upon upgrading their distros. Work-arounds for installation issues should not be expected to be foisted on to end-users as this could be a potential barrier to entry or re-entry. I have seen several posts stating that the web client is not fully adequate to several end users' needs.

I saw on YouTube in the 'fireside chat' earlier this year that it was mentioned work was beginning towards an 8.0 release which will change the underlying mechanisms of FAH. Whilst I realise that this task will be taking developer time, the current release is what potential and current supporters are seeing now. Is there any way that we could get core devs to give this issue some focus?
Joe_H
Site Admin
Posts: 7938
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: v7.6.20 MacOS FAHControl doesn't work

Post by Joe_H »

While Python 2.7 is deprecated in the current release of macOS Catalina, and will no longer be present in the next release, that is not the problem presented in this topic. The prior 7.6.13 version of FAHControl does work. So the error causing the 7.6.20 version to not run lies somewhere else in the app than using Python 2.7. There is an open ticket already for this problem, it appears to affect macOS 10.14 and 10.15, not earlier OS versions.

FAHControl is open source - https://github.com/FoldingAtHome/fah-control. At least a couple different persons have created Python 3 based forks from that code aimed at the more recent builds of Linux that are distributed without Python 2.7, though the legacy support for it can be installed. Those proposed changes need to be reviewed before they are adopted. The current release can also be checked to see what broke between the 7.6.13 and 7.6.20 releases for macOS.

As for a new version 8 of the client, work on that was started about a year ago. The first steps were to get the existing code open sourced as much as possible. That was interrupted by the COVID response earlier this year. The project had only been able to obtain funding for a single professional programmer. A number of volunteers have come forward to work on the client, there is a Discord channel for that. When that might result in a new client being released I don't know, but expect won't be until next year sometime.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: v7.6.20 MacOS FAHControl doesn't work

Post by gunnarre »

Problem persists in 7.6.21

Code: Select all

~ open -a FAHControl.app
LSOpenURLsWithRole() failed for the application /Applications/Folding@home/FAHControl.app with error -10810.
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
gilbertmc
Posts: 4
Joined: Thu May 14, 2020 12:47 pm

Re: v7.6.20 MacOS FAHControl doesn't work

Post by gilbertmc »

7.6.21 fah control doesn't work either
comixgoddess
Posts: 85
Joined: Wed Apr 08, 2020 9:57 pm
Location: Pacific Northwest

Re: v7.6.20 MacOS FAHControl doesn't work

Post by comixgoddess »

Same here. Downloaded 7.6.21, and could not get FAHControl to work on MacOS 10.15.7. Uninstalled and reinstalled 7.6.13, which works fine.
Image
StreetWill
Posts: 4
Joined: Mon Mar 23, 2020 2:48 pm

Re: v7.6.20 MacOS FAHControl doesn't work

Post by StreetWill »

Where can I download an earlier version please? MacOS Catalina, FAH 7.6.21 - control won't start for me either. I could work around some little troubles before, but I can't get this version to get going at all. Thanks for your work btw
Joe_H
Site Admin
Posts: 7938
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: v7.6.20 MacOS FAHControl doesn't work

Post by Joe_H »

StreetWill wrote:Where can I download an earlier version please? MacOS Catalina, FAH 7.6.21 - control won't start for me either. I could work around some little troubles before, but I can't get this version to get going at all. Thanks for your work btw
Here is a link to the 7.6.13 installer:

https://download.foldingathome.org/rele ... 4.mpkg.zip
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply