From unknown Thu Mar 28 15:47:03 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1159: PyHoca CLI: semaphore released too many times error Reply-To: Michael Ledin , 1159@bugs.x2go.org Resent-From: Michael Ledin Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 16 Mar 2017 19:10:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 1159 X-X2Go-PR-Package: pyhoca-cli X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.14896912503365 (code B); Thu, 16 Mar 2017 19:10:02 +0000 Received: (at submit) by bugs.x2go.org; 16 Mar 2017 19:07:30 +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=-1.9 required=3.0 tests=BAYES_00,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 835105DAD0 for ; Thu, 16 Mar 2017 20:07:28 +0100 (CET) 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 St936Bo-DBeK for ; Thu, 16 Mar 2017 20:07:21 +0100 (CET) Received: from mail.appheads.ru (appheads.ru [188.166.77.242]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 613E25DA4A for ; Thu, 16 Mar 2017 20:07:21 +0100 (CET) Received: from [192.168.1.126] (broadband-188-32-81-169.moscow.rt.ru [188.32.81.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.appheads.ru (Postfix) with ESMTPSA id 0D4921DE4F2 for ; Thu, 16 Mar 2017 15:07:20 -0400 (EDT) To: submit@bugs.x2go.org From: Michael Ledin Message-ID: Date: Thu, 16 Mar 2017 22:06:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Package: pyhoca-cli Version: 0.5.0.2 I'm using Archlinux and installed pyhoca-cli package from AUR. Previously I used x2goclient and created several profiles there. Also I tried to use pyhoca-gui but it has the same error (bug #1158). I start x2go desktop session with: pyhoca-cli -P 20170316113957420 -d It starts successfully with log: pyhoca-cli[12140] NOTICE: preparing requested X2Go session pyhoca-cli[12140] (PyHocaCLI) NOTICE: preparing requested X2Go session pyhoca-cli[12140] (x2gosessregistry-pylib) NOTICE: registering X2Go session AppHeads WAN... pyhoca-cli[12140] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-cli[12140] (x2gocontrolsession-pylib) NOTICE: connecting to [my.server.here]:22 pyhoca-cli[12140] (PyHocaCLI) NOTICE: give the X2Go session some time to come up... pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session is now running, the X2Go client's profile name is: AppHeads WAN pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session name is: appheads-50-1489690847_stDXFCE_dp24 pyhoca-cli[12140] (PyHocaCLI) NOTICE: Press CTRL+C to suspend the running session... Then I press Ctrl+C and get an error: ^CKeyboardInterrupt Thu Mar 16 22:01:04 2017 pyhoca-cli[12140] (PyHocaCLI) INFO: Suspending X2Go session appheads-50-1489690847_stDXFCE_dp24 Traceback (most recent call last): File "/usr/bin/pyhoca-cli", line 423, in thisPyHocaCLI.MainLoop() File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py", line 601, in MainLoop self._X2GoClient__suspend_session(self.x2go_session_hash) File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1620, in suspend_session return self.session_registry(session_uuid).suspend(**sessionopts) File "/usr/lib/python2.7/site-packages/x2go/session.py", line 2303, in suspend self._lock.release() File "src/gevent/_semaphore.py", line 266, in gevent._semaphore.BoundedSemaphore.release (src/gevent/gevent._semaphore.c:5353) File "src/gevent/_semaphore.py", line 268, in gevent._semaphore.BoundedSemaphore.release (src/gevent/gevent._semaphore.c:5291) thread.error: Semaphore released too many times if then I'll try to resume the session (I get it name from "pyhoca-cli -P 20170316113957420 -L"): pyhoca-cli -P 20170316113957420 -R appheads-50-1489690847_stDXFCE_dp24 then sometimes I get the same error as above. -- Michael Ledin From unknown Thu Mar 28 15:47:03 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1159: [X2Go-Dev] Bug#1159: PyHoca CLI: semaphore released too many times error Reply-To: Mike Gabriel , 1159@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 15 Jan 2024 21:05:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1159 X-X2Go-PR-Package: pyhoca-cli X-X2Go-PR-Keywords: References: Received: via spool by 1159-submit@bugs.x2go.org id=B1159.17053527019858 (code B ref 1159); Mon, 15 Jan 2024 21:05:02 +0000 Received: (at 1159) by bugs.x2go.org; 15 Jan 2024 21:05:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 482805DAD6 for <1159@bugs.x2go.org>; Mon, 15 Jan 2024 22:04:30 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [148.251.201.105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 37B1660153; Mon, 15 Jan 2024 21:04:30 +0000 (UTC) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 15C51C059B; Mon, 15 Jan 2024 22:04:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de; s=dkim; t=1705352670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=rtnu+ckdtPQmMBKeYO7pdPjkaEae9hP9Kl6K3dlFcVQ=; b=AWeiylYDsML/cj2ldN5AL066cXiT/xdOtnia9RBRg6JndUsqxi7y+YNgjhpV8WFkAJVfED X05hwYJhYtp4Oo5nWtrlYX9UJyHIi9deDCNDG++70a/QwfOJ4/aUQXkRrZbvWcTt20nacJ 9S73Rv94fQ1zDIKI8z+Xv8GXEPRozTE+iSPN7XLX+bPFh4DUv4CwFN/aHuNtdwbpZGWnK+ oGZwcIuJh4kRv6WfUSTQHpsQF4tOGNGVrszTdKw5gkYkUQLBDa1kjFyVTcseI+8VZcdrPY hZVWuSrB6BHEfzvKqzsde+mOJ9E9yiJNWfUOXiVohTlzdWjTV2yYZvACWxNHA1bFI+kUpS ttPJg5OFVb3THIKKCflVVHaztbGJ13dCkS4C8vCH08K/VwzB50D7hjk6ZGAWZOmw+H/T2J +sxCC3vSrpBvxus5QF1UA18TlA26BXjs/0U66MDViQHhOnS+EXfLC0BBvlvbzJV2Clxwjd 52uneIcbjiVfAzd8FoAbCsQaNb3brUcqVgTAVn2Mbznek72KfiNAUKKDwZWSUfF1gKEAsm 4QI3kc641Cc+5/ELui8aDWG/m06HSozfwYHFheVXodjbs6bf2NxKVcHK7QfKzKEZhYco6R mMBGxomF4jzjS+Yfz8/fx0XD+DiXTi9/Unna2825kBtOyN2m6DWKc= Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Mon, 15 Jan 2024 21:04:30 +0000 Date: Mon, 15 Jan 2024 21:04:30 +0000 Message-ID: <20240115210430.Horde.Q4ZJMwpX2dfJpLcL04qgLPT@mail.das-netzwerkteam.de> From: Mike Gabriel To: Michael Ledin , 1159@bugs.x2go.org In-Reply-To: User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 153.92.39.241 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Content-Type: multipart/signed; boundary="=_C7mlCvb-TJy7PSugtaRYF9T"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_C7mlCvb-TJy7PSugtaRYF9T Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: close -1 Hi Michael, On Do 16 M=C3=A4r 2017 20:06:44 CET, Michael Ledin wrote: > Package: pyhoca-cli > > Version: 0.5.0.2 > > > I'm using Archlinux and installed pyhoca-cli package from AUR. > > Previously I used x2goclient and created several profiles there.=20=20 >=20Also I tried to use pyhoca-gui but it has the same error (bug #1158). > > I start x2go desktop session with: > > > pyhoca-cli -P 20170316113957420 -d > > > It starts successfully with log: > > pyhoca-cli[12140] NOTICE: preparing requested X2Go session > pyhoca-cli[12140] (PyHocaCLI) NOTICE: preparing requested X2Go session > pyhoca-cli[12140] (x2gosessregistry-pylib) NOTICE: registering X2Go=20=20 >=20session AppHeads WAN... > pyhoca-cli[12140] (x2goclient-pylib) NOTICE: initializing X2Go session... > pyhoca-cli[12140] (x2gocontrolsession-pylib) NOTICE: connecting to=20=20 >=20[my.server.here]:22 > pyhoca-cli[12140] (PyHocaCLI) NOTICE: give the X2Go session some=20=20 >=20time to come up... > pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session is now running, the=20= =20 >=20X2Go client's profile name is: AppHeads WAN > pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session name is:=20=20 >=20appheads-50-1489690847_stDXFCE_dp24 > pyhoca-cli[12140] (PyHocaCLI) NOTICE: Press CTRL+C to suspend the=20=20 >=20running session... > > > Then I press Ctrl+C and get an error: > > ^CKeyboardInterrupt > Thu Mar 16 22:01:04 2017 > pyhoca-cli[12140] (PyHocaCLI) INFO: Suspending X2Go session=20=20 >=20appheads-50-1489690847_stDXFCE_dp24 > Traceback (most recent call last): > File "/usr/bin/pyhoca-cli", line 423, in > thisPyHocaCLI.MainLoop() > File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py",=20=20 >=20line 601, in MainLoop > self._X2GoClient__suspend_session(self.x2go_session_hash) > File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1620,=20= =20 >=20in suspend_session > return self.session_registry(session_uuid).suspend(**sessionopts) > File "/usr/lib/python2.7/site-packages/x2go/session.py", line=20=20 >=202303, in suspend > self._lock.release() > File "src/gevent/_semaphore.py", line 266, in=20=20 >=20gevent._semaphore.BoundedSemaphore.release=20=20 >=20(src/gevent/gevent._semaphore.c:5353) > File "src/gevent/_semaphore.py", line 268, in=20=20 >=20gevent._semaphore.BoundedSemaphore.release=20=20 >=20(src/gevent/gevent._semaphore.c:5291) > thread.error: Semaphore released too many times > > > if then I'll try to resume the session (I get it name from=20=20 >=20"pyhoca-cli -P 20170316113957420 -L"): > > > pyhoca-cli -P 20170316113957420 -R appheads-50-1489690847_stDXFCE_dp24 > > > then sometimes I get the same error as above. Unfortunately, I know too little about what version of gevent and so=20=20 on=20is in ArchLinux. Sorry for not having responded to this any earlier. On recent Debian I haven't noticed such an issue, but I know from the=20=20 past=20that we had such an issue. I will close this issue now in the process of migrating of X2Go BTS to=20= =20 X2Go=20GitLab's isssue tracker. light+love Mike --=20 DAS-NETZWERKTEAM c\o=20Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de --=_C7mlCvb-TJy7PSugtaRYF9T Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlndwACgkQmvRrMCV3 GzGPFQ/9EVg53TpHXg0Vvr1BM5tGZpPJB58VSs0D8cYuHyFwX1jqOePWbn3L2v0V okvCIK82K2ahJxZn5qVCB/J/pFWlwuFEB3lzt4j2XYtse9NDHut0V01SCy9nQnpl 4Mas65NVguTH4dIPWd+sQo7yNZZmUrMPz49Ee7Q+Ir/37eWEIeDCvwBIG8i1Cy55 HYlR+A0d6jlhYLV5FAjpuftmG7qLyS5zvCstaMclirh7SnCkgpBlRQDelDo4H/JI H27eTCknseWdtJTqntN48pUBYiKd5ZIPHtdQsDzz65zzBl+LNv0F4Lt9jl760t0z dBmZH7jjZGymOGtVtvqNhQP2d82tS6zLK0kkJH69w96zQaLDKC0+a2JwMMg72+N6 1LSy3vYlpNz6VUjB/toKyt5zscYicWTVsBBFyo370Hrtz8cCK6m1aRT7R13K7EJV ladGN/Z3X/wThNJK7ZHZYgAMgNLmgKBx/ouALdya7kgW413Gor68RX2vtOhf4ODS +OBTcGHmXBO1hcbl15+uYywC44i8HZSS5YLSDlZpYRaP62MFfV8P5n67h4K4gNe+ LNyB82zKS+3ewWDgHfbea3p2DBZnvppUR4aZjkkLqhxYqP3Xs+q2H5jiJJpjtIkh lgHp7GwIwWwVMSc+6WfCTH2GCRCsRLhWV5nOMdAEFq3wGFJ5n/E= =2jjw -----END PGP SIGNATURE----- --=_C7mlCvb-TJy7PSugtaRYF9T-- From unknown Thu Mar 28 15:47:03 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#1159 closed by Mike Gabriel (Re: [X2Go-Dev] Bug#1159: PyHoca CLI: semaphore released too many times error) Message-ID: References: <20240115210430.Horde.Q4ZJMwpX2dfJpLcL04qgLPT@mail.das-netzwerkteam.de> X-X2go-PR-Message: they-closed 1159 X-X2go-PR-Package: pyhoca-cli X-X2go-PR-Source: pyhoca-cli Date: Mon, 15 Jan 2024 21:05:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1705352707-9885-0" This is a multi-part message in MIME format... ------------=_1705352707-9885-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 pyhoca-cli package: #1159: PyHoca CLI: semaphore released too many times error It has been closed by Mike Gabriel . 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 Mike Gabriel by replying to this email. --=20 1159: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D1159 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1705352707-9885-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1159) by bugs.x2go.org; 15 Jan 2024 21:05:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 482805DAD6 for <1159@bugs.x2go.org>; Mon, 15 Jan 2024 22:04:30 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [148.251.201.105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 37B1660153; Mon, 15 Jan 2024 21:04:30 +0000 (UTC) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 15C51C059B; Mon, 15 Jan 2024 22:04:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de; s=dkim; t=1705352670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=rtnu+ckdtPQmMBKeYO7pdPjkaEae9hP9Kl6K3dlFcVQ=; b=AWeiylYDsML/cj2ldN5AL066cXiT/xdOtnia9RBRg6JndUsqxi7y+YNgjhpV8WFkAJVfED X05hwYJhYtp4Oo5nWtrlYX9UJyHIi9deDCNDG++70a/QwfOJ4/aUQXkRrZbvWcTt20nacJ 9S73Rv94fQ1zDIKI8z+Xv8GXEPRozTE+iSPN7XLX+bPFh4DUv4CwFN/aHuNtdwbpZGWnK+ oGZwcIuJh4kRv6WfUSTQHpsQF4tOGNGVrszTdKw5gkYkUQLBDa1kjFyVTcseI+8VZcdrPY hZVWuSrB6BHEfzvKqzsde+mOJ9E9yiJNWfUOXiVohTlzdWjTV2yYZvACWxNHA1bFI+kUpS ttPJg5OFVb3THIKKCflVVHaztbGJ13dCkS4C8vCH08K/VwzB50D7hjk6ZGAWZOmw+H/T2J +sxCC3vSrpBvxus5QF1UA18TlA26BXjs/0U66MDViQHhOnS+EXfLC0BBvlvbzJV2Clxwjd 52uneIcbjiVfAzd8FoAbCsQaNb3brUcqVgTAVn2Mbznek72KfiNAUKKDwZWSUfF1gKEAsm 4QI3kc641Cc+5/ELui8aDWG/m06HSozfwYHFheVXodjbs6bf2NxKVcHK7QfKzKEZhYco6R mMBGxomF4jzjS+Yfz8/fx0XD+DiXTi9/Unna2825kBtOyN2m6DWKc= Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Mon, 15 Jan 2024 21:04:30 +0000 Date: Mon, 15 Jan 2024 21:04:30 +0000 Message-ID: <20240115210430.Horde.Q4ZJMwpX2dfJpLcL04qgLPT@mail.das-netzwerkteam.de> From: Mike Gabriel To: Michael Ledin , 1159@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#1159: PyHoca CLI: semaphore released too many times error In-Reply-To: User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 153.92.39.241 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Content-Type: multipart/signed; boundary="=_C7mlCvb-TJy7PSugtaRYF9T"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_C7mlCvb-TJy7PSugtaRYF9T Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: close -1 Hi Michael, On Do 16 M=C3=A4r 2017 20:06:44 CET, Michael Ledin wrote: > Package: pyhoca-cli > > Version: 0.5.0.2 > > > I'm using Archlinux and installed pyhoca-cli package from AUR. > > Previously I used x2goclient and created several profiles there.=20=20 >=20Also I tried to use pyhoca-gui but it has the same error (bug #1158). > > I start x2go desktop session with: > > > pyhoca-cli -P 20170316113957420 -d > > > It starts successfully with log: > > pyhoca-cli[12140] NOTICE: preparing requested X2Go session > pyhoca-cli[12140] (PyHocaCLI) NOTICE: preparing requested X2Go session > pyhoca-cli[12140] (x2gosessregistry-pylib) NOTICE: registering X2Go=20=20 >=20session AppHeads WAN... > pyhoca-cli[12140] (x2goclient-pylib) NOTICE: initializing X2Go session... > pyhoca-cli[12140] (x2gocontrolsession-pylib) NOTICE: connecting to=20=20 >=20[my.server.here]:22 > pyhoca-cli[12140] (PyHocaCLI) NOTICE: give the X2Go session some=20=20 >=20time to come up... > pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session is now running, the=20= =20 >=20X2Go client's profile name is: AppHeads WAN > pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session name is:=20=20 >=20appheads-50-1489690847_stDXFCE_dp24 > pyhoca-cli[12140] (PyHocaCLI) NOTICE: Press CTRL+C to suspend the=20=20 >=20running session... > > > Then I press Ctrl+C and get an error: > > ^CKeyboardInterrupt > Thu Mar 16 22:01:04 2017 > pyhoca-cli[12140] (PyHocaCLI) INFO: Suspending X2Go session=20=20 >=20appheads-50-1489690847_stDXFCE_dp24 > Traceback (most recent call last): > File "/usr/bin/pyhoca-cli", line 423, in > thisPyHocaCLI.MainLoop() > File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py",=20=20 >=20line 601, in MainLoop > self._X2GoClient__suspend_session(self.x2go_session_hash) > File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1620,=20= =20 >=20in suspend_session > return self.session_registry(session_uuid).suspend(**sessionopts) > File "/usr/lib/python2.7/site-packages/x2go/session.py", line=20=20 >=202303, in suspend > self._lock.release() > File "src/gevent/_semaphore.py", line 266, in=20=20 >=20gevent._semaphore.BoundedSemaphore.release=20=20 >=20(src/gevent/gevent._semaphore.c:5353) > File "src/gevent/_semaphore.py", line 268, in=20=20 >=20gevent._semaphore.BoundedSemaphore.release=20=20 >=20(src/gevent/gevent._semaphore.c:5291) > thread.error: Semaphore released too many times > > > if then I'll try to resume the session (I get it name from=20=20 >=20"pyhoca-cli -P 20170316113957420 -L"): > > > pyhoca-cli -P 20170316113957420 -R appheads-50-1489690847_stDXFCE_dp24 > > > then sometimes I get the same error as above. Unfortunately, I know too little about what version of gevent and so=20=20 on=20is in ArchLinux. Sorry for not having responded to this any earlier. On recent Debian I haven't noticed such an issue, but I know from the=20=20 past=20that we had such an issue. I will close this issue now in the process of migrating of X2Go BTS to=20= =20 X2Go=20GitLab's isssue tracker. light+love Mike --=20 DAS-NETZWERKTEAM c\o=20Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de --=_C7mlCvb-TJy7PSugtaRYF9T Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlndwACgkQmvRrMCV3 GzGPFQ/9EVg53TpHXg0Vvr1BM5tGZpPJB58VSs0D8cYuHyFwX1jqOePWbn3L2v0V okvCIK82K2ahJxZn5qVCB/J/pFWlwuFEB3lzt4j2XYtse9NDHut0V01SCy9nQnpl 4Mas65NVguTH4dIPWd+sQo7yNZZmUrMPz49Ee7Q+Ir/37eWEIeDCvwBIG8i1Cy55 HYlR+A0d6jlhYLV5FAjpuftmG7qLyS5zvCstaMclirh7SnCkgpBlRQDelDo4H/JI H27eTCknseWdtJTqntN48pUBYiKd5ZIPHtdQsDzz65zzBl+LNv0F4Lt9jl760t0z dBmZH7jjZGymOGtVtvqNhQP2d82tS6zLK0kkJH69w96zQaLDKC0+a2JwMMg72+N6 1LSy3vYlpNz6VUjB/toKyt5zscYicWTVsBBFyo370Hrtz8cCK6m1aRT7R13K7EJV ladGN/Z3X/wThNJK7ZHZYgAMgNLmgKBx/ouALdya7kgW413Gor68RX2vtOhf4ODS +OBTcGHmXBO1hcbl15+uYywC44i8HZSS5YLSDlZpYRaP62MFfV8P5n67h4K4gNe+ LNyB82zKS+3ewWDgHfbea3p2DBZnvppUR4aZjkkLqhxYqP3Xs+q2H5jiJJpjtIkh lgHp7GwIwWwVMSc+6WfCTH2GCRCsRLhWV5nOMdAEFq3wGFJ5n/E= =2jjw -----END PGP SIGNATURE----- --=_C7mlCvb-TJy7PSugtaRYF9T-- ------------=_1705352707-9885-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 16 Mar 2017 19:07:30 +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=-1.9 required=3.0 tests=BAYES_00,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 835105DAD0 for ; Thu, 16 Mar 2017 20:07:28 +0100 (CET) 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 St936Bo-DBeK for ; Thu, 16 Mar 2017 20:07:21 +0100 (CET) Received: from mail.appheads.ru (appheads.ru [188.166.77.242]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 613E25DA4A for ; Thu, 16 Mar 2017 20:07:21 +0100 (CET) Received: from [192.168.1.126] (broadband-188-32-81-169.moscow.rt.ru [188.32.81.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.appheads.ru (Postfix) with ESMTPSA id 0D4921DE4F2 for ; Thu, 16 Mar 2017 15:07:20 -0400 (EDT) To: submit@bugs.x2go.org From: Michael Ledin Subject: PyHoca CLI: semaphore released too many times error Message-ID: Date: Thu, 16 Mar 2017 22:06:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Package: pyhoca-cli Version: 0.5.0.2 I'm using Archlinux and installed pyhoca-cli package from AUR. Previously I used x2goclient and created several profiles there. Also I tried to use pyhoca-gui but it has the same error (bug #1158). I start x2go desktop session with: pyhoca-cli -P 20170316113957420 -d It starts successfully with log: pyhoca-cli[12140] NOTICE: preparing requested X2Go session pyhoca-cli[12140] (PyHocaCLI) NOTICE: preparing requested X2Go session pyhoca-cli[12140] (x2gosessregistry-pylib) NOTICE: registering X2Go session AppHeads WAN... pyhoca-cli[12140] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-cli[12140] (x2gocontrolsession-pylib) NOTICE: connecting to [my.server.here]:22 pyhoca-cli[12140] (PyHocaCLI) NOTICE: give the X2Go session some time to come up... pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session is now running, the X2Go client's profile name is: AppHeads WAN pyhoca-cli[12140] (PyHocaCLI) INFO: X2Go session name is: appheads-50-1489690847_stDXFCE_dp24 pyhoca-cli[12140] (PyHocaCLI) NOTICE: Press CTRL+C to suspend the running session... Then I press Ctrl+C and get an error: ^CKeyboardInterrupt Thu Mar 16 22:01:04 2017 pyhoca-cli[12140] (PyHocaCLI) INFO: Suspending X2Go session appheads-50-1489690847_stDXFCE_dp24 Traceback (most recent call last): File "/usr/bin/pyhoca-cli", line 423, in thisPyHocaCLI.MainLoop() File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py", line 601, in MainLoop self._X2GoClient__suspend_session(self.x2go_session_hash) File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1620, in suspend_session return self.session_registry(session_uuid).suspend(**sessionopts) File "/usr/lib/python2.7/site-packages/x2go/session.py", line 2303, in suspend self._lock.release() File "src/gevent/_semaphore.py", line 266, in gevent._semaphore.BoundedSemaphore.release (src/gevent/gevent._semaphore.c:5353) File "src/gevent/_semaphore.py", line 268, in gevent._semaphore.BoundedSemaphore.release (src/gevent/gevent._semaphore.c:5291) thread.error: Semaphore released too many times if then I'll try to resume the session (I get it name from "pyhoca-cli -P 20170316113957420 -L"): pyhoca-cli -P 20170316113957420 -R appheads-50-1489690847_stDXFCE_dp24 then sometimes I get the same error as above. -- Michael Ledin ------------=_1705352707-9885-0--