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

External link checking results in exception: "Invalid argument(s): Truncated URI" #30

Closed
chalin opened this issue Nov 15, 2018 · 2 comments
Labels

Comments

@chalin
Copy link
Collaborator

chalin commented Nov 15, 2018

For the full log, see https://travis-ci.org/flutter/website/jobs/455734598. Here is an excerpt:

pub run linkcheck --external --skip-file ./tool/config/linkcheck-skip-list.txt :4002 (logging to /home/travis/tmp/linkcheck-log.txt)
Crawling...
Unhandled exception:
Invalid argument(s): Truncated URI
#0      _Uri._uriDecode (dart:core/uri.dart:2850:13)
#1      Uri.decodeComponent (dart:core/uri.dart:1115:17)
#2      parseHtml.<anonymous closure> (package:linkcheck/src/parsers/html.dart:82:30)
#3      MappedListIterable.elementAt (dart:_internal/iterable.dart:414:29)
#4      ListIterable.toList (dart:_internal/iterable.dart:219:19)
#5      parseHtml (package:linkcheck/src/parsers/html.dart:83:8)
#6      checkPage (package:linkcheck/src/worker/worker.dart:168:10)
<asynchronous suspension>
#7      worker.<anonymous closure> (package:linkcheck/src/worker/worker.dart:192:29)
<asynchronous suspension>
#8      _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10)
#9      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#10     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#11     _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19)
#12     _StreamController._add (dart:async/stream_controller.dart:639:7)
#13     _StreamController.add (dart:async/stream_controller.dart:585:5)
#14     _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10)
#15     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#16     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#17     _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19)
#18     _StreamController._add (dart:async/stream_controller.dart:639:7)
#19     _StreamController.add (dart:async/stream_controller.dart:585:5)
#20     _StreamSinkWrapper.add (dart:async/stream_controller.dart:858:13)
#21     _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10)
#22     CastStreamSubscription._onData (dart:_internal/async_cast.dart:81:11)
#23     _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10)
#24     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#25     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#26     _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19)
#27     _StreamController._add (dart:async/stream_controller.dart:639:7)
#28     _StreamController.add (dart:async/stream_controller.dart:585:5)
#29     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
...

cc @kwalrath @sfshaza2

@filiph
Copy link
Owner

filiph commented Nov 16, 2018

Should be fixed in 2.0.5.

@chalin
Copy link
Collaborator Author

chalin commented Nov 27, 2018

Closed by #31

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

No branches or pull requests

2 participants