Re: Version 9 Trial contaminates Version 8 running paid version
- To: mathgroup at smc.vnet.net
- Subject: [mg131856] Re: Version 9 Trial contaminates Version 8 running paid version
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Fri, 18 Oct 2013 04:45:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20131009061119.40E2A6A11@smc.vnet.net> <l352k8$ah7$1@smc.vnet.net> <20131017041714.6B9176A23@smc.vnet.net>
Amen! The existing (mis)handling of mathpass is one of those things that should go in a "Mathematica Annoyances" list. On Oct 17, 2013, at 12:17 AM, David Bailey <dave at removedbailey.co.uk> wrote: > On 10/10/2013 03:15, John Fultz wrote: >> The problem is that Mathematica 8 is picking up Mathematica 9's >> activation information preferentially. If you did nothing, after the >> trial period expired, Mathematica 8 would revert to its normal behavior >> (because the Mathematica 9 activation entry would be no good, so it >> would just skip it). But I'm guessing you don't want to wait 25 days >> for that to happen. >> >> Take a look at the output of this: >> >> FilePrint[$PasswordFile] >> >> In all likelihood, you'll see two entries (or maybe more, but the first >> two are probably the ones that matter); the first one will have an >> activation key corresponding to your trial version, and the second with >> an activation key corresponding to your version 8. >> >> You could simply flip them around with any text editor. Or with >> Mathematica. This code should do the trick (the complexity in the code >> is to preserve the position of some comment metadata that might be in >> your password file). >> >> lines = Import[$PasswordFile, "Lines"]; >> lines = Split[lines, >> SameQ @@ StringMatchQ[{##}, StartOfString ~~ "%" ~~ __] &]; >> lines = Flatten[Reverse /@ lines]; >> Export[$PasswordFile, lines, "Lines"]; >> >> Sincerely, >> >> John Fultz >> jfultz at wolfram.com >> User Interface Group >> Wolfram Research, Inc. >> > > John, Why doesn't Mathematica always scan the mathpass file for the most > permissive password for the version of Mathematica being loaded? If it > did this, in the case being discussed, it would find that the v8 > password was time unlimited, rather than use the limited access granted > by the v9 password. > > David > --- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower University of Massachusetts 710 North Pleasant Street Amherst, MA 01003-9305
- References:
- RV: Version 9 Trial contaminates Version 8 running paid version
- From: "E. Martin-Serrano" <eMartinSerrano@telefonica.net>
- Re: RV: Version 9 Trial contaminates Version 8 running paid version
- From: David Bailey <dave@removedbailey.co.uk>
- RV: Version 9 Trial contaminates Version 8 running paid version