You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to execute script ‘dxmc’ due to unhandled exception! during import of an inventory CSV export created with dxmc.
this was the original command to produce csv file:
This is the failing command.
[delphix@devops ~]$ ./dxmc column batch --format csv --inputfile postgres_source.csv --rulesetname “Postgres Source” --envname “Postgres” --debug
EXCEPTION: Traceback (most recent call last):
File “dxmc.py”, line 22, in
File “click/core.py”, line 829, in call
File “click/core.py”, line 782, in main
File “click/core.py”, line 1259, in invoke
File “click/core.py”, line 1259, in invoke
File “click/core.py”, line 1066, in invoke
File “click/core.py”, line 610, in invoke
File “click/decorators.py”, line 73, in new_func
File “click/core.py”, line 610, in invoke
File “dxm/dxm.py”, line 1693, in batch
File “dxm/lib/DxColumn/column_worker.py”, line 994, in column_batch
TypeError: new() takes 14 positional arguments but 17 were given
[36238] Failed to execute script ‘dxmc’ due to unhandled exception!
[delphix@devops ~]$ ./dxmc --version
dxmc, version 0.9.1
Describe what should have happened.
As a temporary workaround I exported the inventory without the --inventory flag and import works fine.
The text was updated successfully, but these errors were encountered:
mattdelphix
changed the title
"[DATE] [BUG]"
Column batch import fails if csv file created with --inventory flag
Aug 5, 2022
Failed to execute script ‘dxmc’ due to unhandled exception! during import of an inventory CSV export created with dxmc.
this was the original command to produce csv file:
[delphix@devops ~]$ ./dxmc column save --is_masked --inventory --format csv --outputfile postgres_source.csv --rulesetname “Postgres Source” --envname “Postgres”
Columns saved to file postgres_source.csv
This is the failing command.
[delphix@devops ~]$ ./dxmc column batch --format csv --inputfile postgres_source.csv --rulesetname “Postgres Source” --envname “Postgres” --debug
EXCEPTION: Traceback (most recent call last):
File “dxmc.py”, line 22, in
File “click/core.py”, line 829, in call
File “click/core.py”, line 782, in main
File “click/core.py”, line 1259, in invoke
File “click/core.py”, line 1259, in invoke
File “click/core.py”, line 1066, in invoke
File “click/core.py”, line 610, in invoke
File “click/decorators.py”, line 73, in new_func
File “click/core.py”, line 610, in invoke
File “dxm/dxm.py”, line 1693, in batch
File “dxm/lib/DxColumn/column_worker.py”, line 994, in column_batch
TypeError: new() takes 14 positional arguments but 17 were given
[36238] Failed to execute script ‘dxmc’ due to unhandled exception!
[delphix@devops ~]$ ./dxmc --version
dxmc, version 0.9.1
Describe what should have happened.
As a temporary workaround I exported the inventory without the --inventory flag and import works fine.
The text was updated successfully, but these errors were encountered: