Skip to content

BF OSError: gamma.py can't find Carbon framework + better exception handling #1089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 22, 2016
Merged

Conversation

papr
Copy link
Contributor

@papr papr commented Jan 22, 2016

gamma.py looks for the Carbon framework in the wrong place under OS X 10.11. The framework binary was moved from

/System/Library/Carbon.framework/Carbon
to

/System/Library/Frameworks/Carbon.framework/Carbon
Additionally gamma.py only calls the CGSetDisplayTransferByTable(,,,,). This function was moved to the CoreGraphics framework.

Therefore, my suggestion is that gamma.py should try to load the CoreGraphics framework first and should use the Carbon framework only as fallback.

I implemented better exception handling additionally to pull request #1084

Pablo Prietz and others added 3 commits January 18, 2016 18:21
gamma.py looks for the Carbon framework in the wrong place under OS X 10.11. The framework binary was moved from
> /System/Library/Carbon.framework/Carbon
to
> /System/Library/Frameworks/Carbon.framework/Carbon

Additionally gamma.py only calls the CGSetDisplayTransferByTable(,,,,). This function was moved to the CoreGraphics framework.

Therefore, my suggestion is that gamma.py should try to load the CoreGraphics framework first and should use the Carbon framework only as fallback.
peircej added a commit that referenced this pull request Jan 22, 2016
BF OSError: gamma.py can't find Carbon framework + better exception handling
@peircej peircej merged commit cf60451 into psychopy:master Jan 22, 2016
@peircej
Copy link
Member

peircej commented Jan 22, 2016

Thanks Pablo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants