From unknown Thu May 07 19:29:31 2026
X-Loop: git-admin@x2go.org
Subject: Bug#92: Install icons, images, man page and desktop files through setup.py (was: Re: Bug#92: ZeroDivisionError: float division by zero error on startup)
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 92@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Thu, 20 Dec 2012 09:00:13 +0000
Resent-Message-ID: <handler.92.B92.1355993999497@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 92
X-X2Go-PR-Package: pyhoca-gui
X-X2Go-PR-Keywords: moreinfo
Received: via spool by 92-submit@bugs.x2go.org id=B92.1355993999497
          (code B ref 92); Thu, 20 Dec 2012 09:00:13 +0000
Received: (at 92) by bugs.x2go.org; 20 Dec 2012 08:59:59 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 63B425DA6C
	for <92@bugs.x2go.org>; Thu, 20 Dec 2012 09:59:59 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 33E1CD88
	for <92@bugs.x2go.org>; Thu, 20 Dec 2012 09:59:59 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 04BC33BC0B
	for <92@bugs.x2go.org>; Thu, 20 Dec 2012 09:59:59 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id TNyemP29EUyG for <92@bugs.x2go.org>;
	Thu, 20 Dec 2012 09:59:56 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 689F63BC26
	for <92@bugs.x2go.org>; Thu, 20 Dec 2012 09:59:56 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 46BE63BC0B
	for <92@bugs.x2go.org>; Thu, 20 Dec 2012 09:59:56 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id B43343BC26; Thu, 20 Dec 2012 09:59:54 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 20 Dec 2012
 09:59:54 +0100
Message-ID: <20121220095954.19205bpbyk4bf5ai@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 20 Dec 2012 09:59:54 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Orion Poplawski <orion@cora.nwra.com>
Cc: 92@bugs.x2go.org
References: <50D0A1D5.6010704@cora.nwra.com>
 <20121218215720.175754sjwryg4qsw@mail.das-netzwerkteam.de>
 <50D0EC9C.2030201@cora.nwra.com>
In-Reply-To: <50D0EC9C.2030201@cora.nwra.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_58y6spdlaoi2";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

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

--=_58y6spdlaoi2
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

retitle #92 Install icons, images, man page and desktop files through setup.py
tag #92 pending
thanks

Hi Orion,

On Di 18 Dez 2012 23:22:20 CET Orion Poplawski wrote:

> On 12/18/2012 01:57 PM, Mike Gabriel wrote:
>>
>> It seems very likely that your pyhoca-gui instance does not find the image
>> folder shipped with it.
>>
>> Can you check that?
>
> Ah, it seems setup.py doesn't do everything it needs to.  The  
> attached patch I think does what is needed for the most part.   
> Doesn't handle the debian links file though.

I have added two commits for that to X2Go Git, can you cross-check that?

First one (unfortunately a dirty commit, see at the botton):
http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=51c52fb1b0d3f94c6cc9c1d42fe5f84674e6026e

Then for the symlinks:
http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=052916c4ea0d523a6db253b4f0ffe394d932aab9

> Other notes:
> - Categories in pyhoca-gui.desktop needs a trailing semicolon.

Done!
http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=1a1ab1dbd055d31ec639da9ddf815afc7a55d86f

> - There is /usr/bin/env python at the top of  
> pyhoca/wxgui/messages.py, but I imagine that file isn't meant to be  
> executed directly.

Done!
http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=6cdc40a31c8ca51ac9feade208cea13a9157308c

> Finally, I seem to be able to connect to the server properly, but no  
> window ever appears, and no errors.

I will answer that off-BTS as it is not part of this bug report, actually.


Greets,
Mike



-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

--=_58y6spdlaoi2
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQ0tOKAAoJEJr0azAldxsxQxIP/iiQKlKh0C9+TgufqzC9kASr
YjFZ5OAFdH9PrxMDzxW4ZeltnZ9SBT3m93ssAOS6vEFNHSENpDxtzLKxZ2IxMq7N
ml+INsSZHWBa6txqn6vCyYBhc7WjEr+eEia9kmWnPkw95wTSKYmJIa9oTOZpkZ6A
KfBccAxcUsy1b1lD3ni4KJkr9U/GPrY4tjpieXe1eS8UHBwnK8Hzx1TK5PXHzj3j
f4QQka4A1O3yB6YLafLyxEw3bwpDJKuV9qBTi6KM6K82bzlfZdd5EFC/nWnbSF8h
wkMq9deH3yoxmsist1MUdBr9fEqHmV0bGVjWhp89M3dtWisY/kbqV0eNdMzVQWi/
2F+FskRWTqh9FPFuJa2TRbbCiaPF3ql+8V6miFtRK/vPAhiZClqQkF1gyPEha68o
igEzkS9Y/cWp/rVn/XT+L61mmlG3vT1ZDAJN9dlbS8wP60em8H50XcvQrqBBc26+
l7FXLmAdF7eY6aq+cXx5tWN8dA/jlFxNXqNAcCL1GyLIAnYkEeg4iFKrKq+GQ/Y0
2Kqj9u9zq74nGmpFvtvmPtX5ySpl85+LWJ753GkEO6eYRVx3h0AzVNAiavaxXKZ3
qMM+tlIO0obAVw3DjDinxPj7b1aEHig1KkDs82NbQRhnNZ2IJP+BPwRo/UXFDc6n
FP8PNrZ7BGzJA5BEivVY
=4jO/
-----END PGP SIGNATURE-----

--=_58y6spdlaoi2--
