You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
Traceback (most recent call last):
File "/tmp/sample.py", line 14, in <module>
with s3_ctx as fs:
File "/Users/gjeusel/src/s3monkey/s3monkey/core.py", line 122, in __enter__
self.patcher.setUp()
File "/Users/gjeusel/src/s3monkey/s3monkey/pyfakefs/fake_filesystem_unittest.py", line 403, in setUp
temp_dir = tempfile.gettempdir()
File "/Users/gjeusel/miniconda3/envs/squamish/lib/python3.7/tempfile.py", line 294, in gettempdir
tempdir = _get_default_tempdir()
File "/Users/gjeusel/miniconda3/envs/squamish/lib/python3.7/tempfile.py", line 209, in _get_default_tempdir
with _io.open(fd, 'wb', closefd=False) as fp:
File "/Users/gjeusel/src/s3monkey/s3monkey/pyfakefs/fake_filesystem.py", line 3995, in open
file_path, mode, buffering, encoding, errors, newline, closefd, opener)
File "/Users/gjeusel/src/s3monkey/s3monkey/pyfakefs/fake_filesystem.py", line 4445, in __call__
return self.call(*args, **kwargs)
File "/Users/gjeusel/src/s3monkey/s3monkey/pyfakefs/fake_filesystem.py", line 4559, in call
fakefile_class, key = self.filesystem.open_callback(locals())
File "/Users/gjeusel/src/s3monkey/s3monkey/core.py", line 154, in open_callback
if 'w' in locals['mode'] and locals['file_'].startswith(self.mount_point):
AttributeError: 'int' object has no attribute 'startswith'
If I were to execute the following after having run the previous one - meaning after having created this S3 object and check it does exist in my S3 bucket -,
this would fail:
Avant-Propos
Hello there !
I pretty much love this library idea, and it would fit my use case perfectly !
Now I was just wondering about a few issues I encountered while testing it.
Chain calls of context:
Here is the traceback:
Path existence while having a folder in it:
While this works just perfectly:
If I were to execute the following after having run the previous one
- meaning after having created this S3 object and check it does exist in my S3 bucket -,
this would fail:
Environment
Is this repository maintained ?
Also, if you need any more informations please don't hesitate !
Cordially,
The text was updated successfully, but these errors were encountered: