Bug 1350185
| Summary: | Cannot create or run any VM: broken it.po causes: KeyError: 'nome-mv' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lordbyte <damiano.guerrini> | ||||||
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 25 | CC: | aperotti, berrange, bitchecker, crobinso, damiano.guerrini, d.lesca, germano.massullo, info, rehol3, virt-maint | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | virt-manager-1.4.0-3.fc24 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1434782 (view as bug list) | Environment: | |||||||
| Last Closed: | 2017-03-24 16:23:30 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Note: I use virt-manager from very long time and my installation work fine up to fedora 23 . After update to Fedora 24 (with dnf system-upgrade) virt-manager can't start or create any VM Looks like someone mistranslated the translation string and messed up variable names. If you run LOCALE=C virt-manager --debug it should avoid the issue, I'll try to follow up with the translators Created attachment 1173195 [details]
Debug log with error
Hi Yes, it's a translation problem I have try to run LOCALE=C virt-manager --debug but I receive the same error (See attach Debug log with error) Then I have try to create this little script for changing it_IT (My language) in en_US If i launch this script virt-manager display in english but work fine with no error ----------------------------------- #!/bin/bash export GDM_LANG=en_US.utf8 export LANG=en_US.utf8 export LC_MEASUREMENT=en_US.utf8 export LC_MONETARY=en_US.utf8 export LC_NUMERIC=en_US.utf8 export LC_PAPER=en_US.utf8 export LC_TIME=en_US.utf8 LOCALE=C virt-manager --debug ------------------------------------- Thank you for hour help. It's necessary to open a new translation bug or you can send this bug to the translators team ? Me too have this problem (LANG=it_IT.utf8) In my case, this command is sufficient to bypass the problem: LANG=en_US.utf8 virt-manager Thanks Dario The translator in the po file is listed as tchuang, who I've emailed. But if anyone else is a translator the place to fix it is fedora.zanata.org, then I can pull the updated file into fedora virt-manager I have send today (28/06/2016, 14.43 +0200) this email to tchuang: ------------------------ Hi Terry, At line 1463 of this file: https://github.com/virt-manager/virt-manager/blob/master/po/it.po There is a bug: > msgid "%(vm-name)s on %(connection-name)s" > msgstr "%(nome-mv)s su %(nome-connessione)s" the translation line must be: > msgid "%(vm-name)s su %(connection-name)s" This error produce on Fedora 24 this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1350185 Thanks ------------------- I'm a simple user, I'm not able to rebuild the package with patch. Sorry Hi, I've fixed on Zanata the translation: now variable is correct. Can you please regenerate the package before the myth that F24 break virt-manager spread? This issue is affecting all italian virt-manager users. thanks (In reply to Andrea Perotti from comment #8) > Hi, I've fixed on Zanata the translation: now variable is correct. > There was another instance in the file of the same issue that was missed, I fixed it manually FWIW I also filed a zanata bug to catch this type of issue: https://zanata.atlassian.net/browse/ZNTA-1212 > Can you please regenerate the package before the myth that F24 break > virt-manager spread? This issue is affecting all italian virt-manager users. > Working on it virt-manager-1.4.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9dbdf1caaa Waiting for virt-manager-common-1.4.0-3.fc24, if you running dnf upgrade virt-manager-common does not yet provide you the updated package, a quick workaround is to remove the faulty translation file: # rm /usr/share/locale/it/LC_MESSAGES/virt-manager.mo thanks Cole for your quick help and for spotting another similar issue. cheers *** Bug 1351497 has been marked as a duplicate of this bug. *** virt-manager-1.4.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9dbdf1caaa I have update now with: sudo dnf update virt-manager* --enablerepo updates-testing and all work fine. Thank to all! virt-manager-1.4.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1351906 has been marked as a duplicate of this bug. *** While trying to open detail window of running virtual machine, I get error message
==========
Errore nell'avvio dei dettagli: 'nome-mv'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 820, in _show_vm_helper
details = self._get_details_dialog(uri, vm.get_connkey())
File "/usr/share/virt-manager/virtManager/engine.py", line 797, in _get_details_dialog
obj = vmmDetails(conn.get_vm(connkey))
File "/usr/share/virt-manager/virtManager/details.py", line 395, in __init__
self.console = vmmConsolePages(self.vm, self.builder, self.topwin)
File "/usr/share/virt-manager/virtManager/console.py", line 128, in __init__
self._change_title()
File "/usr/share/virt-manager/virtManager/console.py", line 291, in _change_title
"connection-name": self.vm.conn.get_pretty_desc(),
KeyError: 'nome-mv'
==========
virt-manager-1.4.1-1.fc25.noarch
While trying to open detail window of running virtual machine, I get error message
==========
Errore nell'avvio dei dettagli: 'nome-mv'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 820, in _show_vm_helper
details = self._get_details_dialog(uri, vm.get_connkey())
File "/usr/share/virt-manager/virtManager/engine.py", line 797, in _get_details_dialog
obj = vmmDetails(conn.get_vm(connkey))
File "/usr/share/virt-manager/virtManager/details.py", line 395, in __init__
self.console = vmmConsolePages(self.vm, self.builder, self.topwin)
File "/usr/share/virt-manager/virtManager/console.py", line 128, in __init__
self._change_title()
File "/usr/share/virt-manager/virtManager/console.py", line 291, in _change_title
"connection-name": self.vm.conn.get_pretty_desc(),
KeyError: 'nome-mv'
==========
virt-manager-1.4.1-1.fc25.noarch
The regression is being tracked in bug 1433800 Check updates-testing |
Created attachment 1172503 [details] Screenshot of error Description of problem: After upgrade to fedora 24 if I try to run any existent VM or if I try to create new vm i receive an error Errore nell'avvio dell'installazione: 'nome-mv' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 2199, in _finish_clicked self._show_customize_dialog(guest) File "/usr/share/virt-manager/virtManager/create.py", line 2230, in _show_customize_dialog self._customize_window = vmmDetails(virtinst_guest, self.topwin) File "/usr/share/virt-manager/virtManager/details.py", line 363, in __init__ self.console = vmmConsolePages(self.vm, self.builder, self.topwin) File "/usr/share/virt-manager/virtManager/console.py", line 128, in __init__ self._change_title() File "/usr/share/virt-manager/virtManager/console.py", line 291, in _change_title "connection-name": self.vm.conn.get_pretty_desc(), KeyError: 'nome-mv' Version-Release number of selected component (if applicable): virt-manager-1.4.0-2.fc24.noarch virt-manager-common-1.4.0-2.fc24.noarch How reproducible: Create new VM or run any vm Steps to Reproduce: 1. Start Virt Manager 2. Create new vm 3. after wizard try to start vm Actual results: Errore nell'avvio dell'installazione: 'nome-mv' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 2199, in _finish_clicked self._show_customize_dialog(guest) File "/usr/share/virt-manager/virtManager/create.py", line 2230, in _show_customize_dialog self._customize_window = vmmDetails(virtinst_guest, self.topwin) File "/usr/share/virt-manager/virtManager/details.py", line 363, in __init__ self.console = vmmConsolePages(self.vm, self.builder, self.topwin) File "/usr/share/virt-manager/virtManager/console.py", line 128, in __init__ self._change_title() File "/usr/share/virt-manager/virtManager/console.py", line 291, in _change_title "connection-name": self.vm.conn.get_pretty_desc(), KeyError: 'nome-mv' Expected results: VM Normal start Additional info: