Hi Alberto,

I am trying to do something similar (get user score in a course fro an 
XBlock) and I am having the same issue....were you able to figure out a 
solution by any chance?

Thanks.

On Tuesday, May 24, 2016 at 1:06:55 PM UTC-4, Alberto Luque wrote:
>
> Hi,
>
> I need get the grade for a complete course (or section, subsection, etc) 
> for a user inside of a xblock. I've tried using the way of the progress tab 
> because in the progress tab is the summary I need. But when I call 
> grades.progress_summary function, the function raises the exception 
> "TransactionManagementError: Cannot be inside an atomic block.".
>
> Is there any way to get the current total score of a user in a course?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/3a481d2c-5fc4-41a5-bf30-6020fd77e7c6%40googlegroups.com.

Reply via email to