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
When I try use CDMGraphVisualizer.py to visualize testdata, I found this error:
Traceback (most recent call last):
File "CDMGraphVisualizer.py", line 232, in
main()
File "CDMGraphVisualizer.py", line 180, in main
rtype = cdmparser.get_record_type(edge)
File "/home/b0ring/anaconda3/envs/py27/lib/python2.7/site-packages/tc/schema/records/parsing.py", line 79, in get_record_type
if record["type"] == self.type_checks[type]:
KeyError: 'type'
I tried to fix this problem to modifiy parsing.py in line 79 to:
if record["datum"]["type"] == self.type_checks[type]:
but then I got a new error:
Traceback (most recent call last):
File "CDMGraphVisualizer.py", line 232, in
main()
File "CDMGraphVisualizer.py", line 180, in main
rtype = cdmparser.get_record_type(edge)
File "/home/b0ring/anaconda3/envs/py27/lib/python2.7/site-packages/tc/schema/records/parsing.py", line 86, in get_record_type
raise ValueError("Provided record type not supported by CDM Parser.")
ValueError: Provided record type not supported by CDM Parser.
Since I use testdata rather than use my own data, I thought there has problem at this script.
The text was updated successfully, but these errors were encountered:
When I try use CDMGraphVisualizer.py to visualize testdata, I found this error:
Traceback (most recent call last):
File "CDMGraphVisualizer.py", line 232, in
main()
File "CDMGraphVisualizer.py", line 180, in main
rtype = cdmparser.get_record_type(edge)
File "/home/b0ring/anaconda3/envs/py27/lib/python2.7/site-packages/tc/schema/records/parsing.py", line 79, in get_record_type
if record["type"] == self.type_checks[type]:
KeyError: 'type'
I tried to fix this problem to modifiy parsing.py in line 79 to:
if record["datum"]["type"] == self.type_checks[type]:
but then I got a new error:
Traceback (most recent call last):
File "CDMGraphVisualizer.py", line 232, in
main()
File "CDMGraphVisualizer.py", line 180, in main
rtype = cdmparser.get_record_type(edge)
File "/home/b0ring/anaconda3/envs/py27/lib/python2.7/site-packages/tc/schema/records/parsing.py", line 86, in get_record_type
raise ValueError("Provided record type not supported by CDM Parser.")
ValueError: Provided record type not supported by CDM Parser.
Since I use testdata rather than use my own data, I thought there has problem at this script.
When I try use CDMGraphVisualizer.py to visualize testdata, I found this error:
I tried to fix this problem to modifiy parsing.py in line 79 to:
but then I got a new error:
Since I use testdata rather than use my own data, I thought there has problem at this script.
The text was updated successfully, but these errors were encountered: