Steps How to reproduce with server-installation of Master " 3.7.0alpha0+ – WIN7 Home Premium (64bit) ENGLISH UI [Build ID: 5af60dc]" (tinderbox: Win-x86@6-fast, pull time 2012-06-14 22:09:53):
1. Download / Unzip attachment 63102 [details] from Bug 34693
2. From LibO Start Center menu 'File -> Open'
Expected: Useful Error message
Actual: "General Error"
With German 220.127.116.11: "Allgemeiner Fehler. Allgemeiner
Also see attachment 51105 [details]
Can you find out what happens?
Actually that's quite expected when it comes to UNO filters, like the RTF importer. OTOH I know the ODF import filter does a better job here -- I'll look into how that does so, and if we can do the same the RTF or not. I hope so. :-)
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
fdo#51145 give better error message on import invalid RTF
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Resolved in master -- no backport, I'm not comfortable with backporting such an intrusive change.
VERIFIED as FIXED with LOdev 18.104.22.168.alpha0+ (Build ID: 370m0(Build:0); pull time: 2012-10-25 06:12:34) on Mac OS X 10.6.8.
A big progress! Opening the RTF file from attachment 63102 [details] now fails with the error message:
“File format error found at 48043,147(row,col).”
which is still a bit technical ;-), but at least much better!
Advanced users can now try to repair a broken RTF file or, if it seems to be valid, tell what exactly LibreOffice does not like about it.
Thank you very much, Miklos!