http://bugs.winehq.org/show_bug.cgi?id=20437
Summary: winemenubuilder produces wrong mimetype files Product: Wine Version: 1.1.31 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P4 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Paul.Vriens.Wine@gmail.com
Hi,
I was trying (just for the fun of it) to install Google Sketchup 7.1 when I saw the following errors in the console when running the app:
File '/home/paul/.local/share/applications/wine-extension-skp.desktop' contains invalid MIME type 'SKP' that is missing a slash File '/home/paul/.local/share/applications/wine-extension-skpkmz.desktop' contains invalid MIME type 'SKPKMZ' that is missing a slash
Let me know if a +menubuilder trace is needed or the actual .desktop files.
I'm running an up-to-date Fedora 11 (Gnome).
http://bugs.winehq.org/show_bug.cgi?id=20437
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration CC| |damjan.jov@gmail.com
--- Comment #1 from Damjan Jovanovic damjan.jov@gmail.com 2009-10-22 03:16:00 --- Most likely, the Windows MIME type used by winemenubuilder was wrong to start with.
What are the registry values under HKEY_CURRENT_ROOT.skp and HKEY_CURRENT_ROOT.skpkmz, particularly the "Content Type"?
http://bugs.winehq.org/show_bug.cgi?id=20437
--- Comment #2 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-10-22 03:21:53 --- [HKEY_CLASSES_ROOT.skpkmz] @="SketchUp.KMZModel" "Content Type"="SKPKMZ"
[HKEY_CLASSES_ROOT.skp] @="SketchUp.Document" "Content Type"="SKP"
http://bugs.winehq.org/show_bug.cgi?id=20437
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |programs Ever Confirmed|0 |1
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2009-10-22 03:37:27 --- I guess we need logic in winemenubuilder to tell whether a Windows MIME type is invalid and if so, generate our own.
http://bugs.winehq.org/show_bug.cgi?id=20437
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |damjan.jov@gmail.com
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2009-10-22 12:01:29 --- Created an attachment (id=24280) --> (http://bugs.winehq.org/attachment.cgi?id=24280) Generate our own MIME type if the slash is missing
Does this patch help? You probably also have to also delete the bad file keys from the registry (under HKCU\Software\Wine\FileOpenAssociations...) so they get regenerated.
http://bugs.winehq.org/show_bug.cgi?id=20437
--- Comment #5 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-10-22 12:26:18 --- Patch is fine. None of those errors in the console and creating a dummy .skp file and double-clicking it launches Sketchup.
(Removed all wine related stuff from .local/share/applications and started with a fresh prefix).
http://bugs.winehq.org/show_bug.cgi?id=20437
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com 2009-10-23 11:26:28 --- Thank you for testing.
Patch is in latest git -> resolving FIXED.
http://bugs.winehq.org/show_bug.cgi?id=20437
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2009-10-23 13:19:47 --- Closing bugs fixed in 1.1.32.