Skip to content

Incorrect of implementation of export_command for PNG #184

Description

@TimothyVermeirenBiztory

Hi! A user raised a question in an internal Tableau Slack channel about issues when using the export command for PNGs. (Link in case you have access to said channel.)

They'd attempt something along the lines of tabcmd export "wb/view" --png -f "output.png, and see an error saying 'ViewItem' object has no attribute png.

I've taken a quick look at the Python code and found that line 147 of export_command.py refers to view_item.png. However, that's not the right attribute after populate_image; it should be view_item.image.

As a barely amateur developer, I'm not very well acquainted with how I'd go and pull, then fix this myself (Git flow-wise), so I thought I'd just bring this up as an issue. The fix is trivial, so if you let me know what that process is, happy to follow standard procedure instead.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions