Profile

nsg's blog

Problem med att starta gdesklets i ubuntu?

2010-09-14

Jag saknade en snygg klocka att ha pÄ min externa skÀrm, tanken föll pÄ gdesklets och jag installerade det.

Jag rÄkade dock nÀstan direkt ut för problem dÄ saker inte startade korrekt dÄ nÄgot Àr fel pÄ paketet som kommer med Ubuntu 10.04. Förmodligen Àr Ubuntu skeppad med för ny/gammal version av nÄgot python-bibliotek. Lösningen Àr dock enkel:

Redigera filen
/usr/lib/gdesklets/utils/ErrorFormatter.py
Ă€ndra:
def _new_imp(name, globs = {}, locls = {}, fromlist = []):
till:
def _new_imp(name, globs = {}, locls = {}, fromlist = []<strong>, test = []</strong>):
Klart, saker bör nu funka som de ska.

Du kan lÀsa mer om det hÀr:
https://web.archive.org/web/20101007083449/http://forum.linuxmint.com/viewtopic.php?f=90&t=32554

Bloggar om: , ,

Please note that this is a old post from the year 2010, a lof of time has passed since I wrote this text. The information may be outdated, and my opinions may have changed, I'm not 27 years old anymore. All these 164 words are written by Stefan Berggren, feel free and contact me if you like.