[LON-CAPA-admin] Action locked

H.K. Ng hkng at fsu.edu
Mon Feb 16 12:23:45 EST 2009


If I remember right, as cc, you go straight to edit a resource. After 
republishing the resource, and on returning to the course, you always 
get the "Action locked" message. -hk


At 03:43 PM 2/13/2009, you wrote:
>Locking functionality was added in 2.7 to discourage users from
>changing roles or logging out when either of the following two actions
>are in progress:
>
>(a) Publishing a directory in Construction Space
>(b) Grading a bubble sheet exam.
>
>Under the current implementation when a lock needs to be set in (a) or
>(b), a session.lock.id item is appended to the user's environment
>(where id is a unique lock ID), and a call is registered with the
>request object's clean-up handler to delete the lock when the request
>has been handled.
>
>If the publication process has ended, and the "Action locked" message
>is displayed that suggests that the clean-up handler was either not
>called, or the corresponding lock was not cleanly removed from the
>user's environment. I'll take a look at this and see if there
>conditions under which the lock might persist even if the publication
>process completed.
>
>The Apache response 409 code (an error code) is generated by LON-CAPA
>when displaying either the roles screen or the logout screen, in a
>case where one or more locks are still set in a user's environment.
>LON-CAPA's Apache configuration causes the web server to call
>/adm/preferences?action=lockwarning whenever either roles or logout
>return a 409 response code.  This is the screen which provides the
>user with the ability to override the "Action locked" state and delete
>a lock which is impeding a role change or logout.
>
>Stuart Raeburn
>MSU LON-CAPA group
>
>Quoting Todd Ruskell <truskell at mines.edu>:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>I've been seeing this on occasion too, running 2.7.1.  I've so far only
>>encountered it when having multiple tabs open to the same server--I'll
>>publish a resource in one tab, and, for example, as CC in another tab
>>I'll try to view the new resource, and occasionally get "Action locked"
>>even though according to the tab in which I'm publishing, the publish is
>>finished and I have already gone on to other things.
>>
>>I just figured my use of multiple tabs somehow confused lon-capa on
>>occasion.
>>
>>Todd
>>
>>Stefan Bisitz wrote:
>>>Hi Hong-Kie,
>>>
>>>Are you sure? If this was a bug, then it's likely an Apache bug.
>>>LON-CAPA redirects the 409 Apache error page to the "Action locked"
>>>page. This leads to the questions
>>>
>>>a) Why did the server encounter the 409 error?
>>>Or
>>>b) Is there a way to confirm that the 409 error really occurred?
>>>
>>>Stefan Bisitz
>>>
>>>
>>>
>>>Am Freitag, den 13.02.2009, 09:50 -0500 schrieb H.K. Ng:
>>>>Hi Stefan, I think this is a bug. I have also noticed this. Do you
>>>>want to file a bug report? - hk
>>>>
>>>>At 09:29 AM 2/13/2009, you wrote:
>>>>>Hi,
>>>>>
>>>>>An Author wanted to logout some minutes ago but got the error message
>>>>>"Action locked". The screen says that the publication of a directory is
>>>>>still in progress.
>>>>>
>>>>>It is indeed true, that this directory has been published. This has been
>>>>>done 1.5 hours before the logout try. The author said that no error
>>>>>messages or other issues occurred during the publication. After that
>>>>>nothing special happened.
>>>>>
>>>>>As found about the related error code 409, we checked the httpd
>>>>>error_log file. There aren't many entries for today and those don't look
>>>>>like related to the locking issue.
>>>>>
>>>>>This is the first time ever that is error was encountered. We are afraid
>>>>>to corrupt the resource space, if we click the "override" button. The
>>>>>session is still active. Any ideas where to look or what to do?
>>>>>
>>>>>Thanks in advance,
>>>>>Stefan Bisitz
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>LON-CAPA-admin mailing list
>>>>>LON-CAPA-admin at mail.lon-capa.org
>>>>>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>>>_______________________________________________
>>>>LON-CAPA-admin mailing list
>>>>LON-CAPA-admin at mail.lon-capa.org
>>>>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>>
>>>_______________________________________________
>>>LON-CAPA-admin mailing list
>>>LON-CAPA-admin at mail.lon-capa.org
>>>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.4.9 (GNU/Linux)
>>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>>iEYEARECAAYFAkmVxXoACgkQfpKXdY16tygPZwCeIj/g51Jxc1PQblqLMy1wgq0G
>>VC4AoI+0CrE1uJh6luowDRufTH7062ZF
>>=g6Kg
>>-----END PGP SIGNATURE-----
>>_______________________________________________
>>LON-CAPA-admin mailing list
>>LON-CAPA-admin at mail.lon-capa.org
>>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
>
>
>
>_______________________________________________
>LON-CAPA-admin mailing list
>LON-CAPA-admin at mail.lon-capa.org
>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin




More information about the LON-CAPA-admin mailing list