[MacPorts] #43802: Pymol stopped working

MacPorts noreply at macports.org
Sat May 24 14:41:01 PDT 2014


#43802: Pymol stopped working
-------------------------------+-----------------------
  Reporter:  matteo.tiberti@…  |      Owner:  howarth@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  pymol             |
-------------------------------+-----------------------

Comment (by jeremyhu@…):

 Thanks, FWIW, r120370 has better error reporting in the crash log.


 > error: invalid pixel format attribute Abort

 That indicates that you're getting kCGLBadAttribute.  I suspect the
 kCGLBadAttribute is because kCGLPFAOpenGLProfile is still in the list for
 some reason.

 Someone who is reproducing this will need to provide more information or
 an update to 0013-darwin-Fix-test-for-kCGLPFAOpenGLProfile-support-
 at-.patch to address the issue.

 I suggest you start by figuring out what error is when we test for the
 kCGLPFAOpenGLProfile support here:

 {{{
    /* Request an OpenGL 3.2 profile if one is available and supported */
    attr[numattr++] = kCGLPFAOpenGLProfile;
    attr[numattr++] = kCGLOGLPVersion_3_2_Core;

    /* Test for kCGLPFAOpenGLProfile support at runtime and roll it out if
 not supported */
    attr[numattr] = 0;
    error = apple_cgl.choose_pixel_format(attr, pfobj, &vsref);
    apple_cgl.destroy_pixel_format(pfobj);
    if (error == kCGLBadAttribute)
       numattr -= 2;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43802#comment:19>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list