Bug 137872 - Extension Manager attempting to add extensions based on a uno_packages\cache path that no longer exists
Summary: Extension Manager attempting to add extensions based on a uno_packages\cache ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 10:03 UTC by xordevoreaux
Modified: 2020-10-31 18:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
error message (8.32 KB, image/png)
2020-10-31 13:49 UTC, xordevoreaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xordevoreaux 2020-10-30 10:03:59 UTC
Description:
7.1 alpha says 
https://extensions.libreoffice.org/en/extensions/show/export-as-images

does not exist. Installs just fine in 7.0.3


Steps to Reproduce:
1. Download https://extensions.libreoffice.org/en/extensions/show/export-as-images
2. Attempt to add it as an extension via Extension Manager


Actual Results:
Dialog appears saying extension doesn't exist

Expected Results:
Extension should be added to the list of available add-ons


Reproducible: Always


User Profile Reset: No



Additional Info:
This bug occurred in Windows. Please test using Windows.

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 5d51b8f5ac0a82c458f792c11985407a5eeb6fd5
CPU threads: 8; OS: Windows 10.0 Build 20246; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 [REDACTED] 2020-10-31 09:58:28 UTC
No repro in 

Version: 7.1.0.0.alpha1, Build ID: 987671387712c4f9061d6216ff2f001a7bb9e57b
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US, Calc: threaded
Comment 2 [REDACTED] 2020-10-31 10:23:27 UTC
Installs and works on (no repro):

Version: 7.1.0.0.alpha1 (x64), Build ID: 987671387712c4f9061d6216ff2f001a7bb9e57b
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE, Calc: threaded
Comment 3 xordevoreaux 2020-10-31 13:49:44 UTC
Created attachment 166893 [details]
error message

Still happening to me using

Version: 7.1.0.0.alpha1 (x64)
Build ID: 987671387712c4f9061d6216ff2f001a7bb9e57b
CPU threads: 8; OS: Windows 10.0 Build 20246; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 xordevoreaux 2020-10-31 14:34:38 UTC
I un-installed both 7.0.3.1 and 7.1.0.0 alpha, ran Bleachbit, ran a registry cleaner, rebooted, then installed only 7.1.0.0 alpha.

When I tried to load the extension again, same error message.
Comment 5 xordevoreaux 2020-10-31 14:54:24 UTC
Okay.  

This is the message that pops up (I'm not including my username in the path)

Add Extension(s):
C:\Users\[username]\AppData\Roaming\LibreOfficeDev\4\user\uno_packages\cache\uno_packages\lu14060s23g.tmp_\exportasimages-0-9-3.oxt does not exist.


So.

I followed the path to this point:

C:\Users\[username]\AppData\Roaming\LibreOfficeDev\4\user\uno_packages\cache\uno_packages\

There is nothing at all under \uno_packages\

If nothing is there, why is LO looking for \uno_packages\lu14060s23g.tmp_\
Comment 6 Telesto 2020-10-31 16:53:58 UTC
Hmm.. Installs fine here (save to disk + open extension manager + add)
Version: 7.1.0.0.alpha1+ (x64)
Build ID: ec1f4d3253963ac16d638734ac70dde033e82154
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

How exactly do you install they extension.

Click they link & at the point choosing open? Or save to disk first? Install by double clicking the extension (without LibreOffice running in the background or with)? Or Opening say Writer + Extension dialog + Add + pointing to dir where extension is saved (or putting the link in to they dialog)

And maybe a profile resets helps?
Comment 7 xordevoreaux 2020-10-31 18:15:21 UTC
Same way I always have, I download the extension and then go to the Extension Manager and hit Add.
Comment 8 xordevoreaux 2020-10-31 18:23:28 UTC
(In reply to mwtjunkmail from comment #7)
> Same way I always have, I download the extension and then go to the
> Extension Manager and hit Add.

I completely uninstalled every version of LO from my system. 
The profile survives despite a full de-installation?

Resetting the profile worked. 

1. The error message should include a prompt or suggestion to reset the user profile to help the user determine a solution rather than just display the error.
It's also a drastic step, since now templates have to be reimported, etc.

2. Can the program be tweaked in such a way that it doesn't wind up needing such resets? I used Microsoft Office for 30 years, never had to do anything of the kind.
Comment 9 Telesto 2020-10-31 18:40:06 UTC
(In reply to mwtjunkmail from comment #8)
> (In reply to mwtjunkmail from comment #7)
> > Same way I always have, I download the extension and then go to the
> > Extension Manager and hit Add.
> 
> I completely uninstalled every version of LO from my system. 
> The profile survives despite a full de-installation?
> 
> Resetting the profile worked. 
> 
> 1. The error message should include a prompt or suggestion to reset the user
> profile to help the user determine a solution rather than just display the
> error.
> It's also a drastic step, since now templates have to be reimported, etc.
> 
> 2. Can the program be tweaked in such a way that it doesn't wind up needing
> such resets? I used Microsoft Office for 30 years, never had to do anything
> of the kind.

Putting a dialog suggesting 'profile reset' bit of tricky. Have done plenty of resets with Master builds (and even regular builds) because of various odd behavior. So they general rule = if things starting to be odd this or a buggy behaviour or profile corruption. Or a bug causing a profile corruption [not seen that often, luckily ]

Something else is about which steps should be given while restoring. Or how they 'restore' should be approached.

Deleting they XCU only - instead of the whole profile folder - mostly works (which probably saves time). However full profile reset is 'more safe' but all or nothing. 

I assume which recovery options should be present (and how they are presented) should be handled in bug 120269.