http://bugs.winehq.org/show_bug.cgi?id=28891
Bug #: 28891 Summary: MathType add-on doesn't work in MS Word Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: yesint3@ukr.net Classification: Unclassified
MathType add-on doesn't work in MS Word under wine. This makes MathType almost useless. In Windows on the first launch of Word after installing MathType Word asks if you trust the macros and then MathType toolbar appears and works. Under wine add-on is not recognized, extension "MathType Commands 6 For Word.dot" is not active. If I re-enable it by hand it shows "Loading MathType commands..." and then Word crashes. Tested on Xubuntu 11.10 x86_64, wine-1.3.28, MS Word 2003 Pro, MathType 6.
http://bugs.winehq.org/show_bug.cgi?id=28891
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.28
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #1 from Austin English austinenglish@gmail.com 2013-11-13 16:48:15 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #2 from nrbrtx@gmail.com --- Created attachment 47541 --> http://bugs.winehq.org/attachment.cgi?id=47541 log of WINWORD with Mathtype 6 installed
This bug exists in latest wine version: 1.7.12-0ubuntu1 from Ubuntu 12.04 LTS PPA.
wine --version wine-1.6.1
If Mathtype is enabled, Word crashes on launch.
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #3 from nrbrtx@gmail.com --- Created attachment 47542 --> http://bugs.winehq.org/attachment.cgi?id=47542 debug log of WINWORD with Mathtype 6 installed
I updated wine to the latest version - wine1.7 from Ubuntu 12.04 LTS PPA (1.7.12-0ubuntu1).
wine --version wine-1.7.12
I updated winetricks to the latest version too, installed all dependencies (by trial and error):
WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winecfg WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force riched20 riched30 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force dotnet35 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vb6run WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force mfc40 mfc42 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vcrun6 vcrun6sp6 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vcrun2003 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force comctl32 comctl32ocx comdlg32ocx
cd ~/Distr/MSO_2003/ WINEPREFIX=~/.local/share/wineprefixes/office2003pro wine "msiexec" /I PRO11.MSI
Set macros security to low. Launched VB Editor with Alt+F11. Created test form in it with some buttons and labels - it works. Next I install Mathtype.
cd ~/Distr/Mathtype/ WINEPREFIX=~/.local/share/wineprefixes/office2003pro wine MTW6.0c.exe
WINEPREFIX=~/.local/share/wineprefixes/office2003pro wine "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE"
But Mathtype keep producing Word crash.
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Regarding dependencies, please try to skip this list and report any bugs that appears with wine's versions of these:
--- WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vb6run WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vcrun6 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force vcrun2003 WINEPREFIX=~/.local/share/wineprefixes/office2003pro winetricks --force comctl32 ---
vcrun* is in active development for example, and comctl32 is not abandoned too so we want more reports for these. Vbrun6 - I don't remember if it actually used by Office but we want reports for that one too.
Regarding your crash - could you attach a +typelib,+ole,+tid,+relay log before a crash? (start another application like winecfg before starting Word to reduce a log size).
http://bugs.winehq.org/show_bug.cgi?id=28891
nrbrtx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nrbrtx@gmail.com
--- Comment #5 from nrbrtx@gmail.com --- Thank you for your comment, Nikolay!
I made a clean wineprefix and installed here vb6run, vcrun6, vcrun2003, comctl32 with winetricks.
Word behaviour is different - it does not load Mathtype dot-file because of error: "Mathtype has detected an error in AutoExecCls.RunMTDLL Code: 0. Please save your document and report this error to Design Science Techinical Support.", then if I press "Insert inline eqation" on Mathtype toolbar I get error message "This command cannot be executed because the application is in Reading View" then I press Alt+F4 to close Word and get crash window.
The log is in attachment. It contain two phases: WINEPREFIX=~/.local/share/wineprefixes/office2003pro WINEDEBUG=+typelib,+ole,+tid,+relay winecfg >> /tmp/output.txt 2>&1 and WINEPREFIX=~/.local/share/wineprefixes/office2003pro WINEDEBUG=+typelib,+ole,+tid,+relay wine "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" >> /tmp/output.txt 2>&1 .
On next start Word recommends to me to disable Mathtype toolbar. If I do so and try to open a *.doc document with Mathtype formulas I can double-click on equation and edit in Mathtype editor. So the problem element is a Mathtype toolbar. And as I can understand it is VBA-based.
With installed requirements that you recommend Visual Basic Editor do not have elements in Toolbar (I can't add elements to Form). But if install all components as described in comment #3 I see GUI elements on Toolbar and can add them to Form. I do not know how this is related to that bug. I can write this on russian if this could help to solve the problem.
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #6 from nrbrtx@gmail.com --- Uploaded log-file to http://www.speedyshare.com/3ekHu/output.txt.tar.gz (4 MB).
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- (In reply to comment #5)
I made a clean wineprefix and installed here vb6run, vcrun6, vcrun2003, comctl32 with winetricks.
No, I was asking to try *without* these packages, in other words use wine's builtin modules. Also I don't think you need dotnet at all for this Office version.
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net --- The only native dll needed for Office 2003 is riched20, and Office installs its own version of that, so all you have to do is set the override. No winetricks are needed.
Does the trial version of MathType demonstrate the problem? http://www.dessci.com/EN/products/mathtype/trial.asp
http://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #9 from nrbrtx@gmail.com --- Thank you for your comments! I made another clean installation of Office 2003 (now without winetrics), tried with SP3 and without it, tried Mathtype 6.0c and latest Mathtype 6.9 - the result is the same - Mathtype toolbar (C:\program files\microsoft office\office11\startup\mathtype commands 6 for word.dot) crashes Word. Log for this crash is here - http://www.speedyshare.com/uavcp/output-new.txt.tar.lzma (3 Mb).
As far I can understand Mathtype has two components: 1. embedded equations are OLE objects (this part works - I can edit existent equations and insert new from Insert menu) 2. Mathtype has toolbar for Word (this part does not work, produce crash and it seems, that it is Visual Basic based).
Thank you! Now I understood by testing that some of my installed packages are not really needed. Installed only riched20 and the Visual Basic Editor looks better (got buttons on Toolbar for adding to Form). I have not set override for riched20 it (default "native,builtin"). If Mathtype panel uses VB, we need some packages for its normal operation, I think.
Prepared crash log with riched20 installed - http://speedy.sh/kFWk3/output-riched20.txt.tar.lzma (2 Mb).
What can I/we do to enable Mathtype panel in Word 2003? In Word 2007 it works normally, I know.
http://bugs.winehq.org/show_bug.cgi?id=28891
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://www.dessci.com/EN/pr | |oducts/mathtype/trial.asp Ever confirmed|0 |1
--- Comment #10 from Rosanne DiMesio dimesio@earthlink.net --- Confirming; it's reproducible with the MathType 30 day trial.
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #11 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #12 from nrbrtx@gmail.com --- Created attachment 51087 --> https://bugs.winehq.org/attachment.cgi?id=51087 MathType 6 backtrace on start of Word 2003
Bug exists using MS Office 2003 Pro (with only 'winetricks riched20') under Ubuntu 12.04.5 x86 with Wine from PPA (1:1.7.18-0ubuntu1).
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #13 from nrbrtx@gmail.com --- Created attachment 51088 --> https://bugs.winehq.org/attachment.cgi?id=51088 MathType 6.9a backtrace on start of Word 2003
Bug exists using MS Office 2003 Pro (with only 'winetricks riched20') with MathType 6.9a under Ubuntu 12.04.5 x86 with Wine from PPA (1:1.7.18-0ubuntu1).
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #14 from nrbrtx@gmail.com --- Created attachment 51089 --> https://bugs.winehq.org/attachment.cgi?id=51089 MathType 6.0c backtrace on start of Word 2003 in Wine 1.7.38
Bug exists using MS Office 2003 Pro (with only riched20 set 'native,builtin') with MathType 6.0c under Ubuntu 14.04.2 x86 with Wine from PPA (1:1.7.38-0ubuntu1).
https://bugs.winehq.org/show_bug.cgi?id=28891
nrbrtx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51087|MathType 6 backtrace on |MathType 6.0c backtrace on description|start of Word 2003 |start of Word 2003 in WIne | |1.7.18
https://bugs.winehq.org/show_bug.cgi?id=28891
nrbrtx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51088|MathType 6.9a backtrace on |MathType 6.9a backtrace on description|start of Word 2003 |start of Word 2003 in Wine | |1.7.18
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #15 from nrbrtx@gmail.com --- Created attachment 51090 --> https://bugs.winehq.org/attachment.cgi?id=51090 MathType 6.9a backtrace on start of Word 2003 in Wine 1.7.38
Bug exists using MS Office 2003 Pro (with only riched20 set 'native,builtin') with MathType 6.9a under Ubuntu 14.04.2 x86 with Wine from PPA (1:1.7.38-0ubuntu1).
https://bugs.winehq.org/show_bug.cgi?id=28891
--- Comment #16 from Austin English austinenglish@gmail.com --- Over 2 years with no reply, marking abandoned.
https://bugs.winehq.org/show_bug.cgi?id=28891
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- Resolving.
https://bugs.winehq.org/show_bug.cgi?id=28891
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #18 from André H. nerv@dawncrow.de --- closing abandoned