You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "okayhooni (via GitHub)" <gi...@apache.org> on 2023/12/19 13:14:43 UTC

[I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

okayhooni opened a new issue, #26309:
URL: https://github.com/apache/superset/issues/26309

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   1. Create alert or report on the dashboard with Unicode text (like Korean)
   2. Unicode character is not rendered as expected like below.
   
   ### Expected results
   - Unicode characters are rendered as expected
   
   ### Actual results
   #### Screenshots
   ![image](https://github.com/apache/superset/assets/81631424/a61c0890-e988-4a39-bd99-b77d753b402d)
   
   ### Environment
   - superset `v2.1.3`
   - Selenium with firefox driver (same as official `dev` image)
   ```
   ARG GECKODRIVER_VERSION=v0.32.0
   ARG FIREFOX_VERSION=106.0.3
   ``` 
   
   ### Checklist
   - [v] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [v] I have reproduced the issue with at least the latest released version of superset.
   - [v] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   - I installed `fonts-noto` on the image to fix this issue, but it cannot fix the issue.
   ```
   apt-get install fonts-noto
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "okayhooni (via GitHub)" <gi...@apache.org>.
okayhooni closed issue #26309: bug: Unicode character is not rendered as expected in alert and report feature!
URL: https://github.com/apache/superset/issues/26309


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "kainchow (via GitHub)" <gi...@apache.org>.
kainchow commented on issue #26309:
URL: https://github.com/apache/superset/issues/26309#issuecomment-2222285643

   I copied msyh.ttc from windows to the /usr/share/fonts/ directory inside the superset_worker container and it worked for me!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26309:
URL: https://github.com/apache/superset/issues/26309#issuecomment-1863080568

   What is that screenshot of - the Alerts & Reports UI, the email of the report, ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "okayhooni (via GitHub)" <gi...@apache.org>.
okayhooni commented on issue #26309:
URL: https://github.com/apache/superset/issues/26309#issuecomment-1863935466

   **self answer)**
   I solved this issue with installing some additional fonts library on our custom superset image
   ```
   fcitx-lib*
   fcitx-hangul*
   fonts-nanum*
   fonts-noto
   firefox-esr-l10n-ko
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "okayhooni (via GitHub)" <gi...@apache.org>.
okayhooni commented on issue #26309:
URL: https://github.com/apache/superset/issues/26309#issuecomment-1863632549

   > What is that screenshot of - the Alerts & Reports UI, the email of the report, ?
   
   @sfirke 
   
   It's a screenshot image of dashboard(captured with Selenium) in the report sent to email(or slack)..!
   
   I guess.. there is no valid fonts in the worker container image running Selenium drivers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] bug: Unicode character is not rendered as expected in alert and report feature! [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26309:
URL: https://github.com/apache/superset/issues/26309#issuecomment-1863641142

   Ah okay yep I bet you're right. I wonder if anyone in the community has a fix for this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org