Closed psthiagu closed 5 years ago
It might be an issue with tornado versions? Could you run python and check:
import tornado
tornado.version
tornado.__file__
Thanks for the quick response.
I see:
tornado.version = '4.5.3'
tornado.file = '/home/thiagu/anaconda3/lib/python3.7/site-packages/tornado/init.py'
Which version of tornado should I be using?
On Wed, Jan 9, 2019 at 9:29 PM Eshan Mitra notifications@github.com wrote:
It might be an issue with tornado versions? Could you run python and check:
import tornado tornado.version tornado.file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanl/PyBNF/issues/260#issuecomment-452748805, or mute the thread https://github.com/notifications/unsubscribe-auth/AQCvXte2NCXk3mcAOtw9y2GHB1uDOilIks5vBhHQgaJpZM4Z3VJj .
Ok, that looks correct.
Let's check something else, does this work without crashing?
import distributed
distributed.Client()
Indeed it throws up a long error message. I am appending what I could capture from the screen.
best,
Thiagu
On Wed, Jan 9, 2019 at 10:44 PM Eshan Mitra notifications@github.com wrote:
Ok, that looks correct.
Let's check something else, does this work without crashing?
import distributed distributed.Client()
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanl/PyBNF/issues/260#issuecomment-452768198, or mute the thread https://github.com/notifications/unsubscribe-auth/AQCvXgHQzz4hea5VBb_IxfnLbFv_tfu-ks5vBiN0gaJpZM4Z3VJj .
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
So it looks like an issue with the distributed
installation. PyBNF internally calls distributed.Client()
, so will crash if that isn't working.
As a quick thing to try, see if it helps to reinstall:
pip install distributed==1.24.0 dask==0.20.0
Beyond that, the developers of https://github.com/dask/distributed would probably have better expertise here, so you could try submitting an issue to them.
Tried the quick fix. Didn't work. Will contact the the developers.
(probably a) dumb question: Might it help if I ran PyBNF under python3.5?
Best,
Thiagu
On Thu, Jan 10, 2019 at 3:45 AM Eshan Mitra notifications@github.com wrote:
So it looks like an issue with the distributed installation. PyBNF internally calls distributed.Client(), so will crash if that isn't working.
As a quick thing to try, see if it helps to reinstall: pip install distributed==1.24.0 dask==0.20.0
Beyond that, the developers of https://github.com/dask/distributed would probably have better expertise here, so you could try submitting an issue to them.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanl/PyBNF/issues/260#issuecomment-452885187, or mute the thread https://github.com/notifications/unsubscribe-auth/AQCvXuSCqA4YOaX747-KiLK2A2R6yCc1ks5vBmbHgaJpZM4Z3VJj .
I am running ubuntu on windows10 (windows subsystem for linux). Could this be the problem?
On Thu, Jan 10, 2019 at 3:45 AM Eshan Mitra notifications@github.com wrote:
So it looks like an issue with the distributed installation. PyBNF internally calls distributed.Client(), so will crash if that isn't working.
As a quick thing to try, see if it helps to reinstall: pip install distributed==1.24.0 dask==0.20.0
Beyond that, the developers of https://github.com/dask/distributed would probably have better expertise here, so you could try submitting an issue to them.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanl/PyBNF/issues/260#issuecomment-452885187, or mute the thread https://github.com/notifications/unsubscribe-auth/AQCvXuSCqA4YOaX747-KiLK2A2R6yCc1ks5vBmbHgaJpZM4Z3VJj .
Running on a windows10 subsystem could be the issue - we haven't tested it on that type of system configuration. I don't think Python 3.5 vs 3.7 will make a difference.
Opened issue is dask/distributed#2455
Thanks. I will try to migrate to first class Ubuntu.
On Thu, 10 Jan 2019, 20:36 Eshan Mitra <notifications@github.com wrote:
Running on a windows10 subsystem could be the issue - we haven't tested it on that type of system configuration. I don't think Python 3.5 vs 3.7 will make a difference.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanl/PyBNF/issues/260#issuecomment-453127253, or mute the thread https://github.com/notifications/unsubscribe-auth/AQCvXljUhZzbyyryBim0naY6B9F4yjNWks5vB1bbgaJpZM4Z3VJj .
Hi, I have installed PyBNF. When I run the simple job "demo_bng.conf" I get the follwoing error. I am also attaching the log file.
Traceback (most recent call last): File "", line 1, in
File "/home/thiagu/anaconda3/lib/python3.7/multiprocessing/forkserver.py", line 186, in main
with socket.socket(socket.AF_UNIX, fileno=listener_fd) as listener, \
File "/home/thiagu/anaconda3/lib/python3.7/socket.py", line 151, in init
_socket.socket.init(self, family, type, proto, fileno)
OSError: [Errno 22] Invalid argument: 'protocol'
Sorry, an unknown error occurred: EOFError: unexpected EOF
Best, Thiagu psthiagu@gmail.com
bnf_20190109-171007.log