Comments (12)
can you share your folder structure ?
from pyjudge.
i think it's case of mac. and we need to add DS_Store
in .gitignore
.
from pyjudge.
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.
from pyjudge.
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.
the error is coming because it's trying to find a file there in the path with the DS folder.
from pyjudge.
Perhaps someone can put up a PR which fixes this?
from pyjudge.
I am still getting the 404 Not found error. Could anyone whose server.py
is running, help?
from pyjudge.
I am still getting the 404 Not found error. Could anyone whose
server.py
is running, help?
share the screenshot @arnabsinha99 please
from pyjudge.
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 your server is running. Please enter this URL after running the server.py: http://localhost:8080/question/1
from pyjudge.
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)
- Database HOT 1
- Contest timings HOT 2
- Home page HOT 5
- Multiple contests
- Multiple contest UI design
- Move pre-commit and black to dev dependencies
- Pip installable project HOT 11
- 404 handler HOT 2
- Proper question statement and support HOT 5
- Session support
- Use sqlite as a database
- Interface to add questions via website HOT 4
- Raise error in proper places HOT 5
- Use a more common template system HOT 5
- Continuous testing needs to be added
- User stats/ profile HOT 4
- problem status in contest
- Reinstall black HOT 1
- Code Documentaion HOT 1
- Install pytest in pipenv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyjudge.