lokeshMrudhul opened a new issue, #31013:
URL: https://github.com/apache/superset/issues/31013
### Bug description
Error occurring in celery worker while exporting dashboard as PDF using
chrome driver
`The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\venv\Lib\site-packages\superset\tasks\scheduler.py", line 95, in
execute
).run()
^^^^^
File "C:\venv\Lib\site-packages\superset\utils\decorators.py", line 266,
in wrapped
return on_error(ex)
^^^^^^^^^^^^
File "C:\venv\Lib\site-packages\superset\utils\decorators.py", line 236,
in on_error
raise ex
File "C:\venv\Lib\site-packages\superset\utils\decorators.py", line 259,
in wrapped
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\venv\Lib\site-packages\superset\commands\report\execute.py", line
803, in run
raise ReportScheduleUnexpectedError(str(ex)) from ex
superset.commands.report.exceptions.ReportScheduleUnexpectedError: name
'Image' is not defined`
### Screenshots/recordings
_No response_
### Superset version
4.1.0
### Python version
3.11
### Node version
18 or greater
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] 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]