Closed nkanderson closed 2 weeks ago
Nope, "No module named config".
@d-engler are you running it with the -m
option? Like python -m utils.trace_parser
? If you're running from the Docker container, you don't need to change directories, but if you're running locally, you'd want to run from within src
.
For example, this is the output I get in Docker:
llcsim@834d4c6e442d:~$ python -m utils.trace_parser --debug
[INFO] - Using default file: /home/llcsim/data/trace.txt
[DEBUG] -Line read...
Operation: 2L1_INSTRUCTION_READ Address: 0x00408ed4
[DEBUG] -Line read...
Operation: 1L1_DATA_WRITE Address: 0x10019d94
[DEBUG] -Line read...
Operation: 2L1_INSTRUCTION_READ Address: 0x00408ed8
[DEBUG] -Line read...
Operation: 1L1_DATA_WRITE Address: 0x10019d88
[DEBUG] -Line read...
Operation: 2L1_INSTRUCTION_READ Address: 0x0408edc0
[INFO] : Trace Read Complete
that was my issue...
@d-engler @reecewayt could you confirm this fixes the issues? Seemed to on my machine, but it would be good to get confirmation.
Also - closes #26