Code Monkey home page Code Monkey logo

Comments (2)

astariul avatar astariul commented on August 20, 2024 1

I ran the app with debug mode (python -m vizseq.server --port 9001 --data-root ./examples/data --debug)

and when I accessed the webapp it gave me this Traceback :

Traceback (most recent call last):
File "/home/remondn/.venv/presum/lib/python3.6/site-packages/tornado/web.py", line 1590, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/remondn/workspace/vizseq/vizseq/server.py", line 82, in get
VizSeqWebView.get_enum_tasks_and_names_and_enum_models(args.data_root)
File "/home/remondn/workspace/vizseq/vizseq/_view/web_view.py", line 81, in get_enum_tasks_and_names_and_enum_models
d for d in os.listdir(data_root)
FileNotFoundError: [Errno 2] No such file or directory: './examples/data'

It's because the data was downloaded in ./data/ and not ./examples/data/. Running the server again with the right path :

python -m vizseq.server --port 9001 --data-root ./data

works perfectly 😃


You might want to update README and change the data-root path, by default get_example_data.sh download the data to ./data and not ./examples/data.

from vizseq.

kahne avatar kahne commented on August 20, 2024

Thanks for reporting this! I will fix the unzipping path in get_example_data.sh.

from vizseq.

Related Issues (15)

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.