Skip to content

'obx_model_relation_name': The specified procedure could not be found. #725

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

Open
VarmaTech opened this issue May 10, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@VarmaTech
Copy link

VarmaTech commented May 10, 2025

Error Info

On
_store = await openStore(
directory: join(),
maxDBSizeInKB: gigabytesToBytes(10),
maxDataSizeInKB: gigabytesToBytes(10),
maxReaders: 100,
);

Exception has occurred.
ArgumentError (Invalid argument(s): Failed to lookup symbol 'obx_model_relation_name': The specified procedure could not be found.
(error code: 127))

Build info

  • objectbox version: 4.1.0
  • Flutter/Dart version: 3.19.6 / 3.3.4
  • Build OS: Windows 11

i tried clean and removed objectbox json and dart file and tried fvm flutter pub run build_runner build --delete-conflicting-outputs --verbose .

@VarmaTech VarmaTech added the bug Something isn't working label May 10, 2025
@greenrobot
Copy link
Member

Did you try with 4.2.0?

@greenrobot-team greenrobot-team self-assigned this May 12, 2025
@greenrobot-team
Copy link
Member

Thanks for reporting!

Assuming you are running unit tests, re-run the install.sh script to download the latest version of the database library:

bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-dart/main/install.sh)

Normally, there would be an error message instructing to do so. But due to an oversight in the 4.2.0 release, there is not.
Internal issue objectbox-dart#147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants