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

import StringIO and pass data through StringIO read #173

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

Keimille
Copy link
Contributor

This resolved the issue for me in production.
Resolves #172

@acjohnson
Copy link
Collaborator

Has this been tested with both python 2 and python 3?

@Keimille
Copy link
Contributor Author

Keimille commented Feb 1, 2022

Yes, I've tested on both python2 and 3

@ysde ysde force-pushed the master branch 9 times, most recently from a4c25f9 to f7dfd70 Compare March 25, 2023 07:10
@ysde ysde merged commit 843ffe9 into ysde:master Apr 13, 2023
@spyder007
Copy link

FWIW, when I grabbed the latest code from this repository, I got an error using python 3.11.2

Traceback (most recent call last): File "/home/matt/anaconda3/envs/py_3/bin/grafana-backup", line 5, in <module> from grafana_backup.cli import main File "/home/matt/anaconda3/envs/py_3/lib/python3.11/site-packages/grafana_backup/cli.py", line 3, in <module> from grafana_backup.restore import main as restore File "/home/matt/anaconda3/envs/py_3/lib/python3.11/site-packages/grafana_backup/restore.py", line 15, in <module> from grafana_backup.s3_download import main as s3_download File "/home/matt/anaconda3/envs/py_3/lib/python3.11/site-packages/grafana_backup/s3_download.py", line 3, in <module> import StringIO ModuleNotFoundError: No module named 'StringIO'

I reverted to tag 1.3.0 and the error went away.

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

Successfully merging this pull request may close these issues.

AWS S3 Error when restoring 'StreamingBody' object has no attribute 'tell'
4 participants