GithubHelp home page GithubHelp logo

ethan-zhang / mownfish Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 11.0 88 KB

mownfish is a productional skeleton and generator for tornado

License: Apache License 2.0

Python 100.00%
python skeleton tornado

mownfish's People

Contributors

bufferx avatar ethan-zhang avatar jizhouli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mownfish's Issues

tornado project start failed

Hi, Ethan
I use mownfish to create a tornado project, when i exec following cmd

python sugest/cmd/mownfishd.py --port=8086

there an error happened as below

Traceback (most recent call last):
File "sugest/cmd/mownfishd.py", line 35, in
main()
File "sugest/cmd/mownfishd.py", line 32, in main
server.start()
File "/home/guokr/platform/test/sugest/sugest/http_server.py", line 91, in start
and value.value() is None:
AttributeError: 'str' object has no attribute 'value'

I don`t know if i use fishing cmd correctly or something else, eagerly awaiting your reply

there is a default index page will be better

I run tornado successfully, but when i visit root path of local host

http://localhost:8000/

I get following response

Traceback (most recent call last):
File "/home/guokr/.virtualenvs/test/local/lib/python2.7/site-packages/tornado/web.py", line 1422, in _execute
result = self.prepare()
File "/home/guokr/.virtualenvs/test/local/lib/python2.7/site-packages/tornado/web.py", line 2149, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found

it`s ok because there is no handler mapped with root path, I think add a default index page will be better.

ROUTES = { 'first_proj':
[(r'/statinfo', statinfo_handler.StatInfoHandler),
],
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.