microsoft / azuredatastudio-postgresql

azuredatastudio-postgresql is an extension for Azure Data Studio that enables you to work with PostgreSQL databases
Other
195 stars 37 forks source link

PostgreSQL exentsion installation fails in ADS #388

Open KristinaJ995 opened 1 year ago

KristinaJ995 commented 1 year ago

Customer is attempting to install PostgreSQL extension in Azure Data Studio in a Citrix windows desktop environment, but it keeps failing with below error:

It seems the debugger cannot resolve C:\hostedtoolcache\windows\Python\3.6.8\x64\lib\ntpath.py

This may make the debugger miss breakpoints in the standard library.

Related bug: https://bugs.python.org/issue1180193

Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.6.8\x64\lib\site-packages\cx_Freeze\initscripts__startup.py", line 40, in run File "C:\hostedtoolcache\windows\Python\3.6.8\x64\lib\site-packages\cx_Freeze\initscripts\Console.py", line 37, in run File "ossdbtoolsservice/ossdbtoolsservice_main.py", line 14, in File "D:\a\1\s\ossdbtoolsservice\capabilities\capabilities_service.py", line 8, in File "D:\a\1\s\ossdbtoolsservice\capabilities\connection_options\mysql_connection_options.py", line 9, in File "D:\a\1\s\ossdbtoolsservice\query_execution__init__.py", line 6, in File "D:\a\1\s\ossdbtoolsservice\query_execution\query_execution_service.py", line 15, in File "D:\a\1\s\ossdbtoolsservice\query\init__.py", line 6, in File "D:\a\1\s\ossdbtoolsservice\query\batch.py", line 15, in ModuleNotFoundError: No module named 'ossdbtoolsservice.query.contracts'

[Error - 1:58:03 PM] Connection to server got closed. Server will not be restarted.

Also, installing the same extension using offline option (Install from VSIX... ) works fine. This is not a good option for the client since they want to deploy Azure Data Studio using Citrix to their wider audience.