Library update issue still unanswered

Guys, does someone care about the issues reported at Github with the “Report a Problem” button of the IDE?
The library updates are not working any more since about a month and numerous issues have been opened for that:

Is this considered as a users’ problem?

What exact issue is there? Related to ER: Bring back the install button (GlobalStorage) for libraries · Issue #1397 · platformio/platformio-home · GitHub or PlatformIO IDE 2.0 for VSCode 🚀 - #20 by ivankravets?

Neither - nor. There is a flag on the Libraries icon signalling now 70 updateable libraries. If you click on it to get to the Libraries page, click on Updates there. Now a chain of error pop-ups will open, each with a very long list of failing instructions and the notorious “Report a bug” button on it. In the issues reported on Github you will find a good collection of it.

Yeah that’s also reproducable for me.

Only for some projects, interestingly. Stack traces look something like

PIO Core Call Error: "Error: Traceback (most recent call last):
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\", line 109, in main
 cli() # pylint: disable=no-value-for-parameter
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 764, in __call__
 return self.main(*args, **kwargs)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 717, in main
 rv = self.invoke(ctx)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\commands\", line 44, in invoke
 return super(PlatformioCLI, self).invoke(ctx)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 1137, in invoke
 return _process_result(sub_ctx.command.invoke(sub_ctx))
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 1137, in invoke
 return _process_result(sub_ctx.command.invoke(sub_ctx))
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 956, in invoke
 return ctx.invoke(self.callback, **ctx.params)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 555, in invoke
 return callback(*args, **kwargs)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\click\", line 17, in new_func
 return f(get_current_context(), *args, **kwargs)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\commands\lib\", line 247, in lib_update
 lm = LibraryPackageManager(storage_dir)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\package\manager\", line 30, in __init__
 PackageType.LIBRARY, package_dir or get_project_global_lib_dir()
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\package\manager\", line 54, in __init__
 self.package_dir = self.ensure_dir_exists(package_dir)
 File "C:\Users\Maxi\AppData\Local\Programs\Python\Python37\lib\site-packages\platformio\package\manager\", line 98, in ensure_dir_exists
 assert os.path.isdir(path)


An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
 `pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section

* Report this problem to the developers


And all the project files still exists.

Not sure why the assert fails. A similiar looking issue at Libraries: Updates · Issue #1316 · platformio/platformio-home · GitHub suggests trying the most recent dev core.

… which i just did. Then it hides all the previous failing projects. Maybe because there are no updates available for them?

Anyways, try to open a PIO terminal and do pio upgrade --dev.

I did a pio upgrade --dev again. As you wrote, the project libraries are invisible now, with “Global” they show up, but the “Update” button is greyed-out. These libraries are used in the projects, so still there is something fishy.

Fixed in the latest PlatformIO Core Dev version. Please open PlatformIO Core CLI and type pio upgrade --dev. Restart VSCode. Does it work now?

That worked mostly for me, but another issue arrised: Library inspection throws utf-8 decoding error · Issue #1583 · platformio/platformio-home · GitHub