laptop and a wrench

Erro

Records are missing in tables and feature classes when running the replicas.create command in ArcGIS API for Python.

Última Publicação: June 3, 2021 ArcGIS API for Python
Número de ID do Erro BUG-000130078
EnviadoApril 10, 2020
Última ModificaçãoJune 28, 2025
Aplica-se àArcGIS API for Python
Versão encontrada1.8
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa2.0.0
StatusFixed

Solução Provisória

Option 1:

Within the Python API script, specify a layer queries argument for all layers in the replica:

  • Use <layer number>{"queryOption": "all", ""useGeometry": True, "where': "1=1"} for feature classes and <layer number>{"queryOption": "all", "where': "1=1"} for tables.
  • This is to force a query of all features and the records are not missing in the output.
  • Sample script attached 'Replica_workaround.'

Option 2:

Replicate the data in ArcGIS Online by creating a replica in the REST endpoint of the feature layer collection, or by using the Export Data function in the items details page of the feature layer collection.

In the REST endpoint:

  1. Click Create Replica at the bottom of the page.
  2. Give the replica an appropriate name.
  3. Enter the layer numbers of the replica.
  4. Change Sync Model to None.
  5. Change Target Type to Server.
  6. Change Data Format to FileGDB.
  7. Click Create Replica.

Etapas para Reproduzir

ID do Erro: BUG-000130078

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download