[virt-tools-list] virt-manager Start Manager error : unsupported format character '�(0xffffffef) at index 30

zhaozyt at foxmail.com zhaozyt at foxmail.com
Fri May 12 03:09:13 UTC 2017


Hello everyone:
    This is the startup log:

2017-05-12 11:04:35,393 (cli:71): virt-manager startup
2017-05-12 11:04:35,394 (virt-manager:306): Launched as: /usr/share/virt-manager/virt-manager.py --debug
2017-05-12 11:04:35,394 (virt-manager:307): GTK version: (2, 24, 23)
2017-05-12 11:04:35,394 (virt-manager:308): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
2017-05-12 11:04:35,618 (engine:556): No inspection thread because libguestfs is too old, not available, or libvirt is not thread safe.
2017-05-12 11:04:35,620 (engine:346): About to connect to uris ['qemu:///system']
/usr/share/virt-manager/virtManager/manager.py:1112: GtkWarning: Invalid input string
  widget.set_label(current_text)
2017-05-12 11:04:35,841 (engine:472): window counter incremented to 1
2017-05-12 11:04:35,861 (connection:976): Scheduling background open thread for qemu:///system
2017-05-12 11:04:35,862 (connection:1162): Background 'open connection' thread is running
2017-05-12 11:04:35,873 (connection:1190): Background open thread complete, scheduling notify
2017-05-12 11:04:35,886 (connection:1195): Notifying open result
2017-05-12 11:04:35,898 (connection:1202): qemu:///system capabilities:
<capabilities>

  <host>
    <uuid>44454c4c-5a00-1030-8039-b2c04f544632</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>SandyBridge</model>
      <vendor>Intel</vendor>
      <topology sockets='1' cores='6' threads='1'/>
      <feature name='invtsc'/>
      <feature name='invpcid'/>
      <feature name='erms'/>
      <feature name='bmi2'/>
      <feature name='smep'/>
      <feature name='avx2'/>
      <feature name='bmi1'/>
      <feature name='fsgsbase'/>
      <feature name='abm'/>
      <feature name='pdpe1gb'/>
      <feature name='rdrand'/>
      <feature name='f16c'/>
      <feature name='osxsave'/>
      <feature name='movbe'/>
      <feature name='dca'/>
      <feature name='pcid'/>
      <feature name='pdcm'/>
      <feature name='xtpr'/>
      <feature name='fma'/>
      <feature name='tm2'/>
      <feature name='est'/>
      <feature name='smx'/>
      <feature name='vmx'/>
      <feature name='ds_cpl'/>
      <feature name='dtes64'/>
      <feature name='pbe'/>
      <feature name='tm'/>
      <feature name='ht'/>
      <feature name='ss'/>
      <feature name='acpi'/>
      <feature name='ds'/>
      <feature name='vme'/>
    </cpu>
    <power_management>
      <suspend_disk/>
    </power_management>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='2'>
        <cell id='0'>
          <cpus num='6'>
            <cpu id='0' socket_id='0' core_id='0' siblings='0'/>
            <cpu id='2' socket_id='0' core_id='1' siblings='2'/>
            <cpu id='4' socket_id='0' core_id='2' siblings='4'/>
            <cpu id='6' socket_id='0' core_id='3' siblings='6'/>
            <cpu id='8' socket_id='0' core_id='4' siblings='8'/>
            <cpu id='10' socket_id='0' core_id='5' siblings='10'/>
          </cpus>
        </cell>
        <cell id='1'>
          <cpus num='6'>
            <cpu id='1' socket_id='1' core_id='0' siblings='1'/>
            <cpu id='3' socket_id='1' core_id='1' siblings='3'/>
            <cpu id='5' socket_id='1' core_id='2' siblings='5'/>
            <cpu id='7' socket_id='1' core_id='3' siblings='7'/>
            <cpu id='9' socket_id='1' core_id='4' siblings='9'/>
            <cpu id='11' socket_id='1' core_id='5' siblings='11'/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>selinux</model>
      <doi>0</doi>
    </secmodel>
    <secmodel>
      <model>dac</model>
      <doi>0</doi>
    </secmodel>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/libexec/qemu-kvm</emulator>
      <machine>rhel6.6.0</machine>
      <machine canonical='rhel6.6.0'>pc</machine>
      <machine>rhel6.5.0</machine>
      <machine>rhel6.4.0</machine>
      <machine>rhel6.3.0</machine>
      <machine>rhel6.2.0</machine>
      <machine>rhel6.1.0</machine>
      <machine>rhel6.0.0</machine>
      <machine>rhel5.5.0</machine>
      <machine>rhel5.4.4</machine>
      <machine>rhel5.4.0</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/libexec/qemu-kvm</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
      <pae/>
      <nonpae/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/libexec/qemu-kvm</emulator>
      <machine>rhel6.6.0</machine>
      <machine canonical='rhel6.6.0'>pc</machine>
      <machine>rhel6.5.0</machine>
      <machine>rhel6.4.0</machine>
      <machine>rhel6.3.0</machine>
      <machine>rhel6.2.0</machine>
      <machine>rhel6.1.0</machine>
      <machine>rhel6.0.0</machine>
      <machine>rhel5.5.0</machine>
      <machine>rhel5.4.4</machine>
      <machine>rhel5.4.0</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/libexec/qemu-kvm</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

</capabilities>

2017-05-12 11:04:36,317 (connection:577): Connection managed save support: True
2017-05-12 11:04:36,410 (connection:160): Using libvirt API for netdev enumeration
2017-05-12 11:04:36,412 (connection:200): Using libvirt API for mediadev enumeration
2017-05-12 11:04:40,285 (error:83): dialog message: 启动管理器出错:unsupported format character '�(0xffffffef) at index 30 : 启动管理器出错:unsupported format character '�(0xffffffef) at index 30

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 824, in _do_show_create
    self._get_create_dialog().show(src.topwin, uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 151, in show
    self.reset_state(uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 338, in reset_state
    self.page_changed(None, None, PAGE_NAME)
  File "/usr/share/virt-manager/virtManager/create.py", line 1355, in page_changed
    self.set_page_num_text(pagenum)
  File "/usr/share/virt-manager/virtManager/create.py", line 1349, in set_page_num_text
    {'current_page': cur, 'max_page': final})
ValueError: unsupported format character '�(0xffffffef) at index 30

/usr/share/virt-manager/virtManager/error.py:225: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  self.buffer.set_text(details)
/usr/share/virt-manager/virtManager/error.py:51: PangoWarning: Invalid UTF-8 string passed to pango_layout_set_text()
  dialog.show()
/usr/share/virt-manager/virt-manager.py:394: PangoWarning: Invalid UTF-8 string passed to pango_layout_set_text()
  gtk.main()


Hope it helps you!



zhaozyt at foxmail.com
 
发件人: zhaozyt at foxmail.com
发送时间: 2017-05-08 09:22
收件人: Cole Robinson; virt-tools-list
主题: Re: Re: [virt-tools-list] virt-manager Start Manager error : unsupported format character '�(0xffffffef) at index 30
thanks for the reply!

virt-manager uses Chinese fonts

Error Version :
KVM Host : CentOS6.9 
virt-manager : 0.9.0-34

Normal Version :
KVM Host :  CentOS6.8 
virt-manager : 0.9.0-31

Download and install version 0.9.0-31 is normal
rpm -ivh virt-manager-0.9.0-31.el6.x86_64.rpm --force

This is my blog, which records my solution :
http://blog.csdn.net/z_yttt/article/details/71192144 


Where can I still see the log?

My English is not good, thank you for reading !



zhaozyt at foxmail.com
 
From: Cole Robinson
Date: 2017-05-05 23:11
To: zhaozyt at foxmail.com; virt-tools-list
Subject: Re: [virt-tools-list] virt-manager Start Manager error : unsupported format character '�(0xffffffef) at index 30
On 05/04/2017 10:12 PM, zhaozyt at foxmail.com wrote:
> hello,friends
> 
> I have a kvm host, the virtual machine is running normally, I can use
> the |virsh| command to manage the virtual machine, but
> start |virt-manager| error, the error message is as follows: |unsupported
> format character ' (0xffffffef) at index 30|
> 
> How to solve this?
> 
 
Please run virt-manager --debug, reproduce the issue, and send us the output
 
Thanks,
Cole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170512/cdbc7207/attachment.htm>


More information about the virt-tools-list mailing list