- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- import export script error
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please open a TAC case for this.
