[X2Go-User] x2goversion problem affecting pyhoca-cli, and a solution

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue May 26 20:47:55 CEST 2020


Hi Michael, hi Mihai,

On  Do 21 Mai 2020 00:15:20 CEST, Michael Ashley wrote:

> Hi folks,
>
> While trying to get pyhoca-cli to work, I noticed that x2goversion  
> on the server was printing out the version numbers without the  
> leading component names. E.g.,
>
> : 4.1.0.3
> : 4.1.0.3
> : 4.1.0.3
> : 4.1.0.3
> : 4.1.0.3
> : 3.5.99.23
> : 4.1.0.3
>
> instead of:
>
> x2goserver: 4.1.0.3
> x2goserver-common: 4.1.0.3
> x2goserver-extensions: 4.1.0.3
> x2goserver-fmbindings: 4.1.0.3
> x2goserver-printing: 4.1.0.3
> x2goserver-x2goagent: 3.5.99.23
> x2goserver-xsession: 4.1.0.3
>
> The problem was that my X2GO_VERSIONS_BASEPATH had a ".." in it,  
> which caused the following line in x2goversion to fail:
>
> X2GO_COMPONENT="$(echo "${compfile}" | cut -d '.' -f '2')"
>
> A fix is to replace the line with:
>
> X2GO_COMPONENT=${compfile#*VERSION.}
>
> Finally, to have a working pyhoca-cli, you need to use the version  
> from 11 March 2020 or later  
> https://code.x2go.org/gitweb?p=pyhoca-cli.git;a=tree
>
> Regards,
> Michael

This is a know issue and needs to be addressed by a new upstream  
release of X2Go Server. In Debian and recent Ubuntu, I have fixed this  
issue a while back.

@Mihai, reading this, could you prepare a new release of pyhoca-cli,  
to get the fix for #1445 out?

Thanks+Greets,
Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
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 at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20200526/adef1b07/attachment.sig>


More information about the x2go-user mailing list