Bug#602217: salome-examples: fails to install, lots of python compilation errors

Holger Levsen holger at layer-acht.org
Mon Nov 15 19:52:43 UTC 2010


Severity 602217 serious
user debian-qa at lists.debian.org
usertag 602217 + piuparts piuparts.d.o
thanks

Hi, 

during a test with piuparts I noticed your package failed to install. As per 
definition of the release team this makes the package too buggy for a 
release, thus the severity.

From the attached log (scroll to the bottom...):

  Setting up salome-examples (5.1.3-11) ...
  Compiling /usr/share/salome/examples/Superv/Python/GeomGraphGates_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GeomGraphGates_py.py', 154, 85, "    
PyMakeFuse_2.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GeomGraph_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GeomGraph_py.py', 154, 85, "    
PyMakeFuse_2.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphGeomEssaiGates_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphGeomEssaiGates_py.py', 102, 
85, "    PyMakeFuse_1.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GraphGeomEssai_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphGeomEssai_py.py', 102, 85, "    
PyMakeFuse_1.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GraphImportSalome.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphImportSalome.py', 40, 48, "    
PyVoidFunction.append( '\tprint 'VoidFunction()' ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GraphInputInLoop.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphInputInLoop.py', 40, 37, "    
PyIsOdd.append( '    print 'IsOdd',a,Even,Const  ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GraphLoopDoWhile.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphLoopDoWhile.py', 53, 38, "    
PyEndLoop.append( '\tprint 'DoWhile',DoLoop,Index,Max ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranches.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranches.py', 171, 
43, "    PySwitchOdd.append( '    OddEven = 'Odd'  ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranchesDefaultAborted.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranchesDefaultAborted.py', 
207, 50, "    PySwitchOdd.append( '        OddEven = '<=0' ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranchesdefault.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphLoopSwitchsBranchesdefault.py', 
207, 50, "    PySwitchOdd.append( '        OddEven = '<=0' ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphLoopTwoBranches.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphLoopTwoBranches.py', 188, 
50, "    PySwitchOdd.append( '        OddEven = '<=0' ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphNonVoidEndLoop.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphNonVoidEndLoop.py', 43, 35, "    
PyInit.append( '    print 'Init',Index,Min,Max,Incr   ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphSwitchCheckBranch2NOTValid.py ...
  SyntaxError: ('EOL while scanning string literal', 
('/usr/share/salome/examples/Superv/Python/GraphSwitchCheckBranch2NOTValid.py', 
31, 122, "    GraphSwitchCheckBranch2NOTValid.SetComment( 'Switch with two 
SwitchBranches, One NotSwitchBranch and the DefaultBranch\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphSwitchManyCases.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphSwitchManyCases.py', 165, 
49, "    PyEndSwitch.append( '        print 'EndSwitch ERROR' ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphSwitchManyCasesNOTValid.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphSwitchManyCasesNOTValid.py', 
178, 49, "    PyEndSwitch.append( '        print 'EndSwitch ERROR' ' )\n"))
  
  
Compiling /usr/share/salome/examples/Supe/usr/share/salome/examples/Superv/Python/InLine_Nut.py:27: 
SyntaxWarning: import * only allowed at module level
    def Geometry(y1=50, y2=90):
  /usr/share/salome/examples/Superv/Python/InLine_Nut.py:80: SyntaxWarning: 
import * only allowed at module level
    def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, 
theMaxElementArea = 20, theMaxElementVolume = 150):
  rv/Python/GraphSwitchOutput.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphSwitchOutput.py', 156, 44, "    
PySwitch.append( '    Branch = 'Negative or null'   ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/GraphSwitchOutputNOTValid.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphSwitchOutputNOTValid.py', 
152, 44, "    PySwitch.append( '    Branch = 'Negative or null'   ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/GraphVoidMoreLoop.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/GraphVoidMoreLoop.py', 43, 35, "    
PyInit.append( '    print 'Init',Index,Min,Max,Incr    ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/MacroWithGeomGates_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/MacroWithGeomGates_py.py', 137, 
85, "    PyMakeFuse_2.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/MacroWithGeom_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/MacroWithGeom_py.py', 137, 85, "    
PyMakeFuse_2.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/NewGraphGeomEssaiGates_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/NewGraphGeomEssaiGates_py.py', 
105, 85, "    PyMakeFuse_1.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  
Compiling /usr/share/salome/examples/Superv/Python/NewGraphGeomEssai_py.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/NewGraphGeomEssai_py.py', 105, 
85, "    PyMakeFuse_1.append( '    aSession = 
myNamingService.Resolve('/Kernel/Session') ' )\n"))
  
  Compiling /usr/share/salome/examples/Superv/Python/testvisu20_multi.py ...
  SyntaxError: ('invalid syntax', 
('/usr/share/salome/examples/Superv/Python/testvisu20_multi.py', 52, 75, "    
PyInitDisplay.append( '    obj = 
naming_service.Resolve('myStudyManager')     ' )\n"))
  
  pycentral: pycentral pkginstall: error byte-compiling files (204)
  pycentral pkginstall: error byte-compiling files (204)
  dpkg: error processing salome-examples (--configure):
   subprocess installed post-installation script returned error exit status 1
  configured to not write apport reports
  Errors were encountered while processing:
   salome-examples
  E: Sub-process /usr/bin/dpkg returned an error code (1)


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: salome-examples_5.1.3-11.log
Type: text/x-log
Size: 75602 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20101115/e198400c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20101115/e198400c/attachment-0001.pgp>


More information about the debian-science-maintainers mailing list