ubuntu-tr-yazilim team mailing list archive
-
ubuntu-tr-yazilim team
-
Mailing list archive
-
Message #00006
[Bug 1049832] Re: KDE uyumsuzluğu
bu değil ancak şu sorunun,
KeyError: 'Alsa Derleme ( ppa kayna\xc4\x9f\xc4\xb1 )'
Traceback (most recent call last):
Oluşma nedeni,
if [[ "${line##*:}" =~ "/" ]] ; then
nn=$(echo "${line##*:}" |cut -d "=" -f2)
elif [[ "${line##*:}" =~ "_" ]] ;then
unset nn
else
nn=$(echo "${line##*:}" |cut -d " " -f1)
fi
if [ ! -z $nn ];then
xn=$(apt-cache search "(^$nn$)"|head -n 1|sed -e "s/^$nn - //g" -e "s/\\.//g")
step+=("${line%%:*}.$xn":"${line##*:}")
else
step+=("${line%%:*}":"${line##*:}")
fi
fi
Burda ! -z kısmında bir gariplik olmalı ki,
fonksiyonlarda açıklama olmamasına rağmen "." ekleniyor,
Diğer asıl hatanın ise,hata değil eksik yorumlandırmanın ise,
if [ ! -z "`dpkg -l|grep python3-gi`" ] ;then
[ $DEBUG_MODE -eq 1 ] && echo -e "\e[01;31m$LINENO: Çalıştırılan: arayuzpython3.py\e[00m"
python3 arayuzpython3.py
elif [ ! -z "`dpkg -l|grep python-gi`" ];then
[ $DEBUG_MODE -eq 1 ] && echo -e "\e[01;31m$LINENO: Çalıştırılan: arayuzgtk3.py \e[00m"
python arayuzgtk3.py
elif [ ! -z "`dpkg -l|grep python-gtk2`" ];then
[ $DEBUG_MODE -eq 1 ] && echo -e "\e[01;31m$LINENO: Çalıştırılan: arayuz.py\e[00m"
python arayuz.py
else
[ $DEBUG_MODE -eq 1 ] && echo -e "\e[01;31m$LINENO: Çalıştırılan: ubuntu-tr-betik-zenity\e[00m"
bash ubuntu-tr-betik-zenity
fi
}
Bu kısımında demekki python için ayırmak yeterli gelmiyormuş,
bunun için ne yapılabilir,
arayuzgtk.py 'nin kapat fonskiyonuna "os" ile bir gnome terminal kuruluysa
değilse durumu eklemek gerek,
--
You received this bug notification because you are a member of Ubuntu
Türkiye Yazılım Geliştirme Takımı, which is subscribed to Ubuntu Türkiye
Betik Çalışmaları.
https://bugs.launchpad.net/bugs/1049832
Title:
KDE uyumsuzluğu
Status in Ubuntu Türkiye Betik Çalışmaları:
New
Bug description:
KDE masa üstü yöneticisinde betik çalıştırılmak istendiğinda aşağıdaki
hata alınmış.
Traceback (most recent call last):
File "arayuzgtk3.py", line 218, in col1_toggled_cb
self.eklenenler.append( liste[sec] )
KeyError: 'Alsa Derleme ( ppa kayna\xc4\x9f\xc4\xb1 )'
Traceback (most recent call last):
File "arayuzgtk3.py", line 218, in col1_toggled_cb
self.eklenenler.append( liste[sec] )
KeyError: 'Google Gadgets'
sh: 1: gnome-terminal: not found
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-tr-betik/+bug/1049832/+subscriptions
References