Bug#602217: salome-examples won't install

Adam C Powell IV hazelsct at debian.org
Mon Nov 22 02:58:12 UTC 2010


Hello again,

On Tue, 2010-11-02 at 15:34 -0400, Adam C Powell IV wrote:
> 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.).

I've changed the approach somewhat.  Having the large /usr/share/salome
directory of salome-examples in an arch any package bloats the archive a
lot, so I moved it to a new salome-examples-common package, which
eliminates this approach.  The new version is on alioth, and building
now.

I'm going to upload with this in order to fix the RC bugs, then keep
trying to make NETGENPLUGIN work...

Thanks,
Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20101121/b5ee50c5/attachment.pgp>


More information about the debian-science-maintainers mailing list