Chosen places lost between sessions

Having problems with IHMC CmapTools? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapTools, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
dgroos
Posts: 118
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Chosen places lost between sessions

Post by dgroos » Fri Oct 28, 2016 4:35 pm

It is common when students log into their accounts, open cmaptools they will find that the CmapServer they had added (in Places) is no longer there and the 4 default places that they had removed are back again. That is especially confusing when they don't know this and they go to open a "favorite" but since they aren't connected to the place in which that file/folder was located it just hangs... until they close it and call me over (or give up). My guess is that they log off the computer without first closing out all the Cmap windows, but I've not done this experiment. I've had this problem for years, actually on older versions they would have to re-register every time they logged on, this is no longer an issue, however.
cmaptools v. 6.02 on Ubuntu 14.04.
Thanks,
David

cmapadmin
Site Admin
Posts: 572
Joined: Sat Dec 13, 2008 2:22 pm

Re: Chosen places lost between sessions

Post by cmapadmin » Fri Oct 28, 2016 4:52 pm

Is CmapTools configured to clean up all the profile information after it is closed? If so, that would be the case.

Have you considered switching to using the Cmap Cloud? This document explains how it could be configured for student use, both with CmapTools and CmapTools for the Cloud.

http://cmap.ihmc.us/docs/cmapcloud-in-a-lab

dgroos
Posts: 118
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: Chosen places lost between sessions

Post by dgroos » Fri Oct 28, 2016 5:02 pm

No, when I installed cmaptools I selected the option to save login info upon closing, or are you referring to something else?

I briefly reviewed the Switching to Cmap Cloud would be a major switch--I run 2 cmapservers at different organizations. Is there a comparison of the two services? Thanks so much for your efforts to keep this platform viable and progressing, 24 years?

Thanks,
David G

dgroos
Posts: 118
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: Chosen places lost between sessions

Post by dgroos » Thu Sep 28, 2017 5:17 pm

New school year, new 150 users and today, the second day of use of cmaptools, about 30% of users lost the customizations.
  • Yesterday students launched cmaptools for the first time and filled in the new account info.
  • They then removed the 4 "places" (the generic IHMC places) and added our cmapserver.
  • And today when they opened cmaptools, went to 'places' the 4 generic IHMC servers were back, and our server was gone!
  • Furthermore, several people logged out of their accounts and when they logged back in 10 minutes later, re-opened cmaptools again they were presented with the default set of places!
Which logs should I review?
Thanks,
David

cmapadmin
Site Admin
Posts: 572
Joined: Sat Dec 13, 2008 2:22 pm

Re: Chosen places lost between sessions

Post by cmapadmin » Fri Sep 29, 2017 8:52 am

Hi David,

These settings are saved in a file, that most likely is (a) not being save because of lack of permissions, or (b) is being reset, e.g in a computer lab that resets computers every night.

Tell us what OS they run so we can tell you where the files are located, and you can check whether why they are not being saved or removed.

dgroos
Posts: 118
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: Chosen places lost between sessions

Post by dgroos » Fri Sep 29, 2017 1:19 pm

Howdy,
We're using Ubuntu 16.04, I launched the install with 'sudo' choosing the "Advanced" install. I installed into IHMC_CmapTools (instead of the default, IHMC CmapTools) in usr/share/applications/. I left all the rest at the default settings I believe.
Thanks,
David

cmapadmin
Site Admin
Posts: 572
Joined: Sat Dec 13, 2008 2:22 pm

Re: Chosen places lost between sessions

Post by cmapadmin » Fri Sep 29, 2017 1:33 pm

CmapTools stores a profile file where these settings are stored. The location is selected during installation a shown in the attached image. If the user does not have write permissions on the directory where the profiles are stored, then the information will not be kept between sessions. You need to check where the system you are using is storing the profiles.
Profile.jpeg

dgroos
Posts: 118
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: Chosen places lost between sessions

Post by dgroos » Fri Sep 29, 2017 5:11 pm

I went to 2 example users, one who encountered SUCCESS and the other who lost settings repeatedly (who I'll call FAIL).

I first looked at their home folders, and the main difference I noticed was that SUCCESS had an ICEAuthority file. Seemed like permissions were the same.

Next I looked in the .cmaptools/ directory and noted they had the same files which had the same permissions. I then looked at their profile.xml files and except for things that seemed like they should have a different string of values, it seemed that their profiles were the same between the 2 users home files.

Finally I looked at their logs. I noticed that FAIL had more (had both a "cmaptools0.log and cmaptools0.log.1 and also had an extra log file, a total of 4 instead of SUCCESS that had a total of 2).

Then I compared (briefly) the contents of their first log file (from 9/27) from their initial use I figured. I noticed that much was the same--didn't check everything for sure--but did notice a few important differences. I copied/pasted 3 corresponding sections each from SUCCESS and FAIL (dividing the sections with: "...cut..."). You can find this comparison at: http://paste.ubuntu.com/25641699/

Thanks for you help, it will be great to get this solved!
David

cmapadmin
Site Admin
Posts: 572
Joined: Sat Dec 13, 2008 2:22 pm

Re: Chosen places lost between sessions

Post by cmapadmin » Fri Sep 29, 2017 5:42 pm

So both users had the list of public servers in the profile.xml file? The one with FAIL should have had the (they were not removed) but the one with SUCCESS should have not (the file should have bee updated).

Post Reply