LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2012, 08:27 PM   #1
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 157

Rep: Reputation: 8
driconf 0.9.1 not working.


How does one go about getting driconf-0.9.1 to work? I installed it via slackbuilds and this is the error I get:

Traceback (most recent call last):
File "/usr/bin/driconf", line 24, in <module>
import driconf
File "/usr/lib/python2.6/site-packages/driconf.py", line 33, in <module>
import driconf_commonui
File "/usr/lib/python2.6/site-packages/driconf_commonui.py", line 45, 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

Is there any alternative to using driconf?
 
Old 09-09-2012, 12:43 PM   #2
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 248

Rep: Reputation: 107Reputation: 107
I'm guessing from Python version that this is Slackware 13.37, right? What does locale command show? And please use [CODE][/CODE] tags for program output, that'll make it easier to read.
 
Old 09-09-2012, 06:44 PM   #3
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 157

Original Poster
Rep: Reputation: 8
Quote:
I'm guessing from Python version that this is Slackware 13.37, right?
Yes. It's shown to the left of my posting what I am currently using. Although the kernel is a bit outdated though. Everything else shown is correct.

Code:
bash-4.1$ 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=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
Personally I think it is easier to read without the code tags. You don't have to scroll the text to read it.

Last edited by Arcosanti; 09-09-2012 at 06:47 PM. Reason: Adding in opinion.
 
Old 09-10-2012, 04:23 AM   #4
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 248

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by Arcosanti View Post
Yes. It's shown to the left of my posting what I am currently using. Although the kernel is a bit outdated though. Everything else shown is correct.
People often forget to update that info, also many have multiple machines with various versions of Slackware installed, so I thought I'd better ask to be 100% sure.

Quote:
Originally Posted by Arcosanti View Post
Code:
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
Something's wrong with your locale settings, normally those error messages shouldn't be displayed. What's the output of the following commands:
Code:
grep '^[^#]' /etc/profile.d/lang.sh
ls /var/log/packages/glibc-*
Quote:
Originally Posted by Arcosanti View Post
Personally I think it is easier to read without the code tags. You don't have to scroll the text to read it.
At least Python tracebacks look much better when displayed in monospace font. E.g. '' two single quote symbols look very similar to one " double quote symbol in variable space font, using monospace font they would take fixed amount of space and that would make them easier to distinguish.
 
Old 09-11-2012, 03:54 AM   #5
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 157

Original Poster
Rep: Reputation: 8
Code:
bash-4.1$ grep '^[^#]' /etc/profile.d/lang.sh
export LANG=en_US
export LC_COLLATE=C
bash-4.1$ ls /var/log/packages/glibc-*
/var/log/packages/glibc-2.13-i486-4
/var/log/packages/glibc-i18n-2.13-i486-4
/var/log/packages/glibc-profile-2.13-i486-4
/var/log/packages/glibc-solibs-2.13-i486-4
/var/log/packages/glibc-zoneinfo-2.13-noarch-4
 
Old 09-11-2012, 01:18 PM   #6
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 248

Rep: Reputation: 107Reputation: 107
Not sure what else to say, everything seems to be fine, except those error messages. I tried searching the net and found a lot of (mostly distro specific) solutions, but given the variety of them and the fact that I've never encountered this myself, I'm hesitant to point at any of those. Maybe somebody else with more knowledge on the topic will provide more clues.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COD 2 (wine) and/or DRIconf ATI 64 bit Issue Balask Linux - General 7 07-10-2012 10:43 AM
Help on driconf (gtk and pygtk) zaqwe Slackware 7 09-03-2007 07:46 AM
Driconf wont install on gentoo linux cause some openglpy error Mighty_Pooh Linux - Hardware 1 04-09-2007 11:41 AM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 07:57 AM
driconf on debian Etch fails...env variable problem deepclutch Debian 1 07-22-2006 06:20 PM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration