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

Reporting does not complete #47

Closed
thvitt opened this issue Dec 24, 2022 · 0 comments
Closed

Reporting does not complete #47

thvitt opened this issue Dec 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@thvitt
Copy link
Member

thvitt commented Dec 24, 2022

Traceback (most recent call last):
  File "/home/vitt/f-t/build/envs/macrogen/bin/macrogen", line 8, in <module>
    sys.exit(main())
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/main.py", line 45, in main
    report.generate_reports(graphs)
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/report.py", line 1616, in generate_reports                                                                                                                    
    report(info)
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/report.py", line 314, in report_components                                                                                                                    
    scc_table = _report_subgraphs(scc_subgraphs, target, 'scc-{0:02d}')
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/report.py", line 343, in _report_subgraphs                                                                                                                    
    write_dot(subgraph, out / (pattern + "-graph.dot").format(index))
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/visualize.py", line 178, in write_dot
    attr['URL'] = pathlink(u, v).stem
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/graphutils.py", line 29, in pathlink
    node = Witness.get(node)
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/uris.py", line 40, in wrapper
    result = fun(*args, **kwargs)
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/uris.py", line 299, in get
    cls._load_database()
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/uris.py", line 244, in _load_database
    sigil_data = [doc.to_record() for doc in all_documents()]
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/uris.py", line 244, in <listcomp>
    sigil_data = [doc.to_record() for doc in all_documents()]
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/witnesses.py", line 155, in to_record
    vss = [vs for vs in self.verses().values() if vs]
  File "/home/vitt/f-t/build/envs/macrogen/lib/python3.10/site-packages/macrogen/witnesses.py", line 86, in verses
    text_transcript = etree.parse(fspath(self.text_transcript))
TypeError: expected str, bytes or os.PathLike object, not NoneType
@thvitt thvitt added the bug Something isn't working label Dec 24, 2022
@thvitt thvitt added this to the 1.3 milestone Dec 24, 2022
@thvitt thvitt self-assigned this Dec 24, 2022
@thvitt thvitt closed this as completed in f93e546 Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant