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

test failures with TestDyNeuGraph.test_visualize and TestDyNeuGraph.test_visualize_show #4

Open
RuixueLiu opened this issue Jul 10, 2019 · 12 comments

Comments

@RuixueLiu
Copy link

Followed the install instructions using conda, there are two test failures with TestDyNeuGraph.test_visualize and TestDyNeuGraph.test_visualize_show. It seems the errors come with the json.dump function.
Capture-error

@calebgeniesse
Copy link
Collaborator

Hi @RuixueLiu, thanks for reporting!

Can you give me a little more information about your setup? i.e. operating system, python version.

Then, I can try to debug this as soon as possible.

@RuixueLiu
Copy link
Author

Thanks for the fast response! Here is my setup:

2019-07-11T11:20:41-04:00

CPython 3.6.8
IPython 7.6.1

compiler : MSC v.1916 64 bit (AMD64)
system : Windows
release : 10
machine : AMD64
processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
CPU cores : 8
interpreter: 64bit

@calebgeniesse
Copy link
Collaborator

calebgeniesse commented Jul 13, 2019

ah, I bet the issue is related to Windows, python's ascii codecs, and calls to json.dump

I will take a closer look and try to fix this as soon as possible.

Thanks again for your help (and patience!)

@calebgeniesse
Copy link
Collaborator

Okay, I think I have resolved the issue (see #5 for more about the specific changes). I am going to merge #5 now and hopefully this will quiet the tests.

Note, I don't have access to a Windows machine at the moment, so it's possible other issues remain unresolved. @RuixueLiu, you'll have to let me know if you see any other errors (but only if you feel like pulling the latest changes and running the tests again...)

calebgeniesse added a commit that referenced this issue Jul 14, 2019
@RuixueLiu
Copy link
Author

Thanks Caleb! I pulled the latest change, and the tests can run successfully now!

However, I tried to run a simple case in notebook, and found another issue which i believe is due to the Windows file path convention.

image

I can see the index.html in the directory, and can open it from the directory manually.

@RuixueLiu
Copy link
Author

Another related error:
Capture

@calebgeniesse
Copy link
Collaborator

calebgeniesse commented Jul 16, 2019 via email

@calebgeniesse
Copy link
Collaborator

Sorry for the delay, @RuixueLiu!

I think I resolved what I believe to be the underlying problem, but I haven't been able to test the changes properly. I should have access to a Windows OS soon, and can finish testing the changes then.

Thanks again for reporting these issues, and I apologize for the inconvenience.

@RuixueLiu
Copy link
Author

hi, i am wondering if there is are any updates on this?

@calebgeniesse
Copy link
Collaborator

calebgeniesse commented Sep 18, 2019

Sorry for the delay, again.

#6 should resolve the issue, but I still don't have access to a Windows machine, so it's possible that the changes do not fully address the issue on Windows and/or have introduced new problems altogether.

I went ahead and merged #6 to (hopefully) resolve the issue for Windows users, but again, you'll have to let me know if you are still seeing errors on your end.

@RuixueLiu
Copy link
Author

Hi thanks for getting back to me. I pulled the latest changes, but now there are many test failures.

@calebgeniesse
Copy link
Collaborator

Hmm... this must be another Windows compatibility issue, because I can't seem to replicate the test failures on my local machine.

If you can provide a little more information about (or screenshots of) the failing tests, I'd be happy to help resolve the underlying issues as soon as possible.

Sorry (again) for all of the trouble, @RuixueLiu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants