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

Dependency graph doesn't build due to bug in JSONs being used to build it. #1

Open
JustinGOSSES opened this issue Jul 28, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JustinGOSSES
Copy link
Owner

Describe the bug
Dependency graph doesn't build due to bug in JSONs being used to build it.

IT APPEARS FOR SOME REASON THERE ARE DEPENDENCIES IN THE FIRST FILE NOT IN SECOND!!! THIS CAUSES BUGS
    var url1 = ghDataDir + '/intRepos_Dependencies.json';
    var url2 = ghDataDir + '/dependencyInfo.json';

This is from force_dependencyGraph.js

To Reproduce
Try to stand up the website and go to the explore/dependencies page

Expected behavior
The graph should build. It does not. Instead there is an error in console.log

Why Occurs
Not sure, this is the second time I've seen it. Suspect scrapping had API issue and missed some things? That's a guess.

@JustinGOSSES JustinGOSSES self-assigned this Jul 28, 2022
@JustinGOSSES JustinGOSSES added the bug Something isn't working label Jul 28, 2022
@JustinGOSSES
Copy link
Owner Author

fixed this by adding ?. in front of each instance of [languages] on line 1014 of force_dependencyGraph.js

@JustinGOSSES
Copy link
Owner Author

Not sure why I had to do this but didn't before. Might be change in GitHub harvesting results or bug in my harvesting scripts or something else?

@JustinGOSSES
Copy link
Owner Author

need to fix in template!

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