From unknown Fri May 22 22:50:46 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.507 (Entity 5.507)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#1016 closed by X2Go Release Manager <git-admin@x2go.org>
 (X2Go issue (in src:python-x2go) has been marked as closed)
Message-ID: <handler.1016.c.149485920015089.notifdone@bugs.x2go.org>
References: <20170515143935.BBC5F5DAD2@ymir.das-netzwerkteam.de>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 1016
X-X2go-PR-Package: python-x2go
X-X2go-PR-Source: python-x2go
Date: Mon, 15 May 2017 14:40:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1494859203-15113-0"

This is a multi-part message in MIME format...

------------=_1494859203-15113-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the python-x2go package:

#1016: python-x2go breaks with gevent 1.1.0

It has been closed by X2Go Release Manager <git-admin@x2go.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact X2Go Release Manager <=
git-admin@x2go.org> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1494859203-15113-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 15 May 2017 14:40:00 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00,
	URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 68D8E5DAD1;
	Mon, 15 May 2017 16:39:43 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 66VxgjlX1gJR; Mon, 15 May 2017 16:39:35 +0200 (CEST)
Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005)
	id BBC5F5DAD2; Mon, 15 May 2017 16:39:35 +0200 (CEST)
From:  X2Go Release Manager <git-admin@x2go.org>
To: 1016-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 1016@bugs.x2go.org
Subject: X2Go issue (in src:python-x2go) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20170515143935.BBC5F5DAD2@ymir.das-netzwerkteam.de>
Date: Mon, 15 May 2017 16:39:35 +0200 (CEST)

close #1016
thanks

Hello,

we are very hopeful that X2Go issue #1016 reported by you
has been resolved in the new release (0.5.0.5) of the
X2Go source project »src:python-x2go«.

You can view the complete changelog entry of src:python-x2go (0.5.0.5)
below, and you can use the following link to view all the code changes
between this and the last release of src:python-x2go.

    http://code.x2go.org/gitweb?p=python-x2go.git;a=commitdiff;h=64c77967e7ae4ec038549eb19fef5c6fc5b525af;hp=59e42be74d34033dfd259bcfc54a84399893c44b

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:python-x2go.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:python-x2go
Version: 0.5.0.5-0x2go1
Status: RELEASE
Date: Mon, 15 May 2017 16:38:16 +0200
Fixes: 1016
Changes:
 python-x2go (0.5.0.5-0x2go1) RELEASED; urgency=low
 .
   [ Mike Gabriel ]
   * New upstream version (0.5.0.5):
     - documentation: Fix wording in docstring.
     - Don't blindly release gevent locks. We need to check if a
       semaphore is locked for some code paths and only then release it.
       (Fixes: #1016).
 .
   [ Mihai Moldovan ]
   * New upstream version (0.5.0.5):
     - x2go/__init__.py: update mailing list address.
   * debian/control:
     - Maintainer change in package: X2Go Developers <x2go-dev@lists.x2go.org>.
     - Uploaders: add myself. Also, force a rebuild due to the changed
       versioning.


------------=_1494859203-15113-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 1 Apr 2016 17:37:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 2EBE55DA99
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:37:29 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id cGI9qRw-2Xiu for <submit@bugs.x2go.org>;
	Fri,  1 Apr 2016 19:37:23 +0200 (CEST)
X-Greylist: delayed 551 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 01 Apr 2016 19:37:22 CEST
Received: from karaluch.thelirium.net (karaluch.thelirium.net [94.23.36.169])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E2E9F5DA82
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:37:22 +0200 (CEST)
Received: from gburek.localnet (109-207-48-160.ronus.pl [109.207.48.160])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by karaluch.thelirium.net (Postfix) with ESMTPSA id DE35E2600C8
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:28:10 +0200 (CEST)
From: Cezary Statkiewicz <cezio@thelirium.net>
To: submit@bugs.x2go.org
Subject: python-x2go breaks with gevent 1.1.0
Date: Fri, 01 Apr 2016 19:27:59 +0200
Message-ID: <2350558.GDfSlUhcah@gburek>
Organization: TheLirium.net
User-Agent: KMail/4.14.10 (Linux/4.4.1-gentoo; KDE/4.14.17; x86_64; ; )
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart3298884.tQilaBG0K5"; micalg="pgp-sha1"; protocol="application/pgp-signature"

--nextPart3298884.tQilaBG0K5
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"

Package: python-x2go
Version: 0.5.0.4

 Hi,

 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



 Best Regards,

 Cezary Statkiewicz
 

--nextPart3298884.tQilaBG0K5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlb+r58ACgkQEny9YTznHP5BWwCfXTNZZYepUTxBsscoFhRLypFL
tjIAnitXWH25qy3BlyM7quJ11SCqAd57
=DhmJ
-----END PGP SIGNATURE-----

--nextPart3298884.tQilaBG0K5--

------------=_1494859203-15113-0--
