Menu

#29 Always crashes on OS X Sierra

v1.0 (example)
open
nobody
None
5
2017-01-06
2016-11-04
No

Every time I try to run PySolFC on my Mac after upgrading to Sierra, it crashes when the progress bar is about half-way through. If opened as a standard Mac application, it pops up a dialog with the following error message, and offering the two choices to "Open Console" and "Terminate."

PySolFC Error
An unexpected error has occurred during execution of the main script

error: Failed to start CoreAudio: AudioUnitSetProperty (kAudioUnitProperty_SetInputCallback)

Unfortunately nothing relevant actually gets recorded in the Console. However, if I run the program manually from the command line (for me it's /Applications/PySolFC.app/Contents/MacOS/PySolFC), it prints the following:

Traceback (most recent call last):
  File "/Applications/PySolFC.app/Contents/Resources/__boot__.py", line 158, in <module>
    _run('pysol.py')
  File "/Applications/PySolFC.app/Contents/Resources/__boot__.py", line 134, in _run
    execfile(path, globals(), globals())
  File "/Applications/PySolFC.app/Contents/Resources/pysol.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "pysollib/main.pyc", line 359, in main
  File "pysollib/main.pyc", line 314, in pysol_init
  File "pysollib/pysolaudio.pyc", line 445, in connectServer
pygame.error: Failed to start CoreAudio: AudioUnitSetProperty (kAudioUnitProperty_SetInputCallback)
2016-11-04 03:26:35.237 PySolFC[11517:873864] PySolFC Error
2016-11-04 03:26:35.237 PySolFC[11517:873864] PySolFC Error
An unexpected error has occurred during execution of the main script

error: Failed to start CoreAudio: AudioUnitSetProperty (kAudioUnitProperty_SetInputCallback)

PySolFC worked fine (except for a couple of minor issues) in OS X El Capitan, and I presume in previous versions (this is my first Mac, and it came with El Capitan).

I strongly suspect this is the same root cause as #28, but I decided to open a new issue because the symptoms are somewhat different in the different environment.

Discussion

  • Emmanuel Aubert

    Emmanuel Aubert - 2016-12-24

    Same issue here.
    It can run, but without sound, running :
    /Applications/PySolFC.app/Contents/MacOS/PySolFC --nosound
    Hope this help.

     
  • Craig

    Craig - 2017-01-06

    I can confirm that I have the same problem, and that starting with the "-nosound" option lets the program run. Unfortunately, the prefernces option is greyed out. I have looked for a file or resouce that I can edit, but haven't located anything. Is there a way to make this change that will allow to program to start with this option from the normal icon (My wife isn't interested inlearning to use the terminal!)?

    TIA

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.