You are not logged in.

#1 2006-09-02 09:59:25

daimonion
Member
From: Slovakia
Registered: 2006-08-18
Posts: 15

firefox fall

firefox fall and I dont know why  sad
terminal message:

(firefox-bin:4873): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 102 error_code 8 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Offline

#2 2006-09-03 00:25:38

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: firefox fall

You need to set up your locales. Uncomment the locales you use in /etc/locale.gen, then run locale-gen as root.

Offline

#3 2006-09-03 10:56:53

daimonion
Member
From: Slovakia
Registered: 2006-08-18
Posts: 15

Re: firefox fall

I uncomment the locales and run locale-gen as root but firefox always crash.
[user@daimonion ~]$ firefox

(firefox-bin:3171): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 102 error_code 8 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Offline

#4 2006-09-03 11:11:06

detto
Member
Registered: 2006-01-23
Posts: 510

Re: firefox fall

which locale(s) uve set up?
add ur preffered also in /etc/profile and /etc/rc.conf and see what u get, good luck smile

Offline

#5 2006-09-03 16:12:08

daimonion
Member
From: Slovakia
Registered: 2006-08-18
Posts: 15

Re: firefox fall

[root@daimonion user]# locale-gen
Generating locales...
  en_US.UTF-8... done
Generation complete.
[root@daimonion user]# locale -a
C
POSIX
en_US.utf8
[root@daimonion vlado]#

part of my /etc/profile:
# Locale settings (find your locale with 'locale -a')
export LANG="en_US"
export LC_COLLATE="C"

export COLUMNS LINES

export PS1='[u@h W]$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
  PROMPT_COMMAND='echo -ne "33]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}07"'
fi

part of my /etc/rc.conf
LOCALE="en_US.utf8"

... and firefox always crash

Offline

#6 2006-09-03 19:45:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: firefox fall

You also need en_US ISO-8859-1.

Offline

#7 2006-09-03 20:31:58

detto
Member
Registered: 2006-01-23
Posts: 510

Re: firefox fall

yep! iirc ONLY using (locale-gening) utf8 made problems to me too, which is why some apps dont support or use by default utf8 i guess (correct if im wron here plz) wink

cheers,
detto

Offline

#8 2006-09-04 10:25:03

daimonion
Member
From: Slovakia
Registered: 2006-08-18
Posts: 15

Re: firefox fall

i have set up "en_US ISO-8859-1" and firefox always crash ....

[user@daimonion ~]$ firefox

(firefox-bin:3619): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 102 error_code 8 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
sad

Offline

#9 2006-09-04 11:52:45

detto
Member
Registered: 2006-01-23
Posts: 510

Re: firefox fall

you relooged in or restarted fter settin up all this locales?

Offline

#10 2006-09-06 11:59:42

daimonion
Member
From: Slovakia
Registered: 2006-08-18
Posts: 15

Re: firefox fall

yes I restarted ....

Offline

#11 2006-09-06 12:21:04

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: firefox fall

daimonion wrote:

i have set up "en_US ISO-8859-1" and firefox always crash ....

hey, keep it easy man ! these guys are trying to help you !


what goes up must come down

Offline

#12 2006-09-06 14:46:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: firefox fall

daimonion wrote:

i have set up "en_US ISO-8859-1" and firefox always crash ....

No you haven't:

daimonion wrote:

[root@daimonion user]# locale-gen
Generating locales...
  en_US.UTF-8... done
Generation complete.
[root@daimonion user]# locale -a
C
POSIX
en_US.utf8

Looks like you have UTF-8 only.

also, it's important to note this:

Generating locales...
  en_US.UTF-8... done
LOCALE="en_US.utf8"

Spot the differences.

Offline

#13 2006-09-07 19:18:41

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: firefox fall

Hmm... Shouldn't it be "en_US UTF8", not "en_US.utf8"? I would think that's a typo.

Offline

#14 2006-09-07 20:42:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: firefox fall

Needs a dash too (at least here it does).  I've had conflicting reports here and there... but considering ALL of *nix land is case sensitive, it's a safe bet.

Offline

Board footer

Powered by FluxBB