Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Upgrade from WinVC 6.5 to 7.0 with non-ascii Data Source Name fails (79367)

Last Updated: 6/5/2020Categories: TroubleshootingTotal Views: 5299Language:
Chinese (Simplified)JapaneseEnglish

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

While Migration Assistant executes pre-checks the below error is encountered and the Upgrade process is disrupted:

YYYY-MM-DDTHH:MM:SS.858Z ERROR __main__ Upgrade Phase 'vcdb:CollectRequirements' failed. Exception: 'utf8' codec can't decode byte 0x82 in position 0: invalid start byte
Traceback (most recent call last):
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\componentPhaseLauncher.py", line 461, in main
executionResult = systemExtension(exeContext)
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 94, in __call__
result = self.extension(*args)
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 110, in _func
return func(*args)
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\__init__.py", line 31, in do_collect_upgrade_requirements
req = do_windows_collect_req(context)
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\vcdb_collect_requirements_functions.py", line 1734, in do_windows_collect_req
is_windows_authentication_var)
File "C:\migE3F2.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\vcdb_collect_requirements_functions.py", line 1415, in get_windows_req_cross_platform
dsn_name = ensure_str_type(data_params_object.dsn_name).decode('utf-8')
File "C:\Program Files\VMware\vCenter Server\python\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 0: invalid start byte

Cause

The cause of the problem is a build in function in Python 2.XX version which fails to decode the non-ascii DSN name.

This is fixed in newer versions of Python e.g. 3.6.

Resolution

The issue is resolved in version 6.7 and above of the vCenter Server, because newer versions of the product use Python 3.

There would be no resolution that will be rolled out for the version lower than 6.7, since it would be a very high risk of regression if we introduce a fix in the code for something that is being fixed in the newer versions.

Workaround

To workaround the issue:

When Migration Assistant is started and pre-checks are taking place wait for the failure.

Login to the environment where the VC is running.

Locate file with name vcdb_collect_requirements_functions.py usually location is here:

C:\Users\Administrator\AppData\Local\VMware\Migration-Assistant\PythonURExtractDir\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb

Open vcdb_collect_requirements_functions.py with any text editor (Notepad++ is just fine).

Go to row number 1415, it should look like this:

1415 dsn_name = ensure_str_type(data_params_object.dsn_name).decode('utf-8')

Modify the row so it looks like this:

1415 dsn_name = ensure_str_type(data_params_object.dsn_name)

Save (for Notepad++ ctl+s)

Retry the migration.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
[解決済み] CRSVC-11914：コンソールで、[概要] タブ以外の [デバイス詳細] 画面タブを読み込めない (79399)

KB
•
AET-2626：米国および LATAM SaaS 環境において、WinCE デバイス向け Workspace ONE Assist 登録が失敗する (79380)

KB
•
VMware Workspace ONE Web 7.14 for Android リリースのお知らせ (79413)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

Take Our Survey

Support Assistant