"Yes"...but I ended up cheating for now 
(https://github.com/bigdatauniversity/edx-platform/commit/7a5788e8fd4c8c613c108077482a491381574ded).

I am still interested in a better solution if anybody has one :)

On Wednesday, October 12, 2016 at 12:22:12 PM UTC-4, AT wrote:
>
> Hi Alberto and Luiz, 
>
> I also have the same requirement, get user's section/subsection/unit score 
> into my xblock, were you able to figure out how to get it? 
>
> Thank you! 
>
>
> On Tuesday, May 24, 2016 at 12:06:55 PM UTC-5, 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/caa5efeb-5ccd-4917-8303-a83b8c70ea6a%40googlegroups.com.

Reply via email to