Your message dated Wed, 05 Jul 2017 19:00:12 +0000
with message-id <e1dspx2-0005qw...@fasolo.debian.org>
and subject line Bug#863828: fixed in dolfin 2016.2.0-4
has caused the Debian Bug report #863828,
regarding python3-instant: undefined symbol: PyClass_Type during interpolate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
863828: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863828
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-instant
Version: 2016.2.0-2
Severity: normal

Testing the new python3 dolfin.  It works fine on my own scripts. But
seems to fail when instant is invoked by interpolate.

$ instant-clean-3 
$ ipython3
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
In [1]: from fenics import *  # dolfin module behaves the same
In [2]: mesh = UnitSquareMesh(2, 2)
In [3]: V = FunctionSpace(mesh, 'P', 1)
In [4]: u = interpolate(Expression('x[0] + x[1]', degree=1), V)
...
AssertionError: Failed to import module found in cache. Modulename: 
'dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
Path: 
'/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
ImportError:/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2/_dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2.so:
 undefined symbol: PyClass_Type;



The full error report is:

In [4]: u = interpolate(Expression('x[0] + x[1]', degree=1), V)
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
--- Instant: compiling ---
In instant.import_module_directly: Failed to import module 
'dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2' from 
'/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
ImportError:/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2/_dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2.so:
 undefined symbol: PyClass_Type;
Failed to import module found in cache. Modulename: 
'dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
Path: 
'/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
ImportError:/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2/_dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2.so:
 undefined symbol: PyClass_Type;
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-4-e06382777336> in <module>()
----> 1 u = interpolate(Expression('x[0] + x[1]', degree=1), V)

/usr/lib/python3/dist-packages/dolfin/functions/expression.py in __new__(cls, 
cppcode, *args, **kwargs)
    652         cpp_base, members = compile_expressions([cppcode],
    653                                                 
[generic_function_members],
--> 654                                                 
mpi_comm=kwargs.get("mpi_comm"))
    655         cpp_base, members = cpp_base[0], members[0]
    656 

/usr/lib/python3/dist-packages/dolfin/compilemodules/expressions.py in 
compile_expressions(cppargs, generic_function_members, mpi_comm)
    212         "\n\n".join(code_snippets), classnames,
    213         additional_declarations="\n".join(additional_declarations),
--> 214         mpi_comm=mpi_comm)
    215 
    216     return expression_classes, all_members

/usr/lib/python3/dist-packages/dolfin/compilemodules/expressions.py in 
compile_expression_code(code, classnames, module_name, additional_declarations, 
mpi_comm)
    139     compiled_module = compile_extension_module(
    140         code, additional_declarations=additional_declarations,
--> 141         mpi_comm=mpi_comm)
    142 
    143     # Get the compiled class

/usr/lib/python3/dist-packages/dolfin/compilemodules/jit.py in mpi_jit(*args, 
**kwargs)
     66         # Just call JIT compiler when running in serial
     67         if MPI.size(mpi_comm) == 1:
---> 68             return local_jit(*args, **kwargs)
     69 
     70         # Compile first on process 0

/usr/lib/python3/dist-packages/dolfin/compilemodules/compilemodule.py in 
compile_extension_module(code, module_name, additional_declarations, 
additional_system_headers, mpi_comm, **instant_kwargs)
    470             code=code,
    471             additional_declarations=additional_declarations,
--> 472             **instant_kwargs)
    473 
    474     sys.stdout.flush()

/usr/lib/python3/dist-packages/instant/build.py in build_module(modulename, 
source_directory, code, init_code, additional_definitions, 
additional_declarations, sources, wrap_headers, local_headers, system_headers, 
include_dirs, library_dirs, libraries, swigargs, swig_include_dirs, cppargs, 
lddargs, object_files, arrays, generate_interface, generate_setup, 
cmake_packages, signature, cache_dir)
    585 
    586         # Import module and place in memory cache
--> 587         module = import_and_cache_module(module_path, modulename, 
moduleids)
    588 
    589         if not module:

/usr/lib/python3/dist-packages/instant/cache.py in 
import_and_cache_module(path, modulename, moduleids)
     90     module, e = import_module_directly(path, modulename)
     91     instant_assert(module is not None, "Failed to import module found 
in cache. Modulename: '%s';\nPath: '%s';\n%s:%s;" % (modulename, path, 
type(e).__name__,
---> 92                                                                         
                                                   e))
     93     for moduleid in moduleids:
     94         place_module_in_memory_cache(moduleid, module)

/usr/lib/python3/dist-packages/instant/output.py in instant_assert(condition, 
*message)
    101         _log.error(*message)
    102         text = message[0] % message[1:]
--> 103         raise AssertionError(text)
    104 
    105 

AssertionError: Failed to import module found in cache. Modulename: 
'dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
Path: 
'/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2';
ImportError:/home/user/.cache/instant/python3.5/cache/dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2/_dolfin_ee8f3791ac0426bc9e123d64557ccde25f2d90f2.so:
 undefined symbol: PyClass_Type;





-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-instant depends on:
ii  build-essential  12.3
ii  cmake            3.7.2-1
ii  pkg-config       0.29-4+b1
ii  python3-dev      3.5.3-1
ii  python3-numpy    1:1.12.1-3
ii  python3-six      1.10.0-4
pn  python3:any      <none>
ii  swig             3.0.10-1.1

python3-instant recommends no packages.

python3-instant suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dolfin
Source-Version: 2016.2.0-4

We believe that the bug you reported is fixed in the latest version of
dolfin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 863...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <dpars...@debian.org> (supplier of updated dolfin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 07 Jun 2017 12:14:40 +0800
Source: dolfin
Binary: libdolfin-dev libdolfin2016.2 libdolfin2016.2-dbg python-dolfin 
python3-dolfin python-dolfin-dbg python3-dolfin-dbg dolfin-doc dolfin-bin
Architecture: source all amd64
Version: 2016.2.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Drew Parsons <dpars...@debian.org>
Description:
 dolfin-bin - Executable scripts for DOLFIN
 dolfin-doc - Documentation and demo programs for DOLFIN
 libdolfin-dev - Shared links and header files for DOLFIN
 libdolfin2016.2 - Shared libraries for DOLFIN
 libdolfin2016.2-dbg - Shared libraries with debugging symbols for DOLFIN
 python-dolfin - Python interface for DOLFIN (Python 2)
 python-dolfin-dbg - Python 2 extension modules for DOLFIN with debugging 
symbols
 python3-dolfin - Python interface for DOLFIN (Python 3)
 python3-dolfin-dbg - Python 3 extension modules for DOLFIN with debugging 
symbols
Closes: 863828 863829
Changes:
 dolfin (2016.2.0-4) unstable; urgency=medium
 .
   [ Johannes Ring ]
   * d/rules:
     - Re-generate swig interface with correct Python version
       before build and install. Closes: #863829.
     - Build for Python 2 after Python 3 by switching the order in
       PYVERS, since Python 2 is default.
   * Add patch vtk-python2-only-cmake-usefile.patch that disables the
     vtk section in UseDOLFIN.cmake for Python 3. Closes: #863828.
   * d/control: Add python-ffc to Depends for binary package
     libdolfin-dev (provides ufc.h).
Checksums-Sha1:
 9b23a4826a5e28d896b29215a2d6b8ce174e3263 3387 dolfin_2016.2.0-4.dsc
 1273130f23f1e5c1e954947a3a9d8f1964190e9c 45444 dolfin_2016.2.0-4.debian.tar.xz
 763744cd4070f98d62494937b4edabe08a9ccd9a 50356 dolfin-bin_2016.2.0-4_all.deb
 ff4a3aad641c8df759254977117329f412d8bf28 3855986 dolfin-doc_2016.2.0-4_all.deb
 ecff38b98a90c23d63d5928c139e6ade29ea0c2f 24775 
dolfin_2016.2.0-4_amd64.buildinfo
 6062c6c8c73b8b226e549e544f29b69c4f6293bf 240312 
libdolfin-dev_2016.2.0-4_amd64.deb
 e27441e3f41dcdcfeb5c41075d0720cbb3421828 39734932 
libdolfin2016.2-dbg_2016.2.0-4_amd64.deb
 64091aa596f59243bb2ed774b5251660e4409f7d 1694064 
libdolfin2016.2_2016.2.0-4_amd64.deb
 8806812d820f30cab4f2623f3d1a96d0107eb2ee 8559084 
python-dolfin-dbg_2016.2.0-4_amd64.deb
 19d1c95208e51889e63c390e8c949f61951285f7 1172200 
python-dolfin_2016.2.0-4_amd64.deb
 3028243e5c43e67f119a5da0a2160adb5518b2b1 8580604 
python3-dolfin-dbg_2016.2.0-4_amd64.deb
 ce9a2be85dea4d5ccb93ad08cfc84aed547f3d45 1174468 
python3-dolfin_2016.2.0-4_amd64.deb
Checksums-Sha256:
 552e52ce21270bcea9bdf7d5e99173e69b0384b246128ad9e514125f6dc1c94b 3387 
dolfin_2016.2.0-4.dsc
 edb5b35b4d31666558a34f4138a27e3a1d7f4ad61c2d6cf92f330fdd46ef74e1 45444 
dolfin_2016.2.0-4.debian.tar.xz
 c6935d048b36884b5324df1f95494a940bf63962aa6918a7b8c578890343a1e8 50356 
dolfin-bin_2016.2.0-4_all.deb
 795619b54cbefc59fc160882e8c4d2946c8efd801bf8035e8e2e046392267da2 3855986 
dolfin-doc_2016.2.0-4_all.deb
 3b6ab0d01f2d986ed62b52750261218a12d5772431d9fc9cf31f4e141edb96e9 24775 
dolfin_2016.2.0-4_amd64.buildinfo
 f695591b5b791c89dcbcbcae12557be11698901e87dfc76a8487a06c5b1658a4 240312 
libdolfin-dev_2016.2.0-4_amd64.deb
 2b7f21fe2c6107178e282b845d8b073a6a816527b3ce89ee7433e87415c1e95b 39734932 
libdolfin2016.2-dbg_2016.2.0-4_amd64.deb
 49229179751bcc9300fd98991b63213488453d4430c3d827830c1c82c6e1f7b6 1694064 
libdolfin2016.2_2016.2.0-4_amd64.deb
 bc88147c0b5c41a8f6644847f8d8b7523d132a284c23017bde98b53a6c5a9f10 8559084 
python-dolfin-dbg_2016.2.0-4_amd64.deb
 a63d0b2907f0f39499a62206da678ad24343fea0bc8168fb9daa8cb70fa7bcd6 1172200 
python-dolfin_2016.2.0-4_amd64.deb
 05d9d1f9347a804a4f4975052c87fcdccc892b5df1d631847a774d6558d7c8d7 8580604 
python3-dolfin-dbg_2016.2.0-4_amd64.deb
 071cc4f6b5520f4894159582dfa108936b6f585ca13a941402afa1a11d65ef45 1174468 
python3-dolfin_2016.2.0-4_amd64.deb
Files:
 edb2c0b646f8e8b02511ca6ed0b9f9d7 3387 math extra dolfin_2016.2.0-4.dsc
 1c430110ef9c0eebd067445df016090c 45444 math extra 
dolfin_2016.2.0-4.debian.tar.xz
 c10f938f7f2cd5ff4458147f94902f86 50356 math extra dolfin-bin_2016.2.0-4_all.deb
 b9cd95c872a135be97d19f286244e5cb 3855986 doc extra 
dolfin-doc_2016.2.0-4_all.deb
 a5de218bd34d4fc4bb419121ea8c7031 24775 math extra 
dolfin_2016.2.0-4_amd64.buildinfo
 b41ddbd5a6abd4c2c21c507a338786ac 240312 libdevel extra 
libdolfin-dev_2016.2.0-4_amd64.deb
 a81790be2f95ab6724398b4d134a43a9 39734932 debug extra 
libdolfin2016.2-dbg_2016.2.0-4_amd64.deb
 130b55cb7cbc3f8f57edeb27c62c7ff2 1694064 libs extra 
libdolfin2016.2_2016.2.0-4_amd64.deb
 16214bbbca911ecf8b7fdd912800f4eb 8559084 debug extra 
python-dolfin-dbg_2016.2.0-4_amd64.deb
 a66d6864f75d1d3b4c0b6744df2b3d85 1172200 python extra 
python-dolfin_2016.2.0-4_amd64.deb
 dee860316c9cb15bda1c23ae82aa8ba7 8580604 debug extra 
python3-dolfin-dbg_2016.2.0-4_amd64.deb
 e77d3e9ea2db1a7edbd5c46421605237 1174468 python extra 
python3-dolfin_2016.2.0-4_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAlk3gs4UHGRwYXJzb25z
QGRlYmlhbi5vcmcACgkQVz7x5L1aAfoINg/+JA6j96Vlp/GMUbiNLwNfmq17Q34Y
ujJP/4aUVxO2abaju9DRl3Ah1Oucch2+aJddMlHk3f9p+4oPx2wSpZxneGnCDiIu
n1B7xBqykBW7JBfjxOnh2aHtiTJPgMD4UxExWuMw2L1gJ0vhEqwnKK4wN+qrA2Q2
uo29CXDfOfpVfbXWE2Mu3RBZRYhEMAhUplCPLI7OH+sMPopEY/vDCPf++JxI9yPY
2AacV7/VMjf3MkdCaKa1MN+z7g0iLZ9RtHZzy1L2bLRmem94or/Hd6dz8OfGnLFH
+gxnkVR56NHT1vuK3rCa6mEUrI+g223r6XLJIvj1Ro3rpSW9PcxFS/eaDQ7icQD+
FnL5l+H1ys+Qx4HfxRJoVWYVnHE2/KofQZn8DE8lL+RCvQxTRdEhdFDg01WVhm6G
JukhRbzVBUfK7MXGaxpwcD3lx0ttk8+ui/ovugwcafdo4s9RJBdwCYa5/LFEBMoO
s72p4BmTI68N5PmRjrg9gcw6QBVIDr9qYcW43Z6N/VPX/x7NJQ8zRA1vDds4fch8
5SMfd4mcCro6KPyYUiRbRL58j1dFrc3KnzqdiLJbXlWv7Ia0ncNfPIHvVfLUyjyE
zReYnSibyM9ZU1EEZu74VdwIbuXjACCwPVhAmH9ygBpelUxErjY8z/7NUeYyY3QC
L/cuzSVNQMTvm64=
=BN0V
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to