You are not logged in.

#1 2009-03-15 13:25:50

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Locale BIG problem after upgrade to qt 4.5...

I upgraded to qt 4.5 along with some other updates and the following problem occured...On my mounted ntfs and FAT disks the greek filepaths and filenames are displayed correctly..So I navigate to some greek filenamed folder and I try ro open a, lets say pdf file...I get this error at occular:

Could not open file:///media/My Book/Επιστημονικά e-Books/plh40/leitourgika_systhmata/Mamalis.pdf

As you understand this is a huge problem as I cannot do my job anymore at my pc...(Along with the qt 4.5 update there where some other updates..I also recently installed qt 4.5 sdk form qt's site...)


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#2 2009-03-15 13:31:28

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Do you use the current KDE packages from extra?

To be more precise: You need kdelibs 4.2.1-3.

Last edited by Pierre (2009-03-15 13:36:49)

Offline

#3 2009-03-15 18:44:46

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Nope...had kdemod-kdelibs 4.2.1-1, replaced it with kdelibs 4.2.1-3 but nothing...Do you have any ideas what might be the problem?


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#4 2009-03-15 19:05:29

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Oh, don't mix KDEmod with KDE from extra. The easiest solution would be downgrading to Qt 4.4 until the kdemod devs had a chance to add some patches to their kdelibs.

Offline

#5 2009-03-15 19:50:41

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Locale BIG problem after upgrade to qt 4.5...

I have a similar problem. It's mostly related to my "web-developing" work.
If I try to code in Kate I gate strange symbols instead of my "locale" symbols: č, š, ž.
And if I repair the strange symbols with any of intended symbols it renders as ?.

The problem is I'm still a bit of a noob when it comes to Arch and have no idea how to revert it. Also I did pacman -Scc so I can't install the old version from cahce and Shaman doesn't finds the 4.4
version. So please help.

EDIT: Also I should note that I can't set my locale in rc.conf correctly.
It's just defaulting to en_US even if I write sl_SI in it.
And I know I'm not "misspelling" my locale as I did at the beginning when I wrote si_SL into it...

Last edited by Primoz (2009-03-15 19:54:28)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#6 2009-03-16 00:55:14

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

To downgrade to 4.4 install abs (if you haven't done so), run:

sudo abs

and copy everything from /var/abs/extra/qt to a folder of your preference.Edit the PKGBUILD file and chech the Package Version at the first lines.If it is vesrion 4.4 then just execute:

makepkg -cs

and then

sudo pacman -U <name_of_built_file>.tar.gz

(Or something like that about the filename)
If PKGBUILD is already 4.5 you must change it manually to 4.4.3 but you must also change the md5sums...There must be a guide somewhere at the wiki...I'm downgrading to qt 4.4.3-5 right now, I'll let you know when it's done...


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#7 2009-03-16 09:51:45

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Downgraded to 4.4.3-5, X-server crashed at startup, went back at 4.5.0-3...are you sure that falling back to 4.4.3 would solve the locale problem?is there another way to do it?


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#8 2009-03-16 10:00:10

Skittles
Member
From: Bochum (Ger)
Registered: 2007-07-21
Posts: 36

Re: Locale BIG problem after upgrade to qt 4.5...

yes, switching to qt 4.4 solves the problem or wait until the kdemod-guys build new packages.

Offline

#9 2009-03-16 10:36:20

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Locale BIG problem after upgrade to qt 4.5...

There is no need to compile Qt yourself. You can grab it from a mirror like http://schlunix.org/archlinux/.

Offline

#10 2009-03-16 12:46:00

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Yeap thanks I downgraded to qt 4.4.3-4 this time and problem solved...waiting as well...May I ask something else?How would I know if the Arch Linux people release an Arch Linux version of qt as you mentioned before so I upgrade qt again? (many other problems are corrected with qt 4.5)...

Last edited by whashnez (2009-03-16 12:47:49)


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#11 2009-03-16 14:20:52

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Locale BIG problem after upgrade to qt 4.5...

Not sure what you meant. But best is to check which packages are upgraded before hitting Y. :-) But OK you have to know that this Qt was a major update and KDE will be affected by this. I fear that's the downside of using third party repos.

Offline

#12 2009-03-16 15:48:04

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

So I will delete qt from no upgrade option when I see some updates at kdemod-core or kdemod-extra?


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#13 2009-03-16 16:15:53

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Locale BIG problem after upgrade to qt 4.5...

You could check when this bug report is closed: http://kdemod.ath.cx/bugs/showreport.php?bugid=194

Offline

#14 2009-03-24 22:18:15

angrycore
Member
Registered: 2008-04-21
Posts: 14

Re: Locale BIG problem after upgrade to qt 4.5...

To fix that you can rebuild qt with -no-iconv option for ./configure script. That have fixed the issue for me.

Offline

#15 2009-03-24 22:27:15

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Locale BIG problem after upgrade to qt 4.5...

A stupid question, but at my case it proved to be the case.
Did you uncommented Locale in rc.conf?
After I did that my problem was completely solved. And my čšž are working nicely.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#16 2009-03-25 01:51:40

whashnez
Member
From: Greece
Registered: 2008-10-14
Posts: 69
Website

Re: Locale BIG problem after upgrade to qt 4.5...

I don't want to build qt myself because I want it to update automatically along with the other Arch Linux updates...Any way I don't understand what do you mean by saying "Did you uncomment Locale in rc.conf?" ...How can it be possible for the operating system to work without the locale setting?Can you describe what exactly did you do at rc.conf that solved the problem?The LOCALE setting at the beginning of rc.conf was always uncommented...I also tried setting the locale to el_GR.UTF8 but no luck...


Prepei na xtisw ena tzami gia ola ta ntervisia

Offline

#17 2009-03-25 10:53:40

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Locale BIG problem after upgrade to qt 4.5...

Well for some unknown reason my locale looked like this:

#Locale= sl_SI.utf8

I don't know why or anything...
I've followed this Wiki article to set my locale system wide: http://wiki.archlinux.org/index.php/Locale

You have to check wg+hat

locale

shows you if it's el_GR then it's something else. If you get en_US then it's locale problem.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

Board footer

Powered by FluxBB