maflcko / wiki-java-tools

Collection of tools for MediaWiki in Java
26 stars 21 forks source link

[Imker] Exception "java.util.zip.ZipException: Not in GZIP format" #41

Open askeuhd opened 3 years ago

askeuhd commented 3 years ago

I get this error no mattter what I try to download - worked fine a couple of days ago.

The software can read file lists just fine, both ones I made myself or loading a category, but when actually attempts to download anything (of Commons) this error occurs:

Version: v16.09.13 Stack trace:

java.util.zip.ZipException: Not in GZIP format
    at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
    at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    at wiki.Wiki.fetch(Unknown Source)
    at wiki.Wiki.getImage(Unknown Source)
    at wiki.Wiki.getImage(Unknown Source)
    at app.ImkerBase$1.fetch(Unknown Source)
    at app.App.attemptFetch(Unknown Source)
    at app.App.attemptFetch(Unknown Source)
    at app.App.attemptFetch(Unknown Source)
    at app.ImkerBase.downloadLoop(Unknown Source)
    at app.ImkerGUI$4.doInBackground(Unknown Source)
    at app.ImkerGUI$4.doInBackground(Unknown Source)
    at javax.swing.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javax.swing.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
reinhix2 commented 3 years ago

+1 After succesful downloads earlier, I got same ZipException. Exactly same stack trace. Source selection both by page or by category.

JoshMCurrie commented 3 years ago

I also started getting this exact problem, but only a few days ago. It now seems to give the same error on any category or page, regardless of file type, size, or destination folder. I assumed Wikimedia had changed something recently - but OP had this problem back in April? What gives?

jajajaneeneenee commented 3 years ago

+1 I also got this problem today. I used Imker the last time 25-09-2021 with no problems at all (with 2 categories, and I also tried with a page). Now it doesn't work anymore. Are there any chances for a solution, a fix?

real68er commented 2 years ago

+1

martinprad0 commented 2 years ago

I got the same Exception using Fedora 35. Does anyone know how to build the newest version on Linux?