pphszx opened a new pull request #5965: [bugfix] NoneType df has no attribute 
to_dict in IFrame
URL: https://github.com/apache/incubator-superset/pull/5965
 
 
   iFrame doesn't work, and it seems to be introduced in #5753 
   
   Bug replication steps:
   
   1. Change visualization type to iFrame in any Explore view
   2. A exception is thrown
   ```
   Traceback (most recent call last):
     File 
"/home/eric/Documents/github/incubator-superset/superset/views/core.py", line 
1134, in generate_json
       payload = viz_obj.get_payload()
     File "/home/eric/Documents/github/incubator-superset/superset/viz.py", 
line 375, in get_payload
       payload['data'] = self.get_data(df)
     File "/home/eric/Documents/github/incubator-superset/superset/viz.py", 
line 489, in get_data
       return self.get_df().to_dict(orient='records')
   AttributeError: 'NoneType' object has no attribute 'to_dict'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to