Closed jakobr-google closed 8 years ago
We need to change the location of the serial port library in the same way I did with the other libraries in the roll.
On Wed, Aug 3, 2016 at 10:28 AM, jakobr-google notifications@github.com wrote:
I get the following error when I try to debug a target using eg. 'dartino debug samples/stm32f411re-nucleo/volume.dart on tty /dev/ttyACM0':
- the entire message you see here (including the full stack trace below)
Relative paths for dart extensions are not supported: 'src/serial_port' Session 'local' was terminated.
Looks like path resolution for external libraries was changed recently on the Dart side, and now disallows relative paths. The third party serial_port library uses import 'dart-ext:src/serial_port';.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dartino/sdk/issues/588, or mute the thread https://github.com/notifications/unsubscribe-auth/AFq9yLlSLGgHMSYylHQ1IlGBe35Goq1Kks5qcFEggaJpZM4Jba-- .
Thanks for the info Karl. I will create a CL.
On Wed, Aug 3, 2016 at 1:29 PM, karlklose notifications@github.com wrote:
We need to change the location of the serial port library in the same way I did with the other libraries in the roll.
On Wed, Aug 3, 2016 at 10:28 AM, jakobr-google notifications@github.com wrote:
I get the following error when I try to debug a target using eg. 'dartino debug samples/stm32f411re-nucleo/volume.dart on tty /dev/ttyACM0':
- the entire message you see here (including the full stack trace below)
Relative paths for dart extensions are not supported: 'src/serial_port' Session 'local' was terminated.
Looks like path resolution for external libraries was changed recently on the Dart side, and now disallows relative paths. The third party serial_port library uses import 'dart-ext:src/serial_port';.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dartino/sdk/issues/588, or mute the thread < https://github.com/notifications/unsubscribe-auth/AFq9yLlSLGgHMSYylHQ1IlGBe35Goq1Kks5qcFEggaJpZM4Jba--
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dartino/sdk/issues/588#issuecomment-237212037, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSBqkr8bou-Xm_75USFPK7mxE8MbQIyks5qcHuegaJpZM4Jba-- .
I get the following error when I try to debug a target using eg. 'dartino debug samples/stm32f411re-nucleo/volume.dart on tty /dev/ttyACM0':
Looks like path resolution for external libraries was changed recently on the Dart side, and now disallows relative paths. The third party serial_port library uses
import 'dart-ext:src/serial_port';
.