question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FileNotFoundError: graph_representations_d3_force_graph.js

See original GitHub issue

Hi, I got this error when I used d3 in YAML config on my java code.

with open(target_export_file_path, 'w') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/amir/emerge_test/export/force-graph-html/resources/js/graph_representations_d3_force_graph.js'

Thanks.

Should the emerge.py and my java code be in the same directory? I can have other output formats when i call emerge.py from another location (its source) but it seems it doesn’t work for d3 format when they are not in the same directory.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kargaranamircommented, Jun 22, 2021

Thank you so much, I will retest it ASAP and give you feedback if anything was wrong.

1reaction
glatocommented, Jun 22, 2021

@kargaranamir Probably the fix was easy, I’ve just pushed the new version 0.18.3 to dev which should behave correctly now. I’ve tested this on macOS and Ubuntu with Python 3.9.2 and Python 3.8.2. It seems I can launch from any other directory and the d3 export seems to work fine now. It would be great if you can find some time to pull the new version, retest again and give me feedback about the issue? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does d3.js v3 break my force graph when implementing ...
I have a force layout that I have created using d3.js. I would like to have both the normal functionality of a draggable...
Read more >
D3 force-directed graph with small circles around nodes
This is a little draft for my master thesis project. I tried to keep it relatively simple: The node size represents the age...
Read more >
Node Grouping #298 - vasturiano/3d-force-graph - GitHub
I'll look into that and see about converting force cluster to 3D and adding it to d3-force-3d.
Read more >
d3.js force directed graph example (basic)
In the original examples the data was contained in the graph code. In the following example it is loaded from a csv file...
Read more >
Understanding the Force - Medium
This one in particular is a graph of my coworker's Facebook friends, ... D3 implements the force-directed algorithm a little differently to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found