Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

vulcanize_trace_viewer --report-deps fails #4654

Open
thaarok opened this issue Nov 27, 2019 · 0 comments
Open

vulcanize_trace_viewer --report-deps fails #4654

thaarok opened this issue Nov 27, 2019 · 0 comments

Comments

@thaarok
Copy link

thaarok commented Nov 27, 2019

Trace-viewer vulcanization fails when --report-deps parameter is used:

$ tracing/bin/vulcanize_trace_viewer --report-deps
Writing output to ./tracing/bin/trace_viewer_full.html
Traceback (most recent call last):
  File "tracing/bin/vulcanize_trace_viewer", line 14, in <module>
    sys.exit(vulcanize_trace_viewer.Main(sys.argv))
  File "/webdev/catapult/tracing/tracing_build/vulcanize_trace_viewer.py", line 69, in Main
    extra_search_paths=args.extra_search_paths)
  File "/webdev/catapult/tracing/tracing_build/vulcanize_trace_viewer.py", line 104, in WriteTraceViewer
    sys.stdout.write(vulcanizer.GetDepsGraphFromModuleNames(module_names))
  File "/webdev/catapult/common/py_vulcanize/py_vulcanize/project.py", line 161, in GetDepsGraphFromModuleNames
    return self.GetDepsGraphFromModules(modules)
  File "/webdev/catapult/common/py_vulcanize/py_vulcanize/project.py", line 170, in GetDepsGraphFromModules
    g.AddEdge(m, dep.id)
  File "/webdev/catapult/common/py_vulcanize/py_vulcanize/project.py", line 234, in AddEdge
    edge = 'M%i -> M%i;' % (mFrom.id, mTo.id)
AttributeError: 'int' object has no attribute 'id'
@thaarok thaarok changed the title vulcanize_trace_viewer ---report-deps fails vulcanize_trace_viewer --report-deps fails Nov 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant