celeryy server error: “cannot mix new setting names with old setting names” while running the server










0














I am using celery server with radis as a broker but when I am trying to run the celery server following error occur:



enter image description here
I am using following command to run the server : celery worker -A app.celery --loglevel=info










share|improve this question




























    0














    I am using celery server with radis as a broker but when I am trying to run the celery server following error occur:



    enter image description here
    I am using following command to run the server : celery worker -A app.celery --loglevel=info










    share|improve this question


























      0












      0








      0







      I am using celery server with radis as a broker but when I am trying to run the celery server following error occur:



      enter image description here
      I am using following command to run the server : celery worker -A app.celery --loglevel=info










      share|improve this question















      I am using celery server with radis as a broker but when I am trying to run the celery server following error occur:



      enter image description here
      I am using following command to run the server : celery worker -A app.celery --loglevel=info







      python flask celery






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 '18 at 4:07









      Dave W. Smith

      16.2k22430




      16.2k22430










      asked Nov 12 '18 at 21:59









      coder_247

      186




      186






















          1 Answer
          1






          active

          oldest

          votes


















          1














          You may have picked up stale instructions that refer to old celery constant names. It's probably (and hopefully) just a matter of making sure you're using the new names. (The error suggests switching to the old names, if the code is going to be long-lived, using the newer names is preferable.)



          See the "Note:" near the top of http://docs.celeryproject.org/en/latest/userguide/configuration.html






          share|improve this answer




















          • Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
            – coder_247
            Nov 13 '18 at 11:46










          • Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
            – Dave W. Smith
            Nov 13 '18 at 17:24










          • I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
            – coder_247
            Nov 13 '18 at 17:39










          • Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
            – Dave W. Smith
            Nov 13 '18 at 18:58










          • Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
            – coder_247
            Nov 13 '18 at 19:10










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270720%2fceleryy-server-error-cannot-mix-new-setting-names-with-old-setting-names-whil%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          You may have picked up stale instructions that refer to old celery constant names. It's probably (and hopefully) just a matter of making sure you're using the new names. (The error suggests switching to the old names, if the code is going to be long-lived, using the newer names is preferable.)



          See the "Note:" near the top of http://docs.celeryproject.org/en/latest/userguide/configuration.html






          share|improve this answer




















          • Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
            – coder_247
            Nov 13 '18 at 11:46










          • Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
            – Dave W. Smith
            Nov 13 '18 at 17:24










          • I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
            – coder_247
            Nov 13 '18 at 17:39










          • Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
            – Dave W. Smith
            Nov 13 '18 at 18:58










          • Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
            – coder_247
            Nov 13 '18 at 19:10















          1














          You may have picked up stale instructions that refer to old celery constant names. It's probably (and hopefully) just a matter of making sure you're using the new names. (The error suggests switching to the old names, if the code is going to be long-lived, using the newer names is preferable.)



          See the "Note:" near the top of http://docs.celeryproject.org/en/latest/userguide/configuration.html






          share|improve this answer




















          • Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
            – coder_247
            Nov 13 '18 at 11:46










          • Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
            – Dave W. Smith
            Nov 13 '18 at 17:24










          • I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
            – coder_247
            Nov 13 '18 at 17:39










          • Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
            – Dave W. Smith
            Nov 13 '18 at 18:58










          • Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
            – coder_247
            Nov 13 '18 at 19:10













          1












          1








          1






          You may have picked up stale instructions that refer to old celery constant names. It's probably (and hopefully) just a matter of making sure you're using the new names. (The error suggests switching to the old names, if the code is going to be long-lived, using the newer names is preferable.)



          See the "Note:" near the top of http://docs.celeryproject.org/en/latest/userguide/configuration.html






          share|improve this answer












          You may have picked up stale instructions that refer to old celery constant names. It's probably (and hopefully) just a matter of making sure you're using the new names. (The error suggests switching to the old names, if the code is going to be long-lived, using the newer names is preferable.)



          See the "Note:" near the top of http://docs.celeryproject.org/en/latest/userguide/configuration.html







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 '18 at 22:23









          Dave W. Smith

          16.2k22430




          16.2k22430











          • Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
            – coder_247
            Nov 13 '18 at 11:46










          • Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
            – Dave W. Smith
            Nov 13 '18 at 17:24










          • I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
            – coder_247
            Nov 13 '18 at 17:39










          • Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
            – Dave W. Smith
            Nov 13 '18 at 18:58










          • Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
            – coder_247
            Nov 13 '18 at 19:10
















          • Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
            – coder_247
            Nov 13 '18 at 11:46










          • Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
            – Dave W. Smith
            Nov 13 '18 at 17:24










          • I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
            – coder_247
            Nov 13 '18 at 17:39










          • Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
            – Dave W. Smith
            Nov 13 '18 at 18:58










          • Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
            – coder_247
            Nov 13 '18 at 19:10















          Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
          – coder_247
          Nov 13 '18 at 11:46




          Thank you very much for the answer I got ur point but how can I replace CELERY_INCLUDE to include.
          – coder_247
          Nov 13 '18 at 11:46












          Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
          – Dave W. Smith
          Nov 13 '18 at 17:24




          Are you configuring celery yourself? That is, is there a CELERY_INCLUDE in your code? Or are you using a 3rd party package (something you installed via anaconda) that provides a layer on top of celery? If the former, make the change there. If the latter, you have a more interesting problem, and may need to change any new-style configuration that you're doing to be old-style.
          – Dave W. Smith
          Nov 13 '18 at 17:24












          I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
          – coder_247
          Nov 13 '18 at 17:39




          I am using a 3rd party package(installed via anaconda). How can I do this "and may need to change any new-style configuration that you're doing to be old-style."
          – coder_247
          Nov 13 '18 at 17:39












          Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
          – Dave W. Smith
          Nov 13 '18 at 18:58




          Sadly, there are times when software migrates on independent schedules and you find yourself stuck trying to get A working with B. Hopefully you're not in one of those spots. Which additional software are you installing?
          – Dave W. Smith
          Nov 13 '18 at 18:58












          Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
          – coder_247
          Nov 13 '18 at 19:10




          Thanxx for the help. I somehow figure it. Here i use include : " celery = Celery('coalition_python', broker=app.config['CELERY_BROKER_URL'],include=['coalition_python']) " and now it's working.
          – coder_247
          Nov 13 '18 at 19:10

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53270720%2fceleryy-server-error-cannot-mix-new-setting-names-with-old-setting-names-whil%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          How to read a connectionString WITH PROVIDER in .NET Core?

          In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

          Museum of Modern and Contemporary Art of Trento and Rovereto