Comments (4)
Hi again!
I managed to identfy the failure point:
# Retrieve the IOKit framework
iokitBundle = objc.initFrameworkWrapper(
"IOKit",
frameworkIdentifier="com.apple.iokit",
frameworkPath=objc.pathForFramework("/System/Library/Frameworks/IOKit.framework"),
globals=globals()
)
It always crashes in Catalina, despite the Python version or other circumstances. Perhaps in Catalina this function should be invoked in a different way, but unfortunately I found nothing about it. If, by any chance, you know how to solve this in Catalina, or you know any place I can investigate, I would really appreciate your help!
from display_manager.
Hello @Kalmat,
Appreciate your troubleshooting efforts and feedback. Unfortunately, due to current constraints in terms of time, resources, and priorities, we won't be able to address this project or issue at the moment. Rest assured, we've noted it down in our backlog, and we'll aim to tackle it in the future if circumstances permit. Thank you for your understanding.
from display_manager.
Hi @uurazzle! Thank you for your reply and, especially, for your work and for sharing it!
I will wait until you have time, of course. In the meantime, I will verify macOS version before invoking the lib in order to avoid crashes.
Thank you again!
from display_manager.
Hi again! I just wanted to let you know other two issues I have detected, for whenever you plan to work on this again (of course, no hurries!). I will summarize here them all:
- (previous issue): crashes in Catalina when trying to instantiate Display() class
- (new): setBrightness() method crashes in Ventura (it didn't in a BigSur VM)
- (new): in an actual mac with Ventura (I upgraded from Catalina), it takes around 5 seconds to instantiate Display() class
Thank you again.
from display_manager.
Related Issues (20)
- KeyError raised when running `display_manager.py show available` HOT 1
- Unable to 'get', 'show' or 'query' current brightness HOT 3
- GUI command HOT 1
- “DisplayManager-1.0.2.pkg” can’t be opened because Apple cannot check it for malicious software. HOT 2
- Command to set the equivalent of a "scaled" resolution? HOT 1
- Can't mirror to all external displays HOT 1
- MBP16 and Philips 49" certain modes cause exception
- Underscan not working HOT 1
- Python 2 EOL HOT 4
- Feature Request: Incorporate customdisplayprofiles HOT 2
- 10.7.5 : ValueError: cftype for 'IOBlitMemoryRef' must include gettypeid_func, tollfree or both HOT 3
- Implementing pip HOT 4
- Blank response for "show" HOT 2
- macOS 12.3 removes python 2.7 HOT 10
- Cannot change the brightness of main display HOT 1
- Set screen position HOT 6
- Output error
- Error -536870201
- Best way to use this code in a separate module HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from display_manager.