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

Crash on get UUID on some Linux distro's #182

Open
guyluz11 opened this issue Nov 15, 2022 · 1 comment · Fixed by #183
Open

Crash on get UUID on some Linux distro's #182

guyluz11 opened this issue Nov 15, 2022 · 1 comment · Fixed by #183
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@guyluz11
Copy link
Member

sankethbk7777 contact me in discord about a bug while running the code for the first time.
He runs it on Manjaro Linux distro

Board type does not exist
This device is of type: null

Unhandled exception:
RangeError (start): Invalid value: Only valid value is 0: -1
#0      RangeError.checkValidRange (dart:core/errors.dart:358:7)
#1      _StringBase.substring (dart:core-patch/string_patch.dart:400:27)
#2      CommonBashCommandsD.getUuidOfCurrentDevice (package:cbj_smart_device/infrastructure/datasources/system_commands_d/bash_commands_d/common_bash_commands_d.dart:43:21)
<asynchronous suspension>
#3      LocalDbR.getListOfSmartDevices (package:cbj_smart_device/infrastructure/repositories/local_db_r/local_db_r.dart:24:38)
<asynchronous suspension>
#4      LocalDbE.getListOfSmartDevices (package:cbj_smart_device/domain/entities/local_db_e/local_db_e.dart:14:9)
<asynchronous suspension>
#5      SmartDeviceManagerU.smartDeviceMainAsync (package:cbj_smart_device/application/usecases/core_u/smart_device_manager_u.dart:26:9)
<asynchronous suspension>
@guyluz11 guyluz11 added bug Something isn't working good first issue Good for newcomers labels Nov 15, 2022
@guyluz11 guyluz11 linked a pull request Nov 15, 2022 that will close this issue
@guyluz11 guyluz11 self-assigned this Nov 15, 2022
@guyluz11
Copy link
Member Author

Waiting for a response from the person that reported it in order to close this issue.

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

Successfully merging a pull request may close this issue.

1 participant