package dash-bootstrap-components

puggelli_vladimiropuggelli_vladimiro Member Posts: 6

I have some problem to work with this package: dash-bootstrap-components

When I put in my environment, i see white page when i run my app, regardless that i use or not.

Some advice?

Thanks in advance



  • Member, Moderator, Domino Posts: 25 mod

    Hi Vladimiro,

    How are you installing dash-bootstrap-components in your environment? Are you using pip install dash-bootstrap-components?

    I just tested adding dash-bootstrap-components to my environment and was able to publish the quick start Dash app. You may have some conflicts with Dash package versions, what version of dash-bootstrap-components did you install and what version of Dash are you running? You may want to check that the two versions are compatible.

    Additionally, there could be an issue with the way you setup your config settings in the app. Can you share your app file and in particular show us what your app.config.update looks like?

    When I tested on the quick start app my app.config.update looked like this, note that the config changes based on what version of Dash you are running.

    # For Dash >= 0.18.3


    #### as the proxy server may remove the prefix

    'routes_pathname_prefix': '', 

    #### the front-end will prefix this string to the requests that are made to the proxy server

    'requests_pathname_prefix': ''}) 

    # For Dash < 0.18.3

    # app.config.routes_pathname_prefix=''

    # app.config.requests_pathname_prefix=''

    If you continue to have problems there could be an issue that is more specific to your environment, project files, or package versions and I would encourage you to go ahead and put in a support ticket by emailing [email protected] and we would be happy to help investigate and get your app up and running again!

  • puggelli_vladimiropuggelli_vladimiro Member Posts: 6

    On environment configuration i set this:

    RUN pip install dash && \

     pip install dash-table && \

      pip install dash-renderer && \

      pip install dash-html-components && \

      pip install dash-core-components && \

      pip install dash-bootstrap-components && \

      pip install ciso8601 && \

      pip install jaydebeapi && \

      pip install panda && \

      pip install plotly --upgrade

    And this in my main py file:


    'requests_pathname_prefix': ''


  • Member, Moderator, Domino Posts: 25 mod

    Hi Vladimiro,

    Apologies for not getting back to you sooner. It looks like you might need to add the following 'routes_pathname_prefix': '', to your app.config.update statement. However, there could also be issues with the package versions in your environment, but that would depend on what base image your environment was using and what else is in your environment. In this instance with a number of variables that could influence the outcome, I would encourage you to put in a support ticket so we can dig into the specifics of the problem and try to get it working for you. You can put in a support ticket by emailing [email protected] and we would be happy to assist with your specific problem!

Sign In or Register to comment.