http://bugs.winehq.org/show_bug.cgi?id=22247
Summary: Sketchup cannot export collada or google earth files Product: Wine Version: 1.1.41 Platform: x86-64 URL: http://www.google.com/support/forum/p/sketchup/thread? fid=3e8000bfa25c5d1c00048344f937e93d&hl=en OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: yorik.vanhavre@gmail.com
See thread about this bug on google sketchup forum: http://www.google.com/support/forum/p/sketchup/thread?fid=3e8000bfa25c5d1c00...
Sketchup 7.1 running on wine cannot export collada (.dae) or google earth (.kmz) files. To reproduce, simply open sketchup, select file -> export -> 3d model and choose either collada or google earth format. Sketchup shows a dialog with an export progress bar being filled up, but no "successfully exported" message, as it does on windows. And indeed, no file gets created.
On the terminal, appears: Warning: No IOPlugin Set! Neither DOM_INCLUDE_LIBXML or DOM_INCLUDE_TINYXML is defined.
That message error seems to be coming from the collada component of sketchup ( see https://collada.org/public_forum/viewtopic.php?p=3216&sid=2a576c3f28da98... ). google earth .kmz files are actually zip files containing collada files and their textures, so it makes sense that both file formats have the same problem.
I tried to save to all kinds of different paths to exclude the possibility of the file not be created for some filesystem or bad path name reason.
I'm not sure there is much to do without digging inside complex collada internals, but I'm posting anyway so it is registered. I'll try to have a better look at that collada thread when I have time, to see if I find more clues.
I'm on debian squeeze 64bits, wine 1.1.41
http://bugs.winehq.org/show_bug.cgi?id=22247
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL|http://www.google.com/suppo |http://sketchup.google.com/ |rt/forum/p/sketchup/thread? |download/gsu.html |fid=3e8000bfa25c5d1c0004834 | |4f937e93d&hl=en | Component|-unknown |wininet Ever Confirmed|0 |1
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-04-03 01:45:44 --- I can confirm this problem in wine-1.1.42.
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-04-03 01:52:25 --- Created an attachment (id=27172) --> (http://bugs.winehq.org/attachment.cgi?id=27172) wininet: Pass URL_FILE_USE_PATHURL to UrlCanonicalize in InternetCanonicalizeUrl (proposed)
The problem looks to be that wininet.InternetCanonicalizeUrlW returns the wrong thing for a Windows path:
0023:Call wininet.InternetCanonicalizeUrlW(027013d8 L"C:/users/arethusa/My Documents/Untitled.dae",02701a00,0e01e168,30000000) ret=0de2460c 0023:Call shlwapi.UrlCanonicalizeW(027013d8 L"C:/users/arethusa/My Documents/Untitled.dae",02701a00,0e01e168,90000000) ret=6866e21b ... 0023:Call KERNEL32.lstrlenW(050742d0 L"file:///C:/users/arethusa/My Documents/Untitled.dae") ret=6870ed89 0023:Ret KERNEL32.lstrlenW() retval=00000031 ret=6870ed89 ... 0023:Ret shlwapi.UrlCanonicalizeW() retval=00000000 ret=6866e21b 0023:Ret wininet.InternetCanonicalizeUrlW() retval=00000001 ret=0de2460c ... 0023:Call KERNEL32.CopyFileW(02a0ba38 L"C:/users/arethusa/Temp/temp.dae",02701a00 L"/C:/users/anhdao/My%20Documents/Untitled.dae",00000000) ret=0de08b21 0023:Ret KERNEL32.CopyFileW() retval=00000000 ret=0de08b21
InternetCanonicalizeUrlW prefixes the path with file:/// instead of file:// as SketchUp expects, so it ends up leaving a stray slash character in the file path, eventually resulting in failure in the file copy operation. The attached patch should fix the problem, but I'm not sure it's entirely correct.
http://bugs.winehq.org/show_bug.cgi?id=22247
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #3 from Yorik van Havre yorik.vanhavre@gmail.com 2010-04-03 10:26:19 --- Fantastic! Thanks Andrew. I'll test that patch ASAP...
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #4 from Yorik van Havre yorik.vanhavre@gmail.com 2010-04-22 11:07:26 --- Okay, I finally tested the patch here, it seems to work perfectly. Sketchup outputs its files like it should now. Great job Andrew!
Any chance to see that patch applied to the trunk? Should we mark this as "Resolved"? I'm not sure what should be done next... Cheers Yorik
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-22 22:21:27 --- Not fixed until patch is committed into Wine.
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #6 from Andrew Nguyen arethusa26@gmail.com 2010-04-23 03:00:04 --- It's just a hack; I'll probably work on it over the weekend.
http://bugs.winehq.org/show_bug.cgi?id=22247
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2010-08-20 17:16:42 --- Does 'winetricks wininet' work around the problem (while we wait for the patch)?
http://bugs.winehq.org/show_bug.cgi?id=22247
Clovis Scotti roboscotti@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roboscotti@gmail.com
--- Comment #8 from Clovis Scotti roboscotti@gmail.com 2010-08-31 09:08:03 CDT --- Ok, but why on earth the patch includes some Atmel/AVR lines?
" ok(!lstrcmpA("file://C:\Program Files\Atmel\AVR Tools\STK500\STK500.xml", buffer), "got %s expected 'file://C:\Program Files\Atmel\AVR Tools\STK500\STK500.xml'\n", buffer); "
I believe those lines went in accidentally..
Shouldn't the patch include only the: DWORD dwURLFlags = URL_WININET_COMPATIBILITY | URL_ESCAPE_UNSAFE | URL_FILE_USE_PATHURL;
and
DWORD dwURLFlags = URL_WININET_COMPATIBILITY | URL_ESCAPE_UNSAFE | URL_FILE_USE_PATHURL;
lines?
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #9 from Clovis Scotti roboscotti@gmail.com 2010-08-31 09:12:55 CDT --- Ahh ok, got it.. it is just a sample test. In any way, people tend to use "this/is/a/test/url" instead. Building now..
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #10 from Yorik van Havre yorik.vanhavre@gmail.com 2010-10-05 13:30:48 CDT --- The bug is still there in 1.3.4 But the patch is still working ;)
Any chance of having it merged?
http://bugs.winehq.org/show_bug.cgi?id=22247
aerilius@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aerilius@googlemail.com
--- Comment #11 from aerilius@googlemail.com 2010-11-14 13:23:50 CST --- This bug seems to be fixed by wine 1.3.7 (tested with SketchUp 6, 7.1 and 8).
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #12 from Dan Kegel dank@kegel.com 2010-11-14 13:26:04 CST --- Yorik, can you verify the fix?
http://bugs.winehq.org/show_bug.cgi?id=22247
--- Comment #13 from Yorik van Havre yorik.vanhavre@gmail.com 2010-11-21 14:27:59 CST --- Yes, indeed I can confirm, with 1.3.7 the bug doesn't happen anymore. Great!!
http://bugs.winehq.org/show_bug.cgi?id=22247
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from Dan Kegel dank@kegel.com 2010-11-21 14:48:00 CST --- Yay!
http://bugs.winehq.org/show_bug.cgi?id=22247
Hans Dirkse hans@emailt.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@emailt.nl
--- Comment #15 from Hans Dirkse hans@emailt.nl 2010-11-22 05:16:58 CST --- To make Sketchup 7.1 run under Ubuntu 10.10 you should: - install winetricks - then check the boxes of: corefonts, vcrun6, vcrun2005 - let the program run
or if you have winetricks installed already: sh winetricks corefonts vcrun6 vcrun2005
You can now load, modify and save skp and dae files.
Tip found in www.fullcirclemagazine.org issue 35.
Hans
http://bugs.winehq.org/show_bug.cgi?id=22247
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2010-11-26 13:13:44 CST --- Closing bugs fixed in 1.3.8.
https://bugs.winehq.org/show_bug.cgi?id=22247
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://sketchup.google.com/ |https://web.archive.org/web |download/gsu.html |/20120726023942/http://dl.g | |oogle.com/sketchup/gsu7/PW- | |2-1-6860-EN.exe Summary|Sketchup cannot export |Google SketchUp 6/7/8 |collada or google earth |cannot export collada or |files |google earth files