RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1653544 - Crashes with simplified chinese
Summary: Crashes with simplified chinese
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Martin Pitt
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-27 05:12 UTC by fzxiaomange
Modified: 2023-03-24 14:23 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-23 11:54:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
chrome (203.88 KB, image/png)
2018-11-27 05:12 UTC, fzxiaomange
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/cockpit-project cockpit issues 10604 0 None None None 2020-05-05 09:48:10 UTC

Description fzxiaomange 2018-11-27 05:12:30 UTC
Created attachment 1508742 [details]
chrome

Description of problem:
I install rhel8.0beta, then exec `systemctl enable --now cockpit.socket`, 
But when I access https://x.x.x.x:9090 and input user/password,
I can't see anything, I get the blank web page. But the browser development tools can get data and both are 200. Please sea the attachment

Version-Release number of selected component (if applicable):
- rhel8.0 beta installed in my computer's vmware-fusion 11.0.1
- my computer is macOS High Sierra 10.13.4
- my computer system language is simplified Chinese.
- browser use chrome 70.0.3538.110, safari 11.1, firefox 63.0.3
- browser language is also simplified Chinese.

How reproducible:
I don't know, but when I reinstall the rhel8.0beta, the problem is still exists.

Actual results:
I can't see anything

Expected results:
I can see the cockpit web content

Comment 1 fzxiaomange 2018-11-27 06:54:52 UTC
Eh... I can reproducible it, the problem is the browser language. When I change chrome language to English, It is very ok, When I change chrome language to simplified Chinese, It is the empty page.

Comment 2 Martin Pitt 2018-11-29 07:38:59 UTC
I can reproduce this. JS console shows:

Uncaught Error: Unclosed section "can_sync" at 554
    at parseTemplate (mustache.js:213)
    at Writer.parse (mustache.js:450)
    at Object.parse (mustache.js:589)
    at translate_and_init (machine-dialogs.js:69)
    at machine-dialogs.js:75
    at Object.<anonymous> (machine-dialogs.js:1066)
    at __webpack_require__ (bootstrap 30b92225cc0e76305d37:19)
    at index.js:27
    at Object.<anonymous> (index.js:60)
    at __webpack_require__ (bootstrap 30b92225cc0e76305d37:19)

Curiously it does not happen on Fedora 29. However, the page is not translated at all there.

Traditional Chinese and other languages work, so I suspect an error in the zh_CN translations.

Comment 3 fzxiaomange 2018-12-02 13:23:08 UTC
yes

Comment 4 Martin Pitt 2018-12-03 10:21:49 UTC
I fixed the broken zh-CN translation in Zanata, the next export/RHEL upload will have it.

Comment 5 fzxiaomange 2018-12-06 09:44:09 UTC
Ok, please close this bug

Comment 6 Martin Pitt 2018-12-06 09:55:01 UTC
@fzxiaomange: The bug will be closed through an erratum that contains the fix. I'll update it accordingly until then.


Note You need to log in before you can comment on or make changes to this bug.