Google Earth in Ubuntu 10.04 crashing

Asked by NakiMum

Just installed Google Earth 5 using this link & the terminal commands https://help.ubuntu.com/community/GoogleEarth
But when I go to Applications ---> Internet ---> Google Earth or in Terminal googleearth, I get the following window with error message:

Google Earth could not write to the current cache or My Places file location. The values will be set as follows:
My Places Path: "/home/tanya/.googleearth"
Cache Path: "/home/tanya/.googleearth/Cache"

then Google earth just closes.

What did I do wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ahambidge
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

can you run:

cd /home; sudo chown -R tanya:tanya ./tanya

This will ensure you are the owner of all your home folder

Can you also give the output of:

ls -la /home/tanya/.googleearth; ls -la /home/tanya/.googleearth/Cache

Thanks

Revision history for this message
NakiMum (nakimum) said :
#2

Hi actionparsnip

1) The output to cd /home; sudo chown -R tany:tanya ./tanya is as follows:
tanya@tanya-laptop:~$ cd /home; sudo chown -R tanya:tanya ./tanya
chown: cannot access `./tanya/.gvfs': Permission denied
tanya@tanya-laptop:/home$

2) Here's the output you actually requested:
ls -la /home/tanya/.googleearth; ls -la /home/tanya/.googleearth/Cache
total 16
drwxrwxrwx 4 tanya tanya 4096 2010-07-05 08:44 .
drwxr-xr-x 53 tanya tanya 4096 2010-07-05 08:47 ..
drwxrwxrwx 2 tanya tanya 4096 2010-07-04 19:40 Cache
drwx------ 2 tanya tanya 4096 2010-07-05 08:44 crashlogs
lrwxrwxrwx 1 tanya tanya 10 2010-07-05 08:44 instance-running-lock -> /proc/2157
total 64
drwxrwxrwx 2 tanya tanya 4096 2010-07-04 19:40 .
drwxrwxrwx 4 tanya tanya 4096 2010-07-05 08:44 ..
-rw------- 1 tanya tanya 134252032 2010-07-05 08:44 dbCache.dat
-rw------- 1 tanya tanya 0 2010-07-05 08:44 dbCache.dat.index
-rw-r--r-- 1 tanya tanya 50100 2010-07-04 21:01 dbroot_cache
tanya@tanya-laptop:/home$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ok does it work now?

If not rename the config folders, then run the app.

Revision history for this message
NakiMum (nakimum) said :
#4

Still nothing.
It gives the initilising window then it closes.

Is it the .config folder? Because I tried that and it still didn't work. I did restart in between, that's why it's taking so long to reply

;-)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

ok lets try this:

rm -r /home/tanya/.googleearth

See if it runs after that.

Revision history for this message
NakiMum (nakimum) said :
#6

Hi there

still nothing :-(

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Try uninstalling it and deleting the folder as above then run:

cd ~/; wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin; chmod +x ./GoogleEarthLinux.bin; sudo ./GoogleEarthLinux.bin; rm ./GoogleEarthLinux.bin

Accept the defaults, should be ok.

Revision history for this message
NakiMum (nakimum) said :
#8

Okay there's still nothing. It still crashes. Here's the output of the command you gave me

tanya@tanya-laptop:~$ cd ~/; wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin; chmod +x ./GoogleEarthLinux.bin; sudo ./GoogleEarthLinux.bin; rm ./GoogleEarthLinux.bin
--2010-07-05 11:16:21-- http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
Resolving dl.google.com... 203.97.30.144, 203.97.30.145, 203.97.30.154, ...
Connecting to dl.google.com|203.97.30.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31388873 (30M) [application/octet-stream]
Saving to: `GoogleEarthLinux.bin.1'

100%[======================================>] 31,388,873 582K/s in 36s

2010-07-05 11:16:58 (840 KB/s) - `GoogleEarthLinux.bin.1' saved [31388873/31388873]

Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 5.2.1.1329...............................................................
loki_setup: Suspect size value for option option

loki_setup: Suspect size value for option option

Installing mimetypes...
Installing desktop menu entries...
Installing desktop icon...
Fatal error in __driConfigOptions line 1, column 0: unknown encoding.
Google Earth has caught signal 6.

We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data have been written
 to this text file:

    /root/.googleearth/crashlogs/crashlog-4c3116bd.txt

Please include this file if you submit a bug report to Google.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

I guess log a bug to goole. Also log a bug for google earth.

I have no idea why it wont install, sorry. Maybe someone else can contribute.

Revision history for this message
NakiMum (nakimum) said :
#10

Luckily it's not something that I use every day, but it's nice to have for when my son comes home from school & wants to see a place they learnt at school LOL.

Anyway, I'll log those bugs in a little while, but thank you for trying anyway. You've been a tremendous help.

Cheers

Revision history for this message
ahambidge (ahambidge) said :
#11

Hello,

Google Earth can be installed from the Synaptic Package Manager from 10.04.

It worked fine for me.

Regards,

Allan :)

Revision history for this message
NakiMum (nakimum) said :
#12

Hi Allan

I've got 1 packages installed via Synaptic
1)Google Earth package

but the problem still persists

Revision history for this message
Suparshwa Shah (suparshwa-great) said :
#13

when installing did you install as root- Sudo ?

Revision history for this message
Best ahambidge (ahambidge) said :
#14

Hello,

I installed Google Earth from the package manager without using the terminal and commands.

You should un-install all of Google Earth and start again.

Regards,

Allan :)

Revision history for this message
NakiMum (nakimum) said :
#15

Thanks ahambidge, that solved my question.