From unknown Fri Mar 29 00:48:23 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#147: PyHoca-GUI accepts new entries to liberally Reply-To: Dirk Eddelbuettel , 147@bugs.x2go.org Resent-From: Dirk Eddelbuettel Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 19 Mar 2013 10:06:29 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 147 X-X2Go-PR-Package: pyhoca-gui X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.136368757819468 (code B); Tue, 19 Mar 2013 10:06:29 +0000 Received: (at submit) by bugs.x2go.org; 19 Mar 2013 10:06:18 +0000 To: submit@bugs.x2go.org X-Mailer: VM 8.1.0 under 23.4.1 (x86_64-pc-linux-gnu) From: Dirk Eddelbuettel Status: RO Content-Length: 640 Lines: 22 Package: PyHoca-GUI Version: 0.4.0.1 As discussed in the recent thread 'PyHoca-GUI 0.4.0.1 created bad config file' [1], I can create 'bad' files ~/.x2goclient/session essentially by just alternating between Add and Apply in the Profile Manager. It seems like you are keying on name being unique. In which case you may need to test for it. I have not looked at your code (and I am not that fluent in Python) so this is just a guess. x2go is a treat. Thanks for your work on it. Cheers, Dirk [1] http://thread.gmane.org/gmane.linux.terminal-server.x2go.user/1146