Your message dated Mon, 15 Sep 2014 12:21:30 +0000
with message-id <e1xtvhe-0003dc...@franck.debian.org>
and subject line Bug#761414: fixed in vtk 5.8.0-17.4
has caused the Debian Bug report #761414,
regarding python-vtk: Please update to use wxpython3.0
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.)


-- 
761414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761414
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-vtk
Version: 5.8.0-17.3+b1
Severity: important
Tags: sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wxpy3.0
Control: block 755757 by -1
Control: block 759060 by -1

I missed this package in my previous checks, as while it uses the wx API,
it doesn't seem to have any sort of dependency on python-wxgtk2.8 or
indeed any wx package AFAICS (it'd be useful for transitions, and I think
also for users, to at least have a "Suggests").

This simple script (provided by Thiago Franco Moraes) fails, due wx dropping
the older deprecated wxGLCanvas API which vtk is using:

from vtk.wx.wxVTKRenderWindowInteractor import 
wxVTKRenderWindowInteractorConeExample
wxVTKRenderWindowInteractorConeExample()

The output is:

/usr/lib/pymodules/python2.7/vtk/wx/wxVTKRenderWindowInteractor.py:669: 
wxPyDeprecationWarning: Using deprecated class PySimpleApp. 
  app = wx.PySimpleApp()
Traceback (most recent call last):
  File "/home/olly/vtkwx3.py", line 2, in <module>
    wxVTKRenderWindowInteractorConeExample()
  File "/usr/lib/pymodules/python2.7/vtk/wx/wxVTKRenderWindowInteractor.py", 
line 673, in wxVTKRenderWindowInteractorConeExample
    widget = wxVTKRenderWindowInteractor(frame, -1)
  File "/usr/lib/pymodules/python2.7/vtk/wx/wxVTKRenderWindowInteractor.py", 
line 175, in __init__
    attribList=attribList)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/glcanvas.py", line 106, 
in __init__
    _glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
TypeError: Argument given by name ('attribList') and position (3)


I've included the standard information from the other mails I filed
earlier below - the script doesn't handle the wxGLCanvas API changes,
but it may still be useful.

We're aiming to migrate the archive to using wxpython3.0 instead of
wxwidgets2.8, and hope to drop wxwidgets2.8 before jessie is released.
This transition is already underway, and is being tracked by the release
team here:

https://release.debian.org/transitions/html/wxpython3.0.html

The wxPython 3.0 API mostly adds to the wxPython2.8 API.  Many packages
work with wxPython 3.0 without any changes, but there are a few
incompatibilities.  For example, wx.Color is no longer supported as
an alias for wx.Colour, and some constants which were deprecated in 2.8
have been removed.  All the removed constants I'm aware of were set to 0
in wxPython 2.8, so removing them is still compatible with 2.8.

To assist updating to wxPython 3.0, I've put together a script which
will help make the mechanical changes required.  This is in a git repo
on collab-maint along with a README about using it and updating packages
for wxPython 3.0 in general:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git

The script has some options to control the sorts of changes it makes -
see the README and --help output for more information - you can view
the latest version of the README online here:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I've developed this script by trying to convert 20+ packages.  Please
try it out on your package - in many cases, it should be enough to get
your package working (if it doesn't already) - if it does, please upload
(and close this bug).

If the script doesn't do the job, please let me know (or improve the
script if you can figure out what it needs to do to get your package
working).

Another issue you may hit is that wxWidgets 3.0 now defaults to enabling
its "WXDEBUG" checks for incorrect API usage, so some applications will
emit scary sounding "assertion failures".  These are unlikely to
actually be new, just in a default build of 2.8, such incorrect uses
were handled quietly behind the scenes.  Sometimes these are easy to
fix, but if not you can easily patch the application to tell wx 3.0 to
handle them in the same way wx 2.8 does - details of how to do so are in
the README:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I'm happy to sponsor uploads for this transition, though if you have an
active sponsor already check with them first - I don't want to tread on
anyone's toes.

Cheers,
    Olly

--- End Message ---
--- Begin Message ---
Source: vtk
Source-Version: 5.8.0-17.4

We believe that the bug you reported is fixed in the latest version of
vtk, 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 761...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olly Betts <o...@survex.com> (supplier of updated vtk 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: SHA1

Format: 1.8
Date: Sat, 13 Sep 2014 17:45:52 +0000
Source: vtk
Binary: vtk-doc vtk-examples libvtk5.8 libvtk-java libvtk5-dev libvtk5.8-qt4 
libvtk5-qt4-dev tcl-vtk python-vtk
Architecture: source all
Version: 5.8.0-17.4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Olly Betts <o...@survex.com>
Description:
 libvtk-java - Visualization Toolkit - A high level 3D visualization library - j
 libvtk5-dev - VTK header files for building C++ code
 libvtk5-qt4-dev - Visualization Toolkit - A high level 3D visualization 
library - Q
 libvtk5.8  - Visualization Toolkit - A high level 3D visualization library - r
 libvtk5.8-qt4 - Visualization Toolkit - A high level 3D visualization library 
- Q
 python-vtk - Python bindings for VTK
 tcl-vtk    - Tcl bindings for VTK
 vtk-doc    - VTK class reference documentation
 vtk-examples - C++, Tcl and Python example programs/scripts for VTK
Closes: 761414
Changes:
 vtk (5.8.0-17.4) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Update for wxPython 3.0 (Closes: #761414):
     - New patch: wxpython3.0.patch
Checksums-Sha1:
 ff9da2d0042ba8a801dea6bc04f39be641eea60f 3099 vtk_5.8.0-17.4.dsc
 18524132084e53dafebbdca1cb08cc2a847a82b4 54200 vtk_5.8.0-17.4.debian.tar.xz
 197ec3ffa94b605c92722d76cbbee27485c64053 38743024 vtk-doc_5.8.0-17.4_all.deb
 04fba756dc43dfc93f8b916010185f97acc31b64 388080 vtk-examples_5.8.0-17.4_all.deb
Checksums-Sha256:
 b3b86a655b49815844552efa894cc28ac15df1d96374cdee076c5bec10ab096c 3099 
vtk_5.8.0-17.4.dsc
 c5a9c8cfc6380365cbcdc0c6da3a56fbd8a5c14359ed6b33d5e9021791be64db 54200 
vtk_5.8.0-17.4.debian.tar.xz
 e15d66be0115c64df701cf150969108c16980fbe5f02111f9283c41c61f02c23 38743024 
vtk-doc_5.8.0-17.4_all.deb
 7794dc5e5ef6ae2848a555fea41eb2260caca5ef7021f4a162b3abb275dd90bb 388080 
vtk-examples_5.8.0-17.4_all.deb
Files:
 5d1acd58d80e65b533c7649540fd585d 38743024 doc optional 
vtk-doc_5.8.0-17.4_all.deb
 51f6659d5a756accbe623e1b49f7042a 388080 graphics optional 
vtk-examples_5.8.0-17.4_all.deb
 a152e7262ab4cd83a23bd239911c1d31 3099 graphics optional vtk_5.8.0-17.4.dsc
 c099107f2b8d61a48cb96992c48b6d1d 54200 graphics optional 
vtk_5.8.0-17.4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUFtN6AAoJEBgUewc7rSsH3uIP/jush6uPpqT5NmAy3TsB9slS
AxMVWLj9IQOQGaFWDWYwqqlmAqwIaAsOF7mtZUTSi5eiyCgc7AxJhau76veyo18/
1sr4AHfFH/HKwLQs+n260wvvZ+ZwUrkc7GNnFdDizlnRSWIvT2Tv3gvYXvtse9XU
thfOw4DUYZ1T08zcbuZrr9jLP4g0SbD7iYFEdJvNpM0T2+8jKyfWoYBXnBs+s0KV
m05PUdK7hdU2/GsBHDxDvJkB8rLFq4ePI5YY2J5f3Vgv1JfUdBxBbtsTedfQdgSs
uZd7TE4TwyX0hmApbMTy/ww1TOjETtXmj7o0nri0PoC9Isg5RNlBHeSfnAa825DY
j3Gg8wuRfGk0r04B2R5O+ewK2rg4Alv0Lk3G/7Sh1YpVJcc8H5XB1NzjU6E6Lsal
v0xvHF2WCzavIb8Cc/QdG3+QxztZ2irW9EPIOEvNoc9DTuulpUhWJq0MHyfLG97r
aFZiJYu9rbNUDQOzyE4kH0sfIpJ57OEp2VP0Vp3DmNXw/DnbkLjLUvd60QPJPOkz
jINBhdNfmqsxOqufqi/327THM/mfyv4PUV3l0i65Qm4OibWcLlJGqByTY0SJdGDS
23Pi4nyD2VbnnbTOafwRrQuCqDLOmUklg4rD7FLKQczTuxfVveqAElSFFhktb8Ib
xbDodwv81fA9Vb2G0JAP
=oPuk
-----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