Your message dated Wed, 8 Jan 2020 09:09:18 +0100
with message-id <[email protected]>
and subject line Re: python3-x2go: Makes pyhoca-gui fail to start.
has caused the Debian Bug report #947953,
regarding python3-x2go: Makes pyhoca-gui fail to start.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
947953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947953
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Version: 0.6.1.3-2
Hi,
On Thu, 02 Jan 2020 18:57:39 +0100 Yannick Roehlly
<[email protected]> wrote:
> 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
The issue has meanwhile been resolved in follow-up upload 0.6.1.3-2.
Mike
--- End Message ---