Comments (2)
Here was my command:
mwoffliner --mwApiPath="api.php" --mwUrl="https://klexikon.zum.de/" --adminEmail="[email protected]" --localParsoid --verbose
and I got the following error
Successfuly optimized /srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/watch-icon-loading.gif
Successfuly optimized /srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/user-icon.png
Successfuly optimized /srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/watch-icons.png
Executing command : pngquant --verbose --strip --nofs --force --ext=".xd4i9.png" "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.png" && advdef -q -z -4 -i 5 "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.xd4i9.png" && if [ $(stat -c%s "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.xd4i9.png") -lt $(stat -c%s "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.png") ]; then mv "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.xd4i9.png" "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.png"; else rm "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.xd4i9.png"; fi
Successfuly optimized /srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/note.png
Saving favicon.png...
Downloading https://klexikon.zum.de/api.php?action=query&meta=siteinfo&format=json...
Executing command : gifsicle --verbose --colors 64 -O3 "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.gif" -o "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.ncska.gif" && if [ $(stat -c%s "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.ncska.gif") -lt $(stat -c%s "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.gif") ]; then mv "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.ncska.gif" "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.gif"; else rm "/srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.ncska.gif"; fi
Successfuly optimized /srv/kiwix-maintenance/mwoffliner/tmp/klexikon_de_all_2018-09/s/warning.gif
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received type undefined
at Url.parse (url.js:150:11)
at Object.urlParse [as parse] (url.js:144:13)
at /usr/local/lib/node_modules/mwoffliner/lib/mwoffliner.lib.js:2083:29
at async.retry (/usr/local/lib/node_modules/mwoffliner/lib/Downloader.js:176:7)
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:676:51
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:726:13
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:52:16
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:264:21
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:44:16
at /usr/local/lib/node_modules/mwoffliner/node_modules/async/lib/async.js:723:17
from mwoffliner.
This issue was moved to openzim/zim-requests#100
from mwoffliner.
Related Issues (20)
- Unexisting image keys are requested to the S3 cache HOT 1
- Some maps images can not be download from bm.wikipedia.org
- Unable to execute 'npm ci' or 'npm install command HOT 3
- Open link in new tab. Kiwix extension in Firefox. HOT 3
- Collapsed tables are not viewable HOT 1
- Unable to find appropriate API end-point to retrieve article HTML HOT 4
- summary and details tag are no longer supported HOT 2
- Make sure format option is working for WikimediaMobile renderer HOT 5
- MWoffliner should support latest mediawiki release HOT 2
- What the role of `res/inserted_style.css` HOT 12
- Define title param (article_id) role for Wikimedia REST API offline resources
- Release 1.14.0
- wikipedia_en_all_mini is the same as _nopic HOT 1
- Refactor mwoffliner logic behind CSS/JS modules handling HOT 3
- Raw HTML and html entities appearing in directory entry title field HOT 3
- Images from page/mobile-html endpoint are too big HOT 6
- Full article URL calculates two times in different parts of mwoffliner using different funtions HOT 2
- nopdf param doesn't work as expected for some articles
- Apply test coverage for all endpoins
- Zimcheck failing for some articles HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mwoffliner.