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

Issue scraping images from https://accent.gmu.edu/browse_native.php for windows #1

Open
themattrosen opened this issue Jul 31, 2022 · 0 comments

Comments

@themattrosen
Copy link

New to Clojure. I've properly installed Leiningen, Clojure, and Java 8 for Windows 10, but when running with the line

lein run "english" "spanish"

the following callstack appears:

Exception in thread "main" java.io.FileNotFoundException: \nl_inventories\englishipacons.gif (The system cannot find the path specified), compiling:(C:\Users\thema\AppData\Local\Temp\form-init1511367603233323596.clj:1:108)
        at clojure.lang.Compiler.load(Compiler.java:7526)
        at clojure.lang.Compiler.loadFile(Compiler.java:7452)
        at clojure.main$load_script.invokeStatic(main.clj:278)
        at clojure.main$init_opt.invokeStatic(main.clj:280)
        at clojure.main$init_opt.invoke(main.clj:280)
        at clojure.main$initialize.invokeStatic(main.clj:311)
        at clojure.main$null_opt.invokeStatic(main.clj:345)
        at clojure.main$null_opt.invoke(main.clj:342)
        at clojure.main$main.invokeStatic(main.clj:424)
        at clojure.main$main.doInvoke(main.clj:387)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at clojure.lang.Var.applyTo(Var.java:702)
        at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: \nl_inventories\englishipacons.gif (The system cannot find the path specified)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at clojure.java.io$fn__10968.invokeStatic(io.clj:229)
        at clojure.java.io$fn__10968.invoke(io.clj:229)
        at clojure.java.io$fn__10881$G__10874__10888.invoke(io.clj:69)
        at clojure.java.io$fn__10980.invokeStatic(io.clj:258)
        at clojure.java.io$fn__10980.invoke(io.clj:254)
        at clojure.java.io$fn__10881$G__10874__10888.invoke(io.clj:69)
        at clojure.java.io$input_stream.invokeStatic(io.clj:136)
        at clojure.java.io$input_stream.doInvoke(io.clj:121)
        at clojure.lang.RestFn.invoke(RestFn.java:410)
        at pho_diff.scrape$copy_uri_to_file.invokeStatic(scrape.clj:22)
        at pho_diff.scrape$copy_uri_to_file.invoke(scrape.clj:17)
        at pho_diff.scrape$slurp_charts.invokeStatic(scrape.clj:68)
        at pho_diff.scrape$slurp_charts.invoke(scrape.clj:60)
        at clojure.lang.AFn.applyToHelper(AFn.java:156)
        at clojure.lang.AFn.applyTo(AFn.java:144)
        at orchestra.spec.test$spec_checking_fn$fn__749.doInvoke(test.clj:123)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at pho_diff.scrape$summary.invokeStatic(scrape.clj:115)
        at pho_diff.scrape$summary.invoke(scrape.clj:111)
        at clojure.lang.AFn.applyToHelper(AFn.java:154)
        at clojure.lang.AFn.applyTo(AFn.java:144)
        at orchestra.spec.test$spec_checking_fn$fn__749.doInvoke(test.clj:123)
        at clojure.lang.RestFn.invoke(RestFn.java:408)
        at pho_diff.diff$summary.invokeStatic(diff.clj:63)
        at pho_diff.diff$summary.invoke(diff.clj:60)
        at clojure.lang.AFn.applyToHelper(AFn.java:156)
        at clojure.lang.AFn.applyTo(AFn.java:144)
        at orchestra.spec.test$spec_checking_fn$fn__749.doInvoke(test.clj:123)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at pho_diff.core$_main.invokeStatic(core.clj:10)
        at pho_diff.core$_main.doInvoke(core.clj:7)
        at clojure.lang.RestFn.invoke(RestFn.java:425)
        at clojure.lang.Var.invoke(Var.java:385)
        at user$eval3012.invokeStatic(form-init1511367603233323596.clj:1)
        at user$eval3012.invoke(form-init1511367603233323596.clj:1)
        at clojure.lang.Compiler.eval(Compiler.java:7062)
        at clojure.lang.Compiler.eval(Compiler.java:7052)
        at clojure.lang.Compiler.load(Compiler.java:7514)
        ... 12 more

being unable to locate the .gif images from the speech accent archive.
using the Everything tool, I can confirm that they haven't been downloaded locally either.

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