KNOWLEDGE BASE

tabcmd export Error "AttributeError: 'ViewItem' object has no attribute 'png'"


Published: 13 Oct 2022
Last Modified Date: 13 Oct 2022

Issue

When using tabcmd to export a dashboard as a png file using an export command, the following error may occur:

AttributeError: 'ViewItem' object has no attribute 'png'

Environment

  • tabcmd v2.0.7.dev11
  • Tableau Cloud
  • Tableau Server

Resolution

As a possible workaround, use the get url command instead. For example.:
tabcmd-windows.exe get "/views/Superstore/Overview_1.png?:refresh=yes"

Cause

This issue is currently under investigation.
Did this article resolve the issue?