Announcement

Collapse
No announcement yet.

Strange Aptoncd error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Strange Aptoncd error

    Anyone see this before?

    Code:
    ka9qlq@dittohead:~$ sudo aptoncd
    
    (aptoncd:31006): Gtk-WARNING **: Locale not supported by C library.
    	Using the fallback 'C' locale.
    Traceback (most recent call last):
     File "/usr/bin/aptoncd", line 27, in <module>
      from APTonCD.core import constants
     File "/usr/lib/python2.5/site-packages/APTonCD/core/constants.py", line 41, in <module>
      locale.setlocale(locale.LC_ALL, '')
     File "/usr/lib/python2.5/locale.py", line 478, in setlocale
      return _setlocale(category, locale)
    locale.Error: unsupported locale setting
    Thanks
    Alvin ARS ka9qlq
    Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
    Just believing there IS a God won't get you to Heaven.
    Accepting Jesus as your Lord and master is the only way!
    http://www.4laws.com/laws/languages.html
    http://www.godssimpleplan

    #2
    Re: Strange Aptoncd error

    Unfortunately, yes, I have seen that. It probably means that you have enabled iso88591 to get decent manpages and now you get this message. Fortunately there is now a fix for it, at least in Jaunty. Not sure if this will work in Hardy but it is not hard to try. As root, edit /var/lib/locales/supported.d/local and add
    en_US.ISO-8859-1 ISO-8859-1
    then as root run
    locale-gen --purge to regenerate all locales, including the iso88951 character set.

    Comment


      #3
      Re: Strange Aptoncd error

      When/how did I do that Oh well your fix worked. Bless you my child.
      Thanks
      Alvin ARS ka9qlq
      Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
      Just believing there IS a God won't get you to Heaven.
      Accepting Jesus as your Lord and master is the only way!
      http://www.4laws.com/laws/languages.html
      http://www.godssimpleplan

      Comment


        #4
        Re: Strange Aptoncd error

        Hay I bet I did this when I was trying to get my beloved Midnight Commander to work
        Any ideas for a fix?
        Attached Files
        Thanks
        Alvin ARS ka9qlq
        Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
        Just believing there IS a God won't get you to Heaven.
        Accepting Jesus as your Lord and master is the only way!
        http://www.4laws.com/laws/languages.html
        http://www.godssimpleplan

        Comment


          #5
          Re: Strange Aptoncd error

          I am not sure it is perfect but I think I can improve on what you just showed me.
          sudo aptitude install xterm
          mc is more comfortable in a less capable terminal.
          then try
          LC_ALL=en_US.UTF-8 xterm -u8 -fn 9x15 -e mc
          If you turn off iso88591 you would probably not need the LC_ALL=en_US.UTF-8 at the beginning.
          Youwill probably start to get unreadable characters in man pages though. That is probably set either in your shell initialization (.bashrc,.bash_profile,.profile) or at /default/locales. If you changed /etc/default/locales its standard value in Kubuntu is
          LANG="en_US.UTF-8"

          Comment


            #6
            Re: Strange Aptoncd error

            I'll give it a try thanks
            Thanks
            Alvin ARS ka9qlq
            Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
            Just believing there IS a God won't get you to Heaven.
            Accepting Jesus as your Lord and master is the only way!
            http://www.4laws.com/laws/languages.html
            http://www.godssimpleplan

            Comment

            Working...
            X