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
{{ message }}
Repository navigation
[pigeon] 0.1.13 Windows only supports file:* and data:* URIs #68583
@gaaclarke I tried to run pigeon: 0.1.13 after your flutter/packages#230 fix PR. However, the issue still appears for me - now just a little bit different 😅
D:\creativecreatorormaybenot\microphone\microphone>flutter pub run pigeon --input D:/creativecreatorormaybenot/microphone/microphone/pigeons/messages.dart
Unhandled exception:
IsolateSpawnException: Unable to spawn isolate: /C:/..AppData/Local/Temp/ec1294b4/_pigeon_temp_.dart:1:8: Error: Error when reading 'd:/creativecreatorormaybenot/microphone/microphone/pigeons/messages.dart': StandardFileSystem only supports file:*
and data:* URIs
import 'D:\/creativecreatorormaybenot/microphone/microphone/pigeons/messages.dart';
^
Instance of '_StringStackTrace'pub finished with exit code 255
I am not sure if it is D:\/ or something else, however, I bet that it is because the import is an absolute path for me.
When we first had this problem i suspected the windows drives might be a problem. If your source file is on drive D and the temp directory is on drive C I'm not sure that windows can make a relative path that would hop drives and that Dart would recognize. We can probably just eliminate the usage of the temp directory. Thanks for the heads up.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
creativecreatorormaybenot commentedon Oct 20, 2020
Tested again on a different Windows machine running
beta:I have the same issue there.
gaaclarke commentedon Oct 20, 2020
When we first had this problem i suspected the windows drives might be a problem. If your source file is on drive D and the temp directory is on drive C I'm not sure that windows can make a relative path that would hop drives and that Dart would recognize. We can probably just eliminate the usage of the temp directory. Thanks for the heads up.
creativecreatorormaybenot commentedon Oct 23, 2020
I can confirm that this has been fixed in
0.1.14.github-actions commentedon Aug 10, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.