geekdinazor commented on issue #28713:
URL: https://github.com/apache/superset/issues/28713#issuecomment-3112925377

   Problem remains in version 5.0.0.  We tried to add 
   
   ```py
   FEATURE_FLAGS = {
       DASHBOARD_VIRTUALIZATION: False
   }
   ```
   in superset_config.py but it gives error: 
   
   ```
   [2025-07-24 10:23:24 +0000] [54] [ERROR] Exception in worker process
   Traceback (most recent call last):
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/arbiter.py", line 
608, in spawn_worker
       worker.init_process()
     File 
"/app/.venv/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 94, 
in init_process
       super().init_process()
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/workers/base.py", 
line 135, in init_process
       self.load_wsgi()
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/workers/base.py", 
line 147, in load_wsgi
       self.wsgi = self.app.wsgi()
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/app/base.py", line 
66, in wsgi
       self.callable = self.load()
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", 
line 57, in load
       return self.load_wsgiapp()
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", 
line 47, in load_wsgiapp
       return util.import_app(self.app_uri)
     File "/app/.venv/lib/python3.10/site-packages/gunicorn/util.py", line 423, 
in import_app
       app = app(*args, **kwargs)
     File "/app/superset/app.py", line 37, in create_app
       app.config.from_object(config_module)
     File "/app/.venv/lib/python3.10/site-packages/flask/config.py", line 231, 
in from_object
       obj = import_string(obj)
     File "/app/.venv/lib/python3.10/site-packages/werkzeug/utils.py", line 
596, in import_string
       __import__(import_name)
     File "/app/superset/config.py", line 1955, in <module>
       import superset_config
     File "/app/pythonpath/superset_config.py", line 57, in <module>
       DASHBOARD_VIRTUALIZATION: False
   NameError: name 'DASHBOARD_VIRTUALIZATION' is not defined
   ```
   
   We use official Apache Superset 5.0.0 Docker image from [Docker 
Hub](https://hub.docker.com/layers/apache/superset/v5.0.0/images/sha256-2f62fe152008e19669e2402a71e174f44808cbf2ebb7665e634f21feed1e442d).
  
   
    Chart image look incorrectly cropped when downloaded in Firefox. We tested 
it on  Firefox 140.0.4 (64 bit; Windows/Linux).  This problem not occurs on 
Chrome 138.0.7204.157 (Linux) and Chrome 138.0.7204.159  (Windows).     
   
   Selected chart:
   <img width="1084" height="526" alt="Image" 
src="https://github.com/user-attachments/assets/9b0bbb7e-283f-461c-9790-7aff23ed10a5";
 />
   
   Output in Firefox (Which is broken):
   
![Image](https://github.com/user-attachments/assets/60ebc047-51ec-4fe5-bb31-444aa22a3d2c)
   
   Output in Chrome (Which is good):
   
   
![Image](https://github.com/user-attachments/assets/7a151b09-e4d1-4f11-86ec-e4e7e96a964c)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to