Hi Uriel,
I had the same problem with the tracking version of vatic. I know your 
answer is a bit old, and I hope you already solved your problems somehow. 
I'm posting anyways in the hope to help others. It looks like there's 
something wrong with the standard configuration. 

While 

http://127.0.0.1:8080/

won't work, the explicit url

http://127.0.0.1:8080/index.html

will. To get the list of published tasks, go to:

http://127.0.0.1:8080/admin.html

This page will suggest you links like:

http://localhost:8080?id=1&hitId=offline

Please note that they must be corrected as follows in order to work: 

http://localhost:8080/*index.html*?id=1&hitId=offline

Antonino

Il giorno giovedì 5 maggio 2016 07:52:28 UTC-5, Uriel Salomon ha scritto:
>
> I am probably doing something wrong here, but I tried reading through the 
> werkzeug docs and couldn't find a solution. I hope you can help me with 
> this.
>
> *My steps:*
> I am running start_server.py:
>
> import os
> import server
> from config import host, port
> from werkzeug.serving import run_simple
> import logging
>
> logging.basicConfig(filename='log.txt', level=logging.DEBUG)
> run_simple('localhost', '8080', server.application, use_reloader=True, 
> static_files={'/':os.path.join(os.path.dirname(__file__), 'public')})
>
>
> But trying to access http://localhost:8080 (in Firefox) results in:
>
> Error 404
> Action Undefined
>
> I am serving this from a folder that contains a *public* folder that's 
> supposed to contain a legit webpage (contains index.html).
>
> *The context:*
> I am trying to run the vatic video annotation tool: 
> https://github.com/johndoherty/vatic
>
> *My machine:*
> Ubuntu 15.04, Firefox 44.0, python 2.7.9, running start_server.py under 
> virtualenv (https://virtualenv.pypa.io/en/latest/)
>
> *My questions:*
> Are there any sanity checks that I can run before/after run_simple? Do you 
> need more information? Do can you spot the problem?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to