Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Show devices crashes, when Raspberry Pi Zero added to network #594

Open
davidg238 opened this issue Aug 28, 2016 · 0 comments
Open

Show devices crashes, when Raspberry Pi Zero added to network #594

davidg238 opened this issue Aug 28, 2016 · 0 comments

Comments

@davidg238
Copy link

Unsure whether Raspberry Pi Zero v1.3 is supported platform.
Raspberry Pi 2 on network, all is well.
Tried running the packaged Raspberry Pi 2 image in the Zero, OS comes up. (Using https://www.adafruit.com/products/2992 to get Zero on network.)
But when I attempt "dartino show devices" from workstation, I get :

david@davidZ170:~/dartino-sdk$ dartino show devices
Using template settings file '/home/david/dartino-sdk/internal/.dartino-settings'
Looking for Dartino capable devices (will search for 5 seconds)...
Device at 192.168.1.110 dartinopi.local (0.5.0-dev.1.5)
The Dartino program is broken and has crashed.

The Dartino team would greatly appreciate if you would take a moment to
report this problem at https://github.com/dartino/sdk/issues/new

Please include the following information:

  • the name and version of your operating system

Ubuntu 16.04, 64bit

  • the Dartino SDK version (0.5.0-dev.1.5)
  • the entire message you see here (including the full stack trace below)

type 'SocketException' is not a subtype of type 'Socket' of 'socket'.
#0 TcpConnection.connect.<connect_async_body> (package:dartino_compiler/src/vm_connection.dart)
#1 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:27)
#2 _rootRunUnary (dart:async/zone.dart:902)
#3 _CustomZone.runUnary (dart:async/zone.dart:798)
#4 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:551)
#5 _Future._propagateToListeners (dart:async/future_impl.dart:637)
#6 _Future._completeError (dart:async/future_impl.dart:432)
#7 _Future._asyncCompleteError. (dart:async/future_impl.dart:488)
#8 _rootRun (dart:async/zone.dart:895)
#9 _CustomZone.run (dart:async/zone.dart:790)
#10 _CustomZone.bindCallback. (dart:async/zone.dart:723)
#11 _microtaskLoop (dart:async/schedule_microtask.dart:41)
#12 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#13 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

Session 'local' was terminated.

With only a Raspberry Pi 2 on the network, I get as expected:

david@davidZ170:/dartino-sdk$ dartino show devices
Using template settings file '/home/david/dartino-sdk/internal/.dartino-settings'
Looking for Dartino capable devices (will search for 5 seconds)...
Device at 192.168.1.110 dartinopi.local (0.5.0-dev.1.5)
david@davidZ170:
/dartino-sdk$

thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant