Tried installing Workstation 15 at first but kept getting segmentation fault. Tried with 16 now instead but I keep getting the below error during installation. Fully updated Ubuntu 20.04 LTS. Anyone else have this issue?
Extracting VMware Installer...done.
Installing VMware VMX 16.1.0
Configuring...--- Logging error ---
Traceback (most recent call last):####################### ] 80%
File "/tmp/vmis.sUzdDb/install/vmware-installer/python/lib/logging/__init__.py", line 1084, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2018' in position 33953: ordinal not in range(128)
Call stack:
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmware-installer.py", line 694, in <module>
main(options)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmware-installer.py", line 536, in main
txn.Install(options.installComponent,
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/transaction.py", line 687, in Install
RunTransaction(actions, options)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/transaction.py", line 414, in RunTransaction
RunThreadedTransaction(txn, actions)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/transaction.py", line 472, in RunThreadedTransaction
txn.Run()
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/transaction.py", line 78, in Run
self.get()()
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/common.py", line 156, in Show
wrap(i.PostTransaction, txn.opts['ignoreErrors'])
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/util/__init__.py", line 26, in wrap
func(*args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/install.py", line 308, in PostTransaction
self._installer.PostTransactionInstall(**self.args)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstaller.py", line 94, in PostTransactionInstall
return self.MessageOut(self.whoami(), old, new, upgrade)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstaller.py", line 387, in MessageOut
retval = vmispy.RunExternalMethod(self._remoteUID, 0, strio.getvalue().decode('latin-1'))
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/installer.py", line 122, in MessageIn
self.proxyObject.MessageIn(uid, str)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstallerops.py", line 403, in MessageIn
ret = method(*args, **kwargs)
File "<string>", line 364, in PostTransactionInstall
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/installer.py", line 40, in Info
return self.installer.Log('info', *args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/installer.py", line 335, in Log
return self.proxyObject.Log(logType, *args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstallerops.py", line 159, in Log
return self.MessageOut(self.whoami(), logType, *args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstallerops.py", line 485, in MessageOut
retval = vmispy.RunExternalMethod(0, self._UID, strio.getvalue().decode('latin-1'))
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/remoteinstaller.py", line 301, in MessageIn
ret = method(*args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/installer.py", line 335, in Log
return self.proxyObject.Log(logType, *args, **kwargs)
File "/tmp/vmis.sUzdDb/install/vmware-installer/vmis/core/localinstallerops.py", line 241, in Log
ltype(*args, **kwargs)
Message: 'stderr: [AppLoader] GLib does not have GSettings support.\nUsing kernel build system.\nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:43:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:127: warning: "MSR_TEST_CTRL" redefined\n 127 | #define MSR_TEST_CTRL 0x33\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/irqflags.h:9,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/msr-index.h:44: note: this is the location of the previous definition\n 44 | #define MSR_TEST_CTRL 0x00000033\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:43:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:128: warning: "MSR_TEST_CTRL_SPLIT_LOCK_DETECT" redefined\n 128 | #define MSR_TEST_CTRL_SPLIT_LOCK_DETECT (1ULL << 29)\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/irqflags.h:9,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/msr-index.h:46: note: this is the location of the previous definition\n 46 | #define MSR_TEST_CTRL_SPLIT_LOCK_DETECT BIT(MSR_TEST_CTRL_SPLIT_LOCK_DETECT_BIT)\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:43:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:154: warning: "MSR_MISC_FEATURES_ENABLES" redefined\n 154 | #define MSR_MISC_FEATURES_ENABLES 0x140\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/irqflags.h:9,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/msr-index.h:722: note: this is the location of the previous definition\n 722 | #define MSR_MISC_FEATURES_ENABLES 0x00000140\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:43:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:489: warning: "MSR_K7_HWCR_SMMLOCK" redefined\n 489 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/irqflags.h:9,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/msr-index.h:530: note: this is the location of the previous definition\n 530 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:43:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:661: warning: "MSR_TSX_FORCE_ABORT" redefined\n 661 | #define MSR_TSX_FORCE_ABORT 0x0000010f\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/irqflags.h:9,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/msr-index.h:731: note: this is the location of the previous definition\n 731 | #define MSR_TSX_FORCE_ABORT 0x0000010F\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/./include/vm_asm_x86.h:41,\n from /tmp/modconfig-pttdzn/vmmon-only/./include/vm_asm.h:44,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:45:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined\n 78 | #define CR3_PCID_MASK 0xFFF\n | \nIn file included from ./arch/x86/include/asm/irqflags.h:5,\n from ./include/linux/irqflags.h:16,\n from ./include/linux/rcupdate.h:26,\n from ./include/linux/rculist.h:11,\n from ./include/linux/pid.h:5,\n from ./include/linux/sched.h:14,\n from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.c:31:\n./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition\n 39 | #define CR3_PCID_MASK 0xFFFull\n | \nIn file included from ./arch/x86/include/asm/processor.h:5,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/processor-flags.h:39: warning: "CR3_PCID_MASK" redefined\n 39 | #define CR3_PCID_MASK 0xFFFull\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/./include/vm_asm_x86.h:41,\n from /tmp/modconfig-pttdzn/vmmon-only/./include/vm_asm.h:44,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:53:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition\n 78 | #define CR3_PCID_MASK 0xFFF\n | \nIn file included from ./arch/x86/include/asm/ptrace.h:5,\n from ./arch/x86/include/asm/math_emu.h:5,\n from ./arch/x86/include/asm/processor.h:13,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/segment.h:235: warning: "GDT_SIZE" redefined\n 235 | #define GDT_SIZE (GDT_ENTRIES*8)\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:69:\n/tmp/modconfig-pttdzn/vmmon-only/./include/segs.h:54: note: this is the location of the previous definition\n 54 | #define GDT_SIZE (sizeof(Descriptor) * NUM_VALID_SEGMENTS)\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/paravirt_types.h:46,\n from ./arch/x86/include/asm/ptrace.h:94,\n from ./arch/x86/include/asm/math_emu.h:5,\n from ./arch/x86/include/asm/processor.h:13,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/msr-index.h:44: warning: "MSR_TEST_CTRL" redefined\n 44 | #define MSR_TEST_CTRL 0x00000033\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:51:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:127: note: this is the location of the previous definition\n 127 | #define MSR_TEST_CTRL 0x33\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/paravirt_types.h:46,\n from ./arch/x86/include/asm/ptrace.h:94,\n from ./arch/x86/include/asm/math_emu.h:5,\n from ./arch/x86/include/asm/processor.h:13,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/msr-index.h:46: warning: "MSR_TEST_CTRL_SPLIT_LOCK_DETECT" redefined\n 46 | #define MSR_TEST_CTRL_SPLIT_LOCK_DETECT BIT(MSR_TEST_CTRL_SPLIT_LOCK_DETECT_BIT)\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:51:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:128: note: this is the location of the previous definition\n 128 | #define MSR_TEST_CTRL_SPLIT_LOCK_DETECT (1ULL << 29)\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/paravirt_types.h:46,\n from ./arch/x86/include/asm/ptrace.h:94,\n from ./arch/x86/include/asm/math_emu.h:5,\n from ./arch/x86/include/asm/processor.h:13,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/msr-index.h:530: warning: "MSR_K7_HWCR_SMMLOCK" redefined\n 530 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:51:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:489: note: this is the location of the previous definition\n 489 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/paravirt_types.h:46,\n from ./arch/x86/include/asm/ptrace.h:94,\n from ./arch/x86/include/asm/math_emu.h:5,\n from ./arch/x86/include/asm/processor.h:13,\n from ./arch/x86/include/asm/cpufeature.h:5,\n from ./arch/x86/include/asm/thread_info.h:53,\n from ./include/linux/thread_info.h:38,\n from ./arch/x86/include/asm/preempt.h:7,\n from ./include/linux/preempt.h:78,\n from ./include/linux/spinlock.h:51,\n from ./arch/x86/include/asm/mmu.h:5,\n from ./arch/x86/include/asm/desc.h:7,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:73:\n./arch/x86/include/asm/msr-index.h:722: warning: "MSR_MISC_FEATURES_ENABLES" redefined\n 722 | #define MSR_MISC_FEATURES_ENABLES 0x00000140\n | \nIn file included from /tmp/modconfig-pttdzn/vmmon-only/common/vmx86.h:32,\n from /tmp/modconfig-pttdzn/vmmon-only/common/task.c:51:\n/tmp/modconfig-pttdzn/vmmon-only/./include/x86msr.h:154: note: this is the location of the previous definition\n 154 | #define MSR_MISC_FEATURES_ENABLES 0x140\n | \nIn file included from ./arch/x86/include/asm/nospec-branch.h:12,\n from ./arch/x86/include/asm/paravirt_types.h:46,\n from
...............
#define PCI_VENDOR_ID_VMWARE 0x15AD\n | \nIn file included from ./include/linux/pci.h:43,\n from /tmp/modconfig-pttdzn/vmnet-only/compat_netdevice.h:27,\n from /tmp/modconfig-pttdzn/vmnet-only/bridge.c:52:\n./include/linux/pci_ids.h:2294: note: this is the location of the previous definition\n 2294 | #define PCI_VENDOR_ID_VMWARE 0x15ad\n | \nIn file included from /tmp/modconfig-pttdzn/vmnet-only/net.h:38,\n from /tmp/modconfig-pttdzn/vmnet-only/vnetInt.h:26,\n from /tmp/modconfig-pttdzn/vmnet-only/bridge.c:53:\n/tmp/modconfig-pttdzn/vmnet-only/vm_device_version.h:74: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined\n 74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0\n | \nIn file included from ./include/linux/pci.h:43,\n from /tmp/modconfig-pttdzn/vmnet-only/compat_netdevice.h:27,\n from /tmp/modconfig-pttdzn/vmnet-only/bridge.c:52:\n./include/linux/pci_ids.h:2295: note: this is the location of the previous definition\n 2295 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0\n | \nUnable to start services\n'
Installing VMware Workstation 16.1.0
Configuring...
Installation was successful.
If I try to create a vm after this I get the following error
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
[Text dump moved to "spoiler" by moderator]
Tried different kernels, no luck:
5.8.0-40-generic
5.8.0-38-generic
5.4.0-64-generic
Tried a few different versions of VMWare as well, same issues (segmentation fault combined with some other errors with version 14).
VMware-Player-16.1.0-17198959.x86_64.bundle
VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle
VMware-Workstation-Full-15.5.7-17171714.x86_64.bundle
VMware-Workstation-Full-14.1.7-12989993.x86_64.bundle
Moderator: Please try and use the "spoiler" function of the post creator/editor when posting long text dumps - I've amended your initial post so you can see the difference it makes.
Expand the toolbar to view the "spoiler" icon:
Thank you, will keep this in mind.
Additional testing done for the record.
Tried this now as well https://github.com/mkubecek/vmware-host-modules/tree/w16.1.0-k5.8
Same result.
Managed to get Workstation 16.1.0 Pro going with the 5.10.9-051009-generic kernel.
how did you downgrade your kernel? currently i have 5.11 and I am having same problem as you.
No need to downgrade the kernel, also note that that answer was from January, not August.
Try the solution I suggested in your original thread.
--
Wil
Where is "the solution I suggested in your original thread"? The user does not appear to have other threads when I look at the @ouinouin user profile. I have also experienced the failure:
UnicodeEncodeError: 'ascii' codec can't encode character '\u2018' in position 35387: ordinal not in range(128)
In my case, I simply upgraded the operating system. The following packages updated:
I found a web reference to a similar install error that said to export a python variable before running the install, but this did not fix the error:
export PYTHONIOENCODING=utf-8
I see a python3-xml package updated, but aside from that, I don't really know what I'd look for as to an underlying reason that does not require backing out the updates.
I have to uninstall/re-install VMware workstation around kernel updates because, for some reason, kernel module rebuilds do not occur properly otherwise, so that's why I believe this update is where the issue occurred.
Hi,
Pulled your answer out of the spam queue..
The "original thread" reply was a reply to another user.
I know, it is not very clear. There's a lot wrong with this forum software... sigh.
The thread I referred to was this: https://communities.vmware.com/t5/VMware-Workstation-Pro/I-can-t-seem-to-install-Vmware-I-tried-othe...
--
Wil
Thank-you. It turns out that "UnicodeEncodeError: 'ascii' codec can't encode character '\u2018' in position 35387: ordinal not in range(128)" is a distraction, and that VMware Workstation will still work even if this occurs during install. I am unsure of the sequence at this point, but it is quite likely I should have rebooted at some point before attempting to install Workstation after the OS update and perhaps this was related to an initial failure, It is quite possible that the very messy explosion during install likely made me doubt the summary message that it installed successfully, and that I should have tried using it despite the apparent problem.
In any event, after a couple rounds of install, uninstall, re-install, I do see that this error is not a source of breakage, and my install is working after all.
I wish I'd noticed that before jumping in on this thread, but since that message doesn't show up in other forum messages, maybe this will help other hits on that message.