Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How it work ? #2258

Closed
chemostafa opened this issue Jan 27, 2018 · 4 comments
Closed

How it work ? #2258

chemostafa opened this issue Jan 27, 2018 · 4 comments

Comments

@chemostafa
Copy link

Sorry I new in programmes
I tray
sh runtests.sh
runtests.sh
.............................................................................ssssssssssssssssssssssssssssssssss.............................................................................................................................................................................................................................................................................................................................ss................sss..................................................................................................................................................................................................................ss...........ss.....................................................................................................s.....................................................................................F......................................ss...s................................................s.............................ssssssssssssss.........s.............................................................s...................................................................................................................................s.................................s...................................s..........................................................................................................................s........................................................................................

FAIL: test_request_timeout (tornado.test.simple_httpclient_test.SimpleHTTPSClientTestCase)

Traceback (most recent call last):
File "/data/data/com.termux/files/home/tornado/tornado/testing.py", line 118, in call
result = self.orig_method(*args, **kwargs)
File "/data/data/com.termux/files/home/tornado/tornado/test/simple_httpclient_test.py", line 268, in test_request_timeout
self.assertEqual(str(response.error), "HTTP 599: Timeout during request")
AssertionError: 'HTTP 599: Timeout while connecting' != 'HTTP 599: Timeout during request'

  • HTTP 599: Timeout while connecting
  • HTTP 599: Timeout during request

Ran 1483 tests in 160.757s

FAILED (failures=1, skipped=68)
Some tests were skipped because: IOLoop configuration not available,
curl client accepts invalid headers, localhost does not resolve to
ipv6, needs fix, no testable future imports, non-windows platform,
pycares module not present, pycurl module not present,
tornado.speedups module not present, twisted module not present

So I go to
cd home/tornado/demos/facebook
And I tray
python Facebook.py

Traceback (most recent call last):
File "facebook.py", line 18, in
import tornado.auth
ModuleNotFoundError: No module named 'tornado'
Any help plz ?

@bdarnell
Copy link
Member

Questions like this belong on stack overflow or the mailing list, not the issue tracker.

@chemostafa
Copy link
Author

Sorry I new in this 😐
So can I know how I use it ?

@bdarnell
Copy link
Member

bdarnell commented Jan 27, 2018

Try asking at https://stackoverflow.com/questions/tagged/tornado

You need to install the package (or set PYTHONPATH) before running the demos.

@chemostafa
Copy link
Author

Thank you

bdarnell added a commit to bdarnell/tornado that referenced this issue Dec 30, 2018
Computing this dynamically is wrong and it doesn't seem worth the
trouble to maintain manually.

Closes tornadoweb#2258
Closes tornadoweb#2259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants