Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Alan Gauld via Tutor
On 27/02/17 11:22, Allan Tanaka wrote: > - And did you see chart.html in that listing? > Yes it's there > > - How did you "proceed"? > Did you click the link in the directorty listing > or did you type it in by hand? > I click the link in directory listing OK, It looks like the server side is work

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Allan Tanaka via Tutor
- And did you see chart.html in that listing? Yes it's there - How did you "proceed"? Did you click the link in the directorty listing or did you type it in by hand? I click the link in directory listing have you checked that chart.htm is not empty and that the html is valid? As i click the chart.h

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Alan Gauld via Tutor
On 27/02/17 10:40, Allan Tanaka via Tutor wrote: > After typing python -m SimpleHTTPServer 8000 in CMD > then i proceed to my google chrome and type http://allan-pc:8000/ OK, But to be safe I'd probably stick to 0.0.0.0 rather than your PC name - it eliminates routing errors from the equation. >

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Allan Tanaka via Tutor
Yes chart.html is listed but when clicked it, the page doesn't show anything. Just blank.In command prompt, the message after i clicked chart.html is like this:Serving HTTP on 0.0.0.0 port 8000192.168.100.6 - - [27/Feb/2017 17.36.53] "GET / HTTP/1.1" 200 - On Monday, 27 February 2017,

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Allan Tanaka via Tutor
After typing python -m SimpleHTTPServer 8000 in CMD then i proceed to my google chrome and type http://allan-pc:8000/ That's where Directory listing for/ Then i proceed to http://allan-pc:8000/chart.html No chart image whatsoever...Blank webpageIn command prompt, the message after i type python -

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Alan Gauld via Tutor
On 27/02/17 10:24, Alan Gauld via Tutor wrote: > On 27/02/17 10:13, Allan Tanaka via Tutor wrote: >> I have changed the syntax to be python -m SimpleHTTPServer 8000 >> to match my ml python script. Still it doesn't work? A couple of other things to check: 1) does check.html exist and have the c

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Alan Gauld via Tutor
On 27/02/17 10:13, Allan Tanaka via Tutor wrote: > I have changed the syntax to be python -m SimpleHTTPServer 8000 > to match my ml python script. Still it doesn't work? Define "doesn't work"? What happens? Do you see an error message - if so which one? What happens if you use the base url? ht

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Allan Tanaka via Tutor
I have changed the syntax to be python -m SimpleHTTPServer 8000 to match my  ml python script.Still it doesn't work? Scracthing my head...See attached file for screenshoots On Monday, 27 February 2017, 16:54, Alan Gauld via Tutor wrote: On 27/02/17 02:44, Allan Tanaka via Tutor wro

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Alan Gauld via Tutor
On 27/02/17 02:44, Allan Tanaka via Tutor wrote: > I try to access it with http://0.0.0.0:8000/chart.html via Google Chrome, > On 18/02/17 04:46, Allan Tanaka via Tutor wrote: >> Not completely sure why it doesn't open the chart on the web browser >> when i type this in the windows command promp

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-27 Thread Allan Tanaka via Tutor
I try to access it with http://0.0.0.0:8000/chart.html via Google Chrome, FireFox, and Opera.I don't think the python code is the problem right, or? On Saturday, 18 February 2017, 16:36, Alan Gauld via Tutor wrote: Please don't repeat post. We saw it the first time. Please do post aga

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-18 Thread Alan Gauld via Tutor
Please don't repeat post. We saw it the first time. Please do post again with the extra information requested. On 18/02/17 04:46, Allan Tanaka via Tutor wrote: > Not completely sure why it doesn't open the chart on the web browser when i > type this in the windows command prompt (cmd) python -m

[Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-18 Thread Allan Tanaka via Tutor
Not completely sure why it doesn't open the chart on the web browser when i type this in the windows command prompt (cmd) python -m SimpleHTTPServer port 80.So first i type python ml.py data/sample.csv in cmd windows and then python -m SimpleHTTPServer port 80, but it's not proceeding to the gra

Re: [Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-16 Thread Alan Gauld via Tutor
There are several issues here, I'll try to address them separately below... On 16/02/17 13:26, Allan Tanaka via Tutor wrote: > Not completely sure why it doesn't open the chart on the web browser You haven't shown us chart.html so we can't guess how your data in ticks.json is supposed to get int

[Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

2017-02-16 Thread Allan Tanaka via Tutor
Not completely sure why it doesn't open the chart on the web browser when i type this in the windows command prompt (cmd) python -m SimpleHTTPServer port 80.So first i type python ml.py data/sample.csv in cmd windows and then python -m SimpleHTTPServer port 80, but it's not proceeding to the gra