bplawler / crawler Goto Github PK
View Code? Open in Web Editor NEWScala DSL for web crawling
License: Other
Scala DSL for web crawling
License: Other
Hi,
I just cd into the source and run sbt
command then I got this error. Could you help?
[info] Loading project definition from /Users/myuser/crawler/project
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] External API changes: API Changes: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
[debug] [Loading] Scanning directory /Users/myuser/crawler
[debug] [Loading] Found non-root projects
[debug] [Loading] Done in /Users/myuser/crawler, returning: ()
[debug] deducing auto plugins based on known facts Set(Atom(com.typesafe.sbt.GitVersioning), Atom(sbt.plugins.CorePlugin)) and clauses Clauses(List(Clause(Atom(sbt.plugins.JvmPlugin),Set(Atom(sbt.plugins.IvyPlugin))), Clause(Atom(sbt.plugins.JUnitXmlReportPlugin),Set(Atom(sbt.plugins.JvmPlugin))), Clause(Atom(bintray.BintrayPlugin),Set(Atom(sbt.plugins.JvmPlugin))), Clause(Atom(com.typesafe.sbt.GitBranchPrompt),Set(Atom(com.typesafe.sbt.GitPlugin))), Clause(Atom(com.typesafe.sbt.GitVersioning),Set(Atom(sbt.plugins.IvyPlugin))), Clause(Atom(com.typesafe.sbt.GitVersioning),Set(Atom(com.typesafe.sbt.GitPlugin))), Clause(Atom(sbt.plugins.CorePlugin),Set(Atom(sbt.plugins.IvyPlugin))), Clause(Atom(sbt.plugins.IvyPlugin),Set(Atom(sbt.plugins.JvmPlugin))), Clause(Atom(sbt.plugins.JvmPlugin),Set(Atom(sbt.plugins.JUnitXmlReportPlugin))), Clause(Atom(sbt.plugins.JvmPlugin),Set(Atom(bintray.BintrayPlugin))), Clause(Atom(sbt.plugins.CorePlugin),Set(Atom(com.typesafe.sbt.GitPlugin)))))
[debug] :: deduced result: Matched(sbt.plugins.CorePlugin,com.typesafe.sbt.GitVersioning,com.typesafe.sbt.GitPlugin,sbt.plugins.IvyPlugin,sbt.plugins.JvmPlugin,bintray.BintrayPlugin,sbt.plugins.JUnitXmlReportPlugin)
[debug] sorting: ns: List(sbt.plugins.CorePlugin, com.typesafe.sbt.GitVersioning, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin)
[debug] :: sorting:: found: List(sbt.plugins.CorePlugin) not found List(com.typesafe.sbt.GitVersioning, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin)
[debug] :: sorting:: found: List(sbt.plugins.CorePlugin, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin) not found List(com.typesafe.sbt.GitVersioning, sbt.plugins.JvmPlugin, bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin)
[debug] :: sorting:: found: List(sbt.plugins.CorePlugin, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin, com.typesafe.sbt.GitVersioning, sbt.plugins.JvmPlugin) not found List(bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin)
[debug] :: sorting:: found: List(sbt.plugins.CorePlugin, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin, com.typesafe.sbt.GitVersioning, sbt.plugins.JvmPlugin, bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin) not found List()
[debug] :: sorted deduced result: List(sbt.plugins.CorePlugin, com.typesafe.sbt.GitPlugin, sbt.plugins.IvyPlugin, com.typesafe.sbt.GitVersioning, sbt.plugins.JvmPlugin, bintray.BintrayPlugin, sbt.plugins.JUnitXmlReportPlugin)
[debug] [Loading] Done in /Users/myuser/crawler, returning: (crawler)
java.lang.RuntimeException: Setting value cannot be null: {file:/Users/myuser/crawler/}/*:version
at scala.sys.package$.error(package.scala:27)
at sbt.EvaluateSettings$INode.setValue(INode.scala:143)
at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
at sbt.EvaluateSettings$INode.evaluate(INode.scala:135)
at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:69)
at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:78)
at sbt.EvaluateSettings$$anon$3.run(INode.scala:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] Setting value cannot be null: {file:/Users/myuser/crawler/}/*:version
For example a file that contains the dsl and app can run the dsl and returns the result .
I find that I continue to add new processors largely through copy/paste of previous ones. See ParagraphProcessor and SpanProcessor for examples. This is something that should be quite possible with generics (or whatever they call them in Scala).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.