rocket-depot
rocket-depot copied to clipboard
Fedora 23: traceback when attempting to use freerdp
rdesktop works ok, but selecting freerdp results in an exception:
[smiller@scottbookpro ~]$ rocket-depot /usr/bin/rocket-depot:12: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded. from gi.repository import GLib, GdkPixbuf, Gtk /usr/bin/rocket-depot:12: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import GLib, GdkPixbuf, Gtk Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner self.run() File "/usr/bin/rocket-depot", line 238, in run p = subprocess.Popen(self.cmdline, stderr=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
[smiller@scottbookpro ~]$ cat /etc/redhat-release Fedora release 23 (Twenty Three)
[smiller@scottbookpro ~]$ which xfreerdp /usr/bin/xfreerdp
[smiller@scottbookpro ~]$ python --version Python 2.7.10
Try out this new code. In the meantime I need to fix my GPG stuff before I can upload a new version to pypi.
+1
GTK warning gone. Still doesn't like freerdp.
[smiller@scottbookpro ~]$ rocket-depot Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner self.run() File "/usr/bin/rocket-depot", line 245, in run p = subprocess.Popen(self.cmdline, stderr=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Run it again with --debug on the CLI and paste the output.
Ah, my apologies. No xterm installed.
[smiller@scottbookpro ~]$ rocket-depot --debug debugging enabled Command to execute: xterm -hold -e /usr/bin/xfreerdp +clipboard /u:BANDWIDTHLOCAL\smiller /size:1024x768 -grab-keyboard /v:192.168.7.41 Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner self.run() File "/usr/bin/rocket-depot", line 245, in run p = subprocess.Popen(self.cmdline, stderr=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
[smiller@scottbookpro ~]$ which xfreerdp /usr/bin/xfreerdp [smiller@scottbookpro ~]$ which xterm /usr/bin/which: no xterm in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/smiller/.local/bin:/home/smiller/bin)
Still a bug. I need to do a few things:
- use the default terminal instead of requiring xterm
- provide an error message if a program is missing
- find the full path to the default terminal
Fedora packages get us closer here, but I still need to do dependency checking for PyPI users.
7c3f809921530cea805160df8373827dd112761a
I'm in Fedora now!
https://apps.fedoraproject.org/packages/rocket-depot
Close me?
Negative, you need to submit a pull request that checks for dependencies when installed via pip!