-->
Page 1 of 2

Version 3.x Known Bugs (Bug Tracker)

PostPosted: Sat Jun 25, 2016 10:39 pm
by forlotto
BUG HAS BEEN DETECTED!!!!!
Bug Subject: Bug in Basic Flasher crashes esptool.exe when using format flash
Version(s) Effected: 3.17 - 3.x
Confirmation: forlotto, trackerj
Bug Status: Unresolved
Bug Importance Level (0-10): 7


BUG HAS BEEN DETECTED!!!!!
Bug Subject: Repeat Code For FileManager File Types
Version(s) Effected: 3.0 - 3.x
Confirmation: forlotto, mmiscool
Bug Status: Unresolved
Bug Importance Level (0-10): 2

Bug Description: File Type .htm is listed twice starting at line 1209 - 1211 in espbasic.ino
Code: Select all       if (filename.endsWith(".htm")) return F("text/html");
  else if (filename.endsWith(".html")) return F("text/html");
else if (filename.endsWith(".htm")) return F("text/html");



BUG HAS BEEN DETECTED!!!!!

Bug Subject: OTA updates no longer work!!!
Version(s) Effected: 1.x to 3.x
Confirmation: forlotto, mmiscool
Bug Status: Unresolved
Bug Importance Level (0-10): 5

Bug Description: Over The Air or OTA updates no longer update from the internet manual update is required for now mmiscools pipes broke this last winter and ruined the server hosting OTA updates. Issue is being looked at need to get time, money, hardware to get it going.

NOTE: if you are running OTA and want to keep your upgrade from happening by mistake you may wish to enter a bunk url for OTA or you will lose HTML funcition when you upgrade by mistake etc.

BUG HAS BEEN DETECTED!!!!!

Bug Subject: Manual Tracking of Pin Status From 1.x to 2.x stops after first attempt using msgbranch.
Version(s) Effected: 2.x to 3.x
Confirmation: forlotto
Bug Status: Unresolved
Bug Importance Level (0-10): 5

Bug Description: If you set up a msgbranch and store the pin status in a variable it stops retaining any further information after the first change. In version 1.x this used to work fine however version 2.24 it did not work it stops tracking after the first change and the value of that change remains frozen.

Re: Version 3.0 Known Bugs

PostPosted: Sat Jun 25, 2016 10:41 pm
by forlotto
PLEASE REPLY TO THIS POST IF YOU SPOT ANY BUGS WITH APPROPRIATE INFORMATION.

Re: Version 3.x Known Bugs (Bug Tracker)

PostPosted: Sun Jun 26, 2016 9:07 pm
by forlotto
Remote use bug was induced by user error due to lack of knowing.

Although this was a false report I would like to keep it as an example that user error can be misinterpreted as a bug.

It was unclear to me that you were required to forward port 80 and port 81 in the past the requirement for port forwarding was forward a single port that port being port 80.

The other reason for leaving the bug intact is to inform users of this as well.

Check this list I will update it as the bugs clear so far we have nailed down two of these bugs.

Re: Version 3.x Known Bugs (Bug Tracker)

PostPosted: Mon Jul 04, 2016 1:50 am
by forlotto
Just for reference for all you bug solvers out there here is the websockets.js code:

Code: Select all
connection = new WebSocket('ws://'+location.hostname+':81/', ['arduino']);
connection.onopen = function () {
  //connection.send('websocket connected!');
  document.getElementById("connection_status").value = "Connected";
};
connection.onclose = function () {
  document.getElementById("connection_status").value = "Disconnected";
};
connection.onerror = function (error) {
  document.getElementById("connection_status").value = error;
};
connection.onmessage = function (e) {
  //connection.send('OK');
  //alert(e);
  var res = e.data.split("~^`");
  if (res[0].toLowerCase() == "var")
  {
    var obj = document.getElementById(res[1]);
    document.getElementsByName(res[1])[0].value = res[2];
    document.getElementsByName(res[1])[1].value = res[2];
    document.getElementsByName(res[1])[2].value = res[2];
    document.getElementsByName(res[1])[3].value = res[2];
    document.getElementsByName(res[1])[4].value = res[2];
    document.getElementsByName(res[1])[5].value = res[2];
    connection.send("OK");
    return;
  } 
  if (res[0].toLowerCase() == "print")
  {
    //alert(e);
    var bla  = document.body.innerHTML;
    document.open();
    document.write(bla +'<hr>'+ res[1]);
    document.close();

    connection.send("vars");
    return;
  } 
  if (res[0].toLowerCase() == "gupdate")
  {
    document.getElementsByName('gra')[0].contentWindow.location.reload();
    return;
  }
 
 
 
 
  if (res[0].toLowerCase() == "guicls")
  {
    //alert(e);
    var bla  = document.body.innerHTML;
    document.open();
    document.write('');
    document.close();
    location.reload();
    return;
  }
  if (res[0].toLowerCase() == "wprint")
  {
    var bla  = document.body.innerHTML;
    document.open();
    document.write(bla + res[1]);
    document.close();

    connection.send("vars");
    return;
  }
  else if (res[0].toLowerCase() == "get")
  {
    var obj = document.getElementById(res[1]);
    if (obj == null)
    {
      connection.send("unknown object");
      return;
    }
    connection.send(obj.value);
    return;
  }
  else if (res[0].toLowerCase() == "log")
  {
    connection.send('OK');
    var log = document.getElementById("log");
    log.value = log.value + "\n" + res[1];
    log.selectionStart = log.selectionEnd = log.value.length;
    return;
  }
  else if (res[0].toLowerCase() == "gauge")
  {
    connection.send('OK');
    Gauge.Collection.get( res[1] ).setValue( res[2] );
    return;
  }
  else
  {
    // default
    connection.send("KO");
  }
};
function cmdClick(e)
{
  connection.send("guicmd:" + e.name);
}
function logClear()
{
  document.getElementById("log").value = "";
}
function objEvent(e)
{
  connection.send("guievent:" + e.name +":" + document.getElementById(e.id).value);
}
function objChange(e)
{
  connection.send("guichange~" + e.name +"~" + document.getElementById(e.id).value);
}

var aliveme = setInterval(aliveTimer, 5000);
function aliveTimer()
{
  connection.send("OK");
}