Skip to content
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

Compare not working anymore ? #17

Open
nvuillam opened this issue Oct 20, 2021 · 1 comment
Open

Compare not working anymore ? #17

nvuillam opened this issue Oct 20, 2021 · 1 comment

Comments

@nvuillam
Copy link

I'm trying to compare a production and a pre-production org, and except for labels, all items are declared to be existing on one side and not on the other, whereas they clearly physically exist on both sides

image

Is there some workaround ?

Thanks !

@bskiefer
Copy link

Running locally I think it has to do with concurrent read/write to metadata.zip. I did something like this for retreive_files@tasks.py

os.makedirs("meta/{}/{}".format(slugify(org.username), component_type), exist_ok=True)
zipname = "meta/{}/{}/{}.zip".format(slugify(org.username), component_type, component_type)
if os.path.isfile(zipname):
	os.remove(zipname)
	
# Save the zip file result to server
zip_file = open(zipname, 'wb')

...

metadata = ZipFile(zipname, 'r')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants