cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

UCX Installation Error

deane_h_s
New Contributor III

I'm getting the following error when trying to install UCX on my local machine using the databricks CLI v0.212.1. I've authenticated the CLI with the required workspace using databricks config with the host and PAT generated. I also have admin privileges on the workspace:

 

ERROR [d.l.blueprint.parallel][installing_components_1] installing components(WindowsPath('C:/Users/snowdonD/.databricks/labs/ucx/lib/src/databricks/labs/ucx/queries/assessment/estimates'), parent_path='/Applications/ucx/dashboards') task failed: 'charmap' codec can't decode byte 0x9d in position 1020: character maps to <undefined>: Traceback (most recent call last):  
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\blueprint\parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\sdk\retries.py", line 54, in wrapper    
    raise err
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\sdk\retries.py", line 33, in wrapper    
    return func(*args, **kwargs)
  File "C:\Users\snowdonD\.databricks\labs\ucx\lib\src\databricks\labs\ucx\install.py", line 537, in _create_dashboard
    metadata = DashboardMetadata.from_path(folder).replace_database(
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 858, in from_path
    dashboard_metadata_folder = cls._from_dashboard_folder(path)
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 890, in _from_dashboard_folder
    tile_metadata = TileMetadata.from_path(path)
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 308, in from_path
    header = tile_metadata.handler.parse_header()
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 78, in parse_header
    header, _ = self.split()
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 185, in split
    splits = self._FRONT_MATTER_BOUNDARY.split(self._content, 2)
  File "C:\Users\snowdonD\.databricks\labs\ucx\state\venv\lib\site-packages\databricks\labs\lsql\dashboards.py", line 74, in _content
    return self._path.read_text()
  File "C:\Program Files\Python310\lib\pathlib.py", line 1133, in read_text
    return f.read()
  File "C:\Program Files\Python310\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1020: character maps to <undefined>
16:44:55 ERROR [d.l.blueprint.parallel] More than half 'installing components' tasks failed: 0% results available (0/6). Took 0:00:05.437847
2 ACCEPTED SOLUTIONS

Accepted Solutions

vidya_kothavale
New Contributor III

 Try to install ucx previous version 0.28.2

databricks labs install ucx@v0.28.2

 

View solution in original post

 I can confirm this is working and have the all the UCX assessment tools installed in the workspace with this version. Thanks!

View solution in original post

2 REPLIES 2

vidya_kothavale
New Contributor III

 Try to install ucx previous version 0.28.2

databricks labs install ucx@v0.28.2

 

 I can confirm this is working and have the all the UCX assessment tools installed in the workspace with this version. Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group