You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you were to pass an argument that isn't currently handled by Nyrna you'll end up with a blank application window and an error in your console.
To Reproduce
Pass an argument to Nyrna and view its output. For example nyrna --help
Expected behavior
For Nyrna to exit gracefully with an error message indicating that argument is unknown
Screenshots
$ ./Nyrna-latest-x86_64.AppImage --help
Gtk-Message: 10:31:34.778: Failed to load module "colorreload-gtk-module"
Gtk-Message: 10:31:34.778: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 10:31:34.779: Failed to load module "appmenu-gtk-module"
flutter: Unknown argument: FormatException: Could not find an option named "help".
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: NoSuchMethodError: The method 'wasParsed' was called on null.
Receiver: null
Tried calling: wasParsed()
#0 ArgumentParser._checkToggleFlag (package:nyrna/arguments/argument_parser.dart:61)
#1 ArgumentParser._parse (package:nyrna/arguments/argument_parser.dart:46)
#2 ArgumentParser.init (package:nyrna/arguments/argument_parser.dart:21)
#3parseArgs (package:nyrna/main.dart:34)
#4main (package:nyrna/main.dart:19)
#5 _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:140)
#6_rootRun (dart:async/zone.dart:1354)
#7 _CustomZone.run (dart:async/zone.dart:1258)
#8_runZoned (dart:async/zone.dart:1789)
#9runZonedGuarded (dart:async/zone.dart:1777)
#10 _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:138)
#11 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283)
#12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
Software (please complete the following information):
OS: Bedrock Linux 0.7.20 Poki, Arch and Debian strata
Destop Environment: KDE 5.20.5
Great work on Nyrna btw! Quite a handy tool
The text was updated successfully, but these errors were encountered:
Describe the bug
If you were to pass an argument that isn't currently handled by Nyrna you'll end up with a blank application window and an error in your console.
To Reproduce
Pass an argument to Nyrna and view its output. For example
nyrna --help
Expected behavior
For Nyrna to exit gracefully with an error message indicating that argument is unknown
Screenshots
Software (please complete the following information):
Bedrock Linux 0.7.20 Poki, Arch and Debian strata
KDE 5.20.5
Great work on Nyrna btw! Quite a handy tool
The text was updated successfully, but these errors were encountered: