-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The anyquery airtable plugin crashes with error:
"could not request the rows from the plugin
reading body EOF"
software | version |
---|---|
OS | MacOS Sequoia |
airtable plugin | version 0.1.2 |
anyquery version | dev (built with go1.24.1 for darwin/arm64) · SQLite 3.49.0 |
I have configured the airtable plugin with my base ID, API key, and table name.
The table name is "Studies" and any query on it crashes the plugin.
$ anyquery --log-file notion.log --log-level debug -q "select PMID from airtable_table where PMID='25922862'"
could not request the rows from the plugin
reading body EOF
+------+
| PMID |
+------+
+------+
0 results
In this example
- The table contains a string field "PMID"
- There are about 12K rows in the table total
- There is exactly one row in the table which has the value '25922862' in the PMID field.
The last 10 lines of the logfile show "gob: type not registered for interface: []interface {}" and "rpc: gob error encoding body", then the plugin crashes. Log snippet:
(edited to anonymize base ID and OS username)
$ tail -10 edited.log
2025-05-27T15:16:28.529-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 failed to save list-$BASEID-Studies-itrzN5EJFqpFlOozY/rec4m0IWrGBrGHRe1- in cache: gob: type not registered for interface: map[string]interface {}
2025-05-27T15:16:28.536-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 failed to get list-$BASEID-Studies-itrzN5EJFqpFlOozY/rec5KKxXED8s3zisk- from cache: Key not found
2025-05-27T15:16:28.588-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 [DEBUG] GET https://api.airtable.com/v0/$BASEID/Studies?offset=itrzN5EJFqpFlOozY%2Frec5KKxXED8s3zisk&pageSize=100&view=
2025-05-27T15:16:28.788-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 failed to save list-$BASEID-Studies-itrzN5EJFqpFlOozY/rec5KKxXED8s3zisk- in cache: gob: type not registered for interface: []interface {}
2025-05-27T15:16:28.789-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 rpc: gob error encoding body: gob: type not registered for interface: map[string]interface {}
2025-05-27T15:16:28.789-0400 [ERROR] could not request the rows from the plugin: error="reading body EOF" table=0 connection=0
2025-05-27T15:16:28.791-0400 [DEBUG] DISCONNECT: table=0 connection=0 plugin="/Users/$MACUSER/Library/Application Support/anyquery/plugins/default/airtable/baffg6/anyquery"
2025-05-27T15:16:28.823-0400 [DEBUG] anyquery: 2025/05/27 15:16:28 [DEBUG] plugin: plugin server: accept unix /var/folders/tb/mwlc0fs53q12s3mpv_mp4qc80000gq/T/plugin3293877293: use of closed network connection
2025-05-27T15:16:28.829-0400 [INFO] plugin process exited: plugin="/Users/$MACUSER/Library/Application Support/anyquery/plugins/default/airtable/baffg6/anyquery" id=90383
2025-05-27T15:16:28.829-0400 [DEBUG] plugin exited
julien040
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working