Hey Team, I've been using Prefect for almost more than a year. Everything was working fine and out of nowhere from yesterday night, I am getting this error from prefect_bitbucket. Is anyone facing the same issue?
so I don't think it should be package installation issue.
Somehow it's not loading a package, because from the log I see that as the run starts, it's installing that package first.
Sandip Viradiya
01/17/2024, 3:51 AM
If the SS is blurry, here is the error as text
Copy code
ERROR | Flow run 'stalwart-guppy' - Flow could not be retrieved from deployment.
KeyError: "No class found for dispatch key 'bitbucket-repository' in registry for type 'Block'."
Warning! Failed to load collection 'prefect_bitbucket': NameError: name 'Cloud' is not defined
Warning! Failed to load collection 'prefect_bitbucket': ConfigError: duplicate validator function "prefect_bitbucket.credentials.BitBucketCredentials._validate_username"; if this is intended, set `allow_reuse=True`'
Sandip Viradiya
01/17/2024, 4:25 AM
Ok found the issue. Atlasian released new update yesterday and Cloud is being imported from atlasian.
I restricted the version to 3.41.4 and it's working fine. In case anyone face the same issue
🙏 2
t
Timothy Tassin
01/17/2024, 10:07 PM
Thanks for the response. It appears to be working. I installed this version atlassian-python-api==3.41.4 along with the correct sqlalchemy version and it worked. Thanks so much!!!
s
Sandip Viradiya
01/19/2024, 1:08 AM
No worries! Took me like 5 hours to backtrack it as it was not expected from atlasian!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.