I am just learning the Python API so bear with me. A strange text box appears before the password prompt (appears twice). Not sure what is causing it.
I enter the password four times
Hi,
I am trying to clone portal 10.5.1 to 10.7.1
link: Jupyter Notebook
Amy,
The text boxes are a result of calling getpass() twice. The getpass() function prompts for user input without revealing it in plaintext. If you don't mind me asking, what is the goal of this script? Do you wish to authenticate to both the target and source portal anonymously? If so, there is no need to use the getpass() function.
Thanks,
Josh
Here you go. last one was not correct. I have tried restarting the Kernel. Also, i use the same username for both target usernames, not sure why it asks for that twice.
Hi Amy,
Can you attach a copy of the Jupyter so I can test the issue on my end?
Have you tried restarting the Python kernel?
-Josh
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.