fileChooser dialogs doesn't work

Bug #1345933 reported by Fernando Fernandez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gamecaster
New
Undecided
Unassigned

Bug Description

In Arch Linux the fileChooser dialogs doesn't work at all. The patch fixes it

Python: 2.7.7
Pygtk: 2.24.0
Gtk2: 2.24.24
Gtk3: 3.12.2

gamecaster -d output:

Indicator - DEBUG - Indicator initialized
Main - DEBUG - Audio switch status read from settings file
Main - DEBUG - Auto recording status read from settings file
Main - DEBUG - Video bitrate read from settings file
Main - DEBUG - Threadcount read from settings file
Main - DEBUG - Capture command built form arguments in settings file - ['glc-capture', '--start', '-k', 'F4']
Main - DEBUG - Encode command built from arguments in settings file - ['gamecaster-encode.sh', '8000', '0']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gamecaster/gamecaster.py", line 386, in on_workingdirectory_browsebutton_clicked
    folderins = FolderChooser()
  File "/usr/lib/python2.7/site-packages/gamecaster/gamecaster.py", line 82, in __init__
    dialog = Gtk.FileChooserDialog("Select Folder", self, Gtk.FileChooserAction.SELECT_FOLDER, (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, "Select", Gtk.ResponseType.OK))
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 500, in __init__
    self._init(*args, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
TypeError: could not convert value for property `transient_for' from FolderChooser to GtkWindow
Main - DEBUG - Record button clicked and window initialized
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gamecaster/gamecaster.py", line 403, in on_gamebinarychooser_browsebutton_clicked
    filename = fileins().filename
  File "/usr/lib/python2.7/site-packages/gamecaster/gamecaster.py", line 55, in __init__
    dialog = Gtk.FileChooserDialog("Select File", self, Gtk.FileChooserAction.OPEN, (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OPEN, Gtk.ResponseType.OK))
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 500, in __init__
    self._init(*args, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
  File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 175, in new_init
    return super_init_func(self, **new_kwargs)
TypeError: could not convert value for property `transient_for' from FileChooser to GtkWindow

Revision history for this message
Fernando Fernandez (bereltarmaciltur) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.