X2Go Bug report logs - #1259
Debian package from heuler repository fails to install

version graph

Package: python-x2go; Maintainer for python-x2go is X2Go Developers <x2go-dev@lists.x2go.org>; Source for python-x2go is src:python-x2go.

Reported by: Martin <martin2@quantentunnel.de>

Date: Mon, 19 Feb 2018 16:40:02 UTC

Severity: normal

Tags: pending

Found in version 0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1

Fixed in version 0.5.99.0

Done: Mike Gabriel Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 19 Feb 2018 16:39:13 +0000
From martin2@quantentunnel.de  Mon Feb 19 17:39:12 2018
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:Uk3y2IUSOuWHRxML8L9tp8z+hLFtr24ju+1Q+wKglhF3lVBKWsK
 WLQ0KfuVgTVS0IMgQlV2MbI5os4uB8C5yTK9lsYRoAQuUHM12nmWUFE6jbG4HjpdxYJMFZB
 spa6qClV7l+QyZRN5KEacm2QzVj83dgeb9xtwtyN4g4H93+jS3i+HwHmSrGv/lyKcntBu/v
 9FF8z91Jaw5spRGcp56+Q==
X-UI-Out-Filterresults: notjunk:1;V01:K0:SfKiBsYXZ80=:2GNcftshLY34HjglPoqOcO
 rr/BY/9xRKCF/96J1XWDiXjxKcp2T3V5fCfvomlMn0xasDSmkTscvKe25bhoH5k6c7bD9ZzzX
 7vapK0vUgOO8cD/GpSA8eJWRqDUREF19aYemvKOfEGTJCNMP5veFGVi1/pEK9l5Ikd/hoIx0R
 JtQ/us+9TpYipyRtZK0mOyZdIsvhROExa7qBDsvuj28g6WooluiyTFZsImAM+g6oebW1w2bLL
 NZO+fNbCs0Pj4V1PZQUd3Gyp0w6V91Q7//aPEdbY7ujIiDAA8kthpCLH+UtRR89ByYRlIRGLl
 +JMg+tb+aWMTls6bL35N5v7IPob/0o55M31D94henx3J1XqFBz4TG8me9BQSHypDFO5uGhCY1
 9/2ZzprkAhLpTCbYxkgLojc+8V2c2fBDnhgSmK+Mmfl7Ea1LgbaVUYrp3hDS4JXzhcOE1RUTa
 l/z0HH50fbFAs3OMvXCcLuHmjIlYwdwNbKygbT9SRAYLl361OnpHkU++2OgO5KX+Cg9nc5cUF
 tOfjqnb0AYmjBcs7L5twIyVovSUJmu+aO5wN8aQFUBwr18rWP9aiOEXl3i3te6u03rfU78BhS
 XHnd3JRLkuyxBRBgePtN6E+gRJQPAF4fCSyKCGC/LpMvvmXG6X1ryZ0MQzIBm0ajXAFaojG8P
 y+Y5HYieLwlyAJvJaU6G+/92IuPt5xAWQ7av8XqMSTqBWiXQn2FWLcmhVakbhQYJBINw7p9Fd
 fM6vsNui0PmFOvRN9taJpg8xik7lsa42C4BE7ALDs0tS2n8S+crhSFlD54Qu2/gK8HZ1v6iyy
 LWboWR3Y6uM5U93WDceN0Xx0QDJ1w==
[Message part 1 (text/plain, inline)]
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
[restore_compatibility_with_Python_2.6+.diff (text/x-patch, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Dec 12 08:41:50 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.