Debian Bug report logs - #886807
gnuradio: QT GUI fails with AttributeError: 'NoneType' object has no attribute 'toByteArray'

version graph

Package: gnuradio; Maintainer for gnuradio is A. Maitland Bottoms <bottoms@debian.org>; Source for gnuradio is src:gnuradio (PTS, buildd, popcon).

Reported by: Vasil Velichkov <vvvelichkov@gmail.com>

Date: Wed, 10 Jan 2018 03:12:01 UTC

Severity: normal

Tags: patch

Found in version gnuradio/3.7.11-6

Fixed in version gnuradio/3.7.11-7

Done: bottoms@debian.org (A. Maitland Bottoms)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, A. Maitland Bottoms <bottoms@debian.org>:
Bug#886807; Package gnuradio. (Wed, 10 Jan 2018 03:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vasil Velichkov <vvvelichkov@gmail.com>:
New Bug report received and forwarded. Copy sent to A. Maitland Bottoms <bottoms@debian.org>. (Wed, 10 Jan 2018 03:12:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vasil Velichkov <vvvelichkov@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnuradio: QT GUI fails with AttributeError: 'NoneType' object has no attribute 'toByteArray'
Date: Wed, 10 Jan 2018 03:09:34 +0000
Package: gnuradio
Version: 3.7.11-6
Severity: normal

Dear Maintainer,

How to reproduce:

1. File -> New -> QT GUI (Ctrl + N)
2. File -> Save (Ctrl + S)
3. Run -> Execute (F6)

and it fails with

Traceback (most recent call last):
  File "/home/grgsm/test_qt_gui.py", line 96, in <module>
    main()
  File "/home/grgsm/test_qt_gui.py", line 84, in main
    tb = top_block_cls()
  File "/home/grgsm/test_qt_gui.py", line 53, in __init__
    self.restoreGeometry(self.settings.value("geometry").toByteArray())
AttributeError: 'NoneType' object has no attribute 'toByteArray'

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.11-200.fc26.x86_64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages gnuradio depends on:
ii  libasound2                        1.1.3-5
ii  libboost-atomic1.62.0             1.62.0+dfsg-4+b2
ii  libboost-chrono1.62.0             1.62.0+dfsg-4+b2
ii  libboost-date-time1.62.0          1.62.0+dfsg-4+b2
ii  libboost-filesystem1.62.0         1.62.0+dfsg-4+b2
ii  libboost-program-options1.62.0    1.62.0+dfsg-4+b2
ii  libboost-regex1.62.0              1.62.0+dfsg-4+b2
ii  libboost-system1.62.0             1.62.0+dfsg-4+b2
ii  libboost-thread1.62.0             1.62.0+dfsg-4+b2
ii  libc6                             2.25-5
ii  libcodec2-0.7                     0.7-1
ii  libcomedi0                        0.10.2-4+b5
ii  libfftw3-single3                  3.3.7-1
ii  libgcc1                           1:7.2.0-18
ii  libgnuradio-analog3.7.11          3.7.11-6
ii  libgnuradio-atsc3.7.11            3.7.11-6
ii  libgnuradio-audio3.7.11           3.7.11-6
ii  libgnuradio-blocks3.7.11          3.7.11-6
ii  libgnuradio-channels3.7.11        3.7.11-6
ii  libgnuradio-comedi3.7.11          3.7.11-6
ii  libgnuradio-digital3.7.11         3.7.11-6
ii  libgnuradio-dtv3.7.11             3.7.11-6
ii  libgnuradio-fcd3.7.11             3.7.11-6
ii  libgnuradio-fec3.7.11             3.7.11-6
ii  libgnuradio-fft3.7.11             3.7.11-6
ii  libgnuradio-filter3.7.11          3.7.11-6
ii  libgnuradio-noaa3.7.11            3.7.11-6
ii  libgnuradio-pager3.7.11           3.7.11-6
ii  libgnuradio-pmt3.7.11             3.7.11-6
ii  libgnuradio-qtgui3.7.11           3.7.11-6
ii  libgnuradio-runtime3.7.11         3.7.11-6
ii  libgnuradio-trellis3.7.11         3.7.11-6
ii  libgnuradio-uhd3.7.11             3.7.11-6
ii  libgnuradio-video-sdl3.7.11       3.7.11-6
ii  libgnuradio-vocoder3.7.11         3.7.11-6
ii  libgnuradio-wavelet3.7.11         3.7.11-6
ii  libgnuradio-wxgui3.7.11           3.7.11-6
ii  libgnuradio-zeromq3.7.11          3.7.11-6
ii  libgsl23                          2.4+dfsg-6
ii  libgslcblas0                      2.4+dfsg-6
ii  libgsm1                           1.0.13-4+b2
ii  libjack-jackd2-0 [libjack-0.125]  1.9.10+20150825git1ed50c92~dfsg-5
ii  liblog4cpp5v5                     1.1.1-3
ii  libportaudio2                     19.6.0-1
ii  libpython2.7                      2.7.14-4
ii  libqt5core5a                      5.9.2+dfsg-6
ii  libqt5gui5                        5.9.2+dfsg-6
ii  libqt5widgets5                    5.9.2+dfsg-6
ii  libqwt-qt5-6                      6.1.2-6
ii  libsdl1.2debian                   1.2.15+dfsg2-0.1
ii  libstdc++6                        7.2.0-18
ii  libuhd003.010.002                 3.10.2.0-3
ii  libusb-1.0-0                      2:1.0.21-2
ii  libvolk1-bin                      1.3-2
ii  libvolk1.3                        1.3-2
ii  libzmq5                           4.2.3-1+b1
ii  python                            2.7.14-4
ii  python-cheetah                    2.4.4-4
ii  python-gtk2                       2.24.0-5.1+b1
ii  python-lxml                       4.1.0-1
ii  python-numpy                      1:1.13.3-2
ii  python-opengl                     3.1.0+dfsg-1
ii  python-sip                        4.19.6+dfsg-1
ii  python-wxgtk3.0                   3.0.2.0+dfsg-6
ii  python-zmq                        16.0.2-2+b1

Versions of packages gnuradio recommends:
ii  gnuradio-dev       3.7.11-6
ii  python-matplotlib  2.0.0+dfsg1-2+b1
ii  python-networkx    1.11-2
ii  python-pyqt5       5.9.2+dfsg-1
pn  python-qwt-qt5     <none>
ii  python-scipy       0.19.1-1
ii  python-tk          2.7.14-1
ii  rtl-sdr            0.5.3-13
ii  uhd-host           3.10.2.0-3

Versions of packages gnuradio suggests:
ii  gr-fosphor  3.7.0.2.7b6b996-2
ii  gr-osmosdr  0.1.4-14

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, A. Maitland Bottoms <bottoms@debian.org>:
Bug#886807; Package gnuradio. (Thu, 11 Jan 2018 00:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vasil Velichkov <vvvelichkov@gmail.com>:
Extra info received and forwarded to list. Copy sent to A. Maitland Bottoms <bottoms@debian.org>. (Thu, 11 Jan 2018 00:45:03 GMT) (full text, mbox, link).


Message #10 received at 886807@bugs.debian.org (full text, mbox, reply):

From: Vasil Velichkov <vvvelichkov@gmail.com>
To: 886807@bugs.debian.org
Subject: Re: Bug#886807: Acknowledgement (gnuradio: QT GUI fails with AttributeError: 'NoneType' object has no attribute 'toByteArray')
Date: Thu, 11 Jan 2018 02:41:53 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

Here is my attempt to fix this bug

На 10.01.2018 в 05:12, Debian Bug Tracking System написа:
> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 886807: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886807.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>   A. Maitland Bottoms <bottoms@debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 886807@bugs.debian.org.
>
> Please do not send mail to owner@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>

[qt5-qtgui-bug886807.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Vasil Velichkov <vvvelichkov@gmail.com> to control@bugs.debian.org. (Thu, 11 Jan 2018 11:30:14 GMT) (full text, mbox, link).


Reply sent to bottoms@debian.org (A. Maitland Bottoms):
You have taken responsibility. (Tue, 06 Feb 2018 12:30:33 GMT) (full text, mbox, link).


Notification sent to Vasil Velichkov <vvvelichkov@gmail.com>:
Bug acknowledged by developer. (Tue, 06 Feb 2018 12:30:33 GMT) (full text, mbox, link).


Message #17 received at 886807-close@bugs.debian.org (full text, mbox, reply):

From: bottoms@debian.org (A. Maitland Bottoms)
To: 886807-close@bugs.debian.org
Subject: Bug#886807: fixed in gnuradio 3.7.11-7
Date: Tue, 06 Feb 2018 12:21:07 +0000
Source: gnuradio
Source-Version: 3.7.11-7

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

Debian distribution maintenance software
pp.
A. Maitland Bottoms <bottoms@debian.org> (supplier of updated gnuradio 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 04 Feb 2018 12:00:34 -0500
Source: gnuradio
Binary: gnuradio gnuradio-doc gnuradio-dev libgnuradio-analog3.7.11 libgnuradio-atsc3.7.11 libgnuradio-audio3.7.11 libgnuradio-comedi3.7.11 libgnuradio-blocks3.7.11 libgnuradio-channels3.7.11 libgnuradio-digital3.7.11 libgnuradio-dtv3.7.11 libgnuradio-fcd3.7.11 libgnuradio-fec3.7.11 libgnuradio-fft3.7.11 libgnuradio-filter3.7.11 libgnuradio-noaa3.7.11 libgnuradio-pager3.7.11 libgnuradio-pmt3.7.11 libgnuradio-qtgui3.7.11 libgnuradio-runtime3.7.11 libgnuradio-trellis3.7.11 libgnuradio-uhd3.7.11 libgnuradio-video-sdl3.7.11 libgnuradio-vocoder3.7.11 libgnuradio-wavelet3.7.11 libgnuradio-wxgui3.7.11 libgnuradio-zeromq3.7.11
Architecture: source
Version: 3.7.11-7
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <bottoms@debian.org>
Changed-By: A. Maitland Bottoms <bottoms@debian.org>
Description:
 gnuradio   - GNU Radio Software Radio Toolkit
 gnuradio-dev - GNU Software Defined Radio toolkit development
 gnuradio-doc - GNU Software Defined Radio toolkit documentation
 libgnuradio-analog3.7.11 - gnuradio analog functions
 libgnuradio-atsc3.7.11 - gnuradio atsc functions
 libgnuradio-audio3.7.11 - gnuradio audio functions
 libgnuradio-blocks3.7.11 - gnuradio blocks functions
 libgnuradio-channels3.7.11 - gnuradio channels functions
 libgnuradio-comedi3.7.11 - gnuradio comedi instrument control functions
 libgnuradio-digital3.7.11 - gnuradio digital communications functions
 libgnuradio-dtv3.7.11 - gnuradio digital TV signal processing blocks
 libgnuradio-fcd3.7.11 - gnuradio FunCube Dongle support
 libgnuradio-fec3.7.11 - gnuradio forward error correction support
 libgnuradio-fft3.7.11 - gnuradio fast Fourier transform functions
 libgnuradio-filter3.7.11 - gnuradio filter functions
 libgnuradio-noaa3.7.11 - gnuradio noaa satellite signals functions
 libgnuradio-pager3.7.11 - gnuradio pager radio functions
 libgnuradio-pmt3.7.11 - gnuradio pmt container library
 libgnuradio-qtgui3.7.11 - gnuradio Qt graphical user interface functions
 libgnuradio-runtime3.7.11 - gnuradio core runtime
 libgnuradio-trellis3.7.11 - gnuradio trellis modulation functions
 libgnuradio-uhd3.7.11 - gnuradio universal hardware driver functions
 libgnuradio-video-sdl3.7.11 - gnuradio video functions
 libgnuradio-vocoder3.7.11 - gnuradio vocoder functions
 libgnuradio-wavelet3.7.11 - gnuradio wavelet functions
 libgnuradio-wxgui3.7.11 - gnuradio wxgui functions
 libgnuradio-zeromq3.7.11 - gnuradio zeromq functions
Closes: 886807
Changes:
 gnuradio (3.7.11-7) unstable; urgency=medium
 .
   * update to v3.7.11-129-g7365f030cd
   * use PyQt5 QtCore.QByteArray (Thanks Vasil!) (Closes: #886807)
   * Standards-Version to 4.1.3 (no changes needed)
   * Change Vcs fields in debian/control to point to salsa.debian.org
Checksums-Sha1:
 da539bc808af5147b5b55b7d664317808348705b 4870 gnuradio_3.7.11-7.dsc
 6cd035ae202eb7ecde877e554ca16c5347985350 1514772 gnuradio_3.7.11-7.debian.tar.xz
 9bf71e505367c2a913a964452c8ded28633adf00 34917 gnuradio_3.7.11-7_amd64.buildinfo
Checksums-Sha256:
 58be5a0b08d06c49fb57ba2fdbe931a62453315ce6257142fa4f535283c42074 4870 gnuradio_3.7.11-7.dsc
 96f291643f939925716dbb9d7b9a2c2778a6c92eb8602168999be289a75439b2 1514772 gnuradio_3.7.11-7.debian.tar.xz
 453c6ac8a481e0a4aea44769a946e17772df41cf801af6fbdac76aac4844bd9d 34917 gnuradio_3.7.11-7_amd64.buildinfo
Files:
 4c6c38ada8bd1c11f8eab3effb597afa 4870 comm optional gnuradio_3.7.11-7.dsc
 cda81302cd2a30cd32468a1d5f4969d6 1514772 comm optional gnuradio_3.7.11-7.debian.tar.xz
 b4ef5433626cf7b710d857ab1469d904 34917 comm optional gnuradio_3.7.11-7_amd64.buildinfo

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

iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAlp5mjwACgkQUEHxiR9E
4JCFsRAAljEYlKP1PUhS0GzETKU5ZnQlu/HCiOrqfD17G6nlcBis44IEFAUNpogJ
CUbAvZIW8xZqn95RkL82ODFNhrDwF+2s8dS2duwQVCSdAdp/+1YJZbShkPuA2u9N
34OS4ZLcqcH4MtCJPTePvCTsNhNeIgxEUar1vvUWkSmgdE+98qt+cCNNanrHNzWT
MZYpwPEyGZbfnhNYfbN4300AYzFies65UwyxyBQISyMv7U68TSdzFa4CHW8Ki3mI
6xMXE5rZTBMM2MbWJcDufOD6u7F+raXSzGMoBn+1pdNJ9xD5rIqJ2IeO4yvqXRbD
Dzli1LR1V1+uelG67H7dC0yKbctT62jhBZU1YPWuZnydjfd4Aja19Vsd+9rPSetR
7++Cma/W+7EdjrMficFcH4p5BWi83Xa6YBhMXyNY2eya3oFn+Pns7u4JEGgQrEmr
mqYrrU576Rh82N+IGuzeAIdke0PzBidc5HSNW6l8idCUYNNLQetN+2e0XImvIaWr
IOhiNdfuFw3Ed7puhxr5bnkINktdvftbVt6+0xt+qkkXgE3ZGU+Nkn3WzE7kPumL
7CFYaQt+Ugg0EbG1V4KgsnE3paXTcFw0OHVWapsDsrfK+WeaePdf8Oy0LMQYg84O
0b9ec+UyDYa+qPpa6/OKjnrE5kQcddNWc964GEp6Pjjkf3ak11U=
=95yX
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Jan 2019 07:25:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Nov 29 06:11:42 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.