Hi
I have installed panel==0.11.3, Django==2.2, bokeh==2.3.2, channels==3.0.3.
I have done same as instructed in documentation Django Apps — Panel 0.11.3 documentation.
When I ran using python manage.py runserver, I got error CommandError: You have not set ASGI_APPLICATION, which is needed to run the server.
Then I added ASGI_APPLICATION = ‘panel_django.routing.application’ in settings.py.
When I ran the application again, I’m getting error: File “<local file>\panelenv\lib\site-packages\asgiref\compatibility.py”, line 33, in new_application instance = application(scope) TypeError: init() takes 1 positional argument but 2 were given HTTP GET /favicon.ico 500 [0.59, 127.0.0.1:55437]
It would we very helpful if someone could help me out of this issue.
But, I got a new error: HTTP GET /sliders/autoload.js?bokeh-autoload-element=1002&bokeh-app-path=/sliders&bokeh-absolute-url=http://127.0.0.1:8000/sliders 200 [0.42, 127.0.0.1:50905]Not Found: /sliders/static/extensions/panel/css/alerts.css
HTTP GET /sliders/static/extensions/panel/css/alerts.css 404 [0.03, 127.0.0.1:50905]
Not Found: /sliders/static/extensions/panel/css/card.css
HTTP GET /sliders/static/extensions/panel/css/card.css 404 [0.05, 127.0.0.1:50573]
Not Found: /sliders/static/extensions/panel/css/dataframe.css
HTTP GET /sliders/static/extensions/panel/css/dataframe.css 404 [0.08, 127.0.0.1:62779]
Not Found: /sliders/static/extensions/panel/css/json.css
HTTP GET /sliders/static/extensions/panel/css/json.css 404 [0.15, 127.0.0.1:65502]
Not Found: /sliders/static/extensions/panel/css/loading.css
HTTP GET /sliders/static/extensions/panel/css/loading.css 404 [0.20, 127.0.0.1:62248]
Not Found: /sliders/static/extensions/panel/css/markdown.css
HTTP GET /sliders/static/extensions/panel/css/markdown.css 404 [0.23, 127.0.0.1:51200]
HTTP GET /static/js/bokeh.min.js?v=34492a651483e52ab93f122d922484233256bf44948e2fc265422ab409533866f6f8fe46c6e6e120eb72100deac48f64ad53bececef3b710aaa2347400aa35a8 200 [2.07, 127.0.0.1:50573]
HTTP GET /static/js/bokeh-widgets.min.js?v=63055547e2b9c94e52e9372e9e2d7ffef99861d0af906982eb2fec0eb7f96409b305d13c5b0adf8389146ba1ab994a1a79f7573669c27f9b9e52033ab8f163e9 200 [2.04, 127.0.0.1:62779]
HTTP GET /static/js/bokeh-tables.min.js?v=6338e59efcd5250dd6f683adeca22267d976417bfee27fd6847f1efe02c3040ec217495fbdf23c9ad255f8c876bcc5f04b7ef2f170c4ca404cc6a8d339322461 200 [1.89, 127.0.0.1:62248]
HTTP GET /static/extensions/panel/panel.min.js 404 [1.90, 127.0.0.1:51200]
Not Found: /sliders/static/extensions/panel/css/widgets.css
HTTP GET /sliders/static/extensions/panel/css/widgets.css 404 [2.17, 127.0.0.1:50905]
See this discourse topic to see if it also addresses your errors, which look to be the same issue. The regression appears to have returned to panel 0.11.3, but the workaround still solves it.
WORKAROUND
from bokeh.settings import settings
settings.resources = 'inline'