Sada je: 11 pro 2019, 05:18.
Diskusije usko vezane uz Ubuntu i srodne distribucije (Kubuntu, Xubuntu, Lubuntu, LinuxMint...)

Moderator/ica: Moderatori/ce

Danas mi došlo da malo mjenjam efekte sa compizom i odem je standardno već na system > preferences > compizconfig settings manager i kliknem na to i ništa...
Pokušao sam pokrenuti ga iz terminala i dobio sam ovo:
Kod: Označi sve
andrei@andrei-laptop:~$ ccsm

(process:3416): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
  File "/usr/lib/python2.6/dist-packages/ccm/__init__.py", line 1, in <module>
    from ccm.Conflicts import *
  File "/usr/lib/python2.6/dist-packages/ccm/Conflicts.py", line 27, in <module>
    from ccm.Constants import *
  File "/usr/lib/python2.6/dist-packages/ccm/Constants.py", line 88, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


Što da radim? Hvala :D
Zadnja izmjena: andrei; 05 stu 2010, 19:50; ukupno mijenjano 1 put/a.
Avatar
Postovi: 300
Postovi: 300
Pridružen/a: 29 kol 2009, 06:40
Lokacija: Zagreb
Podijelio/la zahvalu: 3 puta
Primio/la zahvalu: 1 puta
Spol: M
OS: Ubuntu 14.04 Unity/i3
andrei je napisao/la:Danas mi došlo da malo mjenjam efekte sa compizom i odem je standardno već na system > preferences > compizconfig settings manager i kliknem na to i ništa...
Pokušao sam pokrenuti ga iz terminala i dobio sam ovo:
Kod: Označi sve
andrei@andrei-laptop:~$ ccsm

(process:3416): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
  File "/usr/lib/python2.6/dist-packages/ccm/__init__.py", line 1, in <module>
    from ccm.Conflicts import *
  File "/usr/lib/python2.6/dist-packages/ccm/Conflicts.py", line 27, in <module>
    from ccm.Constants import *
  File "/usr/lib/python2.6/dist-packages/ccm/Constants.py", line 88, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


Što da radim? Hvala :D


Pozdrav,

Mozes pokusati sljedece:
export LC_ALL=C
ccsm


ili

sudo dpkg-reconfigure locales


pa pokusaj ponovno pokrenuti ccsm, naravno postaj output zadnje komande uz svoj post.

Ukoliko ovo gore ne uspije, probati cemo nesto drugo.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
Postovi: 910
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
Podijelio/la zahvalu: 0 puta
Primio/la zahvalu: 13 puta
OS: linux
drade je napisao/la:Pozdrav,

Mozes pokusati sljedece:
export LC_ALL=C
ccsm


ili

sudo dpkg-reconfigure locales


pa pokusaj ponovno pokrenuti ccsm, naravno postaj output zadnje komande uz svoj post.

Ukoliko ovo gore ne uspije, probati cemo nesto drugo.


Evo savršeno upalilo iz prve! :D Dok ja skužim što se dogodilo :? :oops:
Hvala puno! :D

EDIT: Radi samo kada ga se pokrene iz terminala, ne iz izbornika...
Avatar
Postovi: 300
Postovi: 300
Pridružen/a: 29 kol 2009, 06:40
Lokacija: Zagreb
Podijelio/la zahvalu: 3 puta
Primio/la zahvalu: 1 puta
Spol: M
OS: Ubuntu 14.04 Unity/i3
Ajde postaj output komandi:
locale -a
locale
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
Postovi: 910
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
Podijelio/la zahvalu: 0 puta
Primio/la zahvalu: 13 puta
OS: linux
locale -a
Kod: Označi sve
andrei@andrei-laptop:~$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8


locale
Kod: Označi sve
andrei@andrei-laptop:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=hr_HR.utf8
LANGUAGE=en_US:en_GB:hr_HR:hr:en
LC_CTYPE="hr_HR.utf8"
LC_NUMERIC="hr_HR.utf8"
LC_TIME="hr_HR.utf8"
LC_COLLATE="hr_HR.utf8"
LC_MONETARY="hr_HR.utf8"
LC_MESSAGES="hr_HR.utf8"
LC_PAPER="hr_HR.utf8"
LC_NAME="hr_HR.utf8"
LC_ADDRESS="hr_HR.utf8"
LC_TELEPHONE="hr_HR.utf8"
LC_MEASUREMENT="hr_HR.utf8"
LC_IDENTIFICATION="hr_HR.utf8"
LC_ALL=
Avatar
Postovi: 300
Postovi: 300
Pridružen/a: 29 kol 2009, 06:40
Lokacija: Zagreb
Podijelio/la zahvalu: 3 puta
Primio/la zahvalu: 1 puta
Spol: M
OS: Ubuntu 14.04 Unity/i3
Izdaj komandu i postaj output:
sudo locale-gen hr_HR.UTF-8

Sada izdaj ponovno komande iz prijasnjeg posta a njihov output prikljuci uz svoj odgovor.
locale -a
locale
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
Postovi: 910
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
Podijelio/la zahvalu: 0 puta
Primio/la zahvalu: 13 puta
OS: linux
sudo locale-gen hr_HR.UTF-8
Kod: Označi sve
andrei@andrei-laptop:~$ sudo locale-gen hr_HR.UTF-8
[sudo] password for andrei:
Generating locales...
  hr_HR.UTF-8... done
Generation complete.


locale -a
Kod: Označi sve
andrei@andrei-laptop:~$ locale -a
C
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
hr_HR.utf8
POSIX


locale
Kod: Označi sve
andrei@andrei-laptop:~$ locale
LANG=hr_HR.utf8
LANGUAGE=en_US:en_GB:hr_HR:hr:en
LC_CTYPE="hr_HR.utf8"
LC_NUMERIC="hr_HR.utf8"
LC_TIME="hr_HR.utf8"
LC_COLLATE="hr_HR.utf8"
LC_MONETARY="hr_HR.utf8"
LC_MESSAGES="hr_HR.utf8"
LC_PAPER="hr_HR.utf8"
LC_NAME="hr_HR.utf8"
LC_ADDRESS="hr_HR.utf8"
LC_TELEPHONE="hr_HR.utf8"
LC_MEASUREMENT="hr_HR.utf8"
LC_IDENTIFICATION="hr_HR.utf8"
LC_ALL=
Avatar
Postovi: 300
Postovi: 300
Pridružen/a: 29 kol 2009, 06:40
Lokacija: Zagreb
Podijelio/la zahvalu: 3 puta
Primio/la zahvalu: 1 puta
Spol: M
OS: Ubuntu 14.04 Unity/i3
Sada izdaj komandu:
sudo dpkg-reconfigure locales

i pokusaj pokrenuti ccsm iz izbornika.

Takodjer, volio bih kada bi postao output gore navedene komande.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
Postovi: 910
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
Podijelio/la zahvalu: 0 puta
Primio/la zahvalu: 13 puta
OS: linux
sudo dpkg-reconfigure locales
Kod: Označi sve
andrei@andrei-laptop:~$ sudo dpkg-reconfigure locales
Generating locales...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZW.UTF-8... done
  hr_HR.UTF-8... up-to-date
Generation complete.


I sad trenutak istine... radi... :D Hvala Hvala Hvala!!! A što sam to točno radio, ako imaš vremena da mi pojasniš? :D
Avatar
Postovi: 300
Postovi: 300
Pridružen/a: 29 kol 2009, 06:40
Lokacija: Zagreb
Podijelio/la zahvalu: 3 puta
Primio/la zahvalu: 1 puta
Spol: M
OS: Ubuntu 14.04 Unity/i3
Generirao si podrsku za hrvatski jezik.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
Postovi: 910
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
Podijelio/la zahvalu: 0 puta
Primio/la zahvalu: 13 puta
OS: linux

Na mreži
Trenutno korisnika/ca: / i 1 gost.