On Tue, 05 May 2009 20:56:04 -0000 smurf <[email protected]> wrote:
> Yes Menno, I know that I can redirect the output on STDOUT instead of STDERR > (standard), I wrote it in the first message. > Anyway, I found a workaround, setting to true (or 1) the environment > variable XDIALOG_NO_GMSGS all messages from gtk engine are suppressed. > I don' t know if Ubuntu team wants to close this bug, your decision ;-) > Hi Luca, Indeed you mentioned the workaround by changing the channel used for output; you were looking for a way to circumvent the issue by without making changes to the script. Nice to see that you found a solution for that. I use Xdialog in a script that allows an end-user without any knowledge to put a message on his website without active stuff at the server side, without my intervention. The text is entered in an Xdialog edit-box. Suddenly the user's message was preceeded by an error message. :-( My first observation is, that it is strange to use STDERR for other purposes than outputting error messages. After all, you cannot blame gtk for sending error messages to STDERR! Suppressing all error messages is a workaround with undesirable side- effects: error messages usually are there with a purpose. It would be much more logical if STDOUT would have been the default, but OK, you an modify that behaviour (which I did). The next thing is the error message by itself. The requested module is simply there, in my installation, so there shouldn't be complaints about it. Besides, it is not indicated as a dependency of Xdialog (well, maybe it is an indirect dependency, I haven't checked that). libcanberra deals with sound and I don't consider that as an essential part of the functionality of Xdialog. Summarizing: while this is not a really important bug (considering the available bypasses), there still are some illogical/faulty things that should be resolved sometime. Probably, it isn't that difficult either. Let's wait for the comments of the developers. Best regards, Menno -- Menno Tjoelker <[email protected]> -- Failed to load module "libcanberra-gtk-module.so" https://bugs.launchpad.net/bugs/368175 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
