Your message dated Sat, 20 May 2017 09:50:40 +0000
with message-id <e1dc120-0004ae...@fasolo.debian.org>
and subject line Bug#862896: fixed in python-x2go 0.5.0.4-3
has caused the Debian Bug report #862896,
regarding python-x2go breaks with gevent 1.1.0
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 ow...@bugs.debian.org
immediately.)
--
862896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862896
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-x2go
Severity: grave
Control: forwarded -1 https://bugs.x2go.org/1016
Forwarding X2Go upstream bug #1016:
https://bugs.x2go.org/1016
```
I'm using x2go python bindings, and noticed that X2GoSession's .suspend() can
break with gevent 1.1. I've downgraded gevent to 1.0.2 and unchanged code
works fine with it.
Sample code (i believe taken from a sample code):
class Client(X2GoClient):
def do_connect(self):
...
sid = self.register_session(server=session_args.pop('server', None),
username=session_args.pop('username',
None),
profile_name=session_args.pop('profile_name',
None),
port=session_args.pop('port', None),
return_object=True)
sid.update_params(session_args)
sid.connect()
self.clean_sessions(sid.uuid)
sid.start(cmd='XFCE')
session_name = sid.get_session_name()
if session_name is None:
log.error("X2Go session creation: Session name is None,
terminating")
return
sid.suspend()
...
Traceback:
File "/usr/lib/python2.7/dist-packages/x2go/session.py", line 2303, in
suspend
self._lock.release()
File "gevent/_semaphore.py", line 266, in
gevent._semaphore.BoundedSemaphore.release (gevent/gevent._semaphore.c:4866)
File "gevent/_semaphore.py", line 268, in
gevent._semaphore.BoundedSemaphore.release (gevent/gevent._semaphore.c:4802)
thread.error: Semaphore released too many times
```
The issue is actually quite severe as gevent threads in applications
using python-x2go bail out and stop working once that exception is
raised.
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpQdM260T3qz.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
Source: python-x2go
Source-Version: 0.5.0.4-3
We believe that the bug you reported is fixed in the latest version of
python-x2go, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 862...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated python-x2go package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 18 May 2017 13:10:48 +0200
Source: python-x2go
Binary: python-x2go python-x2go-doc
Architecture: source
Version: 0.5.0.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Remote Maintainers <pkg-remote-t...@lists.alioth.debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Description:
python-x2go - Python module providing X2Go client API
python-x2go-doc - Python module providing X2Go client API (documentation)
Closes: 862896
Changes:
python-x2go (0.5.0.4-3) unstable; urgency=medium
.
* debian/control:
+ Add to B-D: dh-python.
* debian/patches:
+ Add 0001_check-lock-state-before-releasing.patch. Required for flawless
operation with gevent 1.1. (Closes: #862896).
Checksums-Sha1:
91881ff727d54b4029b9a306eb289be544f77c50 2170 python-x2go_0.5.0.4-3.dsc
2142d29f495678a5fc656f3afdd68ef2b198472a 25136
python-x2go_0.5.0.4-3.debian.tar.xz
75e42b0795876408a95ffcaef71503b5b83e46f9 6837
python-x2go_0.5.0.4-3_source.buildinfo
Checksums-Sha256:
c45c1e8cec67b7da7fba916b09da40c39aed3aa326c1b4d1f1da2f44c04ed57a 2170
python-x2go_0.5.0.4-3.dsc
3aeb989545d2285f5f7d656fcd985ec13370232969cb48f1d35f5559e65e86c2 25136
python-x2go_0.5.0.4-3.debian.tar.xz
ce2dd18cc55c78e6857ab2314b3bfa4cb316d3663b23cf2ac9154ee4e4bd8302 6837
python-x2go_0.5.0.4-3_source.buildinfo
Files:
4a1c4cb4320987c2a10307557b7e3a10 2170 python optional python-x2go_0.5.0.4-3.dsc
b4f753a2a565732f9abf2dad0cdc31f2 25136 python optional
python-x2go_0.5.0.4-3.debian.tar.xz
d22de58207fdd32d14fbebab259a4951 6837 python optional
python-x2go_0.5.0.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlkgDnwVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx+hkP/0giyezFvu1kiaxg5R/vcSXbTNTZ
QGrcgbm8jwYeL2q19UwK56atHRuBwwGcxgLgCsVAtv+9HdKcg+hulsPbN5JM6xnW
MkiIbOYIrDmVfljx4zrhtIw2y14uBc493wNG6p4ih1MJLoVKAxHPmGWoqtZt6wNs
jisRksMsLCBaVVIOwD4bqLUnveQS6p6b1sieb8a8TaVXk9b5G4gRRL3IWbiF/KYa
gHdOwZryA04LKtcwo6VprYK46fh9QIXsgFTFsKawKxqNgZUvW12qucc+m3lvyLB0
IAMIxYDRsrl6p2WSh/oetfYj6CTd9zkkYjxnmD5SHB2Z33n5gNYpYxWG4H2xO8Ki
SMvvkD9X25OgyNAE/wKBbV+CDAD5lgkAvNgXPZ278IPh/eMFcb5NpMQBqSPUF1j3
NFObQRzjJYdKnVdQM4dy0B78viFARPX060UPaCbzvjyTjQx9TsPcthvS1pTuEQn6
qsyyNjpXEVjpLoqf1fHVFBPBiBpdo9ee8w6C+9Hn0wBXLU/HIBfDZPlzNeNBtrHH
5orkvGhZix/xq7ayh8vGiI+em/bDEXcoGexO5ZgfUwNjdwMzwByexsZqhYhfu0h2
3k169L+oSRXW8JU/vBy5g7JCWMawsEeFMItFUZuM5oVwDGH1eWsdfYBQtlR6w8OG
yCVj1XJ+MTupzQFk
=EQJW
-----END PGP SIGNATURE-----
--- End Message ---