Giter Club home page Giter Club logo

airtable-to-sqlite's People

Contributors

drkane avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

airtable-to-sqlite's Issues

AttributeError: 'Base' object has no attribute 'iterate'

Great project!
It's not workign for me though :)

airtable-to-sqlite --personal-access-token patNNNN app2XXXX
2024-01-09 16:21:15,213 INFO:airtable_to_sqlite.main:Fetching base record from Airtable...
2024-01-09 16:21:16,131 INFO:airtable_to_sqlite.main:Fetching schema from Airtable...
100%|█████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 19.03it/s]
2024-01-09 16:21:21,128 INFO:airtable_to_sqlite.main:Adding foreign keys
2024-01-09 16:21:22,047 INFO:airtable_to_sqlite.main:Fetching table data
0it [00:00, ?it/s]2024-01-09 16:21:22,048 INFO:airtable_to_sqlite.schema:Fetching table data for Users from Airtable...
0it [00:00, ?it/s]
Traceback (most recent call last):
  File "/home/pm/.local/bin/airtable-to-sqlite", line 8, in <module>
    sys.exit(airtable_to_sqlite())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1637, in invoke
    super().invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/cli/__init__.py", line 44, in airtable_to_sqlite
    AirtableBaseToSqlite(personal_access_token, db, base, prefer_ids).run()
  File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 66, in run
    self.insert_all_table_data()
  File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 203, in insert_all_table_data
    self.insert_table_data(table)
  File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/main.py", line 212, in insert_table_data
    for record in tqdm(table_data):
  File "/usr/lib/python3/dist-packages/tqdm/std.py", line 1170, in __iter__
    for obj in iterable:
  File "/home/pm/.local/lib/python3.10/site-packages/airtable_to_sqlite/schema.py", line 112, in get_table_data
    for page in api.iterate(self.name):
AttributeError: 'Base' object has no attribute 'iterate'

Any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.