ddev / vscode-ddev-manager

DDEV Manager offers a centralized and user-friendly interface to control every aspect of your DDEV projects.
https://marketplace.visualstudio.com/items?itemName=biati.ddev-manager
Apache License 2.0
15 stars 3 forks source link

[BUG]There is no data provider registered that can provide view data. (was previously working) #15

Closed CreateSean closed 12 months ago

CreateSean commented 1 year ago

Please make sure that the bug only applies to this extension, if you have a problem with ddev itself you should open an issue in the ddev repo and not here.

Describe the bug Had this extension working and then one day it stopped working and all I see is the message There is no data provider registered that can provide view data. this despite docker and ddev already running on my computer. DDev commands are all working in the terminal just this extension is not.

Have uninstalled and re-installed but issue continues

DDev manager v1.4.0

System (please complete the following information):

Additional context Add any other context about the problem here.

biati-digital commented 1 year ago

The error There is no data provider registered that can provide view data. is a VS Code error telling you that for some reason it can't activate/load DDEV Manager.

I need more information:

1.- Do you see any errors related to this extension if you open the command palette and launch Developer: Toggle Developer Tools

2.- Do you see any output in the "DDEV > Output panel"? CleanShot 2023-11-03 at 22 04 15

3.- Did anything change recently on your end?

CreateSean commented 1 year ago

1) no errors

2) I don't have that ddev option in your screenshot image

3) nothing changed. It was working one day and then it wasn't

biati-digital commented 1 year ago

Your screenshot shows the wrong panel, you need to check the output panel and in the select field make sure DDEV is selected.

280737145-6b14eec8-56d8-435d-89dc-b462e8fadcf5

biati-digital commented 1 year ago

BTW, also try disabling all extensions and just activate DDEV Manager (make sure to restart) it could be possible that another extension was updated and it's causing some kind of error. It happened before on another extension I worked on.

CreateSean commented 1 year ago

Hi,

I disabled all extensions, restarted and enabled ddev, restarted and no change.

Also opened DDEV extension settings and confirmed that it's selected docker desktop as the provider..

When I go to the output tab the select field does not give ddev as an option.

image image

biati-digital commented 1 year ago

The extension is not being activated or not running for some reason, there's no errors and no information that help me figure out what's happening.

Could you try installing a previous version of the extension?

CleanShot 2023-11-07 at 15 47 07

biati-digital commented 1 year ago

I had to borrow a windows laptop and I see the error, i'll release an update as soon as I can.

In the meantime you can install the previous version and it should work

CreateSean commented 1 year ago

confirmed rolling back to older version has everything working.

Looking forward to new release with permanent fix. Thanks for your time.

tyler36 commented 1 year ago

For me, this seems to happen more often when I have multiple projects open.

biati-digital commented 1 year ago

Hi. An update has been published (1.4.2) please try it and let me know if it the extension sidebar loads correctly now.

CreateSean commented 12 months ago

updated and working as expected. Thank you.