View previous topic :: View next topic |
Author |
Message |
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Tue Aug 14, 2018 3:48 pm Post subject: verbose xdvi error message |
|
|
I'm getting so many of these Quote: | xdvi-motif: Warning: Ignoring invalid color name in special `<NULL>' | that I'm hoping someone has an idea on how to get rid of them.
Thanks,
Fred |
|
Back to top |
|
|
oreo n00b
Joined: 14 Aug 2018 Posts: 31
|
Posted: Wed Aug 15, 2018 8:46 am Post subject: |
|
|
I can not find any package with the name xdvi. I would like to help you but you need to give specifics. Which package is causing this warning? When does this warning occur? Is this warning causing any issues for you? (Is the goal to mute the output rather than fix it.)
Please post those details and I'll try my best to help. _________________ "One does not simply, install gentoo." |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 15, 2018 2:25 pm Post subject: |
|
|
It is part of tex. Code: | $ equery b xdvi
* Searching for xdvi ...
app-text/xdvik-22.87.03-r1 (/usr/share/texmf-dist/xdvi)
app-text/xdvik-22.87.03-r1 (/usr/bin/xdvi) | Thanks for looking. |
|
Back to top |
|
|
oreo n00b
Joined: 14 Aug 2018 Posts: 31
|
Posted: Wed Aug 15, 2018 7:15 pm Post subject: |
|
|
Since xdvik is a gui application. Where are you seeing this error message? Are you launching the application from the console? Also, is the error causing you any real trouble, or is it just an annoyance? If you tell me where you are seeing the warning, I should be able to help. _________________ "One does not simply, install gentoo." |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 15, 2018 7:18 pm Post subject: |
|
|
Very good! I'm running xdvi from a terminal. That's where the messages appear. It is really no more than an annoyance, but it means the terminal is not much use for anything else as their are a lot of these messages.
Thanks. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Aug 15, 2018 7:39 pm Post subject: |
|
|
@Fred Krogh,
Description of /app-text/xdvik is:
DVI previewer for X Window System.
IMHO it's not meant to be used in a terminal.
Gerard.. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Aug 15, 2018 8:08 pm Post subject: |
|
|
Thanks. I guess that solves the problem sort of. I suppose the error messages are still being generated, they are just not visible. I can certainly work around this. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21629
|
Posted: Thu Aug 16, 2018 1:23 am Post subject: |
|
|
If the messages are not meant to be shown, why write them at all? They may not be a problem for this user, but they presumably indicate some sort of problem for some use cases. |
|
Back to top |
|
|
oreo n00b
Joined: 14 Aug 2018 Posts: 31
|
Posted: Thu Aug 16, 2018 6:01 pm Post subject: |
|
|
Even though this isn't necessarily a solution to this problem, It's still useful to know.
If you want to mute all output of a program in the terminal you can use this.
Code: | /usr/bin/someprogram >/dev/null 2>/dev/null & |
The first argument (>/dev/null) forwards all the regular output (info, status, etc.) to /dev/null, a special device that eats all input. (Eats and destroys it that is.) The second (2>/dev/null) tells it to forward all type two output (errors) to /dev/null. The & at the end allows you to do other things in the terminal while the program runs by forcing it to the background.
Happy gentooing! (Not sure if that is a thing...)
PS: Before anyone corrects me: Yes, I am aware there is a better syntactical way to write this (>/dev/null 2>&1) but it is easier to explain like this. _________________ "One does not simply, install gentoo." |
|
Back to top |
|
|
oreo n00b
Joined: 14 Aug 2018 Posts: 31
|
Posted: Fri Aug 17, 2018 6:37 am Post subject: |
|
|
Quote: | If the messages are not meant to be shown, why write them at all? They may not be a problem for this user, but they presumably indicate some sort of problem for some use cases. |
Maybe, though anytime I launch a graphical application from a terminal I almost always see warnings. (I'm not proud, but I used to do that alot... ) For some applications, I see tons of them. Most of the time they really are harmless. I've never once had a warning become an issue. Some developers just include a lot of information in there logs for debugging purposes. (Something which I appreciate very much.) _________________ "One does not simply, install gentoo." |
|
Back to top |
|
|
|