Hello,
I saw that you implemented a new installer and it’s great! And have a few questions about it :
I wanted to know if you encountered something weird about the fact that if I do not enter any credentials, I am still able to download the enterprise version. I tried to use my credentials by copying and pasting from a password manager and couldn’t make it work, I had to type it (i am using KeyPass).
When trying to see all the options of the command sdv-installer download -h
I get this message.
AttributeError: ‘tuple’ object has no attribute ‘strip’
I want to implement a CI/CD using Github actions, at this time, I was upgrading all the packages and was updating my docker image manually. I saw the potential use of the installer, if it had options to put in –username and –license-key using GitHub Secrets. I would use Github actions to generate the image by downloading sdv-enterprise inside a folder using the command sdv-installer download → Always getting the latest version → Tests → Image building and uploading to a private docker hub repo. (I tried using the older version with pip… and expect etc and it works) So this part is more of a suggestion more than anything!
For this last part I tried using expect and some work around but couldn’t make it work properly with sdv-installer but it works fine for now with the “pip download…”.
There are several good points in your message, so I will tackle each one separately below. (You can hit “reply” to each of the individual posts below to discuss a particular topic.)
if I do not enter any credentials, I am still able to download the enterprise version.
SDV Installer is designed to prompt you to enter your username and license key when it needs the info. Question for you: Is the installer not prompting you at all … or are you able to get past the prompt somehow?
A note on offline installation: From a previous discussion, I believe you are doing the installation offline? If so, the expectation is for SDV Installer to ask for your credentials during the first step, where you are downloading the files from our server into a local folder. During the second step, when installing the files from that local folder, you will not need to enter the credentials again. (It is expected to install directly from the local folder.)
# step 1 will require credentials to download the files into a folder
% sdv-installer download --folder sdv-enterprise
# step 2 will not require credentials, as the files are already in the folder
sdv-installer install --folder sdv-enterprise
Topic: Copy-pasting credentials from a password manager
I tried to use my credentials by copying and pasting from a password manager and couldn’t make it work, I had to type it (i am using KeyPass).
Interesting. Could you provide more details into what you are seeing?
If you copy from PassKey, are you able to paste the info into a different application such as a notepad or document?
If copy from another application (like a notebook or document), are you able to paste that into the SDV Installer?
After you paste the items, the SDV Installer is designed to show you what you’ve pasted (in case of sensitive info like the license key, it will show a * character instead). Are you seeing this?
I will pass this feedback along to the engineering team.
When trying to see all the options of the command
sdv-installer download -h
I get this message. AttributeError: ‘tuple’ object has no attribute ‘strip’
Please note that the SDV Installer package was created by DataCebo, so not all the flags that are regularly available on pip may be available in SDV Installer. To see all the flags, please view our documentation site here.
(Though I do agree that a help flag would be good to have. You can reference the docs for this info for now. Will pass this feedback along to the engineering team as well!)
Topic: Installing SDV Enterprise using GitHub Secrets
I want to implement a CI/CD using Github actions, at this time, I was upgrading all the packages and was updating my docker image manually. I saw the potential use of the installer, if it had options to put in –username and –license-key using GitHub Secrets.
Thanks for the feedback — I will pass this along to the team as well.
The team had also been thinking about allowing you to read the credentials in from a local file, so that you do not have to interactively type them in. Would such a solution work for your use case?
For now, please do continue to use the older pip download commands — those will always be valid.
Well it doesn’t do anything at least after that.
Yes I only do the offline installations for my docker image. On the other hand I used the “online” version to update my personnal venv.
This is probably something weird happening on my side because a few times I got this instead :
$charles_vu: sdv-installer download --folder test_for_sdv
$charles_vu: Username: c.vu@epiconcept.fr
$charles_vu: License Key: **************78q4g6************** ##Not my real key
$charles_vu: Error installing SDV Enterprise. This may be due to an invalid username/license key combo, or because your license key has expired. Please double-check that you re providing the right credentials. If you re continuing to experience issues, please reach out to the DataCebo team.
In this case I would just reopen a new terminal and either type my key manually or try to copy paste it if it works. (Note that I am working on VSCODE)
I think it would be a nice idea to read the credentials either from a file or directly in the command with “–username” and “–license_key” for example. I am testing the limits of GitHub actions in the building of my image and so far, the “pip” method is working just fine to download the files
For this part, I am prompted with credentials and am able to just press “Enter” Twice … Well it doesn’t do anything at least after that.
Ah got it – thanks. I was able to replicate this problem.
I am relieved that SDV Installer is not actually providing unauthorized access. In this case, it just seems to be hanging rather than give back an error. I have escalated this with the engineering team and we will be fixing this soon thanks.
Thanks for the details. It seems like it’s pasting the username correctly (c.vu@epiconcept.fr is the right email address), but something is going wrong when pasting the license key?
I see two issues with the license key:
Display: The SDV Installer is supposed to take extra steps to show you only * characters, such that the license key information is not accidentally made visible. So it’s a bit weird to see 78q4g6 in there.
Length: Regardless of how it is being displayed, I also see that the length of the license key string is 34 characters, whereas valid license keys are supposed to be 32 characters – so something extra seems to be copied.
Was this consistently happening or was this intermittent?
Have you tried copy-pasting this value into another application (like an empty file)? Does it paste correctly there?
I tried copying and pasting in an empty text file and works just fine. It is probably a little issue from my terminal since I was able to fix that yesterday (just had to open a new terminal in VSCODE).
I still have the same issue for the 0.36.0 version just so you know. I was able to keep using the troubleshooting version (using pip and pipy).
I don’t mind the sdv-installer not working because I actually do prefer the old method!
Hi @epicvu thanks for letting us know. How about we start a new thread for this? As this one is a bit long and covers a few other questions which we’ve already answered.