Date: Thu, 13 Apr 2017 11:19:29 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Subject: Re: wifimgr (was: Re: Networkmgr) Message-ID: <20170413091929.GA3612@c720-r314251> In-Reply-To: <e81baa0f-a5d7-f01d-186b-b1155c4f5251@passap.ru> References: <af9c26ae-d233-d2bd-1fd7-903323e2e153@gmail.com> <20170412073851.0ab81213.freebsd@edvax.de> <CA%2ByoEx9KONHzZfjOgMMcK92=uZh2hrQHLmkmoQGxMY8EbGwNNA@mail.gmail.com> <20170412173019.GA3842@c720-r314251> <e81baa0f-a5d7-f01d-186b-b1155c4f5251@passap.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
El día jueves, abril 13, 2017 a las 11:16:51a. m. +0300, Boris Samorodov escribió: > 12.04.2017 20:30, Matthias Apitz пишет: > > > It compiles on 12.0-CURRENT r314251 (amd64) with ports head. It starts > > but does not bring any GUI. > > Seems to be a property of your OS/ports status/configuration. > > I've just installed wifimgr as a package from official FreeBSD > repository. The system is fresh HEAD-amd64. > > .... Thanks for the report. At the same time I have instructed mine with some DEBUG ... I have inserted a few DEBUG fprintfs because the source does not do Any logging or debug infos, and it seems to be a Gtk problem because the Application can not bring up any dialog, not even for asking for the password: root@r314251-amd64:/usr/ports/net-mgmt/wifimgr/work/wifimgr-1.11/src # vim wifimgr-gtk.c /* ** display GUI message dialog with OK button */ int gui_message(const char * s, int msg_type) { GtkWidget * dialog; GtkWidget * w; int resp; fprintf(stderr, "DEBUG: message [%s] \n", s); switch(msg_type) { ... gtk_window_set_title(GTK_WINDOW(dialog), gettext("WiFi Networks Manager")); fprintf(stderr, "DEBUG: running gtk_dialog_run()\n"); resp = gtk_dialog_run(GTK_DIALOG(dialog)); fprintf(stderr, "DEBUG: gtk_dialog_run() returned resp [%d]\n", resp); gtk_widget_destroy(dialog); root@r314251-amd64:/usr/ports/net-mgmt/wifimgr/work/wifimgr-1.11/src # ./wifimgr DEBUG: after gui_init() DEBUG: doing wifimgrsu_init() DEBUG: doing gui_message() for admin pw DEBUG: message [Enter Administrator password:] DEBUG: running gtk_dialog_run() (hangs here for ever) i.e. must be some fundamental problem with Gtk. If you say: > Seems to be a property of your OS/ports status/configuration. Do you have an idea what could be so wrong that 1800 ports are running (built with poudriere), incl. KDE4, FF 52, ... and just this small Gtk app not. I have no idea at all (and to be honestly I do not need this app, I edit /etc/wpa_supplicant.conf with vim :-)) If someone wants to nail it down, I'm happy to help and provide any information from my *wrong* system. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen" The "No wars anymore!" changed now to "No wars anymore without German battle groups!" El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas alemanas!"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170413091929.GA3612>