microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.

Home Page:https://learn.microsoft.com/sql/azure-data-studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notebook process won't start

alexsapps opened this issue · comments

Type: Bug

I tried installing Azure Data Studio on Chrome OS Linux VM (aka Crostini) but when I start the software, I get this error:

Could not start session: Notebook process exited prematurely with error code: 1. StdErr Output: Traceback (most recent call last):
File "/usr/share/azuredatastudio/resources/app/extensions/notebook/resources/pythonScripts/startNotebook.py", line 1, in
import notebook.notebookapp
File "/home/ajxtaylor/.local/lib/python3.8/site-packages/notebook/notebookapp.py", line 76, in
from .base.handlers import Template404, RedirectWithParams
File "/home/ajxtaylor/.local/lib/python3.8/site-packages/notebook/base/handlers.py", line 35, in
from notebook.utils import is_hidden, url_path_join, url_is_absolute, url_escape, urldecode_unix_socket_path
File "/home/ajxtaylor/.local/lib/python3.8/site-packages/notebook/utils.py", line 8, in
import ctypes
File "/home/ajxtaylor/azuredatastudio-python/lib/python3.8/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Azure Data Studio version: azuredatastudio 1.48.0 (4970733, 2024-02-26T20:54:08.538Z)
OS version: Linux x64 6.6.17-01102-gd3cec3c11146
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7Y75 CPU @ 1.30GHz (4 x 1607)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 3, 2, 1
Memory (System) 14.19GB (13.51GB free)
Process Argv --unity-launch
Screen Reader no
VM 100%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP X-Generic
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE undefined
Extensions: none

looks similar to #10429