watchlist save as png, jpg, pdf blank
-
Hi,
When I try to save a plot from a watchlist the jpg,png,pdf exports are all blank white space. The PDF has an URL at the top. The xlsx export does provide data, and there is data in the plot.
looks like this exception in the log occurs:
WARN 2019-10-07T09:42:16,831 (com.infiniteautomation.mango.rest.v2.ServerRestV2Controller.postClientError:319) - Client error [user=admin, cause=Possibly unhandled rejection: {}, location=http://192.168.172.11:8080/ui/administration/system-status/logging-console, userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0, language=en-US, date=2019-10-07T09:42:35.800-07:00, timezone=Africa/Abidjan] TypeError: this.activeEvents is undefined at subscribeToEvents/< (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:72:97514) at u/</< (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:94777) at u/< (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:94915) at $digest (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:100341) at $apply (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:102518) at $applyAsync/r< (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:102663) at Qr/this.$get</</this.completeTask (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:122819) at un/this.$get</</a.defer/r< (http://192.168.172.11:8080/ui/mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:78:34332)
actually that exception might be related to viewing the log, not the empty plots
-
Hi craig,
The URL in that error is on the logging console page, so perhaps you were using that tab for some time.
The "Download As..." options are a function of AMCharts after the plot is drawn and are fully occurring within your browser window, not downloads through Mango. What browser are you using?
Edit: You could check your network tab to see if any requests are getting an error response, but my guess is for some reason it is exporting as a 0 pixel chart, from your description.
-
firefox 68, or more exactly: userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
-
Not able to replicate simply by using Firefox 68.0.2
Perhaps you can confirm that your Mango is fully up to date, and that no network requests are getting failing status codes?
-
@craig
Craig
trying using chrome. I had similar issue when I used Brave. -
Hi Phil, no failed network requests and no errors in the firebug console, it is on version 3.6.4. Guess it is a web browser thing
-
I think so, but not sure why we wouldn't see it as well. Maybe a plugin or something?
Can you check the SVG to see if that downloaded a zero pixel plot area (i.e. the <svg> opening tag's height and width are 0)? Maybe try clearing the browser cache?