Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is anyone else seeing this, in vs studio code web. I can't execute anything today in the VS Studio code web (In Fabric notebook there is no issue)
Solved! Go to Solution.
Hi @smpa01
VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop.
I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Hi @smpa01
Have you resolved this issue? If my previous reply was helpful, please consider accepting it as a solution. If you have found other solutions, we would greatly appreciate it if you could share them with us. Thank you!
Best Regards,
Jing
Hi @smpa01
According to the error message, it seems the Jupyter extension version is not compatible. Is it possible install another version to make it work?
I don't have any error when running a notebook in VS Code Web, see below. In addition, ensure the kernel is set to “Synapse VS Code - Remote”.
Documentation: Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
This is the web version which automatically pops up from the Fabric interface, and it does not provide install or uninstall option for Jupyter as one could do in the Desktop VS Studio Code.
Hi @smpa01
VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop.
I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
@Anonymous your solution worked. I was opening the web vesrion directly from the notebook as you predicted.
Can you please advise me on this , I prefer running the visual studio code from my pc rather than web, I am not sure what am I doing wrong.
I keep on hitting a dead end in VS Code Local
same workbook in fabic vs vscode
PySparkLighter.Log gives me this
12:52:24,643 urllib3.connectionpool WARNING Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)'))': /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0
12:52:24,660 root ERROR Failed to initialize Spark Lighter variables. HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))
12:52:24,660 root INFO Registering Spark Lighter magics for IPython...
12:52:24,661 root INFO Registered Spark Lighter magics for IPython.
Hi @smpa01 Are you querying from a normal lakehouse or a dataflow Gen2 staging lakehouse?
@Anonymous I can confirm that is from a normal lakehouse.
Hi @smpa01
Can you check in another SparkLighter.log file that whether the remote spark session has been created successfully? If a remote session has been created successfully, you will see something like below. It returns a spark session id.
Otherwise you may refer to my settings in this thread. It might be helpful.
Best Regards,
Jing
@Anonymous before I try out the settings, I can confirm that for all my notebook logs I only see the following and there is no SparkLighter.log
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
5 | |
4 | |
2 | |
2 | |
2 |