Doesn’t Generate, Can’t Cancel
-
I got this plugin to work once, creating a zip file successfully. Since then, it hasn’t worked again. I changed the settings so that it would write individual files to a specified directory instead of creating a zip file. All I got in the debug log was:
[2018-07-10 23:07:47] [class-ss-plugin.php:232] Received request to start generating a static archive
[2018-07-10 23:07:47] [class-ss-archive-creation-job.php:61] Starting a job; no job is presently running
[2018-07-10 23:07:47] [class-ss-archive-creation-job.php:62] Here’s our task list: setup, fetch_urls, create_zip_archive, wrapup
[2018-07-10 23:07:47] [class-ss-archive-creation-job.php:76] Pushing first task to queue: setupIf I press the cancel button, I get these additional lines in the log:
[2018-07-10 23:14:39] [class-ss-plugin.php:235] Received request to cancel static archive generation
[2018-07-10 23:14:39] [class-ss-archive-creation-job.php:183] Cancelling job; job is not done
[2018-07-10 23:14:39] [class-ss-archive-creation-job.php:194] The queue isn’t empty; overwriting current task with a cancel taskBut the job never gets completed or canceled. The only way to convince the plugin to try again is to press the “Reset Plugin Settings” button, although no subsequent attempts to generate static files yield any different results.
I tried using the default settings again after a reset (leaving the option to write to a zip file in place), and I can’t convince it to do anything anymore.
I am running on my local dev machine, which is a Mac OS X 10.11.6, with apache and PHP 7.2.7. The default directory (‘static-files’ under the plugin directory) and the directory that I tried specifying for individual files both have 777 permissions, so I don’t think that’s the issue.
I am not seeing anything in the apache error_log, the WP debug.log, or the custom error_log specified in the vhost declaration. Trying to do some line-by-line tracing in the plugin code, but it’s slow going.
- The topic ‘Doesn’t Generate, Can’t Cancel’ is closed to new replies.