Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71275

generalexceptionmessageExcepción - No stream given. when trying to grade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.10.3
    • Grading methods
    • None
    • MOODLE_310_STABLE

      Hi,

      I'm trying to grade some assignments of students (https://mydomain.com/mod/assign/view.php?id=143&rownum=0&action=grader&userid=35) but when I enter the calification and then press Save I'm faced with the following error:

      generalexceptionmessage

      Excepción - No stream given.
       
      I'm using Moodle 3.10.3 (Build: 20210325)
      What can I do to solve this?
      Thanks in advance
       
       
      POST /lib/ajax/service.php?sesskey=GxmE9x1jtC&info=mod_assign_submit_grading_form HTTP/1.1
      Host: mydomain.com
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
      Accept: application/json, text/javascript, /; q=0.01
      Accept-Language: de,es;q=0.8,en-US;q=0.5,en;q=0.3
      Accept-Encoding: gzip, deflate, br
      Content-Type: application/json
      X-Requested-With: XMLHttpRequest
      Content-Length: 359
      Origin: https://mydomain.com
      Connection: keep-alive
      Referer: https://mydomain.com/mod/assign/view.php?id=143&rownum=0&action=grader&userid=35
      Cookie: roundcube_cookies=enabled; session_locale=es; _ga=GA1.2.698358059.1610233492; MoodleSession=783260600c1a6e4150ebde69a9f4f170; cpsession=mydomain%3a2ehfJvdDDlMT0F8Q%2ce8d8f61421e1e3fec3c09c6c9f6703f8; timezone=Europe/Berlin
      Pragma: no-cache
      Cache-Control: no-cache
       
      Response:
      \\{"error":true,"exception":{"message":"Excepci\u00f3n - No stream given.","errorcode":"generalexceptionmessage","link":"https:\/\/mydomain.com\/","moreinfourl":"https:\/\/docs.moodle.org\/310\/es\/error\/moodle\/generalexceptionmessage"}}

       

      When I turn debugging on I can see:

      {
      "exception":

      { "message": "Excepción - No stream given.", "errorcode": "generalexceptionmessage", "backtrace": "* line 105 of /mod/assign/feedback/editpdf/fpdi/PdfParser/StreamReader.php: InvalidArgumentException thrown\n* line 44 of /mod/assign/feedback/editpdf/fpdi/PdfParser/StreamReader.php: call to setasign\\Fpdi\\PdfParser\\StreamReader->__construct()\n* line 172 of /mod/assign/feedback/editpdf/fpdi/FpdiTrait.php: call to setasign\\Fpdi\\PdfParser\\StreamReader::createByFile()\n* line 211 of /mod/assign/feedback/editpdf/fpdi/FpdiTrait.php: call to setasign\\Fpdi\\Tcpdf\\Fpdi->getPdfReaderId()\n* line 163 of /mod/assign/feedback/editpdf/classes/pdf.php: call to setasign\\Fpdi\\Tcpdf\\Fpdi->setSourceFile()\n* line 403 of /mod/assign/feedback/editpdf/classes/combined_document.php: call to assignfeedback_editpdf\\pdf->load_pdf()\n* line 384 of /mod/assign/feedback/editpdf/classes/document_services.php: call to assignfeedback_editpdf\\combined_document->get_page_count()\n* line 271 of /mod/assign/feedback/editpdf/locallib.php: call to assignfeedback_editpdf\\document_services::page_number_for_attempt()\n* line 8388 of /mod/assign/locallib.php: call to assign_feedback_editpdf->is_feedback_modified()\n* line 8557 of /mod/assign/locallib.php: call to assign->apply_grade_to_user()\n* line 1588 of /mod/assign/externallib.php: call to assign->save_grade()\n* line 261 of /lib/externallib.php: call to mod_assign_external::submit_grading_form()\n* line 81 of /lib/ajax/service.php: call to external_api::call_external_function()\n", "link": "https://mydomain.com/", "moreinfourl": "https://docs.moodle.org/310/es/error/moodle/generalexceptionmessage", "debuginfo": "\nError code: generalexceptionmessage" }

      }

            Unassigned Unassigned
            joeft2020 Jo Ma
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.