Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16076

Re: Version 9 Trial contaminates Version 8 running paid version

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Version 9 Trial contaminates Version 8 running paid version
Date 2013-10-18 08:42 +0000
Message-ID <l3qs9c$3r1$1@smc.vnet.net> (permalink)
References <20131009061119.40E2A6A11@smc.vnet.net> <l352k8$ah7$1@smc.vnet.net> <20131017041714.6B9176A23@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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@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@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@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower           
University of Massachusetts 
710 North Pleasant Street  
Amherst, MA 01003-9305





Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: RV: Version 9 Trial contaminates Version 8 running paid version John Fultz <jfultz@wolfram.com> - 2013-10-10 02:15 +0000
  Re: RV: Version 9 Trial contaminates Version 8 running paid version David Bailey <dave@removedbailey.co.uk> - 2013-10-17 04:12 +0000
  Re: Version 9 Trial contaminates Version 8 running paid version Murray Eisenberg <murray@math.umass.edu> - 2013-10-18 08:42 +0000

csiph-web