Re: [edx-code] Instructor task for resetting student attemps

2017-03-02 Thread Ignacio Lozano
Yeah, it sounds good to me. You're right, InstructorTasks are for high 
weight tasks.

I didn't found anything done about this improvement. It is not so critical 
but it would be interesting, I will add to our backlog

Regards.


El martes, 24 de enero de 2017, 16:17:37 (UTC+1), David Ormsbee escribió:
>
> Hi Ignacio,
>
> InstructorTasks are fairly heavy weight, and meant for long running jobs. 
> The idea was to make sure the course teams had regular progress updates on 
> how far along the task was, and that they could not monopolize overall 
> system resources by accidentally launching a dozen concurrent tasks to 
> calculate student grades. It's a bit cumbersome to use for small things 
> like resetting the score, which is essentially a single row update.
>
> I think that the functionality you're talking about actually makes a lot 
> of sense as its own standalone piece. I guess my suggestion is that rather 
> than moving reset_student_attempts to become an InstructorTask, that you 
> create a new functionality for an audit log, and have both InstructorTasks 
> and reset_student_attempts (and any number of other admin actions) write to 
> it as necessary. It doesn't have to be an actual log file -- it could be 
> backed by a model we can query, so long as we're not too liberal in what we 
> write there.
>
> Does that general approach sound reasonable? I'm curious if folks in the 
> community have already done this.
>
> Take care.
>
> Dave
>
> On Tue, Jan 24, 2017 at 2:59 AM, Ignacio Lozano  > wrote:
>
>> Hi,
>>
>> I saw that some features in the instructor panel creates InstructorTask, 
>> which helps me to log strong changes of a users' score. For example, 
>> rescoring problems generate the instructor task that you can see in the 
>> Tasks table or in Django admin.
>>
>>
>>
>> On the opposite, "reset_student_attempts" doesn't generate any 
>> InstructorTask, so it is impossible to know if user score was changed by 
>> any instructor.
>>
>> Could be interesting to generate an Instructor task for every Instructor 
>> operation in the Instructor panel? I know it is no too difficult, but it 
>> makes sense?
>>
>> 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/30c05059-b29f-4222-869c-6f04fef16718%40googlegroups.com
>>  
>> 
>> .
>>
>
>

-- 
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/574893a1-fb10-41eb-bf97-88c1627d4716%40googlegroups.com.


[edx-code] lms problem after deploying XBlock into devstack

2017-03-02 Thread chemseddine zaafrane
i recently installed an XBlock named *blocktest* into Devstack but when i 
tried to run the LMS i got this error
File "/edx/app/edxapp/venvs/edxapp/bin/paver", line 11, in 
sys.exit(main())
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py"
, line 878, in main
_launch_pavement(args)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py"
, line 846, in _launch_pavement
exec(compile(source, environment.pavement_file, 'exec'), mod.__dict__)
  File "pavement.py", line 14, in 
from pavelib import *
  File "pavelib/__init__.py", line 4, in 
from . import assets, servers, docs, prereqs, quality, tests, js_test, 
i18n, bok_choy, acceptance_test
  File "pavelib/assets.py", line 15, in 
from watchdog.observers.polling import PollingObserver
ImportError: cannot import name PollingObserver

i couldn't find a proper answer to fix this so i decided to uninstall the 
XBlock, i checked with pip freeze and it was with the name *blocktest-xblock 
*then i uninstalled it withg the command *pip uninstall blocktest-xblock. *When 
i tried to run the lms after that, the previous error still pops out 

-- 
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/443df629-5cc8-4831-b3d8-00a69fdf4036%40googlegroups.com.