tabcmd icon indicating copy to clipboard operation
tabcmd copied to clipboard

exe file Permissions when running

Open mattlc1989 opened this issue 3 years ago • 8 comments

apologies if I am doing this wrong but when I try to login using the updated exe file I get a permission error.

I have replaced the original exe file from tabcmd with the new one from here

this is the error script

PermissionError at line 15 of C:\Users\MOCALL~1\AppData\Local\Temp\2_MEI243722\tabcmd.py: [Errno 13] Permission denied: 'C:\Program Files\Tableau\Tableau Server\2021.4\extras\Command Line Utility\tabcmd.log'

mattlc1989 avatar Aug 05 '22 12:08 mattlc1989

I have tried the pip method also ran the pip install fine but them where will the tabcmd.py file be just get 401001: Signin Error Error signing in to Tableau Server any way I try this

obviously I'm missing something , I am using server 2021.4

mattlc1989 avatar Aug 05 '22 13:08 mattlc1989

The new exe doesn't need to be in the same place as the old one: if you just put it on the Desktop or somewhere you normally work, does that fix it? Could you try adding --logging-level=debug to the command when you login, and copy the output here?

jacalata avatar Aug 10 '22 21:08 jacalata

yes i have tried just running in a folder this is what i get

C:\Users\mocallaghan\Downloads>tabcmd login -s https://prod-uk-a.online.tableau.com -u ########-p ########-logging-level=debug INFO: Creating new session INFO: ===== Server: https://prod-uk-a.online.tableau.com INFO: ===== Username: [email protected] INFO: Tableau Server Site: INFO: Connecting to the server... INFO:

    401001: Signin Error
            Error signing in to Tableau Server

mattlc1989 avatar Aug 11 '22 07:08 mattlc1989

Hi, sorry for the wait! I just realised that you have not listed a site in the last comment, which is why your login failed. Do you know the name of your site?

jacalata avatar Aug 27 '22 15:08 jacalata

Hi, sorry for the wait! I just realised that you have not listed a site in the last comment, which is why your login failed. Do you know the name of your site?

apologies I never usually name my site in the connection just the server

added my site and can log in now thanks.

running a simple get command asked my for a password which cannot then enter ?

image

mattlc1989 avatar Aug 30 '22 08:08 mattlc1989

once I renter my password which i cannot do as i run these on scripts then i get this

image

mattlc1989 avatar Aug 30 '22 12:08 mattlc1989

any help on this ? cannot run any code as constantly asking for my password ?

image

mattlc1989 avatar Sep 09 '22 10:09 mattlc1989

I'm sorry I didn't help more - I don't really have any idea what's causing this. If you are still having trouble, I would try saving your password in a file and using the argument --password-file when you log in.

jacalata avatar Feb 03 '23 05:02 jacalata

closing as stale.

jacalata avatar Jun 14 '24 01:06 jacalata