objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

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

Open VarmaTech opened this issue 8 months ago • 2 comments

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 avatar May 10 '25 02:05 VarmaTech

Did you try with 4.2.0?

greenrobot avatar May 10 '25 13:05 greenrobot

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

greenrobot-team avatar May 12 '25 05:05 greenrobot-team

Forgot to update: the error message was restored as part of the 4.3.0 release.

greenrobot-team avatar Sep 09 '25 05:09 greenrobot-team