Hi,
Thanks for retrieving the value of docs.markedcopies from the user's
session environment, and reporting it.
The issue here is that this particular user has a lockfile in:
/home/httpd/lonUsers/uiuc/<1>/<2>/<3>/<username>/nohist_courseeditor.db
which needs to be removed.
(<username> is the username, and <1>, <2>, and <3> are the first three
characters of the username).
The escaped key which needs to be deleted from the user's
nohist_courseeditor.db GDBM file is: paste%00locked_num
I will send you a script off-list which you can use to delete this key.
In addition, LON-CAPA 2.11.1 will contain a modification to
/home/httpd/lib/perl/Apache/loncommon.pm to remove this key when a
user next logs in, in the unlikely case that the usual removal of the
lock during copying to the clipboard failed for some reason.
I have just filed bug 6765 --
http://bugs.loncapa.org/show_bug.cgi?id=6765 to document that required
change.
Stuart Raeburn
LON-CAPA Academic Consortium
docs.markedcopies is indeed blank on the access server the
instructor logged into. I've had her log in on a couple and it is
the same on both.
To clarify, she is unable to copy within a course or between
courses. It seems like the copied material simply isn't making it
to the clipboard.
I've removed identifying data, but this is these are the entries
that looked like they might be relevant.
docs.markedcopies =
docs.markedcopy_cmd_ = copy
docs.markedcopy_title_ = precipitate.problem
docs.markedcopy_url_ = <homework_url>
docs.exit.uiuc_<private_value> = /adm/navmaps
docs.markedcopy_crs_ = uiuc_<private_value>
Lee
-----Original Message-----
From: "Mills, Douglas G" <dmi...@illinois.edu>
We have not yet tried the command line procedures below (I don't have
command line access so am waiting for help on that) but I did have her log
in to MSU's server and the problem persisted for her in that environment.
Doug
Douglas Mills
Director of Instructional Technologies
Department of Chemistry
University of Illinois
dmi...@illinois.edu
(217) 244-5739
On 12/2/14, 2:11 PM, "Stuart Raeburn" <raeb...@msu.edu> wrote:
>Hi Doug,
>
>Looking at the LON-CAPA code, I see that the clipboard in the Course
>Editor is generated by the &print_paste_buffer() routine in
>/home/httpd/lib/perl/Apache/londocs.pm
>
>print_paste_buffer() will display no output if the session environment
>variable: $env{'docs.markedcopies'} is either undefined or empty.
>
>If you have command line access to the server hosting the user's
>session you can display the contents of the session environment via:
>
>/home/httpd/perl/debug/dump_db.pl -u
/home/httpd/lonIDs/<session>.id
>
>where <session> is the unique session ID (starts with user's username).
>
>Look for an entry for the key: docs.markedcopies (e.g. pipe output to:
>'grep docs.markedcopies'). The corresponding value for that key
>should be a list of comma-separated numbers.
>
>Log-out will remove the user's session file in /home/httpd/lonIDs.
>
>(Note: there is also a way for a user to view the contents of his/her
>own session file using the web browser, but that needs to be
>configured by the Domain Coordinator).
>
>You might also ask the instructor to log-in (or switch server) to one
>of the MSU servers, and see if the Course Editor clipboard is also
>absent for that instructor in a course, after copying one or more
>items in the Course Editor in a session hosted at a server in the msu
>domain.
>
>Stuart Raeburn
>LON-CAPA Academic Consortium
>
>
>Quoting "Mills, Douglas G" <dmi...@illinois.edu>:
>
>> That's a good question and one I wasn't paying attention to at the
>> time. I'll try to catch up with the instructor today to double-check
>> that. Her problem though had persisted for a few days if I
>> understand correctly before she contacted me and on at least two
>> computers and two browsers on one or the other of those computers,
>> so it seems unlikely she'd have hit the same access server every
>> time. But I'll sit with her and vary the access servers today if she
>> has time and report back. Thanks!
>>
>> Doug
>>
>> Douglas Mills
>> Director of Instructional Technologies
>> Department of Chemistry
>> University of Illinois
>> dmi...@illinois.edu<mailto:dmi...@illinois.edu>
>> (217) 244-5739
>>
>>
>> From: "H. K. Ng" <h...@fsu.edu<mailto:h...@fsu.edu>>
>> Reply-To: Discussion list for LON-CAPA users
>>
>><lon-capa-users@mail.lon-capa.org<mailto:lon-capa-us...@mail.lon-
capa.org
>>>>
>> Date: Tuesday, December 2, 2014 at 12:42 PM
>> To: Discussion list for LON-CAPA users
>>
>><lon-capa-users@mail.lon-capa.org<mailto:lon-capa-us...@mail.lon-
capa.org
>>>>
>> Subject: Re: [LON-CAPA-users] instructor-specific loss of copy/paste
>> in course editor
>>
>> Hi,
>>
>> Did both logins go to the same server? Occasionally, an access
>> server may "act up".
>>
>> -hk
>>
>> On Tue, Dec 2, 2014 at 12:44 PM, Mills, Douglas G
>> <dmi...@illinois.edu<mailto:dmi...@illinois.edu>> wrote:
>> Hi All,
>>
>> I have one instructor who has lost the ability to copy content in
>> her course editor. I've watched her try in both Firefox and Chrome
>> with no results (nothing shows up where the clipboard should be
>> beneath the list of files). I logged into my account on her
>> computer in her browser, entered her course and AM able to copy
>> files in the content editor. It seems to be her account
>> specifically. Thoughts? Has anyone else seen this?
>>
>> Doug
>>
>> Douglas Mills
>> Director of Instructional Technologies
>> Department of Chemistry
>> University of Illinois
>> dmi...@illinois.edu<mailto:dmi...@illinois.edu>
>> (217) 244-5739
>
>_______________________________________________
>LON-CAPA-users mailing list
>LON-CAPA-users@mail.lon-capa.org
>http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
------------------------------
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users