cckec / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

I can't install GoogleSketchUp 8 using Winetricks #156

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Winetricks, choose 'Install an app'
2. Choose 'sketchup'
3. Click 'OK'

What is the expected output? I expected GoogleSketchUp to download, and then 
install.

What do you see instead? The file GoogleSketchUpWEN.exe downloaded, but I got 
the 'sha1sum' mismatch error. I tried it 6 times in a row.

What version of the product are you using? I don't know, and I don't know how I 
can tell. I installed it today.

On what operating system? Ubuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by h0u...@gmail.com on 25 Dec 2011 at 7:38

GoogleCodeExporter commented 8 years ago
You can tell by doing
  winetricks --version
or
  sh winetricks --version
depending on how you have it installed.

I checked in an updated, try it now with 
http://winetricks.googlecode.com/svn/trunk/src/winetricks

Original comment by daniel.r...@gmail.com on 25 Dec 2011 at 8:00

GoogleCodeExporter commented 8 years ago
OK thanks.

Version

20110629

I will try to install it again.

Original comment by h0u...@gmail.com on 26 Dec 2011 at 3:21

GoogleCodeExporter commented 8 years ago
I followed the instructions (as I( could find them) on

http://winetricks.googlecode.com/svn/trunk/src/winetricks

which were
#    sudo add-apt-repository ppa:ubuntu-wine/ppa
#    sudo apt-get update
#    sudo apt-get install wine1.3 cabextract unzip p7zip wget zenity

I installed Wine 1.3, then restarted my computer.

I ran Winetricks again and tried to install GoogleSketchUp again a couple of 
times. I got exactly the same error.

I just checked using

winetricks --version

and Winetricks is showing as 20110629.

Original comment by h0u...@gmail.com on 26 Dec 2011 at 4:32

GoogleCodeExporter commented 8 years ago
For some reason, Wine showed up in 'Update Manager' today, although it seemed 
to install OK previously when I ran the terminal commands (as described above). 
I clicked 'Install Updates'. and completed it (again). I then tried to install 
Google SketchUp a couple more times.

I got the same 'sha1sum' mismatch error.

I have tried to install Google SketchUp a total of about 15 or 20 times, and 
received this error each time.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 12:24

GoogleCodeExporter commented 8 years ago
You need to follow the instructions at 
http://code.google.com/p/winetricks/wiki/Installing

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 12:27

GoogleCodeExporter commented 8 years ago
I meticulously followed the steps on

http://www.winehq.org/download/ubuntu

including watch the video

http://www.youtube.com/watch?v=YYmbzYt8deo

I did not miss any steps. In fact, step 2 on

http://www.winehq.org/download/ubuntu

(Installing Wine) meant that first I had to Remove Wine, and then Install it. I 
included all the add-ons.

I excitedly ran Winetricks again, chose 'Install an app', selected 'sketchup', 
and the downloader started. Unfortunately, once it had finished, it had the 
same 'sha1sum' mismatch error. The downloader then restarted as it usually 
does, resulting in the same error.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 1:14

GoogleCodeExporter commented 8 years ago
You're using an outdated version of winetricks.  See the part of the page I 
linked to that says

"If your distribution doesn't bundle an up-to-date winetricks, you can download 
it from http://winetricks.org/winetricks and install it in /usr/bin, e.g...."

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 1:22

GoogleCodeExporter commented 8 years ago
That sounds promising, as I see the version of Winetricks you refer to seems to 
be from November 2011.

I followed your link to

http://winetricks.org/winetricks

I had seen a page similar to that one before, and followed the instructions to 
install Wine ( see Comment 3 above). I couldn't find any instructions to 
install Winetricks in all that text. I followed a hunch and looked for '/usr' 
on that page, but found nothing useful... I just went to

http://winetricks.org

, followed the redirection to

http://code.google.com/p/winetricks/

, followed the link 'Installing' to

http://code.google.com/p/winetricks/wiki/Installing

I am now going to open a terminal and use the instructions I see on that page. 
ie.

rm -f winetricks
wget http://winetricks.org/winetricks
sudo cp winetricks /usr/bin
sudo chmod +x /usr/bin/winetricks

Original comment by h0u...@gmail.com on 2 Jan 2012 at 1:46

GoogleCodeExporter commented 8 years ago
That was successful. I now have Winetricks version 2011115.

I am running Winetricks again to try to install the app.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 1:51

GoogleCodeExporter commented 8 years ago
I have no idea (there is no indication, and I can't be bothered going to 
'.cache' every time to have a look) of the filesize that is downloaded.

My first attempt resulted in the same error message.

I chose to automatically restart the download, which is now under way.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 1:54

GoogleCodeExporter commented 8 years ago
The end result was exactly the same error message.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 1:55

GoogleCodeExporter commented 8 years ago
When I tried it just now, it worked fine.  

Try this:
  script foo.log
  rm -rf ~/.cache/winetricks/sketchup
  rm -rf ~/.wine
  winetricks --version
  winetricks sketchup
  exit
and then attach foo.log here.   (I'm assuming you don't
have any files you care about in ~/.wine... don't do the
above if you have windows apps installed you care about.)

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 2:12

GoogleCodeExporter commented 8 years ago
I attach the file.

Good luck. I had a look at the file and couldn't see anything suspicious.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 2:28

Attachments:

GoogleCodeExporter commented 8 years ago
Oh, sorry, you still got the wrong version.  You need the latest from svn.
Try what you did before, but instead of wget http://winetricks.org/winetricks,
use wget http://winetricks.googlecode.com/svn/trunk/src/winetricks

I've added a note about that to that wiki page.

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 2:36

GoogleCodeExporter commented 8 years ago
OK that seems to have worked.

The basic post-installation dialog boxes appeared. I went through them and that 
all looked promising.

From the Dash, I am trying to start the application. I found the application 
and clicked it, and have waited 10 minutes to see it start, but so far nothing.

Is there any other way to start it?

Original comment by h0u...@gmail.com on 2 Jan 2012 at 2:55

GoogleCodeExporter commented 8 years ago
Here's what I do:

export WINEPREFIX=$HOME/.local/share/wineprefixes/sketchup
cd $WINEPREFIX/drive_c
wine cmd /c run-sketchup.bat

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 3:19

GoogleCodeExporter commented 8 years ago
Hooray! It works. Thanks for all that.

Is there any way to turn those three commands into a button on the Launchpad?

If not, I will need to refer to this Winetricks Issue page whenever I want to 
run it.

Original comment by h0u...@gmail.com on 2 Jan 2012 at 3:52

GoogleCodeExporter commented 8 years ago
Maybe, I dunno.  
http://ubuntu-install.blogspot.com/2011/05/add-wine-programs-to-unity-launcher.h
tml
claims to offer a way.

You can put those commands into a shell script, though, so you don't have to 
keep coming back here.

Original comment by daniel.r...@gmail.com on 2 Jan 2012 at 4:46

GoogleCodeExporter commented 8 years ago
NB: this problem reoccurred.  I fixed it locally by hacking the 
/usr/bin/winetricks file with the correct sha1 checksum which is as follows:
f0628e6f05241f91e4f36d6be3b8685a408ad12b

Original comment by Yoda2...@gmail.com on 9 Sep 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Fixed in r911 again.

Original comment by daniel.r...@gmail.com on 9 Sep 2012 at 10:10