thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
8 stars 5 forks source link

Getting an error while installing the CS tool on windows environment #159

Closed SSangoju closed 1 week ago

SSangoju commented 1 month ago

First Stop

Platform Configuration

https://thoughtspot.github.io/cs_tools/

Description

while installing the CS tool we are getting the below error,

" PS C:\Users\Santhosh_Sangoju> powershell -c "IRM https://raw.githubusercontent.com/thoughtspot/cs_tools/master/cs_tools/updater/_bootstrapper.py | py - --install" IRM : McAfee Web Gateway - Notification - Authentication Required Authentication Required

  You must be authenticated to access this URL.

urlprotocol = "https"; statuscode=407; if(statuscode==401 && urlprotocol == "ftp"){ document.write(""); document.write(""); document.write("Please enter your credentials in the form below and click \"Access FTP\" button if your browser doesn't present authentication prompt for FTP sites."); document.write("Username:"); document.write("Password:"); document.write(""); document.write(""); document.write(""); }

function redirectToFTP(){ var username=unescape(document.getElementById("ftpUsername").value); var password=unescape(document.getElementById("ftpPassword").value); location.href = "ftp://"+username+":"+password+"@raw.githubusercontent.com:443" }

  URL: break_line("https://raw.githubusercontent.com");

Proxy: usps3mwgproxy01Rule: Perform Authentication

Internet Usage Policy

Internet Usage Policy applies to all employees of Dell Inc. who have access to computers and the Internet to be used in the performance of their work. Use of the Internet by employees of Dell Inc. is permitted and encouraged where such use supports the goals and objectives of the business. However, access to the Internet through Dell Inc. is a privilege and all employees must adhere to the policies concerning Computer, Email and Internet usage. Violation of these policies could result in disciplinary and/or legal action leading up to and including termination of employment. Employees may also be held personally liable for damages caused by any violations of this policy. All employees are required to acknowledge receipt and confirm that they have understood and agree to abide by the rules hereunder on a periodic basis.

At line:1 char:1

It would appreciate it if somone could help on this error.

Regards, Santhosh.

Need to upload log files securely?

No response

boonhapus commented 1 month ago

Proxy: usps3mwgproxy01Rule: Perform Authentication Internet Usage Policy

@SSangoju it appears that your organization does not allow you to install python utility unless they bypass the proxy or hit an internal FTP.

I can build an offline binary for you (no outside internet access necessary) if that would help. Can you share the output of this command?

python -m sysconfig | select -first 20

SSangoju commented 1 month ago

Hi,

Thanks for your response.

I ran suggested command, and the result is below:

“ PS C:\WINDOWS\system32> python -m sysconfig | select -first 20 Platform: "win-amd64" Python version: "3.12" Current installation scheme: "nt"

Paths: data = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312" include = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Include" platinclude = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Include" platlib = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Lib\site-packages" platstdlib = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Lib" purelib = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Lib\site-packages" scripts = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Scripts" stdlib = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Lib"

Variables: BINDIR = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312" BINLIBDEST = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Lib" EXE = ".exe" EXT_SUFFIX = ".cp312-win_amd64.pyd" INCLUDEPY = "C:\Users\Santhosh_Sangoju\AppData\Local\Programs\Python\Python312\Include" PS C:\WINDOWS\system32> “

Regards, Santhosh.

Internal Use - Confidential From: SN @.***> Sent: Wednesday, July 24, 2024 7:44 PM To: thoughtspot/cs_tools Cc: Sangoju, Santhosh - Dell Team; Mention Subject: Re: [thoughtspot/cs_tools] Getting an error while installing the CS tool on windows environment (Issue #159)

[EXTERNAL EMAIL]

Proxy: usps3mwgproxy01Rule: Perform Authentication Internet Usage Policy

@SSangoju [github.com]https://urldefense.com/v3/__https:/github.com/SSangoju__;!!LpKI!gdfIGPDSEaN0rnO6ac8JVEy3s8FaCaZ8SCK9dmLMWy4E1IHI0No2ZjPnhj9f1PrqioQFpXtcwIIllbZX1lZ6Kn9hCoenXfE$ it appears that your organization does not allow you to install python utility unless they bypass the proxy or hit an internal FTP.

I can build an offline binary for you (no outside internet access necessary) if that would help. Can you share the output of this command?

python -m sysconfig | select -first 20

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/thoughtspot/cs_tools/issues/159*issuecomment-2248089620__;Iw!!LpKI!gdfIGPDSEaN0rnO6ac8JVEy3s8FaCaZ8SCK9dmLMWy4E1IHI0No2ZjPnhj9f1PrqioQFpXtcwIIllbZX1lZ6Kn9hDuTZslo$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BKCOVBQLJYDYDGCS3EVHZMTZN6ZDXAVCNFSM6AAAAABLMHLSHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGA4DSNRSGA__;!!LpKI!gdfIGPDSEaN0rnO6ac8JVEy3s8FaCaZ8SCK9dmLMWy4E1IHI0No2ZjPnhj9f1PrqioQFpXtcwIIllbZX1lZ6Kn9hrylBp1U$. You are receiving this because you were mentioned.Message ID: @.***>

boonhapus commented 1 month ago

@SSangoju , please try this link

To install the offline binary, we need to run these two steps.

  • Extract the zip file.
  • Run python against the _bootstrapper.py file with --offline-mode specified

cd cs-tools_1.5.9b4_linux-x86_64_3.12 python _bootstrapper.py --install --no-clean --offline-mode .

boonhapus commented 1 week ago

Closing this as it's been some time since we last heard from you. Feel free to reopen the issue or create a new one if you're still having problems!