From marc at toolz.fr Fri Jun 23 03:02:35 2017 From: marc at toolz.fr (marc at toolz.fr) Date: Fri, 23 Jun 2017 12:02:35 +0200 Subject: [iTowns-user] Issues running the iTowns demo Message-ID: <2b7b07e66bb55ba17b6cbd6a38972262@toolz.fr> Hi, We wanted to have a look at the iTowns Demo, I have followed the instructions on http://www.itowns-project.org/: "git clone -b gh-pages https://github.com/iTowns/itowns.git git clone https://github.com/iTowns/itowns-sample-data.git python -m SimpleHTTPServer Now open http://localhost:8000/itowns-sample-data/ in a browser and enjoy!" Note: with python 3 I had to change the line: "python -m SimpleHTTPServer" with "python -m http.server 8000" Unfortunately I keep on getting a: "Error code: 404 Message: File not found. Error code explanation: HTTPStatus.NOT_FOUND - Nothing matches the given URI." in the browser, and: "C:\Windows\system32>python -m http.server 8000 Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... 127.0.0.1 - - [23/Jun/2017 12:01:45] code 404, message File not found 127.0.0.1 - - [23/Jun/2017 12:01:45] "GET /itowns-sample-data/ HTTP/1.1" 404 - 127.0.0.1 - - [23/Jun/2017 12:01:45] code 404, message File not found 127.0.0.1 - - [23/Jun/2017 12:01:45] "GET /favicon.ico HTTP/1.1" 404 -" in the console. I am running a Windows 10 machine with python 3.6 and the browsers tried are: firefox64 bit:'firefox nightly', windows edge, and chrome. Any help would be appreciated. Regards, -- Marc Desprez Senior Programmer From t.broyer at atolcd.com Fri Jun 23 06:04:20 2017 From: t.broyer at atolcd.com (Thomas Broyer) Date: Fri, 23 Jun 2017 15:04:20 +0200 Subject: [iTowns-user] Issues running the iTowns demo In-Reply-To: <2b7b07e66bb55ba17b6cbd6a38972262@toolz.fr> References: <2b7b07e66bb55ba17b6cbd6a38972262@toolz.fr> Message-ID: Hi Marc, 2017-06-23 12:02 GMT+02:00 : > > Hi, > > We wanted to have a look at the iTowns Demo, I have followed the > instructions on http://www.itowns-project.org/: > "git clone -b gh-pages https://github.com/iTowns/itowns.git > git clone https://github.com/iTowns/itowns-sample-data.git > python -m SimpleHTTPServer > > Now open http://localhost:8000/itowns-sample-data/ in a browser and > enjoy!" > Note: > with python 3 I had to change the line: > "python -m SimpleHTTPServer" > with > "python -m http.server 8000" > > Unfortunately I keep on getting a: > "Error code: 404 > > Message: File not found. > > Error code explanation: HTTPStatus.NOT_FOUND - Nothing matches the given > URI." > in the browser, and: > > "C:\Windows\system32>python -m http.server 8000 > The command has to be run in the same folder where you "git clone"'d the repositories. You should have both an "itowns" and "itowns-sample-data" folders in that same folder (which is how Python finds the content for http://localhost:8000/itowns-sample-data/ : http://localhost:8000/ corresponds to the folder you run the Python command in) Cordialement, -- Thomas Broyer Atol Conseils et Développements -------------- next part -------------- An HTML attachment was scrubbed... URL: