Icons not displaying

User3366 5 years ago

Hi all,

First off let me say thank-you so much for making this amazing software. Everything is going great but I have just come across this issue and wonder if anyone else has had the same problem.
The icons of my devices are not showing up in the default traccar interface. I have checked the logs no errors etc but on the front end I can see

Uncaught TypeError: Cannot read property 'style' of null app.min.js:304 Uncaught TypeError: Cannot read property 'style' of null
    at getImageSvg (app.min.js:304)
    at getImageIcon (app.min.js:307)
    at getMarkerStyle (app.min.js:327)
    at getLatestMarker (app.min.js:327)
    at g.updateLatestMarker (app.min.js:320)
    at g.updateLatest (app.min.js:317)
    at F.fire (ext-all.js:22)
    at F.dispatch (ext-all.js:22)
    at g.a.doFireEvent (ext-all.js:22)
    at g.fireEventArgs (ext-all.js:22)
getImageSvg @ app.min.js:304
getImageIcon @ app.min.js:307
getMarkerStyle @ app.min.js:327
getLatestMarker @ app.min.js:327
updateLatestMarker @ app.min.js:320
updateLatest @ app.min.js:317
fire @ ext-all.js:22
dispatch @ ext-all.js:22
a.doFireEvent @ ext-all.js:22
fireEventArgs @ ext-all.js:22
fireEvent @ ext-all.js:22
onCollectionAddItems @ ext-all.js:22
onCollectionAdd @ ext-all.js:22
notify @ ext-all.js:22
splice @ ext-all.js:22
insert @ ext-all.js:22
insert @ ext-all.js:22
add @ ext-all.js:22
updatePositions @ app.min.js:470
protocol.onmessage @ app.min.js:469
2app.min.js:304 Uncaught TypeError: Cannot read property 'style' of null
    at getImageSvg (app.min.js:304)
    at getImageIcon (app.min.js:307)
    at getMarkerStyle (app.min.js:327)
    at getLatestMarker (app.min.js:327)
    at g.updateLatestMarker (app.min.js:320)
    at g.updateLatest (app.min.js:317)
    at F.fire (ext-all.js:22)
    at F.dispatch (ext-all.js:22)
    at g.a.doFireEvent (ext-all.js:22)
    at g.fireEventArgs (ext-all.js:22)
getImageSvg @ app.min.js:304
getImageIcon @ app.min.js:307
getMarkerStyle @ app.min.js:327
getLatestMarker @ app.min.js:327
updateLatestMarker @ app.min.js:320
updateLatest @ app.min.js:317
fire @ ext-all.js:22
dispatch @ ext-all.js:22
a.doFireEvent @ ext-all.js:22
fireEventArgs @ ext-all.js:22
fireEvent @ ext-all.js:22
onCollectionItemChange @ ext-all.js:22
notify @ ext-all.js:22
itemChanged @ ext-all.js:22
afterChange @ ext-all.js:22
afterEdit @ ext-all.js:22
callJoined @ ext-all.js:22
set @ ext-all.js:22
updatePositions @ app.min.js:470
protocol.onmessage @ app.min.js:469 

For some reason can't display the svg all of a sudden. I am using the latest version no customisation and SSL

Anton Tananaev 5 years ago

Do you have a URL to check?

User3366 5 years ago
User3366 5 years ago

weirdly that link I can see the icons - but not logged in as admin

User3366 5 years ago

Cleared cookies tried different browsers etc

Anton Tananaev 5 years ago

Icons work exactly the same way no matter what privileges your user has.

User3366 5 years ago

Thanks Anton, Not sure what caused the issue but it seems to be back to normal now