Symbols were visible when I left on Friday and gone when I came back Monday. It is the same for all the default symbols in the Symbols Palette. Getting the below error in the console:
"onerrorLogger: {"e":{"message":"Request failed with status code 404","name":"AxiosError","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{"FormData":null},"headers":{"Accept":"application/json, text/plain, /"},"method":"get","url":"http://[Hidden]:8088/data/perspective/icons/symbol_mimic.svg?digest=+0NSRQ/D1m+Gs3ynJuceFvqDOAIw0yvfM5fbkneEvCY=#pump_centrifugal_feet"},"code":"ERR_BAD_REQUEST","status":404},"message":"Request failed with status code 404","name":"AxiosError","logData":{"msg":"unhandledrejection","errorMsg":"Request failed with status code 404"}}"
line_number: 2
So I took a look at the path but everything seems normal, svg files are in the Icon folder. Any ideas?
EDIT: It is not just my symbols palette is it all my .svg files in the root of my ICON folder.
EDIT#2: It is across all my projects on this server. So, it isn't project specific. I tried updating the ignition version but issue continues. It seems to have issues reaching .svg files in this path: C:\Program Files\Inductive Automation\Ignition\data\modules\com.inductiveautomation.perspective\icons
Using https://jsonlint.com to clean up the JSON we get,
{
"e": {
"message": "Request failed with status code 404",
"name": "AxiosError",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, /"
},
"method": "get",
"url": "http://[Hidden]:8088/data/perspective/icons/symbol_mimic.svg?digest=+0NSRQ/D1m+Gs3ynJuceFvqDOAIw0yvfM5fbkneEvCY=#pump_centrifugal_feet"
},
"code": "ERR_BAD_REQUEST",
"status": 404
},
"message": "Request failed with status code 404",
"name": "AxiosError",
"logData": {
"msg": "unhandledrejection",
"errorMsg": "Request failed with status code 404"
}
}
In the url value string you have,
/symbol_mimic.svg?digest=+0NSRQ/D1m+G ... CY=#pump_centrifugal_feet"
Where's the big digest string coming from? I've never seen anything like it but I haven't played with the symbols much.
You've labelled your post as "icons". Did you mean "symbols?"
I had originally labeled the post symbols, but then I noticed my check boxes and tag browser were not working and the console had the same path error but to the material.svg file in the icons folder which is used for alot of things.
Solution:
I thought maybe the files were corrupted so I installed ignition on one of my other computers and copied the default icons that come with the the install to my computer that hosts the server and it resolved the issue.