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

Unable to process links from file that include brackets #115

Open
SBFSA opened this issue Jan 17, 2023 · 0 comments
Open

Unable to process links from file that include brackets #115

SBFSA opened this issue Jan 17, 2023 · 0 comments

Comments

@SBFSA
Copy link

SBFSA commented Jan 17, 2023

I get the following error trying to check links with brackets in them.

λ linkcheck -i links2.txt
INTERNAL ERROR: Sorry! Please open https://github.com/filiph/linkcheck/issues/new in your favorite browser and copy paste the following output there:

Error on line 1, column 77: unexpected "("
  ╷
1 │ //domain.tld/path/to/file/File_Name_Causing_Error_(with_brackets).pdf%22**
  │                                                                             ^
  ╵
#0      StringScanner.error (package:string_scanner/src/string_scanner.dart:263:5)
#1      Parser._parseLiteral (package:glob/src/parser.dart:169:44)
#2      Parser._parseNode (package:glob/src/parser.dart:66:12)
#3      Parser._parseSequence (package:glob/src/parser.dart:44:17)
#4      Parser.parse (package:glob/src/parser.dart:30:27)
#5      new Glob (package:glob/glob.dart:104:44)
#6      new UriGlob (package:linkcheck/src/uri_glob.dart:26:20)
#7      crawl.<anonymous closure> (package:linkcheck/src/crawl.dart:52:44)
#8      MappedIterator.moveNext (dart:_internal/iterable.dart:391:20)
#9      new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#10     new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#11     new List.of (dart:core-patch/array_patch.dart:51:28)
#12     Iterable.toList (dart:core/iterable.dart:470:12)
#13     crawl (package:linkcheck/src/crawl.dart:52:59)
#14     run (package:linkcheck/linkcheck.dart:277:24)
#15     main.<anonymous closure> (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:9:22)
#16     _rootRun (dart:async/zone.dart:1391:13)
#17     _CustomZone.run (dart:async/zone.dart:1293:19)
#18     _runZoned (dart:async/zone.dart:1829:10)
#19     runZonedGuarded (dart:async/zone.dart:1817:12)
#20     main (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:7:9)
#21     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
Repository owner deleted a comment from vahid76758 Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant