Skip to content
New issue

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

graph_reader.py read_dot() encounter error #15

Open
DieselDX opened this issue Dec 2, 2022 · 3 comments
Open

graph_reader.py read_dot() encounter error #15

DieselDX opened this issue Dec 2, 2022 · 3 comments

Comments

@DieselDX
Copy link

DieselDX commented Dec 2, 2022

When the function read_dot() parse the data like below will encouter error: pyparsing.exceptions.ParseException: Expected '}' , found ':' (at char 613806) (line:3344, col:16)
connection_fe80::fd1b:d78f:dab1:8114_ff02::1:3 -> "c:/windows/system32/svchost.exe_1180" [key=0, capacity="1.0", label=connect_26519816, type=connect, timestamp=26519816, sip=fe80::fd1b:d78f:dab1:8114, sport=61605, dip=ff02::1:3,
How to solve this problem? Thank you for your help!

@nanoponge
Copy link

When the function read_dot() parse the data like below will encouter error: pyparsing.exceptions.ParseException: Expected '}' , found ':' (at char 613806) (line:3344, col:16) connection_fe80::fd1b:d78f:dab1:8114_ff02::1:3 -> "c:/windows/system32/svchost.exe_1180" [key=0, capacity="1.0", label=connect_26519816, type=connect, timestamp=26519816, sip=fe80::fd1b:d78f:dab1:8114, sport=61605, dip=ff02::1:3, How to solve this problem? Thank you for your help!

Have you solved this problem before?

@nilabjodey
Copy link

Facing the same issue, the issue seems to exist with all Ipv6 addresses

@fahadalkarshmi
Copy link

fahadalkarshmi commented Oct 7, 2024

Hi,
you can solve it by simply replacing ":" with "". Then after reading the graph using graph_reader.py, you can replace it back. In other words, after generating the graph_reader files, you can replace c/ with c:/. This will solve the problem, although it is not an ideal solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants