Angular Errors - Possible Bug
-
Update: a restart does fix this issue, but I think it will come back as it has in the past.
Anyone have any ideas?
-
Hi rshah,
Following the link in the error, I am led to believe there are two values recorded in the database at the same millisecond. This is uncommon (normally saving a value at a millisecond that already has a value will overwrite the existing if you're using MangoNoSQL) but can happen if the samples arrive together in an asynchronous backdate batch. We will probably try to fix that at some point. One solution would be to export the data for the series, find the duplicate and remove it. Do you know what point it is that would be causing this?
If you're not using NoSQL, that may be quite easy to cause, simply have two point values at the same time for a single point in the pointValues table.
-
Hi Phil,
Would that lead to the error I am seeing with not being able to copy and paste into the code editor?
-
No, it's hard to believe that can be caused by anything other than you having that URL on the clipboard, and not what you thought. But, I will see what Jared thinks, if there may be some fanciness in that editor to the copy / paste, but I doubt it.
-
@phildunlap said in Angular Errors - Possible Bug:
No, it's hard to believe that can be caused by anything other than you having that URL on the clipboard, and not what you thought. But, I will see what Jared thinks, if there may be some fanciness in that editor to the copy / paste, but I doubt it.
It for sure wasn't on the clipboard -- we tested it across different computers, across different browsers etc.
It only pasted the URL of the page.
I opened a different application and pasted into that and got the right stuff, and back to the Historian and it was the URL again.
-
The error in the log file is unrelated but helpful.
Can you please post more information as per https://help.infiniteautomation.com/reporting-bugs/
Specifically the browser you are using, please try another browser to try and isolate the issue. -
@jared-wiltshire said in Angular Errors - Possible Bug:
Can you please post more information as per https://help.infiniteautomation.com/reporting-bugs/
Specifically the browser you are using, please try another browser to try and isolate the issue.Hi Jared:
I have tried in:
OSX 10.13.4 Safari 11.1, Chrome: 65.0.3325.181 (with and without incognito)
Windows 7: Chrome 66.0.3359.117 (with and without incognito) -> totally different computerWe are running the latest version of Mango and the dashboards module.
The issue was resolved after a restart of Mango. I had a video which I unfortunately deleted which showed the issue very clearly, but I do have a slightly worse video which somewhat demonstrates it which I can PM or Email you if you like.
You also have access to our mango instance via SSH and WebGUI if needed.
Please feel free to let me know if you need any further information
Edit: there was only one (likely) unrelated error in the console about a variable I had misnamed.
-
PM me a link to the video and I'll take a look.
-
@jared-wiltshire Sent via chat since I couldn't find any other way to PM you.
-
@rshah Thanks, yeah chat is what I meant.
I really can't explain what you are seeing, we copy and paste into that editor all the time with no issue. I use Windows but I'm sure the other guys in the office running OSX would have told me if there was an issue there.
Perhaps its the source of the text? Can you make sure you are copying plain text? (sometimes the clipboard can contain marked up text with formatting/colors etc).
Another thing to try, can you right click and paste?