Referencer can't save library

Bug #133539 reported by chris morris
2
Affects Status Importance Assigned to Milestone
Referencer
Confirmed
Undecided
John S

Bug Description

If you important a bibtex file with a apostrophe in it you are unable to save the library. It results in in the following error.

(referencer:8657): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code : 1
what : Invalid byte sequence in conversion input

This is while using 1.04 installed from source. This has been confirmed using the Debian package. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433488

Revision history for this message
John S (jcspray) wrote :

I can't reproduce this on my ubuntu machine which is running a UTF8 locale. It would be helpful if you could or the original debian reporter could attach a bibtex file which triggers this bug.

Revision history for this message
chris morris (cm195902) wrote :

It was a locale issue. Changing to locale to UTF8 fixes the problem.

Revision history for this message
John S (jcspray) wrote :

Still, Referencer shouldn't work only in UTF8 locales: it would be good to fix this.

Revision history for this message
John S (jcspray) wrote :

Chris: can you chase up the reported for a copy of the bibtex file causing the problem?

Changed in referencer:
status: New → Incomplete
Revision history for this message
chris morris (cm195902) wrote :

Here a single entry bibtex file that did fail. Removing the apostrophe in "Washington's" made it work fine.

Revision history for this message
John S (jcspray) wrote :

Okay, I can reproduce this in the fr_FR@euro locale, not in the en_GB.UTF-8 local as expected. Marking as confirmed.

By the way, it's not an apostrophe, it's a quotation mark. Some non-english keyboard layouts use this as an apostrophe I think.

Changed in referencer:
assignee: nobody → jcspray
status: Incomplete → Confirmed
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.