[LON-CAPA-users] Trouble creating slots via csv

Jon Hall jdh65 at bellsouth.net
Mon Sep 7 21:21:38 EDT 2015


So the import from csv works, but the implementation does not seem to work. 

In other words, when I open the slot manager, the slot shows up with the section restrictions as per my csv, but the restricted slots are restricted from all students, even those in the section specified for that slot.

For example, students in section 3 can only see slots with no section restrictions on them, but they cannot see the slots which are specifically set up as reserved for students in section 3. And that is true regardless of the section.

Unless I am doing something wrong, or misunderstanding the way the slots work. Which is always a possibility.

Best,
Jon Hall




On Sep 7, 2015, at 3:21 PM, Jon Hall <jdh65 at bellsouth.net> wrote:

> Excellent!  The updated slotrequest.pm file worked perfectly.
> 
> Thanks a bunch for the fix.
> 
> Best,
> Jon Hall
> 
> 
> 
> 
> On Sep 7, 2015, at 2:08 PM, Stuart Raeburn <raeburn at msu.edu> wrote:
> 
>> Hi,
>> 
>>> Any suggestions on getting that final parameter to work would be  greatly appreciated.
>> 
>> You can either:
>> 
>> (a) use the "Edit" link for each slot in turn (after creating it using the csv file upload) and then set the sections to which the slot is restricted, via the appropriate screen in the slot "helper", or,
>> 
>> (b) if running LON-CAPA 2.11.1 ...
>> 
>> before uploading the csv file, update the version of slotrequest.pm from 1.122 to 1.124 (and reload Apache); see instructions (and caveat) for bug 6796, in LON-CAPA's bug tracking system:
>> 
>> http://bugs.loncapa.org/show_bug.cgi?id=6796#c2
>> 
>> Stuart Raeburn
>> LON-CAPA Academic Consortium
>> 
>> Quoting Jon Hall <jdh65 at bellsouth.net>:
>> 
>>> I am successfully able to create slots via csv for all needed  parameters except the 'Sections Slot Is Restricted To' parameter.
>>> 
>>> The csv that I am using is shown below:
>>> 
>>> slot_name,type,start,end,secret_word,ip_restriction,sections,proctors
>>> Monday_1,schedulable_student,20150907083500,20150907093000,brahe,12.345.678.90,1,"jones:domain1,smith:domain2"
>>> Monday_2,schedulable_student,20150907093500,20150907103000,brahe,12.345.678.90,2,"jones:domain1,smith:domain2"
>>> 
>>> Any suggestions on getting that final parameter to work would be  greatly appreciated.
>>> 
>>> Best,
>>> Jon Hall
>> 
>> _______________________________________________
>> LON-CAPA-users mailing list
>> LON-CAPA-users at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users



More information about the LON-CAPA-users mailing list