[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947953: python3-x2go: Makes pyhoca-gui fail to start.



Package: python3-x2go
Version: 0.6.1.3-1
Severity: normal
Tags: upstream

Hi,

pyhoca-gui fails to start with this error:

%<---
Traceback (most recent call last):
  File "/usr/bin/pyhoca-gui", line 50, in <module>
    app.main(args=args, logger=logger, liblogger=liblogger)
  File "/usr/lib/python3/dist-packages/pyhoca/wxgui/launcher.py", line 404, in 
main
    thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, appname=self.PROG_NAME, 
version=self.VERSION)
  File "/usr/lib/python3/dist-packages/pyhoca/wxgui/frontend.py", line 239, in 
__init__
    x2go.X2GoClient.__init__(self, **_x2goclient_kwargs)
  File "/usr/lib/python3/dist-packages/x2go/client.py", line 309, in __init__
    self.pulseaudio_installdir = os.path.normpath(pulseaudio_installdir)
  File "/usr/lib/python3.7/posixpath.py", line 340, in normpath
    path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not tuple
%<---

The error lies at line 308 in /usr/lib/python3/dist-packages/x2go/client.py:

%<---
        if pulseaudio_installdir == None:
            pulseaudio_installdir = os.path.join(os.getcwd(), 'pulseaudio'),
        self.pulseaudio_installdir = os.path.normpath(pulseaudio_installdir)
%<---

Removing the trailing comma makes the package work as intended.

Happy new year.

Yannick

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.6 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-x2go depends on:
ii  nxproxy             2:3.5.99.22-1
ii  python3             3.7.5-3
ii  python3-future      0.16.0-1
ii  python3-gevent      1.4.0-1+b1
ii  python3-paramiko    2.6.0-1
ii  python3-requests    2.22.0-2
ii  python3-simplejson  3.16.0-2+b1
ii  python3-xlib        0.23-2

Versions of packages python3-x2go recommends:
ii  cups-bsd [lpr]    2.3.1-1
ii  pulseaudio        13.0-3
ii  sshfs             3.6.0+repack-1
pn  x2gokdriveclient  <none>

Versions of packages python3-x2go suggests:
pn  mteleplayer-clientside  <none>
pn  telekinesis-client      <none>

-- no debconf information


Reply to: