%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/hplip/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/hplip/__pycache__/diagnose_plugin.cpython-312.pyc

�

=	f��>�dZdZdZdZddlZddlZddlZddlZddl	Z	ddlZddl
�ddlmZm
Z
	ddlmZd d
�Zeddd
fdezddd
fej.ej0ej2ej4ej6ej8ej:dddgZe
j>eeeeee e!fe"e#e$fd
�Z%e%jMd��\Z'Z(Z)Z*Z+Z,dZ-e.Z/e0Z1e*e!k(�r1e+dk(rejed��n1ejf�s&ejedez�ejhd�ejje+�\Z6Z7ee7dz�Z8ddl9m:Z:e6ejv�Z<e:jz�Z>e>j�Z@e@eAk(r$ej�d�ejhd�n-e@eCk(re8j�de/e1�ZEne8j�de/e1d
�ZEeEj��	ej'd�e<j��nejed�e�ej�d�ej�d�y#e$r"Zej'e�dd	lmZYdZ[��4dZ[wwxYw#eH$r&ejed�ejhd�Y�wwxYw)!z1.0zhp-diagnose_pluginzDiagnose Plugin Utilityz.Diagnose HP Plugin. Installs plugins if absent�N)�*)�utils�module)�
import_module)�dyn_import_modc���|dk(rtjtt�tjt
|ttt�tjd�y)N�textr)	r�	log_title�	__title__�__version__�format_text�USAGE�__mod__�sys�exit)�typs �#/usr/share/hplip/diagnose_plugin.py�usager0s8��
�f�}�
���	�;�/�	���e�S�)�W�k�B��H�H�Q�K���nameTzUsage: %s [OPTIONS]�summary)z	hp-pluginr�seealsoF)zhp-setuprrF)zhp-firmwarerrFF)�handle_device_printer�qt3z"Unable to load Qt3. Please use Qt4z+%s requires GUI support . Is Qt4 installed?�z.plugindiagnose)�
pluginhandlerz"Device Plugin is already installedzStarting GUI loop...z	User exitz Only Qt4 GUI mode is supported 
zDone.)r	)Irrr�__doc__r�getopt�time�os.path�os�re�base.g�baserr�	importlibr�ImportError�e�log�debug�
base.utilsrr�
USAGE_OPTIONS�USAGE_LOGGING1�USAGE_LOGGING2�USAGE_LOGGING3�
USAGE_HELP�USAGE_SPACE�
USAGE_SEEALSOr�Module�INTERACTIVE_MODE�GUI_MODE�UI_TOOLKIT_QT3�UI_TOOLKIT_QT4�UI_TOOLKIT_QT5�mod�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�loc�plugin_path�PLUGIN_REQUIRED�install_mode�PLUGIN_REASON_NONE�
plugin_reason�error�canEnterGUIMode4r�
import_dialog�QApplication�
ui_package�ui�	installerr�argv�app�PluginHandle�	pluginObj�	getStatus�
plugin_sts�PLUGIN_INSTALLED�info�PLUGIN_NOT_INSTALLED�PluginDiagnose�dialog�show�exec_�KeyboardInterrupt�rr�<module>r\s���.��
��%�	�
:���
���	�	���;�'���B���
%� �7�*�B�	�4�
@�
�
�
�
�
�
�� 4� 4�e�6J�6J�
�
�
�
�
�
�
�
�
�
-�
,�
/�
	
���f�m�m�G�Y��W�e�%�x�0�#�^�^�D�d�L��
���E��2�6��j�,��j�#�����"�
��8���U���	�	�6�7�&�u�%�%�'��I�I�C�g�M�N��C�H�H�Q�K�$7�5�#6�#6�z�#B� ��j�
�:�(9�9�
:��+��3�8�8�$��.�M�.�.�0�	��(�(�*�
��)�)��H�H�9�:��C�H�H�Q�K�
�/�
/��&�&�t�\�=�I�F��&�&�t�\�=�$�O�F����
�	��I�I�,�-��I�I�K�
�I�I�1�2�	�G������������a�;��I�I�a�L�:�:��;��P!�	��I�I�k�"��C�H�H�Q�K�	�s)�I�*!I1�I.�I)�)I.�1(J�J

Zerion Mini Shell 1.0