You are not logged in.

#1 2010-10-19 08:58:14

yjcong
Member
Registered: 2009-07-06
Posts: 59

Oct 19::problems after upgrade

hi,

hours ago,  i run pacman -Syu. now, after i restarted the system, there are some problems

>command "gtkpacman" gives
     File "/usr/bin/gtkpacman", line 80
     print "Pacman version : %s" %database.ver
                                              ^
SyntaxError: invalid syntax

> command "zim" gives
  File "/usr/bin/zim", line 46
    except zim.GetoptError, err:
                          ^
SyntaxError: invalid syntax


it seems  those errors "come from" Python. what should i do?

thanks

Last edited by yjcong (2010-10-19 08:59:19)

Offline

#2 2010-10-19 09:25:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Oct 19::problems after upgrade

> pacman -Si zim
Repository     : community
Name           : zim
Version        : 0.48-3

That version works,

Offline

#3 2010-10-19 09:32:00

yjcong
Member
Registered: 2009-07-06
Posts: 59

Re: Oct 19::problems after upgrade

thanks

but
>pacman -Ss zim
community/zim 0.48-2 [installed]

i think this means i have to wait for the new version in the mirror (germany)

Offline

#4 2010-10-19 09:52:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Oct 19::problems after upgrade

The mirror should sync rather quickly so hopefully the wait will not be too long.

Offline

#5 2010-10-19 10:27:41

yjcong
Member
Registered: 2009-07-06
Posts: 59

Re: Oct 19::problems after upgrade

you are right. i got the new version. i can take my notes now. thanks once again

Offline

#6 2010-10-20 06:59:20

kahlil88
Member
From: Mendocino, CA
Registered: 2010-08-10
Posts: 143
Website

Re: Oct 19::problems after upgrade

I'm having issues with gtkpacman as well. I believe it's due to the Python 3 update.


There is no system but GNU and Linux is one of its kernels.

Offline

#7 2010-10-20 07:06:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Oct 19::problems after upgrade

In the meantime you could launch it using python2 instead of python. Edit the path after the shebang.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2010-10-20 21:53:17

kahlil88
Member
From: Mendocino, CA
Registered: 2010-08-10
Posts: 143
Website

Re: Oct 19::problems after upgrade

.:B:. wrote:

In the meantime you could launch it using python2 instead of python. Edit the path after the shebang.

I tried that, but it still won't launch.

File "/usr/bin/gtkpacman", line 62, in <module>
from gtkPacman import gui, database
ImportError: No module named gtkPacman


There is no system but GNU and Linux is one of its kernels.

Offline

Board footer

Powered by FluxBB