http://bugs.winehq.org/show_bug.cgi?id=31201
Bug #: 31201 Summary: MathCad 15 can't acquire trial license Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
To reproduce: Register for and download trial from http://www.ptc.com/products/mathcad/mathcad-15-0/free-trial.htm sha1sum: bed926a901f47be5eb05a2545b635fa2e3d33c49 Mathcad15_EN.zip
rm -rf .wine winetricks wget https://winetricks.googlecode.com/svn/trunk/src/winetricks sh winetricks -q dotnet35sp1 mkdir Mathcad15_EN cd Mathcad15_EN unzip ../Mathcad15_EN.zip wine setup.exe
At 75%, you'll be presented with the license manager. Ask to acquire a license via the internet, and specify a trial license. Click Next when it autofills the username and password. It will fail. Click cancel and skip this step; installation will complete (with one fatal-looking but harmless dialog about not being able to launch app).
Then to repeat the error in a simpler context, do cd ~/.wine/drive_c/Program Files/Mathcad/Mathcad 15/mclicense wine mclicense.exe
http://bugs.winehq.org/show_bug.cgi?id=31201
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.ptc.com/products | |/mathcad/mathcad-15-0/free- | |trial.htm
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #1 from Dan Kegel dank@kegel.com 2012-07-11 19:07:18 CDT --- Created attachment 40974 --> http://bugs.winehq.org/attachment.cgi?id=40974 +wbemprox log
Log shows:
trace:text:DrawTextExW L"The wizard is now contacting the PTC licensing server to obtain your license automatically. This may take a few moments."... ... trace:wbemprox:wbem_services_ExecQuery 0x1d19d0, L"WQL", L"Select MACAddress,PNPDeviceID FROM Win32_NetworkAdapter WHERE MACAddress IS NOT NULL AND PNPDeviceID IS NOT NULL", 0x00000010, (nil), 0x32df70 trace:wbemprox:fill_networkadapter created 3 rows trace:wbemprox:parse_query wql_parse returned 0 fixme:wmiutils:wmiutils_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented fixme:wmiutils:status_code_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented fixme:wmiutils:status_code_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented fixme:wmiutils:status_code_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented fixme:wmiutils:status_code_GetErrorCodeText 0x1cfaa0, 0x80041017, 0x0000, 0x00000001, 0x32e13c trace:text:DrawTextExW L"Error code: 0x80041017", -1, [(0,0)-(352,0)] 00000450
So... maybe wmi? There seem to be some hint of com+ in the log, too.
http://bugs.winehq.org/show_bug.cgi?id=31201
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wmi&wbemprox
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2012-07-12 02:36:58 CDT --- (In reply to comment #1)
trace:text:DrawTextExW L"The wizard is now contacting the PTC licensing server to obtain your license automatically. This may take a few moments."... ... trace:wbemprox:wbem_services_ExecQuery 0x1d19d0, L"WQL", L"Select MACAddress,PNPDeviceID FROM Win32_NetworkAdapter WHERE MACAddress IS NOT NULL AND PNPDeviceID IS NOT NULL", 0x00000010, (nil), 0x32df70 trace:wbemprox:fill_networkadapter created 3 rows trace:wbemprox:parse_query wql_parse returned 0 fixme:wmiutils:wmiutils_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented fixme:wmiutils:status_code_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented fixme:wmiutils:status_code_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented fixme:wmiutils:status_code_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented fixme:wmiutils:status_code_GetErrorCodeText 0x1cfaa0, 0x80041017, 0x0000, 0x00000001, 0x32e13c trace:text:DrawTextExW L"Error code: 0x80041017", -1, [(0,0)-(352,0)] 00000450
So... maybe wmi? There seem to be some hint of com+ in the log, too.
Yeah, looks like another silly attempt to get a unique id.
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #3 from Hans Leidekker hans@meelstraat.net 2012-07-12 04:04:44 CDT --- Created attachment 40975 --> http://bugs.winehq.org/attachment.cgi?id=40975 patch
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #4 from Dan Kegel dank@kegel.com 2012-07-12 12:42:49 CDT --- Can't tell; with today's git, mclicense.exe crashes with a null pointer exception and no useful log before putting up a gui. I'll try older gits when I get a chance.
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #5 from Dan Kegel dank@kegel.com 2012-07-12 13:58:27 CDT --- Rolled back to wine-1.5.8 and was able to run mclicense.exe again. The patch changed to error dialog to "Error: PTC.Setup could no properly detect the Host ID that is required."
http://www.ptc.com/for/education/tryout_faq.htm#12 makes it sound like they do consider the MAC address the Host ID.
See attached log.
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #6 from Dan Kegel dank@kegel.com 2012-07-12 14:02:04 CDT --- Created attachment 40981 --> http://bugs.winehq.org/attachment.cgi?id=40981 rzipped +wbemprox,+relay log after patch
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #7 from Dan Kegel dank@kegel.com 2012-07-12 14:13:15 CDT --- (Now current git also lets me reproduce the problem. Not sure why it was unhappy earlier.)
http://bugs.winehq.org/show_bug.cgi?id=31201
--- Comment #8 from Hans Leidekker hans@meelstraat.net 2012-07-13 14:37:09 CDT --- An improved patch was committed as 5acdba54a0534a41ec8267bb4d4bb8d1dfb551f0.
Do you still get the error?
http://bugs.winehq.org/show_bug.cgi?id=31201
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Dan Kegel dank@kegel.com 2012-07-16 10:14:15 CDT --- I think it's fixed; next error symptom is a fatal dialog with text 0024:Call gdiplus.GdipMeasureString(014b0308,0209c54c L"The requested feature is not implemented." I'll file another bug.
http://bugs.winehq.org/show_bug.cgi?id=31201
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5acdba54a0534a41ec8267bb4d4 | |bb8d1dfb551f0
http://bugs.winehq.org/show_bug.cgi?id=31201
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-07-17 13:52:01 CDT --- Closing bugs fixed in 1.5.9.