Comments (5)
Thanks for your quick reaction, especially since the release 1.0.0 is still further up on the road...
It looks like it might be:
client.me.did
possibly returns a DID that's no longer valid for get_repo
Will you be able to fix this on the python side to get back to the previous behavior, or will the coding just get more complicated for users of your python wrapper?
(I assume the issue won't simply disappear when they have fiished the roll-out, or will it?)
Cheers
Harald
from atproto.
You receive the server side error. Python SDK works properly and show this error as expected. To be honest I don't know why server returns this error for you. Perhaps your account has not been migrated yet or something. Try to login to the official bsky app. Also, maybe you are using the deprecated server method. Double-check if there is another way to get a repo
I'll try to run this example with my account later
from atproto.
Hello, maybe this is related bluesky-social/atproto#1832
from atproto.
True, the SDK's get_repo
just gives the server side error. Using indigo you'll get the same error, as indeed @ericvolp12 with his Bluesky Walker can't do but write this error message into the CAR file for download.
Getting a repo essentially works without login. I can look for the DID elsewhere, say my_did
, and just use
repo = client.com.atproto.sync.get_repo({'did': my_did})
without using client.login('my-handle', 'my-password')
at all.
So I already tested with a handful of DIDs, and it's been the same error. It seems to be related with what @strideynet describes here.
Most probably it concerns all accounts that have been migrated already.
The official app doesn't have the option to DL (archive) the repo, and all programmatical ways I know of - indigo, dart api, Python SDK - seem to have the same problems.
I fear it can only be fixed by bluesky-social, and they probably have different priorities... :(
from atproto.
Repos have been moved to new PDSs and don't all live on bsky.social
anymore. You should be checking a user's DID doc to figure out which PDS is hosting their repo and then downloading it from there using the getRepo endpoint or you can download it from the Relay service at bsky.network
which stores a mirror of all repos. Since migrating users to new PDSs, some users have repos with bad signatures that will be fixed the next time they create a record, so the Relay service may not provide the repo for those users while their PDS will still work for getRepo. See https://atproto.com/blog/repo-export#on-another-instance
from atproto.
Related Issues (20)
- Python Version Depency Issue HOT 2
- Would you recommend any specific gunicorn settings for a feed? HOT 1
- AtUri.from_str() returns invalid host for some AT uri's (Fix included) HOT 2
- Implement autogenerated Record Namespaces HOT 1
- Add the ability to submit posts that include labels
- Delete deprecated "subject" argument of .like() and .repost() methods
- Delete deprecated record models called "Main" instead of "Record"
- Auth token handling improvements HOT 10
- Delete deprecated SessionString class
- decode_dag_multi does not decode fully HOT 4
- Misspelling in get_author_feed HOT 3
- Subscribing to feed? HOT 4
- Parsing Alt Text HOT 2
- Add support for event stream HOT 8
- get_blob errors on redirects HOT 2
- High memory usage: from atproto import Client HOT 3
- Failing on authentication HOT 2
- IpldLink model validation fails HOT 8
- delete_post not work HOT 3
- 'py_type' | '$type' is not fully backward and forward compatible
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 atproto.