Bug#930085: reportbug gtk gui crashes

2020-05-22 Thread Nis Martensen
control: merge 709862 930085
control: tags 709862 patch

> >   Traceback (most recent call last):
> > File "/usr/bin/reportbug", line 2285, in 
> >   main()
> > File "/usr/bin/reportbug", line 1115, in main
> >   return iface.user_interface()
> > File "/usr/bin/reportbug", line 1728, in user_interface
> >   latest_first=self.options.latest_first)
> > File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 
> > 1763, in func
> >   args, kwargs = op.sync_pre_operation(*args, **kwargs)
> >   TypeError: cannot unpack non-iterable NoneType object
> 
> 
> > -- System Information:
> > Distributor ID: Kali
> > Description:Kali GNU/Linux Rolling
> 
> The crash is very likely caused by a system administration error. Please see
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892270

Anyway reportbug should not crash, not even on non-Debian systems. This
has been reported multiple times already; merging this bug with a
previous instance.

This can be fixed with a small change:
https://salsa.debian.org/reportbug-team/reportbug/-/merge_requests/60



Bug#930085: reportbug gtk gui crashes

2019-06-08 Thread Nis Martensen

On Thu, 06 Jun 2019 P D wrote:


  Traceback (most recent call last):
File "/usr/bin/reportbug", line 2285, in 
  main()
File "/usr/bin/reportbug", line 1115, in main
  return iface.user_interface()
File "/usr/bin/reportbug", line 1728, in user_interface
  latest_first=self.options.latest_first)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1763, in 
func
  args, kwargs = op.sync_pre_operation(*args, **kwargs)
  TypeError: cannot unpack non-iterable NoneType object




-- System Information:
Distributor ID: Kali
Description:Kali GNU/Linux Rolling


The crash is very likely caused by a system administration error. Please see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892270



Bug#930085: reportbug gtk gui crashes

2019-06-06 Thread P D
Package: reportbug
Version: 7.5.2
Severity: important

Dear Maintainer,

* I found a bug in another package, but reportbug crashed when I tried to use 
it.
* When going through the initial setup, I chose the gtk gui, saved and quit, 
then did the following:
** Run 'reportbug' (or 'reportbug -u gtk')
** Click 'next'
** Typed any package name, e.g. 'reportbug', click 'next'
** "Checking for new versions at madison..." header shows up
** Program crashes, window disappears, error message printed:

  Traceback (most recent call last):
File "/usr/bin/reportbug", line 2285, in 
  main()
File "/usr/bin/reportbug", line 1115, in main
  return iface.user_interface()
File "/usr/bin/reportbug", line 1728, in user_interface
  latest_first=self.options.latest_first)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1763, in 
func
  args, kwargs = op.sync_pre_operation(*args, **kwargs)
  TypeError: cannot unpack non-iterable NoneType object

Here's the contents of .reportbugrc that didn't work (comments removed):

  reportbug_version "7.5.2"
  mode standard
  ui gtk
  realname "P D"
  email "deb-b...@ch.pkts.ca"
  no-cc
  list-cc-me
  smtphost reportbug.debian.org

By changing the line 'ui gtk' to 'ui text', I was able to make reportbug work.

Thanks!

-- Package-specific info:
** Environment settings:
EDITOR="vim"
PAGER="less"
VISUAL="vim"
INTERFACE="text"

** /home/chowes/.reportbugrc:
reportbug_version "7.5.2"
mode standard
ui text
realname "P D"
email "report...@ch.pkts.ca"
no-cc
list-cc-me
smtphost reportbug.debian.org

-- System Information:
Distributor ID: Kali
Description:Kali GNU/Linux Rolling
Release:2019.2
Codename:   n/a
Architecture: x86_64

Kernel: Linux 4.19.0-kali5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt1.8.2
ii  python33.7.3-1
ii  python3-reportbug  7.5.2
ii  sensible-utils 0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail 
pn  debconf-utils  
pn  debsums
pn  dlocate
pn  emacs24-bin-common | emacs25-bin-common
ii  exim4-daemon-light [mail-transport-agent]  4.92-7
ii  file   1:5.35-4
ii  gnupg  2.2.12-1
pn  python3-urwid  
pn  reportbug-gtk  
ii  xdg-utils  1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt1.8.2
ii  file   1:5.35-4
ii  python33.7.3-1
ii  python3-apt1.8.4
ii  python3-debian 0.1.34
ii  python3-debianbts  2.8.2
ii  python3-requests   2.21.0-1

python3-reportbug suggests no packages.

-- no debconf information