control: tags -1 unreproducible moreinfo
control: severity -1 important

Hi Jérôme,

On 7 Mar 2018 Jérôme Bardot wrote:
> Reportbug (gtk2 ui) crash when i select package.
> 
> The command line  output :
> 
> Traceback (most recent call last):
>   File "/usr/bin/reportbug", line 2265, in <module>
>     main()
>   File "/usr/bin/reportbug", line 1109, in main
>     return iface.user_interface()
>   File "/usr/bin/reportbug", line 1721, in user_interface
>     latest_first=self.options.latest_first)
>   File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line
> 1764, in func
>     args, kwargs = op.sync_pre_operation(*args, **kwargs)
> TypeError: 'NoneType' object is not iterable

Thank you for the report!

The crash occurs when the sysinfo.get('btsroot') in line 1030 of
gtk2_ui.py does not return anything:

1029         sysinfo = debbugs.SYSTEMS[bts]
1030         root = sysinfo.get('btsroot')
1031         if not root:
1032             # do we need to make a dialog for this?
1033             return

This should normally not happen on any Debian system.
/etc/dpkg/origins/debian is the file from which the sysinfo['btsroot']
setting is populated. Did you modify any files in /etc/dpkg/origins/?

Reply via email to