Automattic / Automattic/underscores.me

PCLZIP_ERR_BAD_FORMAT from WP CLI or WGET

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
211
Forks
119
PR merge metrics
No merged PRs in 30d

Description

When using WP-CLI or wget to download a theme from underscores.me like this:
`wp theme install http://underscores.me/?underscoresme_generate=1&underscoresme_name=SITENAME`
or
`wget -O kansasfpc.zip http://underscores.me/?underscoresme_generate=1&underscoresme_name=SITENAME`

It doesn't work. I get the following error message:
`Warning: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature`

Any thoughts? I was hoping to really automate my jumping-off process, but this is a bit of a hurdle.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the provided WP-CLI and wget commands against the underscores.me generation URL, then inspect the returned download and the archive-generation entry point. Done means the response is a valid ZIP that both commands can install or save without PCLZIP_ERR_BAD_FORMAT.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.