Bug 221951 - photos plugin doesn't show the photos using Spanish lang
Summary: photos plugin doesn't show the photos using Spanish lang
Status: RESOLVED DUPLICATE of bug 222566
Alias: None
Product: amarok
Classification: Applications
Component: Context View (show other bugs)
Version: 2.2.1.90
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 18:02 UTC by Facundo Aguilera
Modified: 2010-01-13 18:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example (25.89 KB, image/jpeg)
2010-01-12 02:02 UTC, Facundo Aguilera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Facundo Aguilera 2010-01-09 18:02:01 UTC
Version:           2.2.1.90 (using 4.3.4 (KDE 4.3.4), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.31-1-amd64

Whit this version and with 2.2.1, the photos widget doesn't show the photos, and keeps showing the "Fetching" ("Recuperando") message, when using Spanish application languaje. When using English it works well.


(...)
amarok: BEGIN: void ScriptUpdater::phase2(KJob*)                                                                                             
amarok:   BEGIN: void ScriptManager::updaterFinished(QString)                                                                                
amarok:     BEGIN: bool ScriptManager::loadScript(const QString&)                                                                            
amarok:       [ScriptManager] script info: "Cool Streams"   "1.0"   "Scriptable Service"   "Amarok2.0"                                       
amarok:     END__: bool ScriptManager::loadScript(const QString&) - Took 0.00052s                                                            
amarok:   END__: void ScriptManager::updaterFinished(QString) - Took 0.0006s                                                                 
amarok: END__: void ScriptUpdater::phase2(KJob*) - Took 0.00072s                                                                             
amarok: BEGIN: void PhotosEngine::resultFlickr(KJob*)                                                                                        
amarok:    "http://www.flickr.com/photos/26288712@N00/228034373"                                                                             
amarok:    "http://www.flickr.com/photos/29899807@N00/491282939"                                                                             
amarok:    "http://www.flickr.com/photos/15268448@N02/4098563431"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2770403190"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2779063887"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2770399414"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2770433602"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2770413034"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2769571039"                                                                            
amarok:    "http://www.flickr.com/photos/27851459@N06/2770430858"                                                                            
amarok:    Flickr fetch :  10  photos                                                                                                        
amarok: END__: void PhotosEngine::resultFlickr(KJob*) - Took 0.0013s                                                                         
amarok: BEGIN: void ScriptUpdater::phase2(KJob*)                                                                                             
amarok:   BEGIN: void ScriptManager::updaterFinished(QString)                                                                                
amarok:     BEGIN: bool ScriptManager::loadScript(const QString&)                                                                            
amarok:       [ScriptManager] script info: "Lyricwiki"   ".2"   "Lyrics"   "Amarok2.0"                                                       
amarok:     END__: bool ScriptManager::loadScript(const QString&) - Took 0.00059s                                                            
amarok:     BEGIN: void ScriptManager::findScripts()                                                                                         
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)                                                                                                      
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.009s                                                                                        
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)                                                                                                      
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.0069s                                                                                       
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)                                                                                                      
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.018s                                                                                        
amarok:       BEGIN: void ScriptManager::slotConfigChanged(bool)                                                                             
amarok:         BEGIN: void ScriptManager::slotConfigChanged(bool)                                                                           
amarok:         END__: void ScriptManager::slotConfigChanged(bool) - Took 7.4e-05s                                                           
amarok:         BEGIN: bool ScriptManager::slotRunScript(QString, bool)                                                                      
amarok:           BEGIN: void ScriptManager::startScriptEngine(QString)                                                                      
amarok:             BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*)                                                  
amarok:             END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 6.6e-05s                                  
amarok:             BEGIN: Downloader::Downloader(QScriptEngine*)                                                                            
amarok:             END__: Downloader::Downloader(QScriptEngine*) - Took 4.8e-05s                                                            
amarok:           END__: void ScriptManager::startScriptEngine(QString) - Took 0.00066s                                                      
amarok:           BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*)                                                                                                                                             
amarok:             BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool)             
amarok:                initializing scripted service:  "Cool Streams"                                                                        
amarok:               BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&)                                 
amarok:               END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0022s                  
amarok:               BEGIN: ScriptableService::ScriptableService(const QString&)                                                            
amarok:                  creating ScriptableService  "Cool Streams"                                                                          
amarok:               END__: ScriptableService::ScriptableService(const QString&) - Took 5.6e-05s                                            
amarok:               BEGIN: void ScriptableService::init(int, const QString&, bool)                                                         
amarok:                 BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&)                                      
amarok:                 END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 3.3e-05s                      
amarok:               END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00014s                                         
amarok:                emitting scripted service  "Cool Streams"                                                                             
amarok:               BEGIN: void ServiceBrowser::addService(ServiceBase*)                                                                   
amarok:               END__: void ServiceBrowser::addService(ServiceBase*) - Took 7.2e-05s                                                   
amarok:             END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0027s                                                                                                                                           
amarok:           END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0029s                                                                                                                              
amarok:           BEGIN: void ScriptableServiceScript::slotCustomize(const QString&)                                                         
amarok:           END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 0.00025s                                         
amarok:         END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.012s                                                        
amarok:         BEGIN: bool ScriptManager::slotRunScript(QString, bool)                                                                      
amarok:           BEGIN: void ScriptManager::startScriptEngine(QString)                                                                      
amarok:             BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*)                                                  
amarok:             END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00021s                                  
amarok:             BEGIN: Downloader::Downloader(QScriptEngine*)                                                                            
amarok:             END__: Downloader::Downloader(QScriptEngine*) - Took 0.00011s                                                            
amarok:           END__: void ScriptManager::startScriptEngine(QString) - Took 0.013s                                                        
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.core"                                                                                        
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.09s                                       
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.xml"                                                                                         
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.26s                                       
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.network"                                                                                     
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.061s                                      
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.gui"                                                                                         
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.087s                                      
amarok:            SCRIPT "Librivox.org" :  "creating service..."                                                                            
amarok:           BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*)                                                                                                                                             
amarok:             BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool)             
amarok:                initializing scripted service:  "Librivox.org"                                                                        
amarok:               BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&)                                 
amarok:               END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0025s                  
amarok:               BEGIN: ScriptableService::ScriptableService(const QString&)                                                            
amarok:                  creating ScriptableService  "Librivox.org"                                                                          
amarok:               END__: ScriptableService::ScriptableService(const QString&) - Took 5.3e-05s                                            
amarok:               BEGIN: void ScriptableService::init(int, const QString&, bool)                                                         
amarok:                 BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&)                                      
amarok:                 END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 3.1e-05s                      
amarok:               END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00011s                                         
amarok:                emitting scripted service  "Librivox.org"                                                                             
amarok:               BEGIN: void ServiceBrowser::addService(ServiceBase*)                                                                   
amarok:               END__: void ServiceBrowser::addService(ServiceBase*) - Took 6.2e-05s                                                   
amarok:             END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0031s                                                                                                                                           
amarok:           END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0032s                                                                                                                              
amarok:            SCRIPT "Librivox.org" :  "done creating service!"                                                                         
amarok:           BEGIN: void ScriptableServiceScript::slotCustomize(const QString&)                                                         
amarok:              SCRIPT "Librivox.org" :  "customizing Librivox service"                                                                 
amarok:              SCRIPT "Librivox.org" :  "loading icon: /usr/share/kde4/apps/amarok/scripts/librivox_service/LibrivoxIcon.png"          
amarok:             BEGIN: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&)                                            
amarok:                service:  "Librivox.org"                                                                                              
amarok:             END__: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) - Took 0.00012s                            
amarok:           END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 0.0016s                                          
amarok:         END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.66s                                                         
amarok:         BEGIN: bool ScriptManager::slotRunScript(QString, bool)                                                                      
amarok:           BEGIN: void ScriptManager::startScriptEngine(QString)                                                                      
amarok:             BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*)                                                  
amarok:             END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 5.4e-05s                                  
amarok:             BEGIN: Downloader::Downloader(QScriptEngine*)                                                                            
amarok:             END__: Downloader::Downloader(QScriptEngine*) - Took 5.4e-05s                                                            
amarok:           END__: void ScriptManager::startScriptEngine(QString) - Took 0.0017s                                                       
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.core"                                                                                        
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.044s                                      
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)                                                    
amarok:              importing qt bindings  "qt.xml"                                                                                         
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.1s                                        
amarok:         END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.17s                                                         
amarok:       END__: void ScriptManager::slotConfigChanged(bool) - Took 0.84s                                                                
amarok:     END__: void ScriptManager::findScripts() - Took 0.88s                                                                            
amarok:   END__: void ScriptManager::updaterFinished(QString) - Took 0.88s                                                                   
amarok: END__: void ScriptUpdater::phase2(KJob*) - Took 0.88s                                                                                
amarok: BEGIN: void EngineController::stop(bool)                                                                                             
amarok:   [EngineController] m_currentTrack != 0                                                                                             
amarok:   BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)                                                               
amarok:     BEGIN: void WikipediaEngine::update()                                                                                            
amarok:       BEGIN: bool EngineController::isStream()                                                                                       
amarok:       END__: bool EngineController::isStream() - Took 5e-05s                                                                         
amarok:        Same entry requested again. Ignoring.                                                                                         
amarok:     END__: void WikipediaEngine::update() - Took 0.00022s                                                                            
amarok:   END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00037s                                               
amarok:   [Playlist::Model] Metadata updated for track "viaje a varadero"                                                                    
amarok:    returning bookmarkcurrenttrack action                                                                                             
amarok:   BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)                                                               
amarok:     BEGIN: void WikipediaEngine::update()                                                                                            
amarok:       BEGIN: bool EngineController::isStream()                                                                                       
amarok:       END__: bool EngineController::isStream() - Took 5.2e-05s                                                                       
amarok:        Same entry requested again. Ignoring.                                                                                         
amarok:     END__: void WikipediaEngine::update() - Took 0.00019s                                                                            
amarok:   END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00034s                                               
amarok:   [Playlist::Model] Metadata updated for track "viaje a varadero"                                                                    
amarok:    returning bookmarkcurrenttrack action                                                                                             
amarok:   BEGIN: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)                       
amarok:     BEGIN: void Amarok::TimeSlider::clearTriangles()                                                                                 
amarok:        number of triangles:  0                                                                                                       
amarok:        deleted them all...                                                                                                           
amarok:     END__: void Amarok::TimeSlider::clearTriangles() - Took 0.0001s                                                                  
amarok:   END__: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.0003s        
amarok:   BEGIN: virtual void TimecodeObserver::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)                     
amarok:   END__: virtual void TimecodeObserver::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 4.4e-05s     
amarok:   BEGIN: virtual void Context::ContextView::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)                 
amarok:     BEGIN: virtual void LyricsEngine::message(const Context::ContextState&)                                                          
amarok:     END__: virtual void LyricsEngine::message(const Context::ContextState&) - Took 0.00015s                                          
amarok:     BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)                                                         
amarok:     END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 7.9e-05s                                         
amarok:   END__: virtual void Context::ContextView::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00036s 
amarok:   BEGIN: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)                       
amarok:     BEGIN: void Amarok::TimeSlider::clearTriangles()                                                                                 
amarok:        number of triangles:  0                                                                                                       
amarok:        deleted them all...                                                                                                           
amarok:     END__: void Amarok::TimeSlider::clearTriangles() - Took 8.7e-05s                                                                 
amarok:   END__: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00032s       
amarok:   BEGIN: virtual void PhotosApplet::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)                         
amarok:     BEGIN: void PhotosScrollWidget::clear()                                                                                          
amarok:        Going to delete  0  items                                                                                                     
amarok:     END__: void PhotosScrollWidget::clear() - Took 0.00011s                                                                          
amarok:     BEGIN: virtual bool PhotosEngine::sourceRequestEvent(const QString&)                                                             
amarok:     END__: virtual bool PhotosEngine::sourceRequestEvent(const QString&) - Took 8.8e-05s                                             
amarok:   END__: virtual void PhotosApplet::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00088s         
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)                                                        
amarok:      State changed, oldState: 2 -> newState: 1                                                                                       
amarok:      returning bookmarkcurrenttrack action                                                                                           
amarok:      returning bookmarkcurrenttrack action                                                                                           
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.0034s                                         
amarok: END__: void EngineController::stop(bool) - Took 0.048s                                                                               
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&)                                               
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00078s                               
amarok:  collapsing applet to... 68
amarok: BEGIN: void CurrentEngine::stoppedState()
amarok: END__: void CurrentEngine::stoppedState() - Took 0.00044s
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00025s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&) - Took 0.00018s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&) - Took 3.1e-05s
amarok: BEGIN: void CurrentEngine::setupTracksData()
amarok: END__: void CurrentEngine::setupTracksData() - Took 8.2e-05s
amarok: BEGIN: void CurrentEngine::setupTracksData()
amarok: END__: void CurrentEngine::setupTracksData() - Took 4e-05s
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00033s
(...)
Comment 1 Simon ESNEAULT 2010-01-11 17:46:02 UTC
Hello, I can't see how it could be related with the language, and I don't have that kind of problem when switching from French to English or opposite.
But when you switch from one language to another, you need to set manually the proper animation again (click on the setting button of the applet, etc.)

Also sometimes if your internet connection is not very good and if one of the image couldn't be downloaded for some reason, the applet will be stuck in the "fetching" state.

Can you please confirm the behavior ? 
thx
-Simon
Comment 2 Myriam Schweingruber 2010-01-11 18:03:21 UTC
It might be worth testing with Amarok 2.2.2, to be released later today.
Comment 3 Facundo Aguilera 2010-01-11 22:14:13 UTC
It still in 2.2.2 in debian. I have the same problem using french and portuguese  languages, but not using british eng and american eng. 
When switching from one language to another I need to set the proper animation again, but this doesn't solve the problem. 
I tried to remove al amarok config files and also purging and reinstalling it.
I did not see this behavior in 2.1 and previous versions.
Can it be a debian/amd64 problem?
Comment 4 Myriam Schweingruber 2010-01-12 00:55:31 UTC
Strange, one can confirm with French, the other can't reproduce, there is something fishy. Could this be a distribution specific translation problem?
Comment 5 Facundo Aguilera 2010-01-12 02:02:53 UTC
Created attachment 39803 [details]
Example

If this helps, there is another strange behaviour. Using english, when the applet is in the fetching state, there is an empty box below the message with a circular animated icon. When I set spanish lang, this box dissapears, and only the "Recuperando" message is showed.
I'm asking in the debian-spanish list...
Comment 6 Luca 2010-01-12 23:24:08 UTC
I confirm this problem with italian language too.
Comment 7 Mark Kretschmann 2010-01-13 18:48:42 UTC

*** This bug has been marked as a duplicate of bug 222566 ***