Error rendering dynamic content from Jupyter Notebook Dashboard - python-3.x

I'm trying to run a dashboard which is actually a Jupyter notebook. I've created the dashboard using the panel library. My dashboard contains some dynamic content. All this worked well on my local machine. Now, I'm trying to do the same on an AWS server. The static content loads fine. But I get this error somehow for the dynamic content:-
bokeh.min.js?v=57d29d5936e494351385d736f792154c:550 [bokeh] Failed to load Bokeh session HxjcYn9BmVgnOJsBicuXlx8fEuUQkxViUb7ROVIVGNel:
Error: Could not open websocket
Can someone help me with this?
Thanks

I resolved this issue by passing the --allow-websocket-origin=myserver_ip:app_port argument while starting it.

Related

runOutput isn't appearing even after using dbutils.notebook.exit in ADF

I am using the below code to get some information in the Azure Databricks notebook, but runOutput isn't appearing even after the successful completion of the notebook activity.
Code that I used.
import json
dbutils.notebook.exit(json.dumps({
"num_records" : dest_count,
"source_table_name" : table_name
}))
Databricks notebook exited properly, but Notebook activity isn't showing runOutput.
Can someone please help me what is wrong here?
When I tried the above in my environment, it is working fine for me.
These are my Linked service Configurations.
Result:
I suggest you try the troubleshooting steps like, changing Notebook and changing the Databricks workspace with new one or using Existing cluster in linked service.
If still, it is giving the same, then it's better to raise a Support ticket for your issue.

No details in KqlError when I try to use KqlMagic

I'm trying to connect to an azure data explorer but I keep getting a non descriptive error. I'm following this tutorial.
https://learn.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-kqlmagic?view=sql-server-ver16.
Has anyone seen this?
click here for screenshot
I was trying to connect to azure data explorer from Azure Machine Learning Studio notebooks. I also tried it in Jupyter notebooks with an anaconda environment and I got the same error.
However, the command %reload_ext Kqlmagic worked for me
Maybe its because that Azure login has multiple directories?

Issue in running a client script in NetSuite suitescript 2.0

I have a client script in NetSuite 2.0 which is already running ,but if I am making any changes to it, the new changes are not getting reflected the script is still running with the old code.
Even if I try to add single log.debug it is not getting reflected when the script is running.
There are a couple of things to check:
first thing is if you are running in the UI then your browser probably cached the script so a ctrl-F5 to reload the page should fix things.
second you may not be updating the correct file. If you navigate to the script definition you can open the code directly and verify your changes are there.

Setting up cakephp3 on azure webapp on linux

I am new to Azure. I would like to setup web app of cakephp 3+ on web app service of azure. I made a web app and tried to install cakephp by composer.
I get the following error:
Fixture creation for "requests" failed "SQLSTATE[HY000]: General Error: 5 database is locked"
Fixture creation for "panels" failed "SQLSTATE[HY000]: General Error: 5 database is locked"
I thought this error was the database connection. But I made a custom script and I saw the web server was able to connect to the database server. I also checked for php version compatibility, but it was all fine, as my dev server is running on same php(7.0) with same cake version. I looked into the looked into logs but nothing helped me. When I exported the code/cakephp to other server it works without any issue. Microsoft did not help me.
Please help in solving the issue.
The "requests" and "panels" tables are used by DebugKit, and created automatically if they don't exist. Presumably, the database user you are connecting to the database with doesn't have "create" permissions here. Either correct that, or disable the DebugKit plugin in your config/bootstrap.php.

Excel Export is not working in Odoo

I am currently having a problem using the default Excel Export tool from Odoo. I am using Odoo 8, but not the lastest version.
The weird thing is that for the same version of Odoo, one of my databases works fine with the Excel export tool, but the other one does not. The CSV export tool works fine in both. I installed the web_export_view module and it also works fine in both databases.
The error occurs when when I press the button to actually export the fields selected. The server it self does not do anything (just loads a little bit), but where I can see the error is in the browser's console, here is the error message:
http://localhost:8059/web/export/xls Failed to load resource: the server responded with a status of 404 (NOT FOUND)
POST http://localhost:8059/web/export/xls 404 (NOT FOUND)
I would really appreciate if someone could help me with this. I tried every single thing I could think of.
Have a nice day!
I don't thing localhost will work you need to give full path or Temp folder path where file save for time being.
Eg:- C:\path\tem or C:\web\export\xls

Resources