You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sedanursayer (via GitHub)" <gi...@apache.org> on 2023/01/31 16:25:50 UTC

[GitHub] [superset] sedanursayer opened a new issue, #22922: superset runtime error

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

   We want to run superset with waitress instead of gunicorn on windows like this : waitress-serve --host 127.0.0.1 superset:app
   our goal is to run Superset project directly from github project instead of installing it in virtualenv.
   but we are getting this error, any idea what to do? 
   Error : raise RuntimeError(_app_ctx_err_msg)
   RuntimeError: Working outside of application context.


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on issue #22922: superset runtime error

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1410708060

   This sounds suspiciously like the prior reported issue [here](https://github.com/apache/superset/issues/22918) in terms of running Superset  "directly from GitHub project instead of installing it in virtualenv". I'm a little confused as running it using virualenv (as far as I understand) just makes sure the dependencies are kept in order, whereas skipping those instructions means you're using other system dependencies, and things might go sideways for any number of reasons. Can you explain why you're going that route? Otherwise, I'm hesitant to say that this points out a community bug to resolve, but more of a machine configuration issue. 
   
   Also, hosting on windows is not officially supported, but you can ask around in the `#deploying-superset` channel on Slack, or start a Q&A Discussion here on the repo look for anyone else attempting this. 
   
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] EugeneTorap commented on issue #22922: superset runtime error

Posted by "EugeneTorap (via GitHub)" <gi...@apache.org>.
EugeneTorap commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1411148489

   Hey @rusackas @sedanursayer @zeynepkoyun!
   I guess we can easy add the Windows support for superset.
   The next two lines will be enough in ´setup.py´:
   ´´´python
   'waitress; sys_platform == "win32"',
   'gunicorn; sys_platform != "win32"',
   ´´´
   Feel free to add a PR for this!


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] sedanursayer commented on issue #22922: superset runtime error

Posted by "sedanursayer (via GitHub)" <gi...@apache.org>.
sedanursayer commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1411797440

   > @sedanursayer For `waitress` you should use the next command:
   > ```
   > waitress-serve --host 127.0.0.1 --call superset:create_app
   > ```
   
   What exactly should I write in the setup.py file for this to work?


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] EugeneTorap commented on issue #22922: superset runtime error

Posted by "EugeneTorap (via GitHub)" <gi...@apache.org>.
EugeneTorap commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1411800757

   Can you join in our Slack? http://bit.ly/join-superset-slack
   I have the same nickname.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] craig-rueda closed issue #22922: superset runtime error

Posted by "craig-rueda (via GitHub)" <gi...@apache.org>.
craig-rueda closed issue #22922: superset runtime error
URL: https://github.com/apache/superset/issues/22922


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] sedanursayer commented on issue #22922: superset runtime error

Posted by "sedanursayer (via GitHub)" <gi...@apache.org>.
sedanursayer commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1411796998

   What exactly should I write in the setup.py file for this to work?


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] EugeneTorap commented on issue #22922: superset runtime error

Posted by "EugeneTorap (via GitHub)" <gi...@apache.org>.
EugeneTorap commented on issue #22922:
URL: https://github.com/apache/superset/issues/22922#issuecomment-1411751881

   @sedanursayer For `waitress` you should use the next command:
   ```
   waitress-serve --host 127.0.0.1 --call superset:create_app
   ```


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org