Opened 7 years ago

Last modified 4 years ago

#1790 new defect

gui modeler: complete crash of gui when .gxm file modified in vi while modeler is active

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: svn-releasebranch64
Keywords: modeler Cc:
CPU: Unspecified Platform: Unspecified

Description

  • Open GUI modeler
  • Save the model (even just an empty model) to model file
  • Open model file in vi[1], and save the model file (no need to change anything)

I tried with gedit and nano and cannot reproduce. I don't know what vi does differently.

=> crash of the entire GUI

Moritz

Change History (5)

comment:1 Changed 7 years ago by martinl

Component: DefaultwxGUI
Keywords: modeler added

comment:2 in reply to:  description Changed 6 years ago by neteler

Milestone: 6.4.36.4.5
Version: unspecifiedsvn-releasebranch64

Replying to mlennert:

  • Open GUI modeler
  • Save the model (even just an empty model) to model file
  • Open model file in vi[1], and save the model file (no need to change anything)

I tried with gedit and nano and cannot reproduce. I don't know what vi does differently.

Perhaps a newline issue at file end:

Random link: http://stackoverflow.com/questions/3056740/gedit-adds-line-at-end-of-page

Guessing: the read function used to read the model file might react differently.

comment:3 Changed 6 years ago by wenzeslaus

The wc and cat commands can give you some idea what is in the file. diff, colordiff or meld can be helpful to compare the files.

comment:4 Changed 4 years ago by martinl

Milestone: 6.4.5

Ticket retargeted after milestone closed

comment:5 Changed 4 years ago by martinl

Milestone: 6.4.6
Note: See TracTickets for help on using tickets.