bugPSPP - Bugs: bug #29733, GUI won't load syntax files that...

 
 

bug #29733: GUI won't load syntax files that contain unexpected characters

Submitter:  Ben Pfaff <blp>
Submitted:  Sat 01 May 2010 06:33:48 PM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 02 May 2010 01:29:24 PM UTC, comment #1: 

I pushed a fix for this.

John Darrington <jmd>
Group administrator
Sat 01 May 2010 06:33:48 PM UTC, original submission:  

If a syntax file contains characters that the syntax editor isn't prepared to handle, it treats those files as if they are empty and prints this warning:


(lt-psppire:32536): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed


To reproduce, add byte 0xa0 (non-breaking space) to a syntax file and try to load it in PSPPIRE.  It will appear empty.

Originally reported by "Brian Carson" <bcarson@maximumresearch.com>.

Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp (Submitted the item)
  • -email is unavailable- added by blp
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-02 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2010-05-01 blp Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code