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

   ### Bug description
   
   I am seeing this error often in the logs as I demo 4.1.0rc2.  One way I can 
produce it is by navigating to the Charts list, then clicking on a chart.  Same 
for Dashboards.  When I do that I get:
   
   ```python
   superset_app          | 2024-08-30 
21:02:54,015:ERROR:superset.utils.json:JSON is not valid Expecting value: line 
1 column 1 (char 0)
   superset_app          | Traceback (most recent call last):
   superset_app          |   File "/app/superset/utils/json.py", line 244, in 
loads
   superset_app          |     return simplejson.loads(
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/simplejson/__init__.py", line 514, in 
loads
   superset_app          |     return _default_decoder.decode(s)
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 386, in 
decode
   superset_app          |     obj, end = self.raw_decode(s)
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 416, in 
raw_decode
   superset_app          |     return self.scan_once(s, idx=_w(s, idx).end())
   superset_app          | simplejson.errors.JSONDecodeError: Expecting value: 
line 1 column 1 (char 0)
   ```
   
   The chart edit view loads correctly, I don't see a way in which this is 
causing problems but it is spamming the logs. 
   
   ### How to reproduce the bug
   
   1. Load the list of charts or dashboards
   2. Click one of them
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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