Comments (4)
(I notice that you have 's3://mariont-test/test.txt'
in your traceback but 's3://test/test.txt'
in your code; I assume the latter is the real one)
When connecting with boto3.client, you use the same keys? You can do s3.ls()
to see what buckets are associated with your user. You should check the access permissions on the bucket and key according to the AWS S3 console.
from s3fs.
'mariont-test/test.txt' is the true path. The other path I was just trying to anonymize the bucket name when I opened this issue
import s3fs
s3 = s3fs.S3FileSystem(key=ACCESS_KEY, secret=SECRET_KEY)
s3.ls()
TypeError Traceback (most recent call last)
in ()
----> 1 s3.ls()TypeError: ls() takes at least 2 arguments (1 given)
The access and secret keys are correct since I am using them on boto3 on the same notebook and it works. I also tried to open the permissions on the s3 bucket and tried to access it with anoun=True but I end up always with the same error in previous comment.
from s3fs.
Sorry, should have been ls('')
. Also, can you try your ls cals above with refresh=True
?
from s3fs.
Hi, sorry for the trouble. The mistake was fully mine! I used specific bucket keys instead of the user keys.
Keep going with the great work! Cheers
from s3fs.
Related Issues (20)
- Inconsistent recursive `put` behavior when running an identical command twice successively HOT 1
- open_async file is closed on arrival HOT 1
- set_session does not seem to be thread / jobs safe HOT 4
- Random XAmzContentSHA256Mismatch Errors HOT 6
- Access denied when providing an authentication token associated with a set of permission policies to S3FileSystem HOT 3
- calling flush on s3fs fails HOT 2
- s3fs 2024.3.0 fails reading glob patterns through pandas HOT 12
- Question: is awscrt useful ? HOT 2
- Errors when installing s3fs on Sagemaker Studio HOT 1
- Why isn't Pathlib supported yet? HOT 1
- Working example of using Async/Await HOT 7
- Custom s3 compatible https endpoint not working, port forwarded to localhost works HOT 9
- How to Increase async httpconnection limit? HOT 7
- Does aioboto3 Support Authentication with EC2 IAM Roles? HOT 3
- upload function didn't recognize the file path having "[]". HOT 4
- How to upload a list of files from local fs to cloud s3 fs async? HOT 3
- Writing metadata with underscores fail silently HOT 1
- s3fs.exists incorrectly returns False after calling glob
- fsspec.generic.rsync(<s3_path>, <s3_path>) raises FileNotFoundError HOT 7
- When requesting the wrong version of an existing file, the `FileNotFoundError` could be more informative. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3fs.