Bug#602217: salome-examples won't install

Matthieu Lagouge matian1978 at gmail.com
Tue Nov 2 16:12:59 UTC 2010


Package: salome-examples
Version: 5.1.3-11
Severity: important
Tags: upstream

salome-examples fails the Python bytecode compilation during package
configuration on my system (amd64).
salome runs fine.

I don't know Python enough to figure out what the problem is exactly.
If there's anything I can try to help finding out the issue, let me know.

Here is the output from dpkg:

Paramétrage de 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/Superv/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)



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-0.slh.11-sidux-amd64 (SMP w/3 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages salome-examples depends on:
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared 
lib
ii  libcos4-1               4.1.3-1+b1       omniORB CORBA services stubs
ii  libgcc1                 1:4.4.5-6        GCC support library
ii  libhdf5-openmpi-1.8.4   1.8.4-patch1-2   Hierarchical Data Format 5 (HDF5) 
ii  libomniorb4-1           4.1.3-1+b1       omniORB core libraries
ii  libomnithread3c2        4.1.3-1+b1       C++ threading library
ii  libopencascade-foundati 6.3.0.dfsg.1-6   OpenCASCADE CAE platform shared 
li
ii  libopencascade-ocaf-6.3 6.3.0.dfsg.1-6   OpenCASCADE CAE platform shared 
li
ii  libopencascade-ocaf-lit 6.3.0.dfsg.1-6   OpenCASCADE CAE platform shared 
li
ii  libopenmpi1.3           1.4.2-4          high performance message passing 
l
ii  libpython2.6            2.6.6-6          Shared Python runtime library 
(ver
ii  libstdc++6              4.4.5-6          The GNU Standard C++ Library v3
ii  python                  2.6.6-3+squeeze1 interactive high-level object-
orie
ii  python-central          0.6.16+nmu1      register and build utility for 
Pyt
ii  salome                  5.1.3-11         Numerical simulation pre- and 
post
ii  salome-common           5.1.3-11         Numerical simulation pre- and 
post

Versions of packages salome-examples recommends:
ii  salome                        5.1.3-11   Numerical simulation pre- and 
post

salome-examples suggests no packages.

-- no debconf information





More information about the debian-science-maintainers mailing list