Closed zbenmo closed 1 year ago
write(1, "\n\33[38;5;2m\342\234\224 About to serve `bu"..., 72
✔ About to serve `bulk` over at http://localhost:5006/.
) = 72
write(1, "\n", 1
) = 1
sendto(5, "\0", 1, 0, NULL, 0) = 1
getpid() = 1597
epoll_wait(3, [{EPOLLIN, {u32=4, u64=4}}], 3, 0) = 1
pipe2([11, 12], O_CLOEXEC) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CLOEXEC) = 13
fstat(11, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
ioctl(11, TCGETS, 0x7fff7a6b1a30) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(11, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
pipe2([14, 15], O_CLOEXEC) = 0
futex(0x7f96ab723ae0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723a90, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723b60, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723b10, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723be0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723b90, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723c60, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723c10, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723ce0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723c90, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723d60, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723d10, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723de0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f96ab723d90, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0x7f96a8a6e000, 8392704) = 0
munmap(0x7f96a626d000, 8392704) = 0
munmap(0x7f96a3a6c000, 8392704) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f96ad318a10) = 1607
close(15) = 0
close(13) = 0
close(12) = 0
read(14, "", 50000) = 0
close(14) = 0
lseek(11, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fstat(11, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
read(11, 0x1f0ad90, 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- (To be restarted if SA_RESTART is set)
read(11, 0x1f0ad90, 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
read(11, 0x1f0ad90, 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
read(11, 0x1f0ad90, 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
read(11, 0x1f0ad90, 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
read(11,
above was with strace
If I have X display available, everything is like a breeze.
What is an "X display"?
above was with strace
Could you apply markdown such that it renders as code? Makes it easier to read.
Re: X display. I work on a Windows machine, with WSL2 (Ubuntu). Then I need to run XLaunch on Windows before running bulk. Otherwise it will not work. Don't see a real need for X, given that it is a web server. matplotlib may try to use X, but that can be overcome with mpl.use('Agg'). Maybe a plotly issue as I've really just tried bulk with texts.
Bulk uses bokeh under the hood, so if there's issues/fixes, I'd recommend checking their repo/community.
Checking with them. Will update.
I'll close this issue for now, but if it later turns out that this is a specific issue related to bulk -> feel free to re-open.
The problem was that 'bulk' is attempting to open a browser. It may not be a bug but rather a feature. Up to you to decide. Good to know. Maybe nice to have --no-browser. Apologies. BR. Oren.
When I start the bulk server, something is not progressing. This was with text. If I have X display available, everything is like a breeze. Not sure where it is. I'll add more information if I have. I had a similar issue in the past, this was solved by something like: mpl.use('Agg')