Giter Site home page Giter Site logo

Comments (12)

shivankgtm avatar shivankgtm commented on July 17, 2024

can you share your folder structure ?

from pyjudge.

shivankgtm avatar shivankgtm commented on July 17, 2024

i think it's case of mac. and we need to add DS_Store in .gitignore.

from pyjudge.

gauravrock avatar gauravrock commented on July 17, 2024

I' ll try to do it @shivank98. it happens sometimes once it runs but somehow whenever it gets 404 error the next time it gives this error.

from pyjudge.

shivankgtm avatar shivankgtm commented on July 17, 2024

from pyjudge.

theSage21 avatar theSage21 commented on July 17, 2024

actually the problem comes from line 18 which assumes that there will be no extra folders in the listing. We can do a simple check like

for i in os.listdir(question_dir):
    if not i.isdigit():
        continue
    # continue with the rest of the stuff

from pyjudge.

theSage21 avatar theSage21 commented on July 17, 2024

the error is coming because it's trying to find a file there in the path with the DS folder.

from pyjudge.

theSage21 avatar theSage21 commented on July 17, 2024

Perhaps someone can put up a PR which fixes this?

from pyjudge.

arnabsinha99 avatar arnabsinha99 commented on July 17, 2024

I am still getting the 404 Not found error. Could anyone whose server.py is running, help?

from pyjudge.

gauravrock avatar gauravrock commented on July 17, 2024

I am still getting the 404 Not found error. Could anyone whose server.py is running, help?

share the screenshot @arnabsinha99 please

from pyjudge.

arnabsinha99 avatar arnabsinha99 commented on July 17, 2024

I am still getting the 404 Not found error. Could anyone whose server.py is running, help?

share the screenshot @arnabsinha99 please

screenshot 78
screenshot 79

from pyjudge.

gauravrock avatar gauravrock commented on July 17, 2024

@arnabsinha99 your server is running. Please enter this URL after running the server.py: http://localhost:8080/question/1

from pyjudge.

arnabsinha99 avatar arnabsinha99 commented on July 17, 2024

alright. that worked thanks!. some more issues I faced are :-

  • The "download test cases" is not giving me the test case file

  • It is giving the wrong answer for "sum of two numbers" even though my output file is correct.

from pyjudge.

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.