Bug 156972 - Python error when inserting page number
Summary: Python error when inserting page number
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 14:30 UTC by Chris Wiltshire
Modified: 2024-04-10 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Wiltshire 2023-08-28 14:30:58 UTC
Suite just upgraded toversion 7.6.

Exploring new facility for the insertion of page numbers in a new writer document.
The following error message appears and the action fails.

___________________


A Scripting Framework error occurred while running the Python script vnd.sun.star.script:PageNumberingAddon.oxt|python|main.py$main?language=Python&location=user:uno_packages.

Message: <class 'KeyError'>: 'PageNumberingAddon.oxt'
  File "C:\Program Files\LibreOffice\program\pythonscript.py", line 1047, in getScript
    storageUri = self.provCtx.getStorageUrlFromPersistentUrl(
  File "C:\Program Files\LibreOffice\program\pythonscript.py", line 418, in getStorageUrlFromPersistentUrl
    package = self.mapPackageName2Path[ packageName ]
Comment 1 Werner Tietz 2023-08-29 16:22:45 UTC
Hallo

which version of the Addon is installed? …
Try https://gitlab.com/lo_extensions/lo-page-numbering/-/tree/master/LibreOffice/versions/0_0_3
Comment 2 Werner Tietz 2023-08-29 16:32:09 UTC
Cannot reproduce

Version 0.0.3 of PageNumberingAddon.oxt (https://gitlab.com/lo_extensions/lo-page-numbering/-/tree/master/LibreOffice/versions/0_0_3 ) works for me, both with

Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Debian package version: 4:7.4.7-1
Calc: threaded

and also with:

Version: 7.6.0.3 (AARCH64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Flatpak
Calc: threaded
Comment 3 Xisco Faulí 2023-09-11 12:23:18 UTC
Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 4 QA Administrators 2024-03-10 03:15:27 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2024-04-10 03:13:49 UTC
Dear Chris Wiltshire,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp