Created attachment 442228 [details] This is my .dia file. Hi, I have installed from Gentoo repository app-office/dia2code version 0.8.7. When I run it with the command dia2code -v -t sql Iskola_2016_17.dia I get: Segmentation fault I ask help upstream and get this message: Hi, What diacode version are you using? With 0.8.8 and git master, I get: ~~~ ~/tmp> dia2code -v -t sql Iskola_2016_17.dia Finished! ~/tmp> ls -ltr total 4 -rw-r--r-- 1 okellogg users 3435 Aug 1 21:01 Iskola_2016_17.dia -rw-r--r-- 1 okellogg users 0 Aug 1 22:42 DEFINITION.SQL ~~~ Okay, the DEFINITION.SQL is empty... but no crash. Why are you using the *-v* switch? It is probably not what you want: ~~~ ~/tmp> dia2code -h dia2code version 0.8.8, Copyright (C) 2000-2001 Javier O'Hara Dia2Code comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; read the COPYING file for details. Usage: dia2code [-h|--help] [-d <dir>] [-nc] [-cl <classlist>] [-t (ada|c|cpp|csharp|idl|java|php|php5|python|ruby|shp|sql|as3)] [-v] [-l <license file>] [-ini <initialization file>]<diagramfile> -h --help Print this help and exit [...] -v Invert the class list selection. When used without -cl prevents any file from being created ~~~ In fact, leaving away *-v* : ~~~ ~/tmp> dia2code -t sql Iskola_2016_17.dia Finished! ~/tmp> ls -ltr total 8 -rw-r--r-- 1 okellogg users 3435 Aug 1 21:01 Iskola_2016_17.dia -rw-r--r-- 1 okellogg users 1375 Aug 1 22:51 DEFINITION.SQL ~/tmp> cat DEFINITION.SQL CREATE TABLE idoszakok( -- Attributes -- sorSz serial, idoSzakNeve text, kezdoDatum date, vegsoDatum date, PRIMARY KEY ( sorSz) ); CREATE TABLE idoszakokNapjai( -- Attributes -- napDatuma date, [...] ~~~ Hope this helps, Oliver So it seems to me that that we can get the fresher dia2code, namely the version 0.8.8 here on Gentoo system too. Right?
Please try with that newer version then: [master 3e07a58] app-office/dia2code: Version bump (#590258 by Pál Csányi) 2 files changed, 24 insertions(+) create mode 100644 app-office/dia2code/dia2code-0.8.8.ebuild