Bug 52147 - Localized KWeather not working
Summary: Localized KWeather not working
Status: RESOLVED FIXED
Alias: None
Product: kweather-kde3
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: ---
Assignee: geiseri
URL:
Keywords:
: 54503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-20 18:52 UTC by Thomas Diehl
Modified: 2003-02-19 17:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Debug output (2.18 KB, text/plain)
2003-01-24 08:47 UTC, Christian Loose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Diehl 2002-12-20 18:52:06 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
OS:          Linux

KWeather just does not work if I set the language to German (have not tried other translations yet). It does 
work when setting KDE to use US English.
Comment 1 geiseri 2002-12-20 18:59:08 UTC
Can anyone give me more information on this? 
I cannot figure out why this is happening, or how to duplicate it. 
  
Can I get a kdebug output that kweather gives, or screenshots? 
 
"Does not work" will only get this bug ignored. 
 
Thanks 
-ian reinhart geiser 
Comment 2 Thomas Diehl 2002-12-20 19:07:48 UTC
Subject: Re:  Localized KWeather not working

Am Freitag, 20. Dezember 2002 18:59 schrieb geiseri@kde.org:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=52147
>
>
>
>
> ------- Additional Comments From geiseri@kde.org  2002-12-20 18:59 -------
> Can anyone give me more information on this?
> I cannot figure out why this is happening, or how to duplicate it.
>
> Can I get a kdebug output that kweather gives, or screenshots?
>
> "Does not work" will only get this bug ignored.

"Does not work"  means that I just get the question mark icon and the German 
equivalent for "No data" while everything is fine as soon as I set I set the 
language to US English.

(BTW: It would have been great if you told me that you did not understand the 
problem the 3 times before when I reported this to you in private mail.)

Thomas


Comment 3 Tom Gufler 2003-01-05 17:01:13 UTC
Maybe this is the same bug as #50868. The reporter of #50868 has a Finnish e-mail address so 
maybe it works only with US English kde settings.  
Works for me also when using US English KDE settings, not with Austrian/German KDE 
settings. 
Comment 4 Christian Loose 2003-01-24 08:47:07 UTC
Created attachment 799 [details]
Debug output

This is the debug output of kweather and klauncher after starting kweather and
calling update now once.

BTW I configured kweather to create a log file but none was created.
Comment 5 Christian Loose 2003-01-24 22:55:46 UTC
Subject: kdetoys/kweather

CVS commit by cloose: 

Fix bug 52147: KWeather isn't working when the locale is set to german.

Use startServiceByDesktopName() so KLauncher doesn't get confused by the Name[de] entry in the desktop file of the weather DCOP service.

Could someone please backport this.

CCMAIL: 52147-done@bugs.kde.org


  M +1 -1      kweather.cpp   1.48
  M +2 -2      reportmain.cpp   1.5


--- kdetoys/kweather/kweather.cpp  #1.47:1.48
@@ -673,5 +673,5 @@ bool kweather::attach()
                 {
                         kdDebug() << "Could not find service so I am starting it..." << endl;
-                        if(!KApplication::startServiceByName("KWeatherService",QStringList(), &error,&appID ))
+                        if(!KApplication::startServiceByDesktopName("kweatherservice",QStringList(), &error,&appID ))
 
                         {

--- kdetoys/kweather/reportmain.cpp  #1.4:1.5
@@ -28,5 +28,5 @@ int main (int argc, char *argv[])
         if (!client->isApplicationRegistered("kweatherservice"))
                         {
-                                if(KApplication::startServiceByName("kweatherservice",QStringList(), &error, &appID ))
+                                if(KApplication::startServiceByDesktopName("kweatherservice",QStringList(), &error, &appID ))
                                 {
                                         kdDebug() << "Starting kweatherservice failed with message: " << error << endl;


Comment 6 Christian Loose 2003-02-19 17:19:08 UTC
*** Bug 54503 has been marked as a duplicate of this bug. ***