Open RuixueLiu opened 5 years ago
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.
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
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!)
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...)
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.
I can see the index.html in the directory, and can open it from the directory manually.
Another related error:
Thanks for letting me know. I will look into it asap!
On Tue, Jul 16, 2019 at 8:52 AM RuixueLiu notifications@github.com wrote:
Another related error: [image: Capture] https://user-images.githubusercontent.com/15878024/61309422-2ce0cc00-a7c0-11e9-86a5-854b5a3eae74.PNG
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/braindynamicslab/dyneusr/issues/4?email_source=notifications&email_token=ABZJZ4ZQ47JPW75B7HMWWFTP7XVD7A5CNFSM4H7VY6L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BJYGY#issuecomment-511876123, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZJZ44GUBRM472UUTDOT4LP7XVD7ANCNFSM4H7VY6LQ .
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.
hi, i am wondering if there is are any updates on this?
Sorry for the delay, again.
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.
Hi thanks for getting back to me. I pulled the latest changes, but now there are many test failures.
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.
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.