Bug 89626 - Print to form letter silently fails at final step
Summary: Print to form letter silently fails at final step
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 17:36 UTC by rich
Modified: 2016-09-19 13:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
bug repro spreadsheet (8.52 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-09-19 09:54 UTC, Tim Abell
Details
bug repro writer document (8.63 KB, application/vnd.oasis.opendocument.text)
2016-09-19 09:57 UTC, Tim Abell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rich 2015-02-24 17:36:36 UTC
I set up a Writer document using fields form a LO Calc data source and tried to generate a merged document.

File » Print
"it's got form fields, wanna print form letter?" YES

Dialogue shows, shows correct data (400 rows ish), all looks good.

Output to: (I want it all in one file, but I've tried all options: Printer and mulit/sinlge Files)

If single file was selected, I'm asked for a filename as usual.

Then the dialogue disappears; no error; no file/print jobs made.
Comment 1 rich 2015-02-24 17:50:00 UTC
After a while of fiddling, I got it to print a record from the middle of the dataset ("Selected record"). Following this, it seems to work.

Really odd. And took me about an hour of trying every possible thing, so might be an issue for others, too.
Comment 2 Buovjaga 2015-02-28 10:19:15 UTC
Sample documents for testing would be great.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the documents. Or set to RESOLVED INVALID, if you can't reproduce it anymore.
Comment 3 QA Administrators 2015-09-04 02:56:34 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2015-10-14 19:49:05 UTC Comment hidden (obsolete)
Comment 5 Tim Abell 2016-06-26 21:19:05 UTC
I have what appears to be the same issue. Let me know if you need more information.

Because there's no errors I've recorded a video to prove to you the behaviour:
https://vimeo.com/172328499

This is a fairly clean install of Ubuntu 16.04 LTS with all updates applied.

LibreOffice version info (from help/about):

    Version: 5.1.3.2
    Build ID: 1:5.1.3-0ubuntu1
    CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
    Locale: en-GB (en_GB.UTF-8)

Thanks
Comment 6 Buovjaga 2016-06-27 17:07:31 UTC
Tim: could you try with a TDF package to see, if you get a different result than the Ubuntu package? http://www.libreoffice.org/download/libreoffice-fresh/
https://wiki.documentfoundation.org/Installing_in_parallel/Linux
Comment 7 Buovjaga 2016-06-28 14:58:24 UTC
Forgot to add Tim to CC when requesting further test.
Comment 8 Tim Abell 2016-07-05 17:01:59 UTC
I've had a look and the maze of instructions for other builds has defeated me, some more specific guidance on what you want installed and how to test it would be helpful. Thanks.
Comment 9 Buovjaga 2016-07-05 17:19:05 UTC
(In reply to Tim Abell from comment #8)
> I've had a look and the maze of instructions for other builds has defeated
> me, some more specific guidance on what you want installed and how to test
> it would be helpful. Thanks.

http://download.documentfoundation.org/libreoffice/stable/5.1.4/deb/x86_64/LibreOffice_5.1.4_Linux_x86-64_deb.tar.gz

Then continue from this step 2: https://wiki.documentfoundation.org/Installing_in_parallel/Linux#Step_2:_Downloading_and_Unpacking_the_Installation_Files
and follow the instructions for DEB packages.

I recommend step 4 (changing the user profile location).

You can skip steps 5-7 and simply run it by executing path-to-install-folder/install/opt/libreoffice/program/soffice
Comment 10 Tim Abell 2016-07-15 20:14:39 UTC
thank you kindly Buovjaga that was a lot simpler :-)

I can report that using that build the mail merge worked fine.

Anything else I can do to try an narrow this down? Does libre office keep any data cached anywhere that would be worth wiping? I copy my files from my home folder across from old pc builds, but not the hidden folders unless I know I need them, I like to keep things clean between builds.

If you're interested in my more general experiences with mailmerge, check out http://timwise.blogspot.co.uk/2015/01/libreoffice-mail-merge-data-source.html
Comment 11 Buovjaga 2016-07-22 16:57:45 UTC
(In reply to Tim Abell from comment #10)
> Anything else I can do to try an narrow this down? Does libre office keep
> any data cached anywhere that would be worth wiping? I copy my files from my
> home folder across from old pc builds, but not the hidden folders unless I
> know I need them, I like to keep things clean between builds.

Only this: https://wiki.documentfoundation.org/UserProfile
Comment 12 Tim Abell 2016-08-04 11:03:52 UTC
I tried moving /home/tim/.config/libreoffice out of the way and the ubuntu packaged libreoffice still exhibits the same behaviour.
Perhaps it's something to do with the specific document / data source I'm using.
Comment 13 Tim Abell 2016-08-04 11:08:03 UTC
Sorry forgot I'd already reproduced it from scratch. Let me know if there's anything else I can do to help.
Comment 14 Tim Abell 2016-09-19 09:54:39 UTC
Created attachment 127425 [details]
bug repro spreadsheet
Comment 15 Tim Abell 2016-09-19 09:57:31 UTC
Created attachment 127426 [details]
bug repro writer document

Attached the files used in the demo, do you need any more information from me to help solve this problem?

Should I be reporting it to Ubuntu given that the build direct from LibreOffice worked fine?

Thanks
Comment 16 Buovjaga 2016-09-19 10:02:30 UTC
(In reply to Tim Abell from comment #15)
> Should I be reporting it to Ubuntu given that the build direct from
> LibreOffice worked fine?

Yep, I think so. Maybe you could also try with 5.2: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
There have been a lot of mail-merge fixes thanks to the Munich hackers and more to come (basically a rewrite was done).
Comment 17 Tim Abell 2016-09-19 10:17:45 UTC
Okay thanks, I'll give that a go, good to hear it's being worked on.

Reported to Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1625109
Comment 18 Tim Abell 2016-09-19 10:33:31 UTC
Upgrading to the version from that PPA has fixed the installed copy for me. Many thanks!
Comment 19 Buovjaga 2016-09-19 13:26:49 UTC
Ok, I guess we can close this as WFM. No response from the original reporter for a long time etc..