Flickr plugin makes Gnome-Do and computer unresponsive

Reported by Jonathan Lumb on 2009-02-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do Plugins
Medium
Chris S.

Bug Description

I was trying to upload holiday photos to Flickr today using the Gnome-Do Flickr plugin. Once my photos were selected and I had added tags, I hit the return key expecting things to be as simple as that - however, for a good minute or two my computer whirred away and became pretty much unresponsive whilst the plugin was processing all these photos - during this time I was unable to use Gnome-Do - which didn't hide but rather continued displaying the list of tags I had just entered. Likewise, my computer was pretty much unusable during this time. Finally, about two or three minutes after hitting the return key, the Gnome-Do bar at the bottom of the screen disappeared and the photos began uploading - after which there were no more problems and every so often I would be notified that a photo had been uploaded successfully.

Whilst I understand that I was uploading a fair few photos (387 in fact, roughly 1.1GB of files), I didn't expect this to cause my computer to grind to a halt. Is there any way that all the processing of photos can be posted to a background process so that I can continue to use my computer normally and can also make use of Gnome-Do in the meantime?

Let me know if there is any more information you require.

Thanks

Jonathan

Chris S. (cszikszoy) wrote :

I haven't confirmed this, but I see what would be causing this. Flickr plugin should use a thread pool or X number of worker threads, instead of creating a new thread for every single picture that needs to be uploaded.

Are you capable of building from source? It would be nice if you could do some testing for me when I start working on this (hopefully this weekend or next).

Changed in do-plugins:
assignee: nobody → cszikszoy
importance: Undecided → Medium
status: New → In Progress
Jonathan Lumb (jonolumb) wrote :

Hi Chris

Building from source shouldn't be a problem and I would be happy to do some testing for you - let me know when you have something working.

Chris S. (cszikszoy) wrote :

Alright, I've got a branch for you to test.

Can you build Do from source (bzr branch lp:do) then build the plugins from this branch:
lp:~cszikszoy/do-plugins/fix-flickr-upload

That would be an immense help if you could let me know of any problems still exist with the version in my branch.

Thanks!

Changed in do-plugins:
milestone: none → 0.8.2
Chris S. (cszikszoy) on 2009-04-30
Changed in do-plugins:
status: In Progress → Fix Committed
tags: added: community-plugins flickr
Alex Launi (alexlauni) on 2009-07-09
Changed in do-plugins:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers