Bad cut & paste job...

Moderators: Developers, Moderators
Did you press the Go button?uhtred wrote:hi there,
is it a normal behavior:
1.open a map from dashbord
2.select another map via 'Jump to..'
3.wait for refresh
-->the first map is reload
greetz
Ah - I see what you mean.uhtred wrote:yes i did
the problem is, the refresh is in the head of the html site.
If u open a site via 'jump to..', the parameter 'id' of the request doesn't change. So the old page will be loaded again.
Code: Select all
SET key_hidepercent_Messages 1
SCALE Messages 0 0 128 128 128
SCALE Messages 0 5K 0 255 0 255 255 0
SCALE Messages 5K 15K 255 255 0 240 240 0
SCALE Messages 15K 50K 240 240 0 255 0 0
Code: Select all
08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 32: SCALE Messages 0 5K 0 255 0 255 255 0
08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 33: SCALE Messages 5K 15K 255 255 0 240 240 0
08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 34: SCALE Messages 15K 50K 240 240 0 255 0 0
Ooops! I missed K out of the regexp, specifially. I've fixed this in 0.98/svn.wwwdrich wrote:Howie,
I am trying to take advange of your new absolute scales and have run into what appears to be two bugs.
1. I can't get the multipliers working on scale values. For example, the following gives me an error. If I replace the "K" values with numbers it works fine.Code: Select all
SET key_hidepercent_Messages 1 SCALE Messages 0 0 128 128 128 SCALE Messages 0 5K 0 255 0 255 255 0 SCALE Messages 5K 15K 255 255 0 240 240 0 SCALE Messages 15K 50K 240 240 0 255 0 0
Code: Select all
08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 32: SCALE Messages 0 5K 0 255 0 255 255 0 08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 33: SCALE Messages 5K 15K 255 255 0 240 240 0 08/09/2010 10:01:42 AM - WEATHERMAP: Poller[0] WARNING: [Map 20] mail.conf: Unrecognised config on line 34: SCALE Messages 15K 50K 240 240 0 255 0 0
What kind of key is it? I have to admit I didn't put too much time into absolute scales, so it doesn't surprise me that the edges are rough...2. Absolute values are working on the links with "USESCALE Messages absolute", but I can't get the key to display anything other than percentages. Using the scale above I end up with a green scale that goes from 0% - 100%.
Great! That was an easy fix.Howie wrote:Howie,
Ooops! I missed K out of the regexp, specifially. I've fixed this in 0.98/svn.
The fix is very simple though - look at around line 2658 in Weathermap.class.php for the huge long if statement that says 'one REGEXP to rule them all' above it. In there are two places where it says munMGT and should say munKMGT.
This one is a message count -- I'm trying to give our management in impression of the number of messages we are handling through our mail gateways.Howie wrote:What kind of key is it? I have to admit I didn't put too much time into absolute scales, so it doesn't surprise me that the edges are rough...wwwdrich wrote: 2. Absolute values are working on the links with "USESCALE Messages absolute", but I can't get the key to display anything other than percentages. Using the scale above I end up with a green scale that goes from 0% - 100%.
Code: Select all
SET key_hidepercent_Messages 1
KEYPOS Messages 900 10 Messages
KEYSTYLE Messages vertical
KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
SCALE Messages 0 0 128 128 128
SCALE Messages 0 5000 0 255 0 255 255 0
SCALE Messages 5000 15000 255 255 0 240 240 0
SCALE Messages 15000 50000 240 240 0 255 0 0
Was this ever resolved? I'm having the same issue.Howie wrote:Linux cactiback 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
CentOS release 5.4 (Final)
Both useiconscale methods are working for me.
So... could you get a small config that does the same thing with the same icon? And then I'll try that.
We were able to determine that my image was saved with a 24-bit pallete, while weathermap was expecting an 8-bit pallete. Weathermap tried to convert the image to 8-bit, but that conversion didn't work correctly (Howie said something about it not preserving the alpha). Changing my base image to an 8-bit pallete image using an image editor (such as Paint.NET) resolved the problem with USEICONSCALE that I reported.msw1970 wrote:Was this ever resolved? I'm having the same issue.Howie wrote:Linux cactiback 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
CentOS release 5.4 (Final)
Both useiconscale methods are working for me.
So... could you get a small config that does the same thing with the same icon? And then I'll try that.
How did you determine that and how did you change it to an 8-bit pallete? I've tried paint.NET and GIMP and cannot see where to check and change it.DLNoah wrote:We were able to determine that my image was saved with a 24-bit pallete, while weathermap was expecting an 8-bit pallete. Weathermap tried to convert the image to 8-bit, but that conversion didn't work correctly (Howie said something about it not preserving the alpha). Changing my base image to an 8-bit pallete image using an image editor (such as Paint.NET) resolved the problem with USEICONSCALE that I reported.msw1970 wrote:Was this ever resolved? I'm having the same issue.Howie wrote:Linux cactiback 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
CentOS release 5.4 (Final)
Both useiconscale methods are working for me.
So... could you get a small config that does the same thing with the same icon? And then I'll try that.
Users browsing this forum: No registered users and 0 guests