<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python tool for exporting/importing a policy package or parts of it in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41145#M3895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melaku,&lt;/P&gt;&lt;P&gt;You're running an old version of our export/import tool and our&amp;nbsp;python bundle (now called SDK). Since then, a lot of work was put into the SDK and the tool, including removing the dependency you are lacking.&lt;BR /&gt;Please follow the instructions on our &lt;A href="https://github.com/CheckPoint-APIs-Team/ExportImportPolicyPackage"&gt;GitHub repository&lt;/A&gt; on how to install it.&lt;BR /&gt;&lt;BR /&gt;If you have any further issues, please reply.&lt;BR /&gt;Shoham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Oct 2017 07:24:07 GMT</pubDate>
    <dc:creator>Shoham_Halevi</dc:creator>
    <dc:date>2017-10-15T07:24:07Z</dc:date>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41122#M3888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you please provide instructions how to install python_bundle_1_2_2 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for both DOS/Windows and Gaia R80.10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As that tool is not supported by CheckPoint, this is the only way to get help on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the moment this script does not run on a R80.10 System&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Expert@SC2-R80.10:0]# ./export_package.py -u admin -p vpn123 -m localhost Sandard&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; File "./export_package.py", line 6, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from mgmt_api_lib import cp_mgmt_api&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; File "/home/admin/tools/import_export_package/mgmt_api_lib/__init__.py", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from cp_mgmt_api import APIClient&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; File "/home/admin/tools/import_export_package/mgmt_api_lib/cp_mgmt_api.py", line 12, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from distutils.version import LooseVersion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ImportError: No module named distutils.version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Expert@SC2-R80.10:0]# python -V&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Python 2.7.13&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Expert@SC2-R80.10:0]#&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope python_bundle_1_2_2 will fix the problem. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unless you have another solution how to run that scripts on a R80.10 System&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:41:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41122#M3888</guid>
      <dc:creator>Sebastian_Gxxx</dc:creator>
      <dc:date>2017-07-27T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41143#M3893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a solution to fix the following which was reported on July 2017?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #333333; border: 0px; font-size: 14px; margin: 0px 0px 0px 46px;"&gt;&lt;SPAN class="" style="color: #e45785; border: 0px; font-weight: 500; font-size: 0.7857rem;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 10.9998px;"&gt;&lt;A _jive_internal="true" class="" data-userid="46902" data-username="Sebas5f69ebe3-e19e-4863-87af-74951dafd547" href="https://community.checkpoint.com/people/Sebas5f69ebe3-e19e-4863-87af-74951dafd547" style="color: #e45785; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Sebastian Glania&lt;/A&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.checkpoint.com/docs/DOC-1938?commentID=2187#comment-2187" style="color: #e45785; border: 0px; font-weight: inherit; text-decoration: none; font-size: 10.9998px;"&gt;Jul 27, 2017 6:41 AM&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;can you please provide instructions how to install python_bundle_1_2_2 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;for both DOS/Windows and Gaia R80.10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;As that tool is not supported by CheckPoint, this is the only way to get help on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;At the moment this script does not run on a R80.10 System&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;[Expert@SC2-R80.10:0]# ./export_package.py -u admin -p vpn123 -m localhost Sandard&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; File "./export_package.py", line 6, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from mgmt_api_lib import cp_mgmt_api&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; File "/home/admin/tools/import_export_package/mgmt_api_lib/__init__.py", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from cp_mgmt_api import APIClient&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; File "/home/admin/tools/import_export_package/mgmt_api_lib/cp_mgmt_api.py", line 12, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from distutils.version import LooseVersion&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;ImportError: No module named distutils.version&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;[Expert@SC2-R80.10:0]# python -V&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Python 2.7.13&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;[Expert@SC2-R80.10:0]#&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 22:14:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41143#M3893</guid>
      <dc:creator>Melaku_Woldeyes</dc:creator>
      <dc:date>2017-10-12T22:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41144#M3894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same error "&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;ImportError: No module named distutils.version" when running the python script on a mgmt server R80.10. Has the error been resolved?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:14:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41144#M3894</guid>
      <dc:creator>Melaku_Woldeyes</dc:creator>
      <dc:date>2017-10-13T13:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41145#M3895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melaku,&lt;/P&gt;&lt;P&gt;You're running an old version of our export/import tool and our&amp;nbsp;python bundle (now called SDK). Since then, a lot of work was put into the SDK and the tool, including removing the dependency you are lacking.&lt;BR /&gt;Please follow the instructions on our &lt;A href="https://github.com/CheckPoint-APIs-Team/ExportImportPolicyPackage"&gt;GitHub repository&lt;/A&gt; on how to install it.&lt;BR /&gt;&lt;BR /&gt;If you have any further issues, please reply.&lt;BR /&gt;Shoham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Oct 2017 07:24:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41145#M3895</guid>
      <dc:creator>Shoham_Halevi</dc:creator>
      <dc:date>2017-10-15T07:24:07Z</dc:date>
    </item>
  </channel>
</rss>

