Gwibber doesn't show an error when the Flickr username is wrong

Bug #604324 reported by Sense Egbert Hofstede on 2010-07-11
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gwibber
Undecided
Unassigned
gwibber (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: gwibber

When you enter the wrong username for your Flickr account in Gwibber, Gwibber silently fails, but doesn't notice the user. The user who entered the wrong username doesn't understand what happened and thinks Gwibber is broken.

When you enter a wrong username, the following traceback is visible in the command line:

ERROR:Gwibber Dispatcher:<flickr:images> Operation failed
DEBUG:Gwibber Dispatcher:Traceback:
Traceback (most recent call last):
  File "/home/qense/Ontwikkeling/Ubuntu/gwibber/gwibber/gwibber/microblog/dispatcher.py", line 81, in perform_operation
    message_data = PROTOCOLS[account["protocol"]].Client(account)(opname, **args)
  File "/home/qense/Ontwikkeling/Ubuntu/gwibber/gwibber/gwibber/microblog/flickr.py", line 87, in __call__
    return getattr(self, opname)(**args)
  File "/home/qense/Ontwikkeling/Ubuntu/gwibber/gwibber/gwibber/microblog/flickr.py", line 91, in images
    user_id=self._getNSID(), format="json", nojsoncallback="1",
  File "/home/qense/Ontwikkeling/Ubuntu/gwibber/gwibber/gwibber/microblog/flickr.py", line 84, in _getNSID
    return tmp["user"]["nsid"]
KeyError: 'user'

The problem is worsened by the fact that you have to enter your Yahoo! username to access Flickr with Gwibber; your Flickr username -- if different from your Yahoo! username -- won't work. Noticing the user about this in the account creation window will help a lot as well.

This issue is confirmed with the trunk.

Confirming this bug on 10.10.
Btw, how can you generate this traceback? All I see when launching gwibber via the terminal is "Updating..."

You need to manually launch 'gwibber-service', because that's where
the messages are fetched.

On 11 July 2010 19:47, Mohamed Amine IL Idrissi
<email address hidden> wrote:
> Confirming this bug on 10.10.
> Btw, how can you generate this traceback? All I see when launching gwibber via the terminal is "Updating..."
>
> --
> Gwibber doesn't show an error when the Flickr username is wrong
> https://bugs.launchpad.net/bugs/604324
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Regards,
--
Sense Hofstede

Changed in gwibber (Ubuntu):
status: New → Confirmed
Changed in gwibber:
status: New → Confirmed
Kamus (kamus) on 2010-08-27
Changed in gwibber (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
tags: added: flickr
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions