Giter Site home page Giter Site logo

Errors During Installation about cosr-back HOT 3 OPEN

mechaman avatar mechaman commented on August 19, 2024
Errors During Installation

from cosr-back.

Comments (3)

sylvinus avatar sylvinus commented on August 19, 2024

Hi @mechaman !

Could you try running the command make start_services on your host? Some of the tests need Elasticsearch to be launched. Maybe this should be clearer in the docs.

from cosr-back.

mechaman avatar mechaman commented on August 19, 2024

Hey @sylvinus .

Thank you for replying :) So I did as you said and end up with only 1 error and 1 skipped.

tests/sparktests/test_plugin_linkgraph.py::test_spark_link_graph_parquet[0] FAILED
tests/sparktests/test_sources.py::test_spark_multiple_sources[0] PASSED
tests/testdata/html_newspaper_testcases/test_urls.txt SKIPPED

Perhaps you should also add make start_services in the 3. Optional: Run the tests section before running make docker_test_coverage. As for the test that has an error and the one that is skipped, any idea on how I could fix it?

Also, I seem to be having an issue when I run make import_local_data. I have had to pip install many modules and have come to a halt due to a particular one :

ImportError: No module named pyfaup.faup

Would you happen to know how to solve this issue as well?

Thanks for your patience.

  • J

from cosr-back.

sylvinus avatar sylvinus commented on August 19, 2024

Great! Sorry for the lag, I'll try to be faster to reply now.

The pyfaup error is a dependency we just added in the Dockerfile. If you do make docker_build it will rebuild the container. It is also the reason test_spark_link_graph_parquet is failing. I will think about options to warn users that their container is not up to date with the current code to avoid similar confusion in the future.

Making the services optional for the tests and adding a message is indeed a very good idea, thanks!

test_urls.txt is not an actual test, we should actually exclude the whole testdata/ directory in test collection.

Thanks for your feedbacks, it really helps!

from cosr-back.

Related Issues (20)

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.