Flickr plugin shouldn't produce a trace if the network is down

Bug #282136 reported by Guillaume Desmottes
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
High
Fernando Casanova

Bug Description

When starting Elisa without up connection, the Flickr plugin produces traces. It should properly manage that.

ARN MainThread flickr_resource_provider oct 12 11:58:14 Login to Flickr failed. Full output at /tmp/elisa_yuMAub.txt (elisa/plugins/flickr/resource_provider.py:90)
WARN MainThread resource_manager oct 12 11:58:14 Creating flickr.resource_provider:FlickrResourceProvider failed. A full traceback can be found at /tmp/elisa_ntkDLR.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager oct 12 11:58:14 Creating wmd.wmd_resource:WMDResource failed. A full traceback can be found at /tmp/elisa_ZM5Vu7.txt (elisa/core/manager.py:83)

 $ cat /tmp/elisa_yuMAub.txt
Traceback (most recent call last):
Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'api.flickr.com' not found: (-5, "Aucune adresse associ\xc3\xa9e avec le nom de l'h\xc3\xb4te").
$ cat /tmp/elisa_ntkDLR.txt
Traceback (most recent call last):
Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'api.flickr.com' not found: (-5, "Aucune adresse associ\xc3\xa9e avec le nom de l'h\xc3\xb4te").

I'm using Ubuntu Intreprid with Elisa PPA packages.
ii elisa 0.5.13-1fluendo1~ppa1 media center solution - runtime executables
ii elisa-plugins-bad 0.5.13-1fluendo1~ppa1 Elisa plugins from the "bad" set
ii elisa-plugins-good 0.5.13-1fluendo1~ppa1 Elisa plugins from the "good" set
ii elisa-plugins-ugly 0.5.13-1fluendo1~ppa1 Elisa plugins from the "ugly" set
ii python-elisa 0.5.13-1fluendo1~ppa1 media center solution - Python library
ii libpigment0.3-8 0.3.11-1~ppa2 User interfaces with embedded multimedia - s

Tags: fix-verified
Revision history for this message
Olivier Tilloy (osomon) wrote :

This is not specific to the Flickr plugin, all plugins trying to access the network will fail with such a traceback.

Changed in elisa:
importance: Undecided → Medium
milestone: none → 0.5.x
status: New → Confirmed
Revision history for this message
Florian Boucault (fboucault) wrote :

A merge request was sent to deal with that issue:

https://www.moovida.com/quality/review/request/%<email address hidden>%3E

Changed in elisa:
importance: Medium → High
assignee: nobody → Fernando Casanova (fcasanova)
milestone: 0.5.x → none
status: Confirmed → In Progress
Changed in moovida:
status: In Progress → Fix Committed
milestone: none → 1.0.9
tags: added: fix-verified
Olivier Tilloy (osomon)
Changed in moovida:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.