Coder Social home page Coder Social logo

Comments (4)

Kalmat avatar Kalmat commented on May 29, 2024

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.

uurazzle avatar uurazzle commented on May 29, 2024

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.

Kalmat avatar Kalmat commented on May 29, 2024

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.

Kalmat avatar Kalmat commented on May 29, 2024

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:

  1. (previous issue): crashes in Catalina when trying to instantiate Display() class
  2. (new): setBrightness() method crashes in Ventura (it didn't in a BigSur VM)
  3. (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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.