Hi, Simon, On Feb 9, 2012, at 22:28 , Simon King wrote:
> On 10 Feb., 00:50, "Justin C. Walker" <jus...@mac.com> wrote: >> I'm not sure whether this qualifies as a problem, but my first attempt blew >> up in my face because I didn't have GAP's 'small groups' package installed. >> >> Should this be a dependency for your package? It seems a bit rough around >> the edges to have a Sage error pop up, as opposed to a pleasantly worded >> suggestion to do the pre-requisite installation before proceeding :-}. >> While the spkg's SPKG.txt mentions this, I wouldn't expect the user to be >> savvy enough to track down the .spkg and peek inside it and find the right >> file to check for those details. > > What exactly happened? > > The install script does check whether the small groups package is > installed, and if it isn't, it immediately stops and explicitly (and > hopefully pleasantly) states that you need to install the small groups > package first. So, the user is certainly not supposed to open the > cohomology spkg to find out about the dependency! > > Are you saying that you do not obtain that message of the install > script? Then how did you try to install the spkg? I double-checked the log for the install of your package, and indeed, there is a pleasant message describing the problem. However, it's embedded in the middle of what looks like a disaster alert :-} There are ~50 lines of output, of which two, in the middle, mention the missing GAP database(s). Can the dependency failure be detected before, say, downloading your .spkg? That way, it wouldn't be quite so unobtrusive, and the failure would look less like a real error. Sorry for the incomplete report above. Justin -- Justin C. Walker, Curmudgeon-At-Large, Director Institute for the Enhancement of the Director's Income -------- The path of least resistance: it's not just for electricity any more. -------- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org