Package: gramps
Version: 4.0.4+dfsg-1

This is a report of the same bug which I accidentally filed upstream:

https://gramps-project.org/bugs/view.php?id=7872

I'm receiving this traceback:

38710: ERROR: grampsapp.py: line 114: Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gramps/plugins/view/mediaview.py",
line 189, in drag_data_received
    clean_string = conv_to_unicode(
NameError: global name 'conv_to_unicode' is not defined

when doing the following:

1. Open the media tab.
2. Drag-and-drop a photo (for me a JPG) from the system file browser into
the media list

Expected behavior:

Dialog for adding a new media object invoked

Observed behavior:

Uncaught exception

As said in the ticket, it looks like it's just a missing import problem.
The conv_to_unicode() function appears to live in gramps.gen.constfunc.

I'll caution I was using the 4.0.4 package in the backports for Ubuntu
14.04. I have checked out Debian's 4.0.4+dfsg-1 source package and it
appears to be missing the same imports, and I didn't see a patch or issue
for it.

Upstream said they have this fix in a later version.

Thanks, let me know if I can be of help. Sorry if this is not the proper
place.

Reply via email to