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

Uploading metadata xml creates two copies of the extensions #17

Open
amsnyder opened this issue Nov 2, 2021 · 2 comments
Open

Uploading metadata xml creates two copies of the extensions #17

amsnyder opened this issue Nov 2, 2021 · 2 comments

Comments

@amsnyder
Copy link

amsnyder commented Nov 2, 2021

When I upload an xml file through the upload_file_to_item() function, two copies of each extension are created. This behavior does not occur when I upload the same xml file through the browser GUI (only one copy of each extension is created).

I cannot upload the xml filetype to this issue, so I have saved it as a text file to attach. If you resave it as an xml file and try to upload it, I believe you will be able to duplicate the behavior.

618159dcd34e9f2789e2e129.txt

@zdefne-usgs
Copy link

@amsnyder it has been a few years since this post, but curious to hear if you solved this issue back then. Do you think maybe you needed to use scrape_file=False flag?

@amsnyder
Copy link
Author

I did not resolve this issue, and I haven't tested this since this post. :) But curious if anyone else has experience this and found a solution!

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