Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR not loading in Playground. Giving Error: Could not unlink "temp/pr.zip" #1409

Closed
Rcreators opened this issue May 16, 2024 · 3 comments · Fixed by #1412
Closed

PR not loading in Playground. Giving Error: Could not unlink "temp/pr.zip" #1409

Rcreators opened this issue May 16, 2024 · 3 comments · Fixed by #1412
Labels
[Feature] PR Previewer [Type] Bug An existing feature does not function as intended
Milestone

Comments

@Rcreators
Copy link

Hello,

I am trying to test some of my PR on wordpress-develop. They were working find last week. Today i tried to test them on playground but getting error. Here is entire error what i am getting.

[16-May-2024 06:30:15 UTC] JavaScript Debug: [Comlink][Performance] Proxying a function [16-May-2024 06:30:15 UTC] JavaScript Error: Error when executing the blueprint step #3 ({"step":"rm","path":"/tmp/pr.zip"}) : Could not unlink "/tmp/pr.zip": There is no such file or directory OR the parent directory does not exist. Error: Error when executing the blueprint step #3 ({"step":"rm","path":"/tmp/pr.zip"}) : Could not unlink "/tmp/pr.zip": There is no such file or directory OR the parent directory does not exist. at Object.run (https://playground.wordpress.net/assets/config-11fcca62.js:747:14935) at async runBlueprintSteps (https://playground.wordpress.net/assets/config-11fcca62.js:747:16984) at async startPlaygroundWeb (https://playground.wordpress.net/assets/config-11fcca62.js:751:7614) [16-May-2024 06:30:15 UTC] JavaScript Error: Could not unlink "/tmp/pr.zip": There is no such file or directory OR the parent directory does not exist. Error: Could not unlink "/tmp/pr.zip": There is no such file or directory OR the parent directory does not exist. at s.value (https://playground.wordpress.net/worker-thread-a3cd71a8.js?wpVersion=6.5&phpVersion=8.3&php-extension=iconv&php-extension=mbstring&php-extension=xml-bundle&php-extension=gd&networking=no&storage=none:38:10611) at PlaygroundWorkerEndpoint.unlink (https://playground.wordpress.net/worker-thread-a3cd71a8.js?wpVersion=6.5&phpVersion=8.3&php-extension=iconv&php-extension=mbstring&php-extension=xml-bundle&php-extension=gd&networking=no&storage=none:63:10045) at Proxy.<anonymous> (https://playground.wordpress.net/worker-thread-a3cd71a8.js?wpVersion=6.5&phpVersion=8.3&php-extension=iconv&php-extension=mbstring&php-extension=xml-bundle&php-extension=gd&networking=no&storage=none:63:6693) at n (https://playground.wordpress.net/worker-thread-a3cd71a8.js?wpVersion=6.5&phpVersion=8.3&php-extension=iconv&php-extension=mbstring&php-extension=xml-bundle&php-extension=gd&networking=no&storage=none:63:1476) [16-May-2024 06:30:14 UTC] JavaScript Warn: The "zipPath" option of the unzip() Blueprint step is deprecated and will be removed. Use "zipFile" instead. [16-May-2024 06:29:55 UTC] JavaScript Debug: [Comlink][Performance] Proxying a function [16-May-2024 06:29:55 UTC] JavaScript Debug: [Comlink][Performance] Proxying a function [16-May-2024 06:29:50 UTC] JavaScript Debug: [Comlink][Performance] Proxying a function

Testing this PR for now: WordPress/wordpress-develop#6318

Please someone look into it let me know.

@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Feature] PR Previewer labels May 16, 2024
@adamziel adamziel added this to the Zero Crashes milestone May 16, 2024
adamziel added a commit that referenced this issue May 16, 2024
…e the original zip

Fixes a regression introduced in
#1400 that caused
the original zip file to be deleted.

Closes #1409
adamziel added a commit that referenced this issue May 16, 2024
…e the original zip (#1412)

Fixes a regression introduced in
#1400 that caused
the original zip file to be deleted.

To test, confirm you can preview
WordPress/wordpress-develop#6318 on this branch.

Closes #1409
@adamziel
Copy link
Collaborator

Thank you for reporting! Fix is being deployed right now.

@adamziel
Copy link
Collaborator

It works now!

@Rcreators
Copy link
Author

@adamziel Thanks for the quick fix. Work like a charm!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] PR Previewer [Type] Bug An existing feature does not function as intended
2 participants