Giter Club home page Giter Club logo

moodle-quiz_downloadsubmissions's Issues

Trying to download quiz essays when there are no files results in an error.

Replication steps:

  1. Set up a quiz.
  2. Add an essay question with default settings (no attachments).
  3. Log in as a student and attempt the quiz essay.
  4. Log in as the teacher and go to the download essay submissions page. Click the button to download the essays.
  5. Observe an error about $OUTPUT not being defined. Other problems exist after defining $OUTPUT.

The plugin does work always on a quiz with essay and multiple choice questions

Hi
I think I found a problem. I run various test quizes and in most I could
download the uploaded essay answers. However there is a quiz in which
the questions are randomly ordered, and of various sorts.

In this case your plugin claims that there are no essay question
although in fact there are.

1. I installed moodle 3.5 in my linux laptop,

2. I created a new course

3. I imported a question bank

4. I created an exam I described above

5. I performed a backup of that course

I took the liberty to add this backup, so maybe you could import it into
your local moodle installation and tell me where the problem is and how
to avoid it. Unfortunately the exam I created is a realistic one, we
have to mix randomly all sort of questions and maybe your plugin cannot
deal with it, yet.

Thank you very much indeed

Does not work with Moodle 3.9.2+ (Build: 20200918)

I have downloaded version: quiz_downloadsubmissions_moodle39_2020100700 and copied the downloadsubmissions directory and all its contents to the .../mod/quiz/report directory in our Moodle installation.
After installation it looks like in the image:
image
And in the results section of the Quiz menu it looks like this:
image

Dynamic strings in preferences

Hi there,

would it be possible to outsource all of the lang strings in the preferences form (e.g. 'Set folder hierarchy') to the language file? We attempted to translate them but weren't able to access them via the moodle language pack.

Thanks in advance.

Download fails with "This file is no longer required" when debugging enabled in Moodle 4.2

Steps to reproduce issue

  1. Set up Moodle 4.2 site and install quiz_downloadsubmissions.
  2. Change Debug messages to DEVELOPER and Display debug messages to Yes.
  3. Create a course, enrol a student, add a quiz with an essay question.
  4. As the student attempt the quiz.
  5. As a site admin go to the course page and click on the quiz.
  6. Click on the Results tab and select Download essay submissions from the drop-down menu.
  7. Click Download.

Expect results

The zip file is downloaded.

Actual results

A page of warning messages:

This file is no longer required in Moodle 4.2+. Please do not include/require it.

    line 25 of /mod/quiz/report/attemptsreport.php: call to debugging()
    line 32 of /mod/quiz/report/downloadsubmissions/report.php: call to require_once()
    line 75 of /mod/quiz/report.php: call to include_once()

Class 'quiz_attempts_report' has been renamed for the autoloader and is now deprecated. Please use 'mod_quiz\local\reports\attempts_report' instead.

    line 153 of /lib/classes/component.php: call to debugging()
    line 44 of /mod/quiz/report/downloadsubmissions/report.php: call to core_component::classloader()
    line 75 of /mod/quiz/report.php: call to include_once()


Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/form/classes/util.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2399

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2401

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2402

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2403

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2214

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2241

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2264

Warning: Cannot modify header information - headers already sent by (output started at /var/www/m42.box.ideapad/moodle/lib/weblib.php:3424) in /var/www/m42.box.ideapad/moodle/lib/filelib.php on line 2312
PK����k^�X��Wx ZQ1 - Essay 1/student1 - Student One - Attempt1 - 2024-05-23 11_50 am/Attempt1_textresponseThe quick PK����k^�Xoq�% �Q1 - Essay 1/Question textEssay 1 PK��?���k^�X��Wx Z��Q1 - Essay 1/student1 - Student One - Attempt1 - 2024-05-23 11_50 am/Attempt1_textresponsePK��?���k^�Xoq�% ����Q1 - Essay 1/Question textPK������

Using versions: Moodle 4.2.7+ (Build: 20240516) and quiz_downloadsubmissions 2020100700.

Unable to download submissions if file is big.

We are trying to download the submitted files with 186 and 191 attempts, resulting in 670MB and 580MB files.
The download starts and all seems fine until the download randomly aborts at around 410-460MB for the 670MB file and around 350MB for the 580MB file, resulting in an error "Error - no file".

We have tried with multiple different quizzes all resulting in the same error.

Unable to download submissions when essay question is added randomly from category

Steps to replicate:

  1. In a course, access the question bank and create a new category called 'Random essay questions'
  2. Create 2 essay questions within this category, ensuring 'allow attachments' is set to 'yes'
  3. Create a quiz activity
  4. Add a random question to the quiz and select the 'Random essay questions' category
  5. Log in as a student and complete the quiz, uploading at least one file to the essay
  6. Log back in as admin and go to the quiz 'view submissions' screen and then Quiz administration>Results>Download and click 'Download essay submissions'

Observed: A 'Quiz does not contain any essay questions' error appears
Expected: Essay attachments should be downloaded

Note: This only occurs when a question is added randomly and is an essay question. Does not affect manually added essay questions.

random essay

if the question of type "essay" is random on the quiz its qtype is "random" but the plugin only check for "essay" qtype.
I mean, if I have a quiz and I have just a random question, even if it is from a pool of "essay" questions, the plugin will say there is no question available, so that check would have to consider random qtype too

No files in .zip for Jupyter Notebook file (*.ipynb)

We have a faculty member using the Moodle quiz essay question type to have students upload Jupyter Notebook files (*.ipynb). However, when the download submissions plugin is used to download these files from the quiz on a PC, the .zip file is empty. It works on a Mac, so perhaps something to do with the zipped file format on PC? Thank you.

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.