From unknown Wed May 13 01:24:53 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#1259 closed by Mike Gabriel Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:python-x2go) has been marked as closed)
Message-ID: <handler.1259.c.153625797610199.notifdone@bugs.x2go.org>
References: <20180906181931.13D875DAEE@ymir.das-netzwerkteam.de>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 1259
X-X2go-PR-Package: python-x2go
X-X2go-PR-Source: python-x2go
Date: Thu, 06 Sep 2018 18:20:06 +0000
Content-Type: multipart/mixed; boundary="----------=_1536258006-10407-0"

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

------------=_1536258006-10407-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:

#1259: Debian package from heuler repository fails to install

It has been closed by Mike Gabriel Mike Gabriel <mike.gabriel@das-netzwerkt=
eam.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 Gabr=
iel <mike.gabriel@das-netzwerkteam.de> by
replying to this email.


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

------------=_1536258006-10407-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 6 Sep 2018 18:19:36 +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,NO_RELAYS,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1
Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005)
	id 13D875DAEE; Thu,  6 Sep 2018 20:19:30 +0200 (CEST)
From: =?utf-8?q?Mike_Gabriel?= Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 1259-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 1259@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: <20180906181931.13D875DAEE@ymir.das-netzwerkteam.de>
Date: Thu,  6 Sep 2018 20:19:30 +0200 (CEST)

close #1259
thanks

Hello,

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

You can view the complete changelog entry of src:python-x2go (0.6.0.0)
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=29f90ec63df991c0fa91dd312dd446bc89d45cd9;hp=fa04b4f34c6741d962c6bf4d5ce0b9f90aec4545

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.6.0.0-0x2go1
Status: PREVIEW
Date: Thu, 06 Sep 2018 18:35:12 +0200
Fixes: 1259 1275
Changes:
 python-x2go (0.6.0.0-0x2go1) PREVIEW; urgency=medium
 .
   [ Mike Gabriel ]
   * New upstream version (0.6.0.0):
     - Support Python2 and Python3 alike.
     - Test intensively against Debian stable and unstable.
       (Fixes: #1275).
     - Build API doc with Sphinx.
     - Drop unit test framework. Never really used (though we should have).
       (Fixes: #1259).
     - x2go/checkhosts.py: Python3 fix in get_key_fingerprint().
     - Natively support xinerama option.
     - x2go/backends/terminal/plain.py: x2gosession-resume handles
       xinerama support differently from x2gostartagent. Adding it
       as cmdline parameter No. 9.
     - x2go/utils.py: Python3 fix in get_workarea_geometry().
     - Finalize Epydoc-to-Sphinx conversion of doc strings.
     - x2go/session.py: Update list of features.
     - x2go/__init__.py: Reference backends correctly.
     - Drop WINREG backends, never existed really, never will be, probably.
     - x2go/__init__.py: Avoid ares resolver for now, as it currently is
       broken in Debian testing.
     - Makefile.docupload: Add apidoc target.
     - docs/source/: Update API doc tree, winreg modules removed.
   * debian/:
     + Adapt to building Python3 and Python2 variants of Python X2Go.
     + Adapt to building API docs with Sphinx.
 .
   [ Mihai Moldovan ]
   * New upstream version (0.6.0.0):
     - docs/source/conf.py: set minimum sphinx version to 1.0. Needed for
       the sphinx.ext.viewcode extension.
     - docs/source/conf.py: drop minimum sphinx version requirement again,
       detect version manually and adapt config based on this information.
     - docs/source/conf.py: fix parse error due to wrong else usage.
     - docs/source/conf.py: import sphinx module. Hopefully that actually works
       out.
   * python-x2go.spec:
     - Also add fdupes package as a build dependency for RHEL-based distros.
     - Correctly pythonize package, for Fedora, RHEL/EPEL and OpenSuSE. It's
       more verbose than needs to be, but OpenSuSE Leap 42.2 - which is still
       supported currently - does not have python-rpm-macros and we generally
       want to disable the Python 3 package for now. For EPEL/RHEL versions
       lower than 8, we strip Python 3 stuff out completely and rename the
       package to python-x2go.
     - Fix package names in %package (and its %description) and %files sections.
     - Add dependency on the python-configparser backport. Makes at least part
       working with both Python 2 and 3.
     - Actually disable python3 builds on OpenSuSE.
     - OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to
       python{2,3}-python-xlib.
     - Local %defines are buggy in older RPM implementations, work around by
       using %global instead.
     - Merge python(2)-x2go section in main section, since we cannot redefine
       subpackages.
     - Older OpenSuSE Leap versions don't support %{python2_sitelib} - use
       %{python_sitelib} instead.
     - Document %(python_module} definitions.
     - Override python_module macro for OpenSuSE Leap 42.3, the shipped version
       does not what later versions do correctly.
     - %{sle_version} is not defined on TW, so use a %{suse_version} check
       additionally to catch this variant.


------------=_1536258006-10407-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 19 Feb 2018 16:39:13 +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=0.8 required=3.0 tests=BAYES_50,RCVD_IN_MSPIKE_H2,
	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 32F9E5DAEA
	for <submit@bugs.x2go.org>; Mon, 19 Feb 2018 17:39:12 +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 OuScq4-4suo9 for <submit@bugs.x2go.org>;
	Mon, 19 Feb 2018 17:39:07 +0100 (CET)
X-Greylist: delayed 301 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Mon, 19 Feb 2018 17:39:07 CET
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1A0325DAC9
	for <submit@bugs.x2go.org>; Mon, 19 Feb 2018 17:39:07 +0100 (CET)
Received: from [10.10.67.1] ([79.236.223.237]) by mail.gmx.com (mrgmx103
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mh9cj-1fA04K2CTh-00MJsu for
 <submit@bugs.x2go.org>; Mon, 19 Feb 2018 17:34:05 +0100
From: Martin <martin2@quantentunnel.de>
Subject: Debian package from heuler repository fails to install
To: submit@bugs.x2go.org
Message-ID: <f6f820ef-2d7f-c6fd-ceb2-9244d1ebf112@quantentunnel.de>
Date: Mon, 19 Feb 2018 17:34:05 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------858E42C9DEE32A41E32CB1E8"
Content-Language: de-DE-1901
X-Provags-ID: V03:K0:Uk3y2IUS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lD54Qu2/gK8HZ1v6iyy
 LWboWR3Y6uM5U93WDceN0Xx0QDJ1w==

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

Package: python-x2go
Version: 0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1

"apt-get install python-x2go" fails with

Setting up python-x2go (0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1) ...
  File "/usr/lib/python2.7/dist-packages/x2go/tests/test_printing.py", line 46
    print(_printing, file=tf)
                         ^
SyntaxError: invalid syntax

dpkg: error processing package python-x2go (--configure):
 installed python-x2go package post-installation script subprocess returned error exit status 101
Errors were encountered while processing:
 python-x2go
E: Sub-process /usr/bin/dpkg returned an error code (1)

The bug was introduced by commit 327fa5e5f09d7fabb4d0052de1b2876c852797e1 (Port to Python3).
The attached patch restores compatibility with Python 2.6+.

Regards
Martin

--------------858E42C9DEE32A41E32CB1E8
Content-Type: text/x-patch;
 name="restore_compatibility_with_Python_2.6+.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="restore_compatibility_with_Python_2.6+.diff"

--- test_printing.py.orig	2018-01-12 13:46:28.000000000 +0100
+++ test_printing.py	2018-02-19 17:07:44.433726565 +0100
@@ -17,6 +17,8 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+from __future__ import print_function
+
 __package__ = 'x2go.tests'
 __name__    = 'x2go.tests.test_printing'
 

--------------858E42C9DEE32A41E32CB1E8--

------------=_1536258006-10407-0--
