I am using the directory format with a bokeh server that has a structure like:
fst_app
>
+---main.py
snd_app
±–main.py
If I set --num-procs to any integer other than 1, then I get the error message:
ERROR:'DirectoryHandler' object has no attribute 'safe_to_fork'
``
The command is:
bokeh serve --num-procs 0 first_app snd_app
``
The error occurs even with only one app specified, but I can explicitly pass --num-procs 1 without issue. I can also run the [single module format](http://bokeh.pydata.org/en/latest/docs/user_guide/server.html#single-module-format) with any number of processes. Is this a bug or am I using bokeh serve incorrectly?
I am using the directory format with a bokeh server that has a structure like:
fst_app
>
+---main.py
snd_app
±–main.py
If I set --num-procs to any integer other than 1, then I get the error message:
ERROR:‘DirectoryHandler’ object has no attribute ‘safe_to_fork’
``
The command is:
bokeh serve --num-procs 0 first_app snd_app
``
The error occurs even with only one app specified, but I can explicitly pass --num-procs 1 without issue. I can also run the single module format with any number of processes. Is this a bug or am I using bokeh serve incorrectly?
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
I am using the directory format with a bokeh server that has a structure like:
fst_app
>
+---main.py
snd_app
±–main.py
If I set --num-procs to any integer other than 1, then I get the error message:
ERROR:‘DirectoryHandler’ object has no attribute ‘safe_to_fork’
``
The command is:
bokeh serve --num-procs 0 first_app snd_app
``
The error occurs even with only one app specified, but I can explicitly pass --num-procs 1 without issue. I can also run the single module format with any number of processes. Is this a bug or am I using bokeh serve incorrectly?
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
On Thursday, August 11, 2016 at 8:35:32 AM UTC-4, Bryan Van de ven wrote:
This is a bug for sure but should be simple to fix. Please file an issue oh GH
I am using the directory format with a bokeh server that has a structure like:
fst_app
>
+---main.py
snd_app
>
+---main.py
If I set --num-procs to any integer other than 1, then I get the error message:
ERROR:'DirectoryHandler' object has no attribute 'safe_to_fork'
The command is:
bokeh serve --num-procs 0 first_app snd_app
The error occurs even with only one app specified, but I can explicitly pass --num-procs 1 without issue. I can also run the single module format with any number of processes. Is this a bug or am I using bokeh serve incorrectly?