We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(edi-parser-py3.12) stevenli@Stevens-MBP edi_parser % python display_edi_file.py
Traceback (most recent call last): File "/Users/stevenli/Documents/github/steven4354/edi_parser/display_edi_file.py", line 7, in transaction_sets = parse(input_file_name) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/init.py", line 28, in parse transaction_set = TransactionSet.build(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 136, in build response = cls.build_attribute(segment, segments) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 177, in build_attribute organization, segments, segment = OrganizationLoop.build(segment, segments) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/loops/organization.py", line 32, in build organization.organization = OrganizationSegment(current_segment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/segments/organization.py", line 19, in init self.identification_code = int(segment[4]) if len(segment) >= 5 else None ^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'BDATA' (edi-parser-py3.12) stevenli@Stevens-MBP edi_parser %
The text was updated successfully, but these errors were encountered:
Did you get any solution to this? I'm facing the same error.
Sorry, something went wrong.
No branches or pull requests
(edi-parser-py3.12) stevenli@Stevens-MBP edi_parser % python display_edi_file.py
Traceback (most recent call last):
File "/Users/stevenli/Documents/github/steven4354/edi_parser/display_edi_file.py", line 7, in
transaction_sets = parse(input_file_name)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/init.py", line 28, in parse
transaction_set = TransactionSet.build(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 136, in build
response = cls.build_attribute(segment, segments)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 177, in build_attribute
organization, segments, segment = OrganizationLoop.build(segment, segments)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/loops/organization.py", line 32, in build
organization.organization = OrganizationSegment(current_segment)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stevenli/Library/Caches/pypoetry/virtualenvs/edi-parser-o53mJRh5-py3.12/lib/python3.12/site-packages/edi_835_parser/segments/organization.py", line 19, in init
self.identification_code = int(segment[4]) if len(segment) >= 5 else None
^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'BDATA'
(edi-parser-py3.12) stevenli@Stevens-MBP edi_parser %
The text was updated successfully, but these errors were encountered: