Caught it today.
Again.
This is when Kantu fails to start on task scheduler.
Another failed attempts to use command run after half a year of hoping for better.
I wonder why there is not many messages about this.
Is this my machine only or people do not use command run option?
Macro is scheduled for run after 10 minutes of machine idle.
When I come back to PC I see browser opened with starting page of the macrofile.
It says it cannot find kantu panel. But Kantu panel is opened.
And there is zero crumbles if it has ever tried to run any macro.
Log is empty.
If I reload the page expecting Kantu to do itās job nothing happens.
Since Kantu panel is opened I start the macro manually and receive this error.
Needless to say Internet is fine and page from open command is loaded successfully.
Just now I started the scheduled task manually and here we goā¦ something new.
.
and this time after hitting ok and reload of the macropage it started the macro but surely enoughā¦
I used to use the cmd-line to fire-up Chrome and Kantu when a CSV file was detected in a folder, but decided to start it manually until the bugs are ironed out because I couldnāt rely on it.
I havenāt been able to test this new version (v5.0.5) yet but Iām hoping to report my experience tomorrow.
Finally got chance to run v5.0.5 today and can happily report a trouble-free experience!
This will not go down well with those still having problems, I know, so allow me to comfort you with a couple of things that kind of broke.
I did experience the following error when trying to open the last line of the CSV file:
[warning]
Web page connection issue. Retrying last command.
[error]
ipcPromise: onAsk timeout 3000 for cmd "RUN_COMMAND", args "[object Object]"
The page itself displayed the following message:
Your file was not found It may have been moved or deleted.
ERR_FILE_NOT_FOUND
The page title (in tab) read:
chrome-extension://gcbalfbdmfieckjlnblleoemohcganoc/
Opening the CSV file in Kantuās editor I could see the last line showing:
Which I believe explains the error. (Anyone know what the red dot means?)
However, I did specifically delete the last line of the file in another editor before running the macro (because it was empty), so I will look at that again next time.
Another lingering issue was the macro slowing down over time. Iām not so concerned about that at the moment - Iām just glad it ran without manual intervention and error-free.
One last thing to note, this was not my usual environment: instead of running it in Firefox, on a fairly new laptop, I used Chrome on my 3-year-old home desktop. I also believe the internet here is better quality than where I normally run the script.
Of course, itās just one run. I will update again after another, but for me itās a ray of sunshineā¦ at last!
Thanks to @admin and the team; donāt stop.
For me, this error is very easy to reproduce (Kantu version 5.0.5).
I am working on a very large single-page web app.
This occurs every time I rebuild, ie. the browser cache is cleared.
Simply calling to load the page will cause the error.
Despite TIMEOUT_PAGELOAD being set high; if the open command takes longer than 3 seconds (which it always will do, we have a big web-page), Kantu decides there is a connection issue and retries the command. This is very annoying, as sometimes the page just about manages to load, but Kantu has already decided to give up and refresh again. So I see a refresh loop.
It tries 3 times before it gives up and throws the error.
I can solve this by manually refreshing the page first myself, to re-populate the browser cache. But this is not very good.
This occurs whether I set TIMEOUT_PAGELOAD variable or not. And no difference for the global preferences option either.
Is this a bug, or am I missing a preference or variable?
Let me know if Iāve posted this in the wrong place, Iām new to the Forum.
I also have this error. Please do something with it. I cannot use kantu because of this bug!
Hi, does anyone have a test macro that we can run here? If you do not want to post it here, please email us at team AT a9t9.com
As I said just a command run with one command open would give you this error. But it seems youāve nailed it in 5.0.5 I have not faced it since 05 update. Good job. Unless somebody on 5.0.5 can prove me wrong?
@commensal So your saying that in your case the error is gone with V5.0.5? That is nice to hear
@Denis_Borisov @jgl.b3d What about you? Do your macros also work with V5.0.5? And if not, do you have a test macro for me?
Try this on yours private gmail account. When is ok, dont close current gmail tab and retry start macro again.
{
"Name": "zzz",
"CreationDate": "2019-6-26",
"Commands": [
{
"Command": "open",
"Target": "https://mail.google.com/mail/u/0/#inbox",
"Value": "val"
}
]
}
Error
[error]
open' failed. No page load event detected after 10 seconds. Error detail: still same ipc secret
This problem
[error]
ipcPromise: onAsk timeout 3000 for cmd āRUN_COMMANDā, args ā[object Object]ā
I have often bug when i use selectWindow on the loop, and url has parameters with variable
example:
the error applies to different domains, most often you must be authenticated
@admin Yes, this problem is on 5.0.5.
Not too sure what I can send you. Itās literally just what is in the screenshot I previously sent. The single āopenā command to the URL of my uncached large single page web-app is all it takes. In Chrome browser. In the screenshot, I also set 2 other variables, but that makes no difference.
I created a special kantu script to reproduce the bug.
I tested it on slow old notebook - asus ul20a (bought it in 2009, os is win7).
You can google āasus ul20a specā to see hardware of this notebook.
This script runs fine on my big computer. (also with win 7)
When I run this script on notebook, it cannot process even 1 url from csv.
{
"Name": "test_bug",
"CreationDate": "2019-6-27",
"Commands": [
{
"Command": "csvRead",
"Target": "input-bug.csv",
"Value": ""
},
{
"Command": "while_v2",
"Target": "${!csvReadStatus} == \"OK\"",
"Value": ""
},
{
"Command": "echo",
"Target": "ŠŠ±ŃŠ°Š±Š°ŃŃŠ²Š°Ń ${!COL1}...",
"Value": "blue"
},
{
"Command": "open",
"Target": "${!COL1}",
"Value": ""
},
{
"Command": "executeScript",
"Target": "return $('.news-header__title').text().trim()",
"Value": "pname"
},
{
"Command": "executeScript",
"Target": "let today = new Date(); today.setHours(today.getHours()+3); return today.toISOString().substring(0, 10)+' '+today.toISOString().substring(11, 19);",
"Value": "curdate"
},
{
"Command": "echo",
"Target": "Got ${pname}",
"Value": ""
},
{
"Command": "store",
"Target": "${!COL1}",
"Value": "!csvLine"
},
{
"Command": "store",
"Target": "${pname}",
"Value": "!csvLine"
},
{
"Command": "store",
"Target": "${curdate}",
"Value": "!csvLine"
},
{
"Command": "csvSave",
"Target": "output-bug",
"Value": ""
},
{
"Command": "executeScript",
"Target": "return Number(${!csvReadLineNumber})+1",
"Value": "!csvReadLineNumber"
},
{
"Command": "csvRead",
"Target": "input-bug.csv",
"Value": ""
},
{
"Command": "endWhile",
"Target": "",
"Value": ""
}
]
}
and input-bug.csv
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
https://tass.ru/ekonomika/6598753?utm_source=yxnews&utm_medium=desktop,1
I use kantu for chrome extension.
Btw after my yesterday comment I decided to use my working kantu script on my fast big computer - and it works fine on it. Perviously I wanted to use my old notebook to run kantu scripts forever, but I found that old notebook does not work fine with kantu.
For me problem now is not such big - I just use big modern computer for kantu, and have no bugs here at the moment.
For what reason do you want to re-open Gmail (as in video)? I think I would open it in a new tab and close the existing one if I had such a need.