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

Error: Unable to find table named #15193

Closed
JBSDS opened this issue Dec 17, 2024 · 5 comments
Closed

Error: Unable to find table named #15193

JBSDS opened this issue Dec 17, 2024 · 5 comments
Assignees
Labels
bb-automations Budibase Automations related work bug Something isn't working env - production Bug found in production firestorm Data/Infra/Revenue Team

Comments

@JBSDS
Copy link

JBSDS commented Dec 17, 2024

Hi everyone,

I’m encountering an error on Budibase when creating an automation with a "Query row" and the table name contains multiple words. The error I get is: "Error: Unable to find table named 'Historique%2520anciennete%2520abo'".
The problem appeared when upgrading from version 2.32.11 to 3.2.29.

Does anyone have any ideas on how to resolve this issue?

Thank you in advance for your help!

{ "browser": { "language": "fr-FR", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36", "platform": "Win32", "vendor": "Google Inc." }, "server": { "budibaseVersion": "3.2.29", "hosting": "docker-compose", "nodeVersion": "v20.18.1", "platform": "linux", "cpuArch": "x64", "cpuCores": 32, "cpuInfo": "13th Gen Intel(R) Core(TM) i9-13900K", "totalMemory": "31.22834014892578GB", "uptime": "0 day(s), 6 hour(s), 50 minute(s)" } }

image

@JBSDS JBSDS added the bug Something isn't working label Dec 17, 2024
Copy link

linear bot commented Dec 17, 2024

@mike12345567 mike12345567 self-assigned this Dec 17, 2024
@andz-bb andz-bb added the bb-automations Budibase Automations related work label Dec 17, 2024 — with Linear
@JBSDS
Copy link
Author

JBSDS commented Dec 19, 2024

Hi,
I just got the migration pop-up related to the CouchDB service. I went ahead and did it, and it resolved my issue.
https://docs.budibase.com/docs/migrations

@JBSDS JBSDS closed this as completed Dec 19, 2024
@JBSDS
Copy link
Author

JBSDS commented Dec 23, 2024

Hi, I obviously spoke a bit too soon. I just noticed that I have the same issue with other automations 😢.
image

@JBSDS
Copy link
Author

JBSDS commented Jan 4, 2025

Hi,

Here's the workaround I used to solve this issue: I ended up recreating the entire database from scratch. However, I ran into another problem when trying to re-import the CSV files into my database using Budibase.
Specifically, I noticed that the relationship data from my MySQL database wasn't importing.

To address this, I used this solution: I converted all "fk_" columns related to relationships into "arrays", as that is the format required to import relationships via CSV. I'm not sure why this isn't the default export format, and I couldn’t find an option to handle this directly.

Here's what I did:

1 - I renamed the "fk_" columns in my CSV to match the names of the corresponding relationship columns.
2 - I used the following Python program (generated by ChatGPT) to convert the relationship columns into arrays. After this step, I successfully imported the modified CSV into my new database.

array.txt

@mike12345567
Copy link
Collaborator

This should be resolved in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-automations Budibase Automations related work bug Something isn't working env - production Bug found in production firestorm Data/Infra/Revenue Team
Projects
None yet
Development

No branches or pull requests

3 participants