Project fails without giving a reason/ ID

Aronax

Client
Регистрация
29.01.2015
Сообщения
205
Благодарностей
59
Баллы
28
I have a template that sometimes fails to complete in Zennoposter (works fine in PM). The odd thing is that it does not give any reason or ID when it fails (like element not found/ failed to process table etc.)
It just says it failed. I attached a screen-shot (the one that failed at 21:06:30).

Any thoughts?
Capture.JPG
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Aronax

Client
Регистрация
29.01.2015
Сообщения
205
Благодарностей
59
Баллы
28
Good idea! Thanks a lot

LE
Checked the logs and found these errors:

excutionLog:

2015-10-14 21:06:29.8109|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Text parsing by regular expression action id: b249ad2a-4583-4722-a2f7-24345df5d168 action group id: 7ca8fcc3-eeca-435f-a7fb-a8fcad612f7c"
Message: "Result:ничего не найдено"
2015-10-14 21:06:30.3933|WARN|ZennoLab.LogLibrary.InternalError|Error occured in module "ZennoPoster"
Message: "Failed to complete project C:\BOTS\.....xmlz"

nonCritical errors (this error came 1 minute later):

2015-10-14 21:07:30.4363|System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at ServerGecko.Tab.Navigate(String url, String referrer)|

Found nothing other than these errors, at the specified time.
 
Последнее редактирование:

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Nick

Client
Регистрация
22.07.2014
Сообщения
1 983
Благодарностей
817
Баллы
113
(i'm not from support staff, just share my thoughts)
In a first piece, an error happens in the regexp block or right after it. To check it, add a pause block after the regex, you'll see a distinct time then.

In the second piece, the "navigate" action failed because of some strange URI.

You can solve the both if you replace regular actions with C# code and put it inside a try/catch block which literally "catches" and handles such exceptional situations. You could then just try again or show a message etc.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)