Bug 28963 - Mailmerge in LibreOffice Writer has missing module mailmerge
Summary: Mailmerge in LibreOffice Writer has missing module mailmerge
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: ISO building group
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA8
Depends on:
Blocks:
 
Reported: 2021-05-25 09:50 CEST by Herman Viaene
Modified: 2022-10-29 16:12 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Herman Viaene 2021-05-25 09:50:32 CEST
Description of problem:
Trying to use mailmerge to send e-mails from LibreOffice Writer fails. Error shows: "Module not found: mailmerge"

Version-Release number of selected component (if applicable):
LO 7.0.4.2

How reproducible:
Always in Mageia, not at all with the same LO version in Win 10

Steps to Reproduce:
1.Make an address list with emailaddresses in Calc
2.Follow the applicable actions in the Tools menu to define the data source and the letter.
3.Click the "Send mail" button and the error appears.
Comment 1 sturmvogel 2021-05-25 12:38:12 CEST
Do you have "libreoffice-emailmerge" installed?
Comment 2 Herman Viaene 2021-05-25 14:44:13 CEST
No, why isn't that installed by default?? It is a common operation in offices.
I will post the result of my tests later.
Comment 3 Herman Viaene 2021-05-25 17:07:55 CEST
That seems to work OK once "libreoffice-emailmerge" is installed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 4 Dave Hodgins 2021-05-25 19:08:11 CEST
# urpme --test libreoffice-emailmerge
To satisfy dependencies, the following 2 packages will be removed (25KB):
  libreoffice-7.0.4.2-5.mga8.x86_64
   (due to unsatisfied libreoffice-emailmerge(x86-64) == 1:7.0.4.2-5.mga8)
  libreoffice-emailmerge-7.0.4.2-5.mga8.x86_64

Is the task package libreoffice installed? I can see this happening if a
package such as libreoffice-writer or other libreoffice packages were selected
for installation rather then libreoffice itself.

CC: (none) => davidwhodgins

Comment 5 Herman Viaene 2021-05-26 10:05:23 CEST
No, that one was not installed. But then, I cann't remember installing LO separately, it came by selecting the type "Office" at installation time, and I never bothered looking at what it had installed. And the same goes for updates.
Someone has a clue what is installed (or supposed to be) when not going to individual package selection in the classic installer????
Comment 6 Dave Hodgins 2021-05-26 19:26:23 CEST
Looks like the packages on the classical iso images did not include the
libreoffice task package or the libreoffice-emailmerge package, though it does
have 122 of the other libreoffice packages.

There hasn't been an update for libreoffice for Mageia 8 yet.

Does installing the libreoffice task package add any other packages?

This should go into the errata.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 7 Herman Viaene 2021-05-27 08:38:08 CEST
No, it didn't draw in anything else.
Comment 8 Dave Hodgins 2021-05-27 17:42:52 CEST
Added to https://wiki.mageia.org/en/Mageia_8_Errata#Various_software

Closing again.

Resolution: (none) => FIXED
Keywords: (none) => IN_ERRATA8
Status: REOPENED => RESOLVED

Comment 9 Morgan Leijström 2021-05-27 18:41:27 CEST
How do we make this not happen in mga9 ISO?

CC: (none) => fri

Comment 10 Dave Hodgins 2021-05-27 19:29:32 CEST
(In reply to Morgan Leijström from comment #9)
> How do we make this not happen in mga9 ISO?

By making sure the task package libreoffice and all of it's requires are in
the classical iso images. In the Mageia 8 iso images libreoffice-emailmerge
and the task package libreoffice are both not in the classical iso images.
Comment 11 Morgan Leijström 2021-05-27 20:59:53 CEST
More specifically, dont we maintain a list of packages for the ISOs?
- why did it work for mga7(i believe) and not for mga8?
Comment 12 Dave Hodgins 2021-05-27 23:45:38 CEST
I just checked Mageia-7-x86_64/Mageia-7-x86_64.idx and the same for 7.1, and
it has the same two packages missing. Just no-one noticed or reported the
problem.
Comment 13 Dave Hodgins 2021-05-27 23:54:44 CEST
When the iso images for new release start getting built, one of the first things
we do is review the errata for the prior release to ensure all iso problems
have been addressed.

Reopening and assigning the bug to the iso team even though it's closed, to
ensure they are aware of it.

The libreoffice and libreoffice-emailmerge packages should be added to the
iso images (both live and classical) for the next release (whether it's 8.1
or 9).

Assignee: bugsquad => isobuild
Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 14 Martin Whitaker 2021-05-28 10:25:55 CEST
The packages included on the ISOs are mostly determined by the package ratings in rpmsrate (see /usr/share/meta-task/rpmsrate-raw). For libreoffice we have

CAT_OFFICE
  5 CAT_PLASMA5 || CAT_GNOME || CAT_XFCE || CAT_CINNAMON || CAT_MATE libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-base libreoffice-math libreoffice-draw
  4 CAT_PLASMA5 || CAT_GNOME || CAT_XFCE || CAT_CINNAMON || CAT_MATE libreoffice-emailmerge libreoffice-graphicfilter libreoffice-pdfimport libreoffice-opensymbol-fonts libreoffice-wiki-publisher libreoffice-xsltfilter
  5 CAT_PLASMA5 libreoffice-kf5
  5 CAT_PLASMA5 || CAT_GNOME || CAT_XFCE || CAT_CINNAMON || CAT_MATE libreoffice-langpack-ar libreoffice-langpack-ca
  5 CAT_PLASMA5 || CAT_GNOME || CAT_XFCE || CAT_CINNAMON || CAT_MATE libreoffice-voikko

Currently the ISOs only include OFFICE category packages rated 5 or higher. This was changed in 2016 (by Anne) from 4 or higher. From the commit message, it appears this was done to make space on the ISOs for DNF. So this change was deliberate, and done for Mageia 6.

At the moment, due to the increased size limit for the classical ISOs, we still have some free space. By the time we get to Mageia 9, I expect we will again be up against the limit and looking for packages we can exclude.

CC: (none) => mageia

Comment 15 Dave Hodgins 2021-05-28 20:01:51 CEST
$ rpm -q -i libreoffice-emailmerge |grep ^Size
Size        : 25637

I think all of the libreoffice packages should have the same package rating so
we don't end up with some of the packages installed and others not which, as
in this bug report, causes confusion.
Comment 16 Martin Whitaker 2022-10-29 16:12:45 CEST
% grep libreoffice-emailmerge Mageia-9-alpha1-x86_64.idx
Mageia-9-alpha1-x86_64 libreoffice-emailmerge-7.4.2.3 (x86_64)

There is no point including the libreoffice package, because the installer will never select it.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.