Coder Social home page Coder Social logo

10.7.5 : ValueError: cftype for 'IOBlitMemoryRef' must include gettypeid_func, tollfree or both about display_manager HOT 3 CLOSED

univ-of-utah-marriott-library-apple avatar univ-of-utah-marriott-library-apple commented on May 30, 2024
10.7.5 : ValueError: cftype for 'IOBlitMemoryRef' must include gettypeid_func, tollfree or both

from display_manager.

Comments (3)

uurazzle avatar uurazzle commented on May 30, 2024 1

Hi @karawitan:

Thanks for the information we will take a look and let you know status.

Any more updates or fixes are always welcome, please keep them coming.

from display_manager.

uurazzle avatar uurazzle commented on May 30, 2024

Hi @karawitan:

Sorry about the issue.

We never tested DisplayManager on Mac OS X 10.7.5, but can investigate when we have more bandwidth and let you know status. Currently, we are very busy on projects, but plan on adding this project to your todo's and debug bugs we can address.

In the meantime, if you have python scripting abilities, pull requests are welcome.

from display_manager.

karawitan avatar karawitan commented on May 30, 2024

Ok I've got something. It seems that the bug is on Apple side .. Thanks to the following post on StackOverflow: https://stackoverflow.com/questions/8998426/lightblue-python-module-not-working-on-mac,

I had to patch, with trial and error, the following system file:

/System/Library/Frameworks/IOKit.framework/Versions/Current/Resources/BridgeSupport/IOKit.bridgesupport

Here is the patch I have applied (basically remove every line that starts with <cftype name=' and which gives an error when launching ./display_manager.py res)

Mac-Pro-de-Gourou:display_manager kalou$ sudo diff /System/Library/Frameworks/IOKit.framework/Versions/Current/Resources/BridgeSupport/IOKit.bridgesupport  /System/Library/Frameworks/IOKit.framework/Versions/Current/Resources/BridgeSupport/IOKit.bridgesupport.orig
423a424,425
> <cftype name='IOBlitMemoryRef' type='^{_IOBlitMemory=}'/>
> <cftype name='IOFireWireSessionRef' type='^{IOFireWireSessionRefOpaqueStuct=}'/>
426a429
> <cftype name='IOHIDNotificationRef' type='^{__IOHIDNotification=}'/>
427a431,432
> <cftype name='IOHIDServiceRef' type='^{__IOHIDService=}'/>
> <cftype name='IOHIDSessionRef' type='^{__IOHIDSession=}'/>
429a435,437
> <cftype name='IOI2CConnectRef' type='^{IOI2CConnect=}'/>
> <cftype name='IONotificationPortRef' type='^{IONotificationPort=}'/>
> <cftype name='NuDCLRef' type='^{__NuDCL=}'/>

Now the display_manager.py script launches fine ! Maybe more to come

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.