Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Maarten_Sjouw
Champion
Champion

import export script error

While trying to export a policy package I get this error with the latest version on a R81.10 MDS:

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
The script will run with the following parameters:
Export Access-Control layers = True
Export NAT layers = True
Export Threat-Prevention layers = False
Export HTTPS Inspection layers = False
Output-file name = cloud
Management Server IP = 127.0.0.1
Management Server Port = 443
Management Server Domain = 1.2.1.3
1. Change Settings
2. Run
99. Exit
2
Traceback (most recent call last):
File "import_export_package.py", line 26, in <module>
args = process_arguments(arg_parser)
File "/home/admin/ExportImport/utils.py", line 113, in process_arguments
log_file = open(args.log_file, "w",newline='')
TypeError: 'newline' is an invalid keyword argument for this function

Regards, Maarten
0 Kudos
1 Reply
_Val_
Admin
Admin

Please open a TAC case for this.

0 Kudos