Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More thorough step by step guide to set up the extension for noobies #12

Open
Anders-Solberg opened this issue Jun 10, 2019 · 1 comment

Comments

@Anders-Solberg
Copy link

Hi! Sorry I'm new to github so I don't know if this is the right place to request this. While I've been trying to set up the addon for hours I am still unable and keep on getting the error code pasted at the bottom. I'm 99% sure it's something I'm not doing correctly as I'm not terribly tech-savy. Is it possible to make a more thorough step by step guide to setting this up - either written or video. It would mean a ton!

Debug info:
Anki 2.1.13 (3ba55990) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.14
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Airtable Anki

Caught exception:
File "aqt/progress.py", line 72, in handler
File "aqt/main.py", line 136, in setupProfile
File "aqt/main.py", line 276, in loadProfile
File "anki/hooks.py", line 29, in runHook
File "/Users/xxx/Library/Application Support/Anki2/addons21/1573217784/init.py", line 186, in hook
airtableImport(mw.col, table["anki_deck"], table["anki_model"], table["airtable_table"], table["airtable_view"], table["airtable_key"])
File "/Users/xxx/Library/Application Support/Anki2/addons21/1573217784/init.py", line 175, in airtableImport
airtable.updateModel(model)
File "/Users/xxx/Library/Application Support/Anki2/addons21/1573217784/init.py", line 39, in updateModel
for record in self.getRecords():
File "/Users/xxx/Library/Application Support/Anki2/addons21/1573217784/init.py", line 92, in getRecords
self.records = self.getRecordsWithOffset(None)
File "/Users/xxx/Library/Application Support/Anki2/addons21/1573217784/init.py", line 109, in getRecordsWithOffset
sys.stderr.write(raw_response)
File "aqt/errors.py", line 41, in write
<class 'TypeError'>: write() argument must be str, not bytes

@sirupsen
Copy link
Owner

What does your config and Airtable look like Anders?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants