Skip to content

Data pipeline - Step 2 throwing an error +Readme clarification request #1

Description

@nishkalavallabhi

I am trying to follow the instructions. I am getting the following error at "Step 2: Data Download"

My data path in the config file was: /Users/username/Downloads/EventKG/data/ (Obviously, I masked username). I understood the instructions in a way that indicated that this step is really where all data is downloaded. However, the exception makes me think I should actually already have a list of dump files?

This is how it looks after I created an executable jar by exporting the Pipeline class.


java -jar Pipeline.jar config.txt 1
Step 1: Download files.
java.io.FileNotFoundException: /Users/username/Downloads/EventKG/data/raw_data/wikipedia/en/dump_file_list.txt (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:101)
at java.io.PrintWriter.(PrintWriter.java:184)
at de.l3s.eventkg.util.FileLoader.getWriter(FileLoader.java:161)
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadWikipediaFiles(RawDataDownLoader.java:177)
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadFiles(RawDataDownLoader.java:159)
at de.l3s.eventkg.pipeline.Pipeline.download(Pipeline.java:118)
at de.l3s.eventkg.pipeline.Pipeline.main(Pipeline.java:71)
Exception in thread "main" java.lang.NullPointerException
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadWikipediaFiles(RawDataDownLoader.java:202)
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadFiles(RawDataDownLoader.java:159)
at de.l3s.eventkg.pipeline.Pipeline.download(Pipeline.java:118)
at de.l3s.eventkg.pipeline.Pipeline.main(Pipeline.java:71)


At that point, I manually created the path of /raw_data/wikipedia/en within the data folder [Please mention this in the readme clearly], and now I run into an error with jsoup.


Exception in thread "main" java.lang.NoClassDefFoundError: org/jsoup/Jsoup
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadWikipediaFiles(RawDataDownLoader.java:179)
at de.l3s.eventkg.pipeline.RawDataDownLoader.downloadFiles(RawDataDownLoader.java:159)
at de.l3s.eventkg.pipeline.Pipeline.download(Pipeline.java:118)
at de.l3s.eventkg.pipeline.Pipeline.main(Pipeline.java:71)
Caused by: java.lang.ClassNotFoundException: org.jsoup.Jsoup
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 4 more

  • I downloaded jsoup separately and recompiled the jar. For some reason, maven's build did not add this. Please document in the readme. I am running into other issues with downloading the data, but that is probably a network issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions