registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #24923
[Bug 663865] [NEW] Program doesn't launch on Debian
Public bug reported:
Traceback (most recent call last):
File "/usr/bin/vineyard-preferences", line 66, in __initialise__
self.__init_gui()
File "/usr/bin/vineyard-preferences", line 74, in __init_gui
self.widgets = vineyard.LoadWidgets(self, connect_signals=True)
File "/usr/lib/pymodules/python2.6/vineyard/common.py", line 217, in __init__
self._builder.add_from_file(xmlfile)
glib.GError: Invalid object type `GtkSpinner'
After this, it just stays like this in the terminal, failing to launch a window. It doesn't terminate.
GtkSpinner does not seem to be referenced by a Debian package. When I looked at the code:
# Remove unsupported widgets, somewhat of a hack,
# but at least we get to support several versions of Gtk.
if GTK_VERSION < 2.2:
with open(xmlfile, 'r') as f:
guidata = f.read()
guidata = re.sub(
r'(?ms)$\s+<child>\s+<object class="GtkSpinner".*?</child>',
'', guidata)
guidata = guidata.replace(
'<requires lib="gtk+" version="2.20"/>',
'<requires lib="gtk+" version="2.18"/>')
self._builder.add_from_string(guidata)
else:
self._builder.add_from_file(xmlfile)
if connect_signals and handlerclass != None:
self._builder.connect_signals(handlerclass)
self._widgets = {}
It references hacking for multiple GTK versions but still fails to
launch. I even upgraded from GTK 2.20 to GTK 2.22 and it doesn't launch.
Wine version: 1.3.5 (Ubuntu PPA)
Vineyard version: 0.1.5-pre2
python-wine version: 0.3-pre3
Debian Squeeze/Sid (Jupiter OS)
** Affects: vineyard
Importance: Undecided
Status: New
** Affects: debian
Importance: Undecided
Status: New
** Also affects: debian
Importance: Undecided
Status: New
** Description changed:
Traceback (most recent call last):
- File "/usr/bin/vineyard-preferences", line 66, in __initialise__
- self.__init_gui()
- File "/usr/bin/vineyard-preferences", line 74, in __init_gui
- self.widgets = vineyard.LoadWidgets(self, connect_signals=True)
- File "/usr/lib/pymodules/python2.6/vineyard/common.py", line 217, in __init__
- self._builder.add_from_file(xmlfile)
+ File "/usr/bin/vineyard-preferences", line 66, in __initialise__
+ self.__init_gui()
+ File "/usr/bin/vineyard-preferences", line 74, in __init_gui
+ self.widgets = vineyard.LoadWidgets(self, connect_signals=True)
+ File "/usr/lib/pymodules/python2.6/vineyard/common.py", line 217, in __init__
+ self._builder.add_from_file(xmlfile)
glib.GError: Invalid object type `GtkSpinner'
- GtkSpinner does not seem to be referenced by a Debian package. When I
- looked at the code:
- # Remove unsupported widgets, somewhat of a hack,
- # but at least we get to support several versions of Gtk.
- if GTK_VERSION < 2.2:
- with open(xmlfile, 'r') as f:
- guidata = f.read()
- guidata = re.sub(
- r'(?ms)$\s+<child>\s+<object class="GtkSpinner".*?</child>',
- '', guidata)
- guidata = guidata.replace(
- '<requires lib="gtk+" version="2.20"/>',
- '<requires lib="gtk+" version="2.18"/>')
- self._builder.add_from_string(guidata)
- else:
- self._builder.add_from_file(xmlfile)
- if connect_signals and handlerclass != None:
- self._builder.connect_signals(handlerclass)
- self._widgets = {}
+ After this, it just stays like this in the terminal, failing to launch a window. It doesn't terminate.
+ GtkSpinner does not seem to be referenced by a Debian package. When I looked at the code:
+
+ # Remove unsupported widgets, somewhat of a hack,
+ # but at least we get to support several versions of Gtk.
+ if GTK_VERSION < 2.2:
+ with open(xmlfile, 'r') as f:
+ guidata = f.read()
+ guidata = re.sub(
+ r'(?ms)$\s+<child>\s+<object class="GtkSpinner".*?</child>',
+ '', guidata)
+ guidata = guidata.replace(
+ '<requires lib="gtk+" version="2.20"/>',
+ '<requires lib="gtk+" version="2.18"/>')
+ self._builder.add_from_string(guidata)
+ else:
+ self._builder.add_from_file(xmlfile)
+ if connect_signals and handlerclass != None:
+ self._builder.connect_signals(handlerclass)
+ self._widgets = {}
It references hacking for multiple GTK versions but still fails to
launch. I even upgraded from GTK 2.20 to GTK 2.22 and it doesn't launch.
+
+ Wine version: 1.3.5 (Ubuntu PPA)
+ Vineyard version: 0.1.5-pre2
+ python-wine version: 0.3-pre3
+ Debian Squeeze/Sid (Jupiter OS)
--
Program doesn't launch on Debian
https://bugs.launchpad.net/bugs/663865
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
Follow ups
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: Christian Dannie Storgaard, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: Christian Dannie Storgaard, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: Christian Dannie Storgaard, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: Christian Dannie Storgaard, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] Re: Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
-
[Bug 663865] [NEW] Program doesn't launch on Debian
From: JupiterOS, 2010-10-20
References