☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Permission error running bokeh server

Community Support
nobody
nobody

I created a Panel File which should open some files. Executing the Script within jupyterlab it works fine. However, starting panel and thus bokeh, the script crashes.

inserting this into my script and executing it in jupyterlab

try:
    open('/home/user/input/2023.06.02/230306 002_Blk.TXT','r')
    print('Succes')
except IOError:
    print("The file cannot be opened")

I get as result:

Succes

So it can open the files.

Executing the script in panel I get this error message in my cli:

The file cannot be opened

So I think this is the problem:

User authentication hooks NOT provided (default user enabled)

How can I start panel/bokeh using my default linux user?

⌁   Link to post
Bryan
Bryan

This is normal and expected on a stock Bokeh server app invocation. It only means that (optional) authentication layer has not been enabled, Since you mention it works in jupyterlab but not with Panel, it seems likely that the issue is something specific to Panel. While Panel is built on top of Bokeh, it is an entirely separate project, developed and maintained by a different group of people. I’d say that your best best is to take this question to their forum: https://discourse.holoviz.org

⌁   Link to post

End of archived discussion · Replies are disabled