Dmedia stopped during import

Bug #1131471 reported by tadeusz cantwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dmedia
Fix Released
High
Jason Gerard DeRose

Bug Description

63 files out of 73 and 1.7GB out of 9.2 was the place where the imformation stopped updating. During a normal copy and paste the transfere took around ten minutes. No indication of a problem appeared.

ProblemType: Bug
DistroRelease: LinuxMint 14
Package: dmedia 13.01.0-0~quantal [origin: LP-PPA-novacut-stable]
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
CrashDB: dmedia
Date: Thu Feb 21 23:50:31 2013
InstallationDate: Installed on 2012-12-23 (60 days ago)
InstallationMedia: Linux Mint 14 "Nadia" - Release amd64 (20121120)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
SourcePackage: dmedia
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
tadeusz cantwell (tadcan) wrote :
Changed in dmedia:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jason Gerard DeRose (jderose)
milestone: none → 13.02
Revision history for this message
sarasfox (kevin-cloinger) wrote :

The issue form dmedia-gtk.log.txt
ERROR Process-1 Thread-1 ['dmedia-extract', '/media/tadcan/C6BE-2400/._.Trashes']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dmedia/importer.py", line 300, in extractor
    doc = self.project.get(ch.id)
  File "/usr/lib/python3/dist-packages/microfiber.py", line 816, in get
    return self.recv_json('GET', parts, options)
  File "/usr/lib/python3/dist-packages/microfiber.py", line 756, in recv_json
    response = self.request(method, parts, options, body, headers)
  File "/usr/lib/python3/dist-packages/microfiber.py", line 749, in request
    raise E(response, method, path)
microfiber.NotFound: 404 Object Not Found: GET /dmedia-0-vtyr737bgbvnyy7oputixklz/SB4UC3BIL3Y4FEHDAWIDQHOIYWNC3EWOWFV4NVP5JZMV7BYI

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dmedia/extractor.py", line 116, in check_json
    return json.loads(check_output(cmd).decode('utf-8'))
  File "/usr/lib/python3.2/subprocess.py", line 522, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['dmedia-extract', '/media/tadcan/C6BE-2400/._.Trashes']' returned non-zero exit status 2

Changed in dmedia:
milestone: 13.02 → 13.03
Changed in dmedia:
milestone: 13.03 → 13.04
Changed in dmedia:
milestone: 13.04 → 13.05
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

I'm going to mark this as "Fix Released" (actually, I believe it was fixed in 13.02).

Previously there were a few circumstances in which the metadata extraction could hang, and this would hang the import.

But now we use the subprocess.check_call() *timeout* kwarg new in Python 3.3. So even if the extractor hangs, it will timeout after 3 seconds, so this should be fixed now.

Changed in dmedia:
status: Triaged → 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.