Hello Matthieu,
On Wed, 2010-11-03 at 00:12 +0800, Matthieu Lagouge wrote:
> 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"))Hmm, files in /usr/share/salome/examples should probably not be byte-compiled. It seems I'll need to either figure out how to hint that they should be treated differently, or separate them from the python code in the example modules (PYHELLO, PYCALCULATOR, etc.). Thank you, Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part

