Hello,
affter i click the "Start" button in starter, it returns:
afnetwork.py: Received data:
{
"id":58,
"serial":74
}A
JSON loads error:
Extra data: line 4 column 2 - line 4 column 3 (char 24 - 25)
null
The job successfully sent.
This is the same error for every job i submit. I see JSON job structure but what line and column refer to???
Starter return JSON loads error
Re: Starter return JSON loads error
Hi.
This is an extra "A" character at the end of JSON data just after the last "}".
It is a bug appeared when server switched to non-blocking IO.
What OS afserver is running? Have you turned on linux epoll facility?
For now, if you need correct JSON you can just cat off everythin after the last "}", when JSON object finished.
This is an extra "A" character at the end of JSON data just after the last "}".
It is a bug appeared when server switched to non-blocking IO.
What OS afserver is running? Have you turned on linux epoll facility?
For now, if you need correct JSON you can just cat off everythin after the last "}", when JSON object finished.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Starter return JSON loads error
Server runs on Windows.
What python file should i modify to clean that?
What python file should i modify to clean that?
Re: Starter return JSON loads error
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Starter return JSON loads error
Same error appears after sending job in houdini console.
Can you explain a bit more how to solve problem?
Code: Select all
afnetwork.py: Received data:
{
"id":5599,
"serial":9930
}AAA
JSON loads error:
Extra data: line 4 column 2 - line 4 column 5 (char 28 - 31)
afnetwork.py: Received data:
{
"id":5604,
"serial":9931
}AAAAAAAAAAAAAAAAAA
JSON loads error:
Extra data: line 4 column 2 - line 4 column 20 (char 28 - 46)
Afanasy 2.2.3 . Server - Ubuntu 16.04.3 LTS. Clients - Windows 7 SP1
Re: Starter return JSON loads error
Hi!
You need a new job ID or Serial?
If so, just cut of AAA from the end.
If not - is it a problem?
You need a new job ID or Serial?
If so, just cut of AAA from the end.
If not - is it a problem?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Starter return JSON loads error
You can look here how this problem can be solved:
https://github.com/CGRU/cgru/commit/d16 ... 3b1f63c31c
You can get that file from master now, or it will be available in the next releases.
https://github.com/CGRU/cgru/commit/d16 ... 3b1f63c31c
You can get that file from master now, or it will be available in the next releases.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).