Unable to deploy shiny for python app to shinyapps.io: Unhandled Exception: Child Task 1268546154 failed

Hi all, I have seen an existing post that was closed on this topic: [Cannot deploy python shiny app to shinyapps.io - Exception: Child Task 1234081549 failed]

However I'm still having issues with this problem.. for context I've followed documentation on the following:

  • Python 3.9.13 environment setup for Shiny
  • RSConnect 1.10.0 used
  • Setup account on shinyapps.io
  • rsconnect add --account --name --token --secret
  • made requirements.txt file with pip freeze
  • rsconnect deploy shiny /path/to/app --name --title my-app

The app i've written works fine on my local server, however when deploying it kicks up this error:

    [ERROR]: shinyapps io reported an error (calling /v1/tasks/1268546152?legacy=true): Unhandled Exception: Child Task 1268546154 failed: Error 

building image: Build exited with non-zero status: 1
Error: shinyapps io reported an error (calling /v1/tasks/1268546152?legacy=true): Unhandled Exception: Child Task 1268546154 failed: Error building ibuilding image: Build exited with non-zero status: 1mage: Build exited with non-zero status: 1 mage: Build exited with non-zero status: 1

The app does show up as "undeployed" on shinyapps io, but I can't open it.

image

I'm having exactly the same problem.... Did you manage to solve it?

I'm using Python 3.9.13 and RSConnect-Python 1.16.0.

Thanks

Would either of you be able to post the code you are trying to deploy so that I can replicate it? If possible it would be great to include the output of rsconnect write-manifest shiny .