dmedia-import crashes when dmedia is already running.

Bug #754677 reported by David Green
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dmedia
Fix Released
Critical
Jason Gerard DeRose

Bug Description

If I run dmedia-import when dmedia is already running it crashes with an error ( full traceback: http://paste.ubuntu.com/591250/ ). If I shutdown dmedia using the indicator and then run the identical command again it works perfectly.

Related branches

Revision history for this message
David Green (david4dev) wrote :
Changed in dmedia:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 0.6
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Okay, this one I *can* reproduce :)

One interesting thing is that if I fire off a few imports one after another (2nd one before the 1st finishes), it works fine. For example, dmedia-service wasn't running, and I did this without any problems:

jderose@jgd-ws:~$ dmedia-import Videos/Tara/
started
jderose@jgd-ws:~$ dmedia-import Videos/Brainard\ Lake/
started

Then I waited for those to finish, for dmedia-service to go back to it's idle state, and tried starting a 3rd import. Now I get your crash:

jderose@jgd-ws:~$ dmedia-import Videos/hulahoops/
Traceback (most recent call last):
  ...
AttributeError: 'NoneType' object has no attribute 'get'

So definitely some problem with the Startup => Import => Idle State => Import sequence. I think this will be a quick fix.

As always, thanks for spending so much time beating up on dmedia, David! Really appreciate it.

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Okay, that was easy... a one line fix.

Seemed to fix the problem for me anyway. Could you please test the bzr182 daily build once it's available? I'll leave this bug "In Progress" till we confirm that this fixes it for you also.

Thanks!

Changed in dmedia:
assignee: nobody → Jason Gerard DeRose (jderose)
status: Confirmed → In Progress
Revision history for this message
David Green (david4dev) wrote :

I tested this with 0.6.0~bzr185~natty1 and it now works perfectly.

Changed in dmedia:
status: In Progress → Fix Released
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Thanks, David!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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