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

   ### Bug description
   
   I have successfully included the "INCLUDE_CHROMIUM=true" argument in my 
build. Playwright-Chromium is installed in the final image. However, the worker 
logs indicate the following error:
   "AttributeError: 'int' object has no attribute 'isdigit'".
   
   Each worker task returns a relatively similar error:
   "
   Traceback (most recent call last):
     File "/app/.venv/lib/python3.10/site-packages/celery/app/trace.py", line 
453, in trace_task
       R = retval = fun(*args, **kwargs)
     File "/app/superset/initialization/__init__.py", line 144, in __call__
       return task_base.__call__(self, *args, **kwargs)
     File "/app/.venv/lib/python3.10/site-packages/celery/app/trace.py", line 
736, in __protected_call__
       return self.run(*args, **kwargs)
     File "/app/superset/tasks/thumbnails.py", line 51, in cache_chart_thumbnail
       chart = cast(Slice, Slice.get(chart_id))
     File "/app/superset/models/slice.py", line 366, in get
       qry = db.session.query(Slice).filter_by(id_or_uuid_filter(id_or_uuid))
     File "/app/superset/models/slice.py", line 371, in id_or_uuid_filter
       if id_or_uuid.isdigit():
   AttributeError: 'int' object has no attribute 'isdigit'
   "
   
   Thumbnails and PDF/image exports cannot be carried out
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### 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