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
badx12 parse medline867s_1.prn
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/badx12", line 8, in
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/commands/parse/init.py", line 40, in parse
report = document.validate()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/document.py", line 60, in validate
self.interchange.validate(report)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/utils/interchange.py", line 24, in validate
self._validate_group_count(report)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/utils/interchange.py", line 48, in _validate_group_count
if int(self.trailer.iea01.content) != len(self.groups):
ValueError: invalid literal for int() with base 10: ''
What I Did
I ran the below command
$ badx12 parse medline867s_1.prn
Any help is really appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Description
Trying to convert EDI to JSON format
I get this below error
badx12 parse medline867s_1.prn
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/badx12", line 8, in
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/commands/parse/init.py", line 40, in parse
report = document.validate()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/document.py", line 60, in validate
self.interchange.validate(report)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/utils/interchange.py", line 24, in validate
self._validate_group_count(report)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/badx12/utils/interchange.py", line 48, in _validate_group_count
if int(self.trailer.iea01.content) != len(self.groups):
ValueError: invalid literal for int() with base 10: ''
What I Did
I ran the below command
$ badx12 parse medline867s_1.prn
Any help is really appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered: