Closed thimios closed 2 years ago
@pudo any ideas what could be the issue here?
Usually a sign that the file you're trying to import is not a stream of FtM entities. Can you maybe debug this to the point where you see if there's non-ftm stuff in that file? Seems really weird.
I'm getting this:
(wrangle) ➜ ~ curl -s https://data.opensanctions.org/datasets/latest/us_ofac_sdn/entities.ftm.json | jq -r ".schema" | sort | uniq -c
7454 Address
277 Airplane
1213 Company
123 CryptoWallet
95 Directorship
7 Family
403 Identification
215 LegalEntity
57 Membership
2482 Organization
1970 Ownership
1578 Passport
4726 Person
816 Representation
9130 Sanction
479 UnknownLink
419 Vessel
Ooooh what version of FtM is your aleph instance using? Identification
and CryptoWallet
are pretty new. You may want to upgrade aleph or grep out those entities.
@pudo Thanks for jumping on this for us. @thimios Aleph is a couple of versions behind on it's FtM but this will be resolved in the next 3.11.x release of Aleph.
Upgrading Aleph to 3.11.0 resolved the issue!
Thanks for updating us Thimios, much appreciated
I am getting an "Error: No schema for entity" while trying to load eu_fsf and us_ofac_sdn from opensanctions into an aleph instance.
This is the versions of python and the relevant packages I am using:
Here is what I am calling and the output I am getting:
Also:
It seems that it comes from here: https://github.com/alephdata/followthemoney/blob/master/followthemoney/proxy.py#L61