-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xlrelease]ImportError: cannot import name PasswordEncrypter in <script> #3
Comments
What version of XL Release are you using @mannepu |
9.6.1 |
I am also encountering this error. We have multiple instances of XL Release running and oddly enough I encounter this error when trying to use the PasswordEncrypter class in a Script task on one instance, and it works perfectly fine in a Script task on the other instance. I suspect we have some sort of configuration difference between the instances. Regardless, as I was investigating this, I came across a code comment in one of the examples on the Digital.ai (XebiaLabs) documentation site that seems to suggest that this class is only accessible to "packaged scripts" which I assume refers to scripts packaged in custom XLR plugins:
|
is your XLR instance running in sandbox mode or not? If it is it won't be able to access the password encryptor class by default. |
I am trying to import PasswordEncrypter in xlrelease jython script task as given below:
from com.xebialabs.deployit.util import PasswordEncrypter
and getting
Exception during execution: ImportError: cannot import name PasswordEncrypter in <script> at line number 1
The text was updated successfully, but these errors were encountered: