Comments (4)
I Just tested both on local and production server and have not experiment such issue. It's probably related to your browser configuration.
from inginious.
How do you change the file ? Via the web studio, the webdav, or the filesystem ? Do you perform this operation on your local setup or one of UCLouvain instance ?
It's possible that the webdav server does not keep track of the file modification date and thus flask think it's still the same file.
In our production instances static files are served by nginx so we could exclude werkzeug send_from_directory
method in that case.
from inginious.
How do you change the file ? Via the web studio, the webdav, or the filesystem ? Do you perform this operation on your local setup or one of UCLouvain instance ?
It's possible that the webdav server does not keep track of the file modification date and thus flask think it's still the same file.
In our production instances static files are served by nginx so we could exclude werkzeug
send_from_directory
method in that case.
Not sure what exactly are the 3 options you mentioned, but I did the file switch using the webdav file system (through the Windows file explorer) when I encountered the issue.
I just tried it with a test task and another simpler, smaller image.
First through the INGInious frontend interface (drag & droping the file and modifying the path to public/
) as well as the webdav filesystem, but neither method reproduced the error.
But I did manage to reproduce it on the same task with the same images (still using webdav filesystem, Windows file explorer).
I thought it could be related to the file size (4kB versus 52kB/55kB) so I came back to the test task, this time using the images that originally induced the error but I couldn't reproduce it with the same images on the test task.
Here are a few screenshots to illustrate the bug:
- The directive included in the task statement:
- The (wrong) image displayed to the student:
- The actual
expected_result.png
image on the filesystem:
Hope it helps.
from inginious.
So If I understand well, the behaviour does not change (actual update or not) according to the method, but rather to the files themselves, or at least in some configuration not related to webdav ?
It's possible Windows Explorer does not show upload errors and keep the file in cache until it can retry and upload the file successfully. It would be worth reproducing the bug and note at what time it happend so that we can see in the logs if some error happened. Another way to check this is to disable browser cache and look at the file, or make another webdav mount at another location and check what the file look like.
from inginious.
Related Issues (20)
- Mailing list HOT 1
- Runtime environments allowing to run as root could provide more capabilities to the containers HOT 2
- Frontend crashes in new installations due to Flask compatibility HOT 2
- Nginx & uwsgi HOT 6
- [frontend/tasks] Accessibility of tasks groups HOT 3
- Tracking issue: Improvements in Docker Agent
- [Frontend] Feedback Symbol Parsing Issue HOT 4
- [frontend] SAML auth no username HOT 4
- [frontend/tasks] Cap the student shown file upload limit to the server's limit.
- Can't see frontend logging entries in log file
- Compliance with EU cookie policies
- [frontend] Update JS libraries HOT 2
- Problem with submission data from database HOT 1
- [ci] Add integration tests
- [installer] Separate DB initializer from install script
- [agent_docker] Cannot scp during debug mode HOT 1
- [plugins/scoreboard] Allow public scoreboard view
- [frontend] Organizing list of subscribed courses HOT 2
- [frontend/app] Werkzeug 3.0.0 incompatible with flask-session 0.5.0
- [utils/tasktester] Make the task tester compatible with the new taskset feature
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 inginious.