ó
ÉÝ{Tc           @   sD  d  d l  Z  d  d l Z yf y d  d l Z Wn n Xd  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z Wn¿ e	 k
 r?e  j
 ƒ  d  \ Z Z Z e e ƒ j d ƒ d  k rd GHe j j d ƒ re j j e j j e j d ƒ d d ƒ Z e GHn  e  j d ƒ q@e  j d	 Id
 IJe  j d ƒ n Xd S(   iÿÿÿÿNi   s'   cannot restore segment prot after relocs   SELINUX problemt   CCP4MGt   bins   fix-selinux-permsi   s6   Failed to import some ccp4mg libraries (in checkPerms)sn   There was a problem with some of the program libraries. Please report this as a bug to ccp4mg@ysbl.york.ac.uk.i   (   t   syst   ost   ccp4mgt   openglt
   pygl_coordt   cprimt   surfacet
   image_infot   ffmpeg_wrappert   ImportErrort   exc_infot   exc_typet	   exc_valuet   exc_tbt   strt   findt   environt   has_keyt   patht   joint   normpatht   fixpermst   exitt   stderr(    (    (    s=   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/qtgui/checkPerms.pyt   <module>   s,   +