<?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 import export script error in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/import-export-script-error/m-p/158411#M7153</link>
    <description>&lt;P&gt;While trying to export a policy package I get this error with the latest version on a R81.10 MDS:&lt;/P&gt;
&lt;P&gt;02:0]# python import_export_package.py -d 1.2.1.3 -n "CLOUD" -ac true --nat true --https false -tp false -o cloud -op export -r true&lt;BR /&gt;The script will run with the following parameters:&lt;BR /&gt;Export Access-Control layers = True&lt;BR /&gt;Export NAT layers = True&lt;BR /&gt;Export Threat-Prevention layers = False&lt;BR /&gt;Export HTTPS Inspection layers = False&lt;BR /&gt;Output-file name = cloud&lt;BR /&gt;Management Server IP = 127.0.0.1&lt;BR /&gt;Management Server Port = 443&lt;BR /&gt;Management Server Domain = 1.2.1.3&lt;BR /&gt;1. Change Settings&lt;BR /&gt;2. Run&lt;BR /&gt;99. Exit&lt;BR /&gt;2&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "import_export_package.py", line 26, in &amp;lt;module&amp;gt;&lt;BR /&gt;args = process_arguments(arg_parser)&lt;BR /&gt;File "/home/admin/ExportImport/utils.py", line 113, in process_arguments&lt;BR /&gt;log_file = open(args.log_file, "w",newline='')&lt;BR /&gt;TypeError: 'newline' is an invalid keyword argument for this function&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 08:20:43 GMT</pubDate>
    <dc:creator>Maarten_Sjouw</dc:creator>
    <dc:date>2022-09-29T08:20:43Z</dc:date>
    <item>
      <title>import export script error</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/import-export-script-error/m-p/158411#M7153</link>
      <description>&lt;P&gt;While trying to export a policy package I get this error with the latest version on a R81.10 MDS:&lt;/P&gt;
&lt;P&gt;02:0]# python import_export_package.py -d 1.2.1.3 -n "CLOUD" -ac true --nat true --https false -tp false -o cloud -op export -r true&lt;BR /&gt;The script will run with the following parameters:&lt;BR /&gt;Export Access-Control layers = True&lt;BR /&gt;Export NAT layers = True&lt;BR /&gt;Export Threat-Prevention layers = False&lt;BR /&gt;Export HTTPS Inspection layers = False&lt;BR /&gt;Output-file name = cloud&lt;BR /&gt;Management Server IP = 127.0.0.1&lt;BR /&gt;Management Server Port = 443&lt;BR /&gt;Management Server Domain = 1.2.1.3&lt;BR /&gt;1. Change Settings&lt;BR /&gt;2. Run&lt;BR /&gt;99. Exit&lt;BR /&gt;2&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "import_export_package.py", line 26, in &amp;lt;module&amp;gt;&lt;BR /&gt;args = process_arguments(arg_parser)&lt;BR /&gt;File "/home/admin/ExportImport/utils.py", line 113, in process_arguments&lt;BR /&gt;log_file = open(args.log_file, "w",newline='')&lt;BR /&gt;TypeError: 'newline' is an invalid keyword argument for this function&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 08:20:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/import-export-script-error/m-p/158411#M7153</guid>
      <dc:creator>Maarten_Sjouw</dc:creator>
      <dc:date>2022-09-29T08:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: import export script error</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/import-export-script-error/m-p/158426#M7155</link>
      <description>&lt;P&gt;Please open a TAC case for this.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 10:29:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/import-export-script-error/m-p/158426#M7155</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-09-29T10:29:50Z</dc:date>
    </item>
  </channel>
</rss>

