ryfx / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Do not transform stderr messages into message boxes #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I get a couple of "standard" warnings here on startup of pretty much any 
program. MoNavC creates a warning box for each of them, which is highly 
annoying. Moreover, I get a couple "Reading ras files from sequential devices 
not supported" message when panning the map in the client, each of them 
resulting in a warning to click away.

Original issue reported on code.google.com by earthwi...@gentoo.org on 27 Aug 2010 at 6:23

GoogleCodeExporter commented 9 years ago
I will most likely add a checkbox "ignore this kind of warning in the future" 
to the message dialog as well as global option to turn off notifications for 
specific warning / error levels completely.

Concerning you error messages: Are you using the OSMRenderer plugin? It might 
be, that the cache / temporary file folder, which is queried from Qt, is not 
accessible. It is used by the OSM Renderer plugin to store its network cache of 
downloaded tiles.

Original comment by veaac.fd...@gmail.com on 27 Aug 2010 at 6:49

GoogleCodeExporter commented 9 years ago
Yes, I didn't build the mapnik plugin, thus using osmrenderer.

I noticed that some plugins have a QtGui dependency because they use error 
messages/info dialogs as well. Would be nice if the plugins would only have a 
QtCore dependency and error/info dialogs would only be created by the (a) GUI. 
Maybe you can change that if it's not too much work.

Original comment by earthwi...@gentoo.org on 27 Aug 2010 at 8:53

GoogleCodeExporter commented 9 years ago
Makes sense to remove any kind of GUI dependency from any non-rendering 
plugins, I will most certainly do this.

Original comment by veaac.fd...@gmail.com on 27 Aug 2010 at 10:10

GoogleCodeExporter commented 9 years ago
About that very annoying error message, don't know why that comes, but was easy 
to fix by just changing "image.load( reply, 0 )" to "image.load( reply, "PNG" 
)" in osmrendererclient.cpp.

Original comment by jekkukal...@gmail.com on 18 Apr 2011 at 4:17

GoogleCodeExporter commented 9 years ago
Strange, Qt should be able to figure this out on its own... but thanks, I will 
include this change. It has the drawback that one can only load images from PNG 
tile servers, though.

Original comment by veaac.fd...@gmail.com on 18 Apr 2011 at 4:20

GoogleCodeExporter commented 9 years ago
What error do you exactly get and how can one reproduce it?

Original comment by veaac.fd...@gmail.com on 18 Apr 2011 at 4:24

GoogleCodeExporter commented 9 years ago
I get exactly that same error message "Reading ras files from sequential 
devices not supported", as many times as tiles are downloaded from OSM. Cached 
tiles does not show error. Sorry, I don't know how you could reproduce this 
error. This has happened always and as long as I have used MoNav.

Original comment by jekkukal...@gmail.com on 18 Apr 2011 at 5:23