Bug#824603: meld gives python traceback on first use after installation.

2016-11-30 Thread Andrey Gursky
Hi,

the exception occurs since commit [1]. Not only GtkShortcutsWindow, but
also set_help_overlay() function for GtkApplicationWindow have been
introduced in GTK+ 3.20 [2].

No requirements bump needed. Please try the patch, I've proposed on [3].

Thanks,
Andrey

[1] 
https://git.gnome.org/browse/meld/commit/?id=0039034eb8f67e27464dfb3c1bf05dc54dbc0698
[2] 
https://git.gnome.org/browse/gtk+/commit/?id=f6d9f9f93de1c3c5a7ab5d9c64783e941189d9b5
[3] https://bugzilla.gnome.org/show_bug.cgi?id=775439



Bug#824603: meld gives python traceback on first use after installation.

2016-11-10 Thread Bálint Réczey
Hi Mark,

2016-09-07 14:29 GMT+02:00 Mark Sumner :
> Hi,
> I had this issue using version 3.16.0-1 and it still occurs for me now that I
> have updated to 3.16.2-1:
>
> 2:~$ mkdir /tmp/fake-home meld

The meld here seems to be obsolete.

> 2:~$ cp .Xauthority /tmp/fake-home/
> 2:~$ HOME=/tmp/fake-home meld
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 72, in 
> do_startup
> self.new_window()
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 138, in 
> new_window
> window = meldwindow.MeldWindow()
>   File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 266, in 
> __init__
> self.widget.set_help_overlay(shortcut_window)
> AttributeError: 'ApplicationWindow' object has no attribute 'set_help_overlay'
...

Could not reproduce it with 3.16.3-1 on latest stretch.

Cheers,
Balint



Bug#824603: meld gives python traceback on first use after installation.

2016-09-07 Thread Mark Sumner
Hi,
I had this issue using version 3.16.0-1 and it still occurs for me now that I
have updated to 3.16.2-1:

2:~$ mkdir /tmp/fake-home meld
2:~$ cp .Xauthority /tmp/fake-home/
2:~$ HOME=/tmp/fake-home meld
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 72, in 
do_startup
self.new_window()
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 138, in 
new_window
window = meldwindow.MeldWindow()
  File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 266, in 
__init__
self.widget.set_help_overlay(shortcut_window)
AttributeError: 'ApplicationWindow' object has no attribute 'set_help_overlay'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 78, in 
do_command_line
tab = self.parse_args(command_line)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 336, in 
parse_args
focus=i == 0)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 149, in 
open_files
window = self.get_meld_window()
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 144, in 
get_meld_window
return self.get_active_window().meldwindow
AttributeError: 'NoneType' object has no attribute 'meldwindow'



Bug#824603: meld gives python traceback on first use after installation.

2016-08-01 Thread Bálint Réczey
Control: tags -1 moreinfo unreproducible

Hi Jason,

2016-05-18 0:43 GMT+02:00 Jason Butler :
>
> Package: meld
> Version: 3.16.0-1
> Severity: important
>
> Dear Maintainer,
>
> I
>  1. Ran apt-get update; apt-get install meld
>  2. ran /usr/bin/meld
>  3. See this traceback:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 72, in 
> do_startup
> self.new_window()
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 138, in 
> new_window
> window = meldwindow.MeldWindow()
>   File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 266, in 
> __init__
> self.widget.set_help_overlay(shortcut_window)
> AttributeError: 'ApplicationWindow' object has no attribute 'set_help_overlay'
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 78, in 
> do_command_line
> tab = self.parse_args(command_line)
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 336, in 
> parse_args
> focus=i == 0)
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 149, in 
> open_files
> window = self.get_meld_window()
>   File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 144, in 
> get_meld_window
> return self.get_active_window().meldwindow
> AttributeError: 'NoneType' object has no attribute 'meldwindow'

I tried to but could not reproduce the issue on latest testing.

Could you please give it a try again?

I ran:
mkdir /tmp/fake-home meld
cp .Xauthority /tmp/fake-home/
HOME=/tmp/fake-home meld

but got no traceback.

Cheers,
Balint



Bug#824603: meld gives python traceback on first use after installation.

2016-05-17 Thread Jason Butler
Package: meld
Version: 3.16.0-1
Severity: important

Dear Maintainer,

I 
 1. Ran apt-get update; apt-get install meld
 2. ran /usr/bin/meld
 3. See this traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 72, in 
do_startup
self.new_window()
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 138, in 
new_window
window = meldwindow.MeldWindow()
  File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 266, in 
__init__
self.widget.set_help_overlay(shortcut_window)
AttributeError: 'ApplicationWindow' object has no attribute 'set_help_overlay'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 78, in 
do_command_line
tab = self.parse_args(command_line)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 336, in 
parse_args
focus=i == 0)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 149, in 
open_files
window = self.get_meld_window()
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 144, in 
get_meld_window
return self.get_active_window().meldwindow
AttributeError: 'NoneType' object has no attribute 'meldwindow'


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 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 meld depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  gir1.2-gtksource-3.0 3.20.2-1
ii  libcanberra-gtk3-module  0.30-2.1
ii  libgtk-3-0   3.20.3-2
ii  libgtksourceview-3.0-1   3.20.2-1
ii  patch2.7.5-1
ii  python-gi3.18.2-2+b1
ii  python-gi-cairo  3.18.2-2+b1
pn  python:any   

Versions of packages meld recommends:
ii  yelp  3.16.1-1

meld suggests no packages.

-- no debconf information