#6491: [with spkg, needs review] Modular Cohomology Rings of Finite p-Groups
-------------------------------+--------------------------------------------
 Reporter:  SimonKing          |       Owner:  SimonKing                     
     Type:  enhancement        |      Status:  assigned                      
 Priority:  major              |   Milestone:  sage-4.1.1                    
Component:  optional packages  |    Keywords:  cohomology ring finite p-group
 Reviewer:                     |      Author:  Simon King                    
   Merged:                     |  
-------------------------------+--------------------------------------------

Comment(by SimonKing):

 Replying to [comment:39 wdj]:
 > ImportError: No module named pGroupCohomology

 OK, then something very fundamental went wrong.

 > {{{
 > zeus:~/sagefiles/sage-4.1.1.alpha0 davidjoyner$ ls local/lib/python2.6
 /site-packages/p_*
 > ls: local/lib/python2.6/site-packages/p_*: No such file or directory
 > }}}

 It should not be p_* but pG*:
 There is a difference between the name of the spkg
 (p_group_cohomology-1.0.1) and the name of the extension module it
 provides (pGroupCohomology, and this is also how the folder in site-
 packages is called). Compare this with another optional spkg: The spkg is
 called pil-1.1.6, but the module is PIL.

 Nevertheless, if it can't be imported then it's bad. Is there any
 informative error message if you start a sage session and try manually
 {{{
 sage: import pGroupCohomology
 }}}
 that tells at what point the problem occurs?

 > > I guess the Macbook thing should be understood (although, as I
 mentioned, it was expected that Macbook is a problem).
 >
 >
 > I think you are right. It is strange that installation does not trigger
 an error though, isn't it?

 Yes, but sometimes strange things can happen. For example, on one of my
 machines, the build process failed for no apparent reason; then I tried
 again, and it simply worked. Is it the same sage installation on which you
 installed the previous version of our spkg? On my machines, I did not
 experience a conflict when installing one version after the other; but
 perhaps this is different on a Macbook?

 Please try to install the package again (with sage -f instead of sage -i),
 try to save the text output during the build process into a file, and
 provide a link to it. Perhaps it gives some clue. Perhaps it is useful to
 remove p_group_cohomology*.spkg from SAGE_ROOT/spkg/optional before doing
 the installation: In that way it is forced to download the sources again.

 There is the possibility that it "simply works" when you try the
 installation a second time. If not: You might remove
 SAGE_ROOT/local/lib/python2.6/site-packages/pGroupCohomoloy* and try again
 (this is to avoid conflict with previous builds).

 Unfortunately I have no access to Macbooks, so, I can't try myself.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6491#comment:40>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to