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

FormatException: FormatException: Unable to load artboard #4929

Closed
sentry-io bot opened this issue Dec 27, 2023 · 1 comment · Fixed by #5114
Closed

FormatException: FormatException: Unable to load artboard #4929

sentry-io bot opened this issue Dec 27, 2023 · 1 comment · Fixed by #5114
Labels
animations 🐛 bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 27, 2023

Sentry Issue: SMOOTHIE-37V

FormatException: FormatException: Unable to load artboard
  File "rive_animation.dart", line 270, in RiveAnimationState._init
  File "rive_animation.dart", line 196, in RiveAnimationState._configure
@monsieurtanuki
Copy link
Contributor

Hi @g123k!

I think I've detected the problem - 30.4K sentry errors this week - in smooth_product_card_loading.dart:

const RiveAnimation.asset(
  'assets/animations/off.riv',
  artboard: 'Loading',
  alignment: Alignment.topCenter,
  fit: BoxFit.fitHeight,
)

In off.riv, there is no "Loading" artboard. Those are the current artboards:

  • Barcode
  • Search eye
  • Consent
  • Planet2
  • Tomato
  • Muffins
  • Double chevron
  • Success
  • Planet
  • Donut
  • Lemon
  • Wine
  • Logo
  • Search icon
  • Torch
  • Pizza

Besides, now that we have an app_animations.dart file, it would probably be better off to move there the "Loading" animation widget.

As you're the only one who understands rive, would you please fix this issue? Thanks!

@g123k g123k linked a pull request Mar 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
animations 🐛 bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants