[Building Sakai] Intermittent 0-size attachments in Tests & Quizzes

Karen Tsao ktsao at stanford.edu
Mon Dec 28 22:47:29 PST 2009


Hi Stephen,

Will this be a network issue? If the Scores link doesn't work, can you check
if students can download these attachments successfully through the
submitted assessment link?

This sounds like file upload questions, right? You can run the following
query to get the attachments information:

SELECT m.* FROM sam_media_t m, sam_itemgrading_t ig, sam_assessmentgrading_t
ag
WHERE m.itemgradingid = ig.itemgradingid AND ig.assessmentgradingid in
(:assessment_grading_ids)

If you configured to have the attachments saved in the file system
(samigo.saveMediaToDb=false), you can even directly get them using the
location specified in sam_media_t.

Thanks,
Karen

On Mon, Dec 28, 2009 at 3:20 PM, Stephen Jaegle <sjaegle at gmail.com> wrote:

>
> Hi:
>
> We are presently running version 2.5.4. We have a situation in one class
> where, when following the "Scores" link for an assessment, then clicking on
> the student name, and then on the name of an attachment file uploaded by a
> student, the file sometimes is downloaded as a file of zero bytes in size,
> and at other times as "full-size" download. One example is a file that was
> uploaded as an attachment as an answer to an exam question, downloaded and
> commented upon by the instructor, with the comment now showing, but further
> attempts to download the file seem to yield a file of 0 size again. Users
> report seeing the same attachments as successfully downloadable at times
> and
> 0-byte sized at others, though I have been unable thus to duplicate the
> entire sequence precisely, i.e., downloadable, 0-byte, downloadable again.
>
> At the moment, we have about 10 files that are turning up consistently as
> 0-byte. Does anyone have any advice on how we can recover the attachments?
>
> More broadly, has anyone encountered behavior similar to that described
> above?
>
> Thanks,
>
> Steve
> --
> View this message in context:
> http://old.nabble.com/Intermittent-0-size-attachments-in-Tests---Quizzes-tp26949154p26949154.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091228/72d02485/attachment.html 


More information about the sakai-dev mailing list