You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/01/05 07:17:06 UTC
DO NOT REPLY [Bug 118726] New: extensions.pmap is not recreated
after deleting user directory
https://issues.apache.org/ooo/show_bug.cgi?id=118726
Bug #: 118726
Issue Type: DEFECT
Summary: extensions.pmap is not recreated after deleting user
directory
Classification: Code
Product: framework
Version: OOo 3.4 Beta
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: scripting
AssignedTo: ab@openoffice.org
ReportedBy: brinzing@openoffice.org
CC: ooo-issues@incubator.apache.org
brinzing <br...@openoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |3.4_release_blocker?
i found this bug in win32 aoo3.4 dev build revision 1226179
steps to reproduce:
- add some shared extensions (java, c++, basic)
- close oo and delete the user directory, e.g.:
C:\Users\User\AppData\Roaming\OpenOffice.org\3.4\user
- restart oo
- extensions will be initialized and user directory will be
created on first start.
- but "Tools - Extension Manager" is empty now
extensions are working, except for basic library extensions:
"Tools - Macros - Organize Macros - OOo-dev Basic... - OOo-dev Macros"
does not show the macros deployed via extension.
the missing file is:
C:\Users\User\AppData\Roaming\OpenOffice.org\3.4\user\extensions\
shared\extensions.pmap
it worked with oo3.4beta1 (oracle) -> regression
comment from arielch:
The change made is the removal of the Berkely Database, so now
instead of extensions.db you have a extensions.pmap file
(a plain text file).
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |arielch@apache.org
Ever Confirmed|0 |1
--- Comment #7 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-11 08:40:50 UTC ---
I can confirm this with revision 1229372
There is no need to remove the user directory.
On a new installation, with no user directory, do the following:
1. start AOO
2. Use the Extension Manager GUI (Tools menu) to install the following
extensions FOR ALL USERS, in the following order:
2.1. Wiki Publisher
2.2. Presentation Minimizer
2.3. Presenter Consoler
3. Restart AOO
4. Open the Extension Manager GUI from the Tools menu
Result: only the last installed extension is listed, the Presenter Consoler
Set status to new.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #3 from brinzing <br...@openoffice.org> 2012-01-11 06:22:59 UTC ---
Created attachment 77117
--> https://issues.apache.org/ooo/attachment.cgi?id=77117
extensions.pmap_before_start
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #12 from hdu@apache.org 2012-01-12 15:13:59 UTC ---
(In reply to comment #11)
> FWIW regarding the test case in comment 8 during installation of
> writer2epub.oxt an exception is thrown on my system
> ("python-loader:<type 'exceptions.ImportError'>: No module named pythonloader,
> traceback follows no traceback available")
> and handled in dp_backend.cxx:684 and upwards.
Minor update: This python problem is already being tracked in issue 118021.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #13 from hdu@apache.org 2012-01-12 16:19:00 UTC ---
Mea culpa: since on some platforms the destructors of the PersistentMap were
not called by the extremely complex extmanager factory cleanup process the
easiest fix was to flush updated maps early. When doing the inital read the
flush is not helpful and resulted in the problem reported. Fixed in revision
1230614. Please check.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #8 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-11 15:50:55 UTC ---
Created attachment 77123
--> https://issues.apache.org/ooo/attachment.cgi?id=77123
Patch to test bundled extensions
The attached patch will ad two bundled extensions:
* writer2epub.oxt
* numbertext
See trunk/main/myextensions/README
After the first application run, the Extension Manager only shows the
numbertext extension.
This used to work before, see http://s.apache.org/5LG
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #9 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-11 15:55:02 UTC ---
Created attachment 77124
--> https://issues.apache.org/ooo/attachment.cgi?id=77124
extensions.pmap from openoffice.org3/share/prereg/bundled/
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
brinzing <br...@openoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression
CC| |brinzing@openoffice.org
--- Comment #1 from brinzing <br...@openoffice.org> 2012-01-05 06:18:05 UTC ---
added keyword "regression"
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #5 from brinzing <br...@openoffice.org> 2012-01-11 06:23:45 UTC ---
Created attachment 77119
--> https://issues.apache.org/ooo/attachment.cgi?id=77119
extension-manager.gif
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #6 from brinzing <br...@openoffice.org> 2012-01-11 06:32:12 UTC ---
with aoo3.4m1 revision 1229372 situation is really worse now:
i installed 4 extensions from command line:
unopkg add oracle-*.oxt --shared --verbose
attached "extensions.pmap_before_start" shows the result.
seems to be ok.
but after starting aoo, "Tools - Extension Manager..." will
show only the first installed extension.
and the "extension.pmap" lost all entries except for the
first installed extension (revision 1226179 did not change#
the *.pmap file)
see attached *.gif and *.pmap file for details
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #14 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-13 01:37:43 UTC ---
Verified.
Tested with:
* bundled extensions
* shared extensions
* user extensions
Removing the user directory, bundled and share extensions are present in the
newly created profile.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #10 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-11 15:56:19 UTC ---
Created attachment 77125
--> https://issues.apache.org/ooo/attachment.cgi?id=77125
extensions.pmap in the user directory
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |STARTED
--- Comment #11 from hdu@apache.org 2012-01-12 10:46:24 UTC ---
FWIW regarding the test case in comment 8 during installation of
writer2epub.oxt an exception is thrown on my system
("python-loader:<type 'exceptions.ImportError'>: No module named pythonloader,
traceback follows no traceback available")
and handled in dp_backend.cxx:684 and upwards.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #16 from hdu@apache.org 2012-01-13 08:24:56 UTC ---
Closing resolved and verified issue.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|STARTED |RESOLVED
Resolution| |FIXED
--- Comment #15 from hdu@apache.org 2012-01-13 08:24:11 UTC ---
Thanks for verifying.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
Raphael Bircher <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rbircher@apache.org
--- Comment #2 from Raphael Bircher <rb...@apache.org> 2012-01-07 08:42:27 UTC ---
rbircher > hdu do you working on this? If yes please set the issue to started.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118726] extensions.pmap is not recreated after
deleting user directory
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118726
--- Comment #4 from brinzing <br...@openoffice.org> 2012-01-11 06:23:22 UTC ---
Created attachment 77118
--> https://issues.apache.org/ooo/attachment.cgi?id=77118
extensions.pmap
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.