Bug#918858: python-meep-*: fails to install: Exception: cannot get content of python-meep

2019-02-05 Thread Thorsten Alteholz
Thanks a lot for the reference to $DPKG_MAINTSCRIPT_PACKAGE, an updated 
package is on its way ...


 Thorsten



Bug#918858: python-meep-*: fails to install: Exception: cannot get content of python-meep

2019-01-26 Thread Andreas Beckmann
Followup-For: Bug #918858

Looking at the maintainer scripts, they all seem to have been copied
from the python-meep package without updating the referenced package
name from "python-meep" to "python-meep-?"

Instead of hardcoding the package name, you could also use
"$DPKG_MAINTSCRIPT_PACKAGE" which is set by dpkg when running maintainer
scripts.


Andreas



Bug#918858: python-meep-*: fails to install: Exception: cannot get content of python-meep

2019-01-09 Thread Andreas Beckmann
Package: 
python-meep-openmpi,python-meep-mpich2,python-meep-mpi-default,python-meep-lam4
Version: 1.7.0-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

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 python-meep-openmpi (1.7.0-2) ...
  dpkg-query: package 'python-meep' is not installed
  Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in 
  main()
File "/usr/bin/pycompile", line 262, in main
  options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
  for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
  for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in 
add_namespace_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
  for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
  raise Exception("cannot get content of %s" % package_name)
  Exception: cannot get content of python-meep
  dpkg: error processing package python-meep-openmpi (--configure):
   installed python-meep-openmpi package post-installation script subprocess 
returned error exit status 1

  Setting up python-meep-mpich2 (1.7.0-2) ...
  dpkg-query: package 'python-meep' is not installed
  Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in 
  main()
File "/usr/bin/pycompile", line 262, in main
  options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
  for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
  for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in 
add_namespace_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
  for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
  raise Exception("cannot get content of %s" % package_name)
  Exception: cannot get content of python-meep
  dpkg: error processing package python-meep-mpich2 (--configure):
   installed python-meep-mpich2 package post-installation script subprocess 
returned error exit status 1

  Setting up python-meep-mpi-default (1.7.0-2) ...
  dpkg-query: package 'python-meep' is not installed
  Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in 
  main()
File "/usr/bin/pycompile", line 262, in main
  options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
  for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
  for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in 
add_namespace_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
  for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
  raise Exception("cannot get content of %s" % package_name)
  Exception: cannot get content of python-meep
  dpkg: error processing package python-meep-mpi-default (--configure):
   installed python-meep-mpi-default package post-installation script 
subprocess returned error exit status 1

  Setting up python-meep-lam4 (1.7.0-2) ...
  dpkg-query: package 'python-meep' is not installed
  Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
  Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in 
  main()
File "/usr/bin/pycompile", line 262, in main
  options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
  for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
  for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
  for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in 
add_namespace_files
  for fn in files:
File