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

dap-php-setup fails to unzip #598

Open
3ynm opened this issue Apr 19, 2022 · 4 comments
Open

dap-php-setup fails to unzip #598

3ynm opened this issue Apr 19, 2022 · 4 comments

Comments

@3ynm
Copy link

3ynm commented Apr 19, 2022

When I run dap-php-setup I get the following output on *Messages*

Contacting host: marketplace.visualstudio.com:443
uncompressing publicsuffix.txt.gz...done
Wrote /tmp/extJNNjZz.zip
[/tmp/extJNNjZz.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/extJNNjZz.zip or
        /tmp/extJNNjZz.zip.zip, and cannot find /tmp/extJNNjZz.zip.ZIP, period.
dap-php: Downloading done!
@3ynm
Copy link
Author

3ynm commented Apr 19, 2022

apparently I'm blocked to access marketplace.visualstudio.com

probably dap-mode should say something when you don't have connectivity? feel free to close this issue

@odysseyalive
Copy link

odysseyalive commented Sep 17, 2022

Yeah, this is a real deal-breaker for devs who are checking out dap-php for the first time. dap-php-setup only works about 5% of the time. I had to run it several times.

It's a shame really, because this is such a great tool for Xdebug.

I keep a copy of my .extension directory backed up elsewhere. Someone new rolling in isn't going to know anything about that.

@dustinpaluch
Copy link

@bridgesense I'm trying to manually get around this problem. What exactly am I supposed to download?

@tomterl
Copy link
Contributor

tomterl commented Feb 12, 2025

You can download the vsix Release from xdebug/vscode-php-plugin* and extract it (it's a zip-file) in the place where your setup expects it, in my case inside .emacs.d/.local/cache/.extension/vscode/xdebug.php-debug.

*: https://github.com/xdebug/vscode-php-debug/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants