<?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: &amp;quot;Python tool for exporting/importing a policy package or parts of it&amp;quot; does not work in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32025#M1945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like the script itself does not contain a Shebang line to point to the python executable. Try to move to the directory where the script resides and execute it via "$FWDIR/Python/bin/python import_export_package.py".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it should contain a Shebang you need to change it, as $FWDIR points to&amp;nbsp;/opt/CPsuite-R80.20/fw1/ in R80.20 instead of&amp;nbsp;/opt/CPsuite-R80/fw1/ (R80) for which the script was written initially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 15:33:02 GMT</pubDate>
    <dc:creator>Maik</dc:creator>
    <dc:date>2019-02-11T15:33:02Z</dc:date>
    <item>
      <title>"Python tool for exporting/importing a policy package or parts of it" does not work</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32024#M1944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the tool above as per&amp;nbsp;&lt;A href="https://community.checkpoint.com/docs/DOC-1938"&gt;Python tool for exporting/importing a policy package or parts of it&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is though that not even the help utility works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78334_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/78338_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The python version appears to be the right one while the script is executable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody had this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 14:14:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32024#M1944</guid>
      <dc:creator>Nick_Doropoulos</dc:creator>
      <dc:date>2019-02-11T14:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: "Python tool for exporting/importing a policy package or parts of it" does not work</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32025#M1945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like the script itself does not contain a Shebang line to point to the python executable. Try to move to the directory where the script resides and execute it via "$FWDIR/Python/bin/python import_export_package.py".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it should contain a Shebang you need to change it, as $FWDIR points to&amp;nbsp;/opt/CPsuite-R80.20/fw1/ in R80.20 instead of&amp;nbsp;/opt/CPsuite-R80/fw1/ (R80) for which the script was written initially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:33:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32025#M1945</guid>
      <dc:creator>Maik</dc:creator>
      <dc:date>2019-02-11T15:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Python tool for exporting/importing a policy package or parts of it" does not work</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32026#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 09:06:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/quot-Python-tool-for-exporting-importing-a-policy-package-or/m-p/32026#M1946</guid>
      <dc:creator>Nick_Doropoulos</dc:creator>
      <dc:date>2019-02-13T09:06:35Z</dc:date>
    </item>
  </channel>
</rss>

