You are not logged in.

#1 2008-11-03 15:28:31

huayan
Member
Registered: 2008-11-03
Posts: 3

desktop menu lost after upgrade to python 2.6

I have lost my desktop menu with icons on my fvwm-crystal after upgrade
to python 2.6.  Before I had such menus as fvwm-crystal, system,
office, graphics, settings, multimedia, utilities, and development, but
now only fvwm-crystal.  I have rebuilt fvwm-crystal against python 2.6,
but the problem persists.

Your help would be appreciated.

Offline

#2 2008-11-03 23:38:31

huayan
Member
Registered: 2008-11-03
Posts: 3

Re: desktop menu lost after upgrade to python 2.6

I have solved the problem by downgrading to python 2.5.2.

Last time when I upgraded klibc, it broke scim and I was forced to use
gcin as replacement.  Now this python upgrade broke my desktop menu.
I'm starting to wonder if Arch is no longer stable.

Offline

#3 2008-11-04 00:14:29

myhat123
Member
Registered: 2008-11-03
Posts: 2

Re: desktop menu lost after upgrade to python 2.6

I also upgraded the python from 2.5.2 to 2.6, many gnome application depended on python 2.5.2, such as emesene, gajim,  can not run.

the error message is "can not import gtk", but the lastest pygtk has been installed

strongly suggest archlinux can downgrade the python !!

Offline

#4 2008-11-04 19:42:55

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: desktop menu lost after upgrade to python 2.6

How did you downgrade huayan?

When I try to compile the 2.5.2 version I get the error "python-install" not found.
I use the PKGBUILD found in the SVN entries...

This python upgrade is really giving me alot of problems. sad

Offline

#5 2008-11-04 20:59:06

huayan
Member
Registered: 2008-11-03
Posts: 3

Re: desktop menu lost after upgrade to python 2.6

I simply got the old package from

http://ftp.tu-chemnitz.de/pub/linux/sun … pkg.tar.gz

http://ftp.icm.edu.pl/pub/Linux/sunsite … pkg.tar.gz

and then did

sudo pacman -U python-2.5.2-5-i686.pkg.tar.gz

More information:
http://wiki.archlinux.org/index.php/Downgrade_packages

Hope this helps

Offline

#6 2008-11-04 23:15:46

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: desktop menu lost after upgrade to python 2.6

Please file bug reports or things won't get fixed.   My guess is fvwm-crystal needs recompiled.

Offline

#7 2008-11-05 02:29:37

merlin
Member
From: Maine
Registered: 2008-10-06
Posts: 12

Re: desktop menu lost after upgrade to python 2.6

I am a Gnome user and there are other issues. For example, the menu editor alacarte will not run. Trying in terminal indicates a python error. I tried to downgrade python (ver 2.5.2-5 is still in my /var) however other dependencies are present: python-dbus and openoffice-base.
So it seems alacarte may also needs to be recompiled? Anyone else notice this?

EDIT: rebuilding alacarte from abs has solved my problem.

Last edited by merlin (2008-11-05 02:48:02)

Offline

#8 2008-11-05 07:04:39

myhat123
Member
Registered: 2008-11-03
Posts: 2

Re: desktop menu lost after upgrade to python 2.6

yesterday I writed a python script for downgrade the status of the old packages.

1) first, pacman -R python-2.6 and the packages depended with python 2.6.

2) pacman -U the /var/cache/pacman/pkg/python-2.5*.tar.gz

3) run the python script, recover the lastest updated status.

the script is :

import re
import os, os.path
import time
import glob

pkgdir = '/var/cache/pacman/pkg/'

def get_time_sort_files(files, d=None):
    files = glob.glob(files)
    dates = [ time.strftime("%Y%m%d", time.strptime(time.ctime(os.path.getctime(f)))) for f in files ]

    dfiles = zip(dates, files)
    if d == None:
        myfiles = dfiles
    else:
        myfiles = [ x for x in dfiles if x[0] > d ]

    myfiles.sort()
    myfiles.reverse()
    return myfiles

myfiles = get_time_sort_files(pkgdir+'*', '20081031')

res = re.compile(r'-\d')
for x in myfiles:
    j = res.split(os.path.basename(x[1]))[0]
    if j == 'python':
        continue
    y = pkgdir + j + '-[0-9]*'
    z = get_time_sort_files(y)
    if len(z) > 1:
        #print j, '\t', os.path.basename(z[1][1])
        os.system("pacman -U %s" % ( os.path.join(pkgdir,os.path.basename(z[1][1]))))

Offline

Board footer

Powered by FluxBB