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
"The monotonic clock must have nanosecond resolution..." exception #6224
Comments
Do you have any information about the system and the python version? |
oy, "im running the wizard thru a ubuntu box on my win10 laptop (latest win10 update had a linux kernel)" |
Ubuntu 20.04 LTS (Running on the Windows 10 Version 2004 Linux Kernel) |
@hymner please run this command and report the result:
|
@ulope i get no result from above command, and wizard behaves the same. hymner@CAAHW-00541: output from running the wizard again: https://pastebin.com/qUgs90FU |
this is actually a raiden-network/raiden issue. I'll try to move it! |
@konradkonrad result from command: 3857438742600 |
the trailing |
still some zeroes: 4286390247500 |
Can you also run |
result: 1e-09 |
There seem to be more general clock resolution differences in Windows (independent of using the linux subsystem or not): https://www.python.org/dev/peps/pep-0564/#windows
|
Hm but that's weird. The assert checks that the resolution is below or equal to @hymer is that the same python you ran Raiden with? |
it's running from the binary bundled python, so most likely not |
Ah, didn't read the issue closely enough. The bundled version is still built with Python 3.7.0. It could be that this is something that was fixed in one of the later point releases. |
Further investigating this |
hmm, now this result is actually weird. I'm testing in a Win 10 Evaluation VM, and at least there I get
which is "correctly" above |
I'm also getting that result from same box as earlier:
|
@hackaugusto regarding Lines 65 to 69 in 13ddc68
It seems that the Windows Ubuntu subsystems only offers |
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes raiden-network#6224
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes raiden-network#6224
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes raiden-network#6224
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes raiden-network#6224
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes raiden-network#6224
On some systems (i.e. Linux Subsystem for Windows), the monotonic time resolution is larger than nanoseconds. The requirement for the monotonic clock resolution is, that it needs to be finer than consecutive calls to `time.clock_gettime_ns`, which should still be satisfied with a `microsecond` (`1e-06`) resolution. See also https://www.python.org/dev/peps/pep-0564/#annex-clocks-resolution-in-python This fixes #6224
Happened to one of the community members. He was nice enough to provide logs:
raiden-exception-2020-06-03T13-27jx8_wfcj.txt
The text was updated successfully, but these errors were encountered: