You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/09/03 19:25:21 UTC

[GitHub] [incubator-superset] Clockmaker opened a new issue #10786: Broken webfonts: ‘url([object Module])’ in @font-face

Clockmaker opened a new issue #10786:
URL: https://github.com/apache/incubator-superset/issues/10786


   Hi, 
   I was updating superset to 0.37 and I noticed that all the webfonts are broken
   
   On firefox 78 there is also this warning:
   `Unknown descriptor ‘url([object Module])’ in @font-face rule.  Skipped to next declaration.`
   
   I gave a look at the css generated by less-loader and indeed all the font-face are broken starting from 0.37 onwards.
   
   ![2020-09-03-210245_3840x1080_scrot](https://user-images.githubusercontent.com/117092/92157303-8b389600-ee2a-11ea-9b30-5efebc717857.png)
   #### How to reproduce the bug
   
   ````bash
   docker run -it preset/superset:0.37 /bin/bash
   ````
   inside the container:
   ````bash
   grep -r "object Module" /app/superset/static/assets/ --color="auto"
   ````
   I also pulled the `38da552a57b9be999fb36b2cf7ae1c9231a010eb` (14 days old) with the same result.
   
   ### Checklist
   
   - [ ] ~~I have checked the superset logs for python stacktraces and included it here as text if there are any.~~
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   I compared `webpack.config`, `package.json` and `Dockerfile` with the 0.36 but I fail to see any possible breaking change.
   
   #### Possible solution
   I tried to add `esModule: false` to [less-loader](https://github.com/apache/incubator-superset/blob/master/superset-frontend/webpack.config.js#L295) and it seems to solve the issue (partially, because I still have some warnings).
   
   Thanks.
   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] rusackas commented on issue #10786: Broken webfonts: ‘url([object Module])’ in @font-face

Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #10786:
URL: https://github.com/apache/incubator-superset/issues/10786#issuecomment-733241259


   This was resolved with #11718 and #11724


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] rusackas closed issue #10786: Broken webfonts: ‘url([object Module])’ in @font-face

Posted by GitBox <gi...@apache.org>.
rusackas closed issue #10786:
URL: https://github.com/apache/incubator-superset/issues/10786


   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] JunlinC commented on issue #10786: Broken webfonts: ‘url([object Module])’ in @font-face

Posted by GitBox <gi...@apache.org>.
JunlinC commented on issue #10786:
URL: https://github.com/apache/incubator-superset/issues/10786#issuecomment-686881765


   @rusackas 


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #10786: Broken webfonts: ‘url([object Module])’ in @font-face

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10786:
URL: https://github.com/apache/incubator-superset/issues/10786#issuecomment-686708792


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.94. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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.

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