Home Home > 2010 > 12 > 01
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for December 1st, 2010

GoogleEarth 6.0 running in opensuse 11.4 factory 64Bits

December 1st, 2010 by

Sometimes we need some of those applications running under our favorite OS. If you can stick with marble.

So the new googleearth 6.0 version hit the street. And if like me you want to give it a try, there’s some tricks to make it installing under your 64bits opensuse factory.

My first attempt just result in a nice crash …

h GoogleEarthLinux6.0.bin 
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux
I/O error : No such file or directory
setup.data/setup.xml:1: parser error : Document is empty

setup.data/setup.xml:1: parser error : Start tag expected, '<' not found

*** glibc detected *** setup.data/bin/Linux/amd64/setup.gtk2: free(): invalid pointer: 0xbabababa ***
======= Backtrace: =========
======= Memory map: ========
08048000-08091000 r-xp 00000000 fd:01 1752187                            /tmp/selfgz99614152/setup.data/bin/Linux/x86/setup.gtk2

Google Eartch 6 In action
So I found that can be helpful, during the transition phase to have a package for openSUSE.

Here’s the recipe.

1: get the binary

wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin

2: extract it to a temp directory

sh GoogleEarthLinux.bin --target GoogleEarthFixed

3: replace the defective gtk2 setup thing

mv ./GoogleEarthFixed/setup.data/bin/Linux/x86/setup.gtk ./GoogleEarthFixed/setup.data/bin/Linux/x86/setup.gtk2

4: Launch the installer
4a : as root for system wide install

su -l

4b : as normal user to have it installed inside your own home


5: Cleaning !
If you don’t need anymore.

rm -Rf ./GoogleEarthFixed
rm ./GoogleEarthLinux.bin 

I would thanks people posting this comment

The method should also work for the older 5.2 version

Hermes Work

December 1st, 2010 by

Not every day is a sunshine day, also not in software development. This is my credo about the last few days which I spent debugging Hermes a bit, motivated by a kind bug report saying basically that the digest mails suck. Well, I had to kind of agree on that, so I revisited that topic.

Do you remember what Hermes is? We use Hermes in the openSUSE infrastructure to handle notifications. Since we do not want to send people emails they do not explicitly agree that they want it (otherwise it would be spamming, right?), we invented a system that recognizes all kinds of events that happen in the openSUSE world, than check if a certain user wants to know about it and finally send it to these users. The benefit the user of the system is that he can pick from a huge variety of events and control if and how he gets informed about. Hermes does not only serve users with email but also maintains RSS feeds, it Twitters and does even more. And as another bonus, it can collect similar events for you and later send a digest with a collection. That way, you for example can get a mail with a list of failed package builds in OBS each hour instead a mail every fife seconds for each and every failing package.

But back to my debugging fun: I was mainly fixing the appearance of the digest messages: They now in the subject tell you how many events are digested and how frequently the digest comes, such as hourly, minutely etc. In the mail body, you now find a numbered “table of contents” of the mail and the individual events nicely listed. So much more useful.

Unfortunately it wasn’t the most time efficient debugging session I ever had, I stumbled over some things that weren’t optimal now in an environment where Hermes processes between 40,000 and 70,000 events a day for more than 25,000 users. Some of the problems are ugly to identify. I got lost a bit which is not good for the overall mood, so I decided to cry at Susanne, one of our colleagues. She asked me quite a few questions and than she left home for dinner. Ten minutes later I could nail the bug.

So this is my strong suggestion: If in debugging trouble, talk to your friends. Tell about the problem, share your misfortune. A few question can guide you to the right path which you did not see before. Not new? Well, yes, of course we knew that already from other topics in live, talking helps 😉

The other suggestion I wanted to make: Check Hermes digests! Go to the Hermes Subscription Page and change one of your subscriptions to digest mode, will be fun. Let me know what you think.