From unknown Mon May 04 17:10:04 2026
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#1286 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (Re: [X2Go-Dev] Bug#1286: python3 support for pyhoca-gui)
Message-ID: <handler.1286.b1286.170535407415666.notifdone@bugs.x2go.org>
References: <20240115212748.Horde.JuoW2FdORrZ5-9LA-waTFnB@mail.das-netzwerkteam.de>
X-X2go-PR-Message: they-closed 1286
X-X2go-PR-Package: pyhoca-gui
X-X2go-PR-Source: pyhoca-gui
Date: Mon, 15 Jan 2024 21:30:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1705354203-16115-0"

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

------------=_1705354203-16115-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-gui package:

#1286: python3 support for pyhoca-gui

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

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 <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
1286: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D1286
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1705354203-16115-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1286) by bugs.x2go.org; 15 Jan 2024 21:27:54 +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-internal.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id CCA715DAD6
	for <1286@bugs.x2go.org>; Mon, 15 Jan 2024 22:27:48 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id BE2BE60153;
	Mon, 15 Jan 2024 21:27:48 +0000 (UTC)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A2007C0075;
	Mon, 15 Jan 2024 22:27:48 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de;
	s=dkim; t=1705354068;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=gFUv6t3sTevJGseaZmW/1Q5sWV8HekdgIMYGlSohZOg=;
	b=crb/z/HiqRWEUC7oSgaNA7ztIHVu8l0mD/76OybPKDmsLmpZCfYT27FkSk87MFsgA70L5Y
	1T5877RQgqeZHTZ3QB28JmSEnduxP4CueVjbCJdxY3cLICHHbn0emWQAdWNQA0NpETuO9M
	iFnCSJNL7DOvATBKX22teQy5z0svHPiQMAlgoG1PP3r8egvMbgdxMK5GAhn8zaJyNvBY/3
	435bI10uNA9fNh4k5asMiSa674ntjMUaXI34JAdZvMdJG4CIJnPSFvdzbldS1+9qtQ9dUj
	TbnIsbIa8ynL4H5QwnX75aBfzshSQ+cWdF+EqJITSkFY/ySe0x+pmkCyFFvtkraEAOPIEW
	qT30dGjtK5OWG9D4GVyVc/MHQlPVW/2xSqLx+9wdzIPa0h7S1XHjdNkm5V7mPA3VArPC3t
	F1AG1kgXY18zTzAttpbSvVZO76ZugYkVUBF52Dhu7hRLvfhCn+i88ideYUVDnQAOQdQlUP
	yV1TR2JAt6lnqHlJyLBmdiR39p5TizSoLNiScgxy2OuAJtzRqyC0LugQZivm70gColPnoZ
	GXaQPhuiGQGU6l0p0/JK+kphMDR/l2PYO5lLbd1/13seWclOR14RRC6EkdZNctkugzBy6S
	rMWE7TGk8uZbL+PS7WB5vf/69bcnOHyX9SgnBXAN43NSeVK9oDOgg=
Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Mon, 15 Jan 2024 21:27:48 +0000
Date: Mon, 15 Jan 2024 21:27:48 +0000
Message-ID: <20240115212748.Horde.JuoW2FdORrZ5-9LA-waTFnB@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Orion Poplawski <orion@nwra.com>
Cc: 1286@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1286: python3 support for pyhoca-gui
References: <20180414190257.Horde.PoRV0erBGhflmF2KCFL7ZrP@mail.das-netzwerkteam.de>
 <801ab948-48f5-cd89-d80e-6ba01c9de874@nwra.com>
In-Reply-To: <801ab948-48f5-cd89-d80e-6ba01c9de874@nwra.com>
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="=_wJYd--W67ynPX6DE-WMljpa";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_wJYd--W67ynPX6DE-WMljpa
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: close -1

On  Sa 14 Apr 2018 22:50:05 CEST, Orion Poplawski wrote:

> On 04/14/2018 01:02 PM, Mike Gabriel wrote:
>> Hi Orion,
>>
>> On=C2=A0 Sa 14 Apr 2018 19:25:15 CEST, Orion Poplawski wrote:
>>
>>> Package: pyhoca-gui
>>> Version: 0.5.0.7
>>>
>>> 2to3 is not sufficient to add python3 support of pyhoca-gui.=C2=A0 The=
=20=20
>>>=20attached patches are needed as well.
>>>
>>> file() is no longer present in python3.=C2=A0 The mro patch fixes:
>>>
>>> /usr/bin/python3.4 setup.py build '--executable=3D/usr/bin/python3.4 -s=
'
>>> Traceback (most recent call last):
>>> =C2=A0 File "setup.py", line 212, in <module>
>>> =C2=A0=C2=A0=C2=A0 class build_installer_bbfreeze(build_installer, Free=
zer, Command):
>>> TypeError: Cannot create a consistent method resolution
>>> order (MRO) for bases object, Command
>>
>> Thanks for giving Pyhoca-GUI and Python3 a shot. Has a python3'ish=20=20
>>=20wxpython already landed in Fedora? Obviously.
>>
>> In Debian, this is still all on Python2.
>>
>> I'll take a look the coming week.
>>
>> Mike
>
> In Fedora there is python3-wxpython4.  Will probably need some porting.
>
> https://wxpython.org/Phoenix/docs/html/MigrationGuide.html

We have Python3 support in pyhoca-gui around for a while now. However,=20=
=20
the=20UI is currently +/- broken with latest wxGTK. Also, the taskbar=20=20
icon=20should be rendered via appindicator API. This should all be=20=20
coming=20"soon"...

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


--=_wJYd--W67ynPX6DE-WMljpa
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

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

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlo1MACgkQmvRrMCV3
GzHA8Q/+LgAwe7As0rb3nkH2T9oxJQfXcYHB6YjeR/6jNqp+lp/UuXoyQkLExxu2
4Kr39HpqsNR/kD0xX36eIKtAqhvVIsfqPGpXxS9uK9CPBZuFctgio0hMLoQ+ZOYe
u6YkdhjUhG3bUIpaRQcr0Dc4w0rnhT9z6FClVIf1Oti122cjvblbHitkSgyebW0/
Gto1fL6jA7dl5khAcIvGuddUYPQT+ZNTgcUyHgb4Wee+/QvIxinwST/jg4Pj5OWQ
A4o0MHWkFbg2x6pNPOoeRA6zS2k/rZhGB61KEZlbW/WFJmBF9qqsqrtzK8pVycMW
Ld3TwRJRDMhF24PA/4lsrY5EBc7a6tJiYUNHHSonfcL3OYLqnfiFkR/akxiMQLPQ
+RctRRUgSzDGYG3E79E3cIFKseYn/o/SMZDrZQxbqgEadyl4ea5ZKeIsXV0bbSeH
PMyu7ISt6PdQiRcSRkSyeklSWCuBvqzRxmiA6lNULX54yMQP3UbPP5iit4cgE/XK
t7oQ6c/IHUqlrvL2A2IoskFkkCTUrsEVnHSsIeDvQoqnN8OQNBUJqbAiqdi+QYxi
TBRnGTlH5T6wkQS3FpaW54/sa3VP28hlfRL4J4Js8x30igCgivyF4pR0ASw57tfP
JuxkZDYpG+8mHZ+lnrUAbEBDp6UQwLSxTs5o/Q6GxgL2DEBTq7A=
=8E4R
-----END PGP SIGNATURE-----

--=_wJYd--W67ynPX6DE-WMljpa--


------------=_1705354203-16115-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 14 Apr 2018 17:25: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,RCVD_IN_DNSWL_NONE,
	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 60BD75DAEA
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 19:25:27 +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 8a45QJfwuOcg for <submit@bugs.x2go.org>;
	Sat, 14 Apr 2018 19:25:21 +0200 (CEST)
Received: from mail.nwra.com (mail.nwra.com [72.52.192.72])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1F2005DA96
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 19:25:20 +0200 (CEST)
Received: from pacas.cora.nwra.com (inferno.cora.nwra.com [208.187.183.84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.nwra.com (Postfix) with ESMTPSA id 30A7A340034
	for <submit@bugs.x2go.org>; Sat, 14 Apr 2018 10:25:18 -0700 (PDT)
To: submit@bugs.x2go.org
From: Orion Poplawski <orion@nwra.com>
Subject: python3 support for pyhoca-gui
Organization: NorthWest Research Associates
Message-ID: <5782d828-107b-ae54-2a6e-1a3034a466a8@nwra.com>
Date: Sat, 14 Apr 2018 11:25:15 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------7ED4837EBB9BC254058333FD"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------7ED4837EBB9BC254058333FD
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Package: pyhoca-gui
Version: 0.5.0.7

2to3 is not sufficient to add python3 support of pyhoca-gui.  The 
attached patches are needed as well.

file() is no longer present in python3.  The mro patch fixes:

/usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
Traceback (most recent call last):
   File "setup.py", line 212, in <module>
     class build_installer_bbfreeze(build_installer, Freezer, Command):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Command

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

--------------7ED4837EBB9BC254058333FD
Content-Type: text/x-patch;
 name="pyhoca-gui-file.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pyhoca-gui-file.patch"

diff -up pyhoca-gui-0.5.0.7/setup.py.file pyhoca-gui-0.5.0.7/setup.py
--- pyhoca-gui-0.5.0.7/setup.py.file	2017-09-24 03:02:41.000000000 -0600
+++ pyhoca-gui-0.5.0.7/setup.py	2018-04-14 10:51:22.120132138 -0600
@@ -33,7 +33,7 @@ PROGRAM_DESC_SHORT = '%s is a graphical
 
 # silence pyflakes with assigning a dummy version here... the real __VERSION__ assignment happens below
 __VERSION__ = '0.0.0.0'
-for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
+for line in open(os.path.join('pyhoca', 'wxgui', '__init__.py'),'r').readlines():
     if (line.startswith('__VERSION__')):
         exec(line.strip())
 if platform.system() == 'Windows':

--------------7ED4837EBB9BC254058333FD
Content-Type: text/x-patch;
 name="pyhoca-gui-mro.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pyhoca-gui-mro.patch"

diff -up pyhoca-gui-0.5.0.7/setup.py.mro pyhoca-gui-0.5.0.7/setup.py
--- pyhoca-gui-0.5.0.7/setup.py.mro	2018-04-14 10:52:19.582773079 -0600
+++ pyhoca-gui-0.5.0.7/setup.py	2018-04-14 11:05:40.829314467 -0600
@@ -209,7 +209,7 @@ class build_installer_py2exe(build_insta
         # First, let py2exe do it's work.
         py2exe.run(self)
 
-class build_installer_bbfreeze(build_installer, Freezer, Command):
+class build_installer_bbfreeze(build_installer, Command, Freezer):
 
     user_options = [
         ('dist-dir=', 'd',

--------------7ED4837EBB9BC254058333FD--

------------=_1705354203-16115-0--
