Custom Query (230 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (112 - 114 of 230)

Ticket Owner Reporter Resolution Summary
#186 Antoine Martin Antoine Martin fixed config apply_changes triggers error in rdp_client_base
Description

as reported by @pmarek on irc:

ConfigureAppletWindow.apply_changes()
Traceback (most recent call last):
 File "winswitch/ui/config_common.py", line 621, in apply_changes
  self.do_apply_changes()
 File "winswitch/ui/config_applet.py", line 1014, in do_apply_changes
  self.applet.settings_modified()
 File "winswitch/client/applet.py", line 757, in settings_modified
  self.init_client_utils()
 File "winswitch/client/client_base.py", line 356, in init_client_utils
  self.client_utils[session_type] = constructor()
 File "winswitch/client/client_base.py", line 338, in rdp_common
 return     RDPClientUtil(self.update_session_status, self.notify)
 File "winswitch/virt/rdp_client_util.py", line 18, in __init__
  RDPClientBase.__init__(self, update_session_status, notify_callback)
 File "winswitch/virt/rdp_client_base.py", line 38, in __init__
  ClientUtilBase.__init__(self, WINDOWS_TYPE, update_session_status, notify_callback)
 File "winswitch/virt/client_util_base.py", line 48, in __init__
  self.options_defaults = self.load_options_defaults()
 File "winswitch/virt/client_util_base.py", line 58, in load_options_defaults
  props = self.get_options_defaults()
 File "winswitch/virt/rdp_client_base.py", line 373, in get_option
  props = self.get_options_defaults()
 File "winswitch/virt/rdp_client_base.py", line 373, in get_options_defaults
  d[KEYMAP] = self.get_default_keymap()
 File "winswitch/virt/rdp_client_base.py", line 85, in get_default_keymap
  if k in self.keymaps.keys():
AttributeError: RDPClientUtil instance has no attribute 'keymaps'

I cannot explain why keymaps is not defined... The RDPClientBase constructor looks like this:

		ClientUtilBase.__init__(self, WINDOWS_TYPE, update_session_status, notify_callback)
		self.ignore_process_returncodes.append(2)		#closing the window causes this returncode!
		if ENABLE_KEYMAP_OPTION:
			self.keymaps = self.find_all_keymaps()
			self.default_keymap = self.get_default_keymap()

(ENABLE_KEYMAP_OPTION is hardcoded to True) And this constructor is called by the RDPClientUtil constructor..

#187 Antoine Martin Antoine Martin fixed replace distro packaging util code with calls to packagekit on Linux
Description

This class: distro_packaging_util.py is horrible and buggy (no '-A' option with gksudo on some distros) so replace it with packagekit.

There are dbus bindings: example and decent usage docs

#189 Antoine Martin pmarek worksforme Error on xpra-reconnect
Description

I had an xterm, a "git gui" and a gvim connected via winswitch from a remote machine. After going away and coming back, only one of the sessions (xterm) could be resumed; new sessions (xterm again) could be started.

Here's a filtered strace on winswitch_server when trying a reconnect:

write(2, "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display\n  warnings.warn(str(e), _gtk.Warning)\n", 130) = 130
write(2, "/usr/lib/xpra/xpra/xposix/gui.py:15: GtkWarning: IA__gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)' failed\n  _display = gtk.gdk.get_display()\n", 154) = 154
write(2, "Traceback (most recent call last):\n", 35) = 35
write(2, "  File \"/usr/bin/xpra\", line 7, in <module>\n", 44) = 44
write(2, "    ", 4) = 4
write(2, "xpra.scripts.main.main(__file__, sys.argv)\n", 43) = 43
write(2, "  File \"/usr/lib/xpra/xpra/scripts/main.py\", line 232, in main\n", 63) = 63
write(2, "    ", 4) = 4
write(2, "run_client(parser, options, args, mode)\n", 40) = 40
write(2, "  File \"/usr/lib/xpra/xpra/scripts/main.py\", line 367, in run_client\n", 69) = 69
write(2, "    ", 4) = 4
write(2, "from xpra.client import XpraClient\n", 35) = 35
write(2, "  File \"/usr/lib/xpra/xpra/client.py\", line 25, in <module>\n", 60) = 60
write(2, "    ", 4) = 4
write(2, "from xpra.platform.gui import ClientExtras\n", 43) = 43
write(2, "  File \"/usr/lib/xpra/xpra/platform/gui.py\", line 16, in <module>\n", 66) = 66
write(2, "    ", 4) = 4
write(2, "from xpra.xposix.gui import *\n", 30) = 30
write(2, "  File \"/usr/lib/xpra/xpra/xposix/gui.py\", line 16, in <module>\n", 64) = 64
write(2, "    ", 4) = 4
write(2, "assert _display, \"cannot open the display with GTK, is DISPLAY set?\"\n", 69) = 69
write(2, "AssertionError", 14) = 14
write(2, ": ", 2) = 2
write(2, "cannot open the display with GTK, is DISPLAY set?", 49) = 49
write(2, "\n", 1) = 1
Note: See TracQuery for help on using queries.