Bug in virtual sensors command line?

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
User avatar
Hathor27
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 05, 2011 9:33 pm
Location: Switzerland
Contact:

Bug in virtual sensors command line?

Post by Hathor27 »

If I hit a command line for virtual sensors, such as

Code: Select all

awk '{if ($3<150) {printf "%d", 200-$3} else print "0"}'
and press save, Meteohub takes this command string and works fine with it.

But if I want to edit this command line, I just can reach the first 26 characters of it

Code: Select all

awk '{if ($3<150) {printf 
Boris, could please enlarge that input field?
Best Regards
Hathor27

------------------------------------------------------------
Image
http://untersiggenthal.meteodata.ch
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Bug in virtual sensors command line?

Post by admin »

Hard to believe that you cant reach the other letters. Did you try moving the cursor with the arrow keys. The field does scroll then, when I do remember right.
User avatar
Hathor27
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 05, 2011 9:33 pm
Location: Switzerland
Contact:

Re: Bug in virtual sensors command line?

Post by Hathor27 »

admin wrote:Hard to believe that you cant reach the other letters. Did you try moving the cursor with the arrow keys. The field does scroll then, when I do remember right.
I'm sorry to say that, Boris: I tried it several times, scrolled left and right - no chance at all :?
Best Regards
Hathor27

------------------------------------------------------------
Image
http://untersiggenthal.meteodata.ch
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re: Bug in virtual sensors command line?

Post by skyewright »

Hathor27 wrote:Boris, could please enlarge that input field?
If I look at the html source of the form it shows maxlength="458" for that field!

By curious coincidence my virtual command lines are exactly 26 characters long, so I can't test for the behaviour you have seen without making a change that would invoke a (very long) recompute.

Could it be a browser issue? Which browser are you using? Have you tried looking at the form in a different browser.
User avatar
Hathor27
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 05, 2011 9:33 pm
Location: Switzerland
Contact:

Re: Bug in virtual sensors command line?

Post by Hathor27 »

skyewright wrote:Could it be a browser issue? Which browser are you using? Have you tried looking at the form in a different browser.
I'm using the good old standard: Internet Explorer 8

Uses anybody virtual command lines exceeding 26 characters?
Best Regards
Hathor27

------------------------------------------------------------
Image
http://untersiggenthal.meteodata.ch
User avatar
d_l
Expert Boarder
Expert Boarder
Posts: 140
Joined: Fri Mar 13, 2009 12:58 am
Location: Reno, Nevada USA
Contact:

Re: Bug in virtual sensors command line?

Post by d_l »

I've a command line of 158 characters that I can scroll to the end. This is on 4.6t. I doubt that Boris reduced that field for newer versions. Scrolling using FF 4.0.1. I don't update that frequently unless there is a good reason.
User avatar
Hathor27
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 05, 2011 9:33 pm
Location: Switzerland
Contact:

Re: Bug in virtual sensors command line?

Post by Hathor27 »

d_l wrote:I've a command line of 158 characters that I can scroll to the end. This is on 4.6t. I doubt that Boris reduced that field for newer versions. Scrolling using FF 4.0.1. I don't update that frequently unless there is a good reason.
I recognized the problem in v4.8i, and it persists in v4.9 - good idea not to update that frequently...
Best Regards
Hathor27

------------------------------------------------------------
Image
http://untersiggenthal.meteodata.ch
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Bug in virtual sensors command line?

Post by admin »

I cannot confirm the error. Is it just an IE8 issue? Did you try other browsers?
User avatar
Hathor27
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 05, 2011 9:33 pm
Location: Switzerland
Contact:

Re: Bug in virtual sensors command line?

Post by Hathor27 »

admin wrote:I cannot confirm the error. Is it just an IE8 issue? Did you try other browsers?
No I didn't another browser - I only run on IE8 (standard?).

Is there an other way to test it? Are you able to test it on IE8?
Best Regards
Hathor27

------------------------------------------------------------
Image
http://untersiggenthal.meteodata.ch
Post Reply