wiki-java-tools icon indicating copy to clipboard operation
wiki-java-tools copied to clipboard

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

Open askeuhd opened this issue 3 years ago • 5 comments

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)

askeuhd avatar Apr 01 '21 15:04 askeuhd

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

reinhix2 avatar Oct 02 '21 06:10 reinhix2

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?

JoshMCurrie avatar Oct 08 '21 21:10 JoshMCurrie

+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?

jajajaneeneenee avatar Oct 20 '21 14:10 jajajaneeneenee

+1

real68er avatar Nov 04 '21 15:11 real68er

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

martinprad0 avatar Feb 07 '22 22:02 martinprad0