Awesome trick to fix Dia Diagram Errors in Mac OS X El Capitan, Yosemite,


#1

Dia Diagram Editor is a useful and free tool to draw structured diagrams for both Mac OS X and Windows. Too many mac users prefer to use this tool because not only it is free under the terms of the GNU GNU General Public License, the GPLv2, but potentially also the valuable effectiveness in diagramming work.

However, many of users may not get it worked right away in Mac OS X (High Sierra, Sierra, 10.11 El Capitan, 10.10 Yosemite, 10.9 Mavericks,…) due to facing some errors such as:

  • After installing Dia Diagram, the app is not be called and run. All is a x11 terminal windows, Dia does not start.
  • The domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist error.
  • The error trace ended with GTK warning - could not open display.
  • And there should have more errors that I can not update all in this topic.

Whatever the errors are, look at the following trick to get rid of trouble.

  1. Right click on Dia.app (found in /Applications), select Show Package Contents.
  2. Using a text editor to modify the dia file in Dia.app/Contents/Resources/bin.
  3. What you need to do is add the following line after the line 39, then make sure you save your change and quit.

export DISPLAY=:0

  1. Close the XQuartz if this app is running, and then Dia Diagram should work smoothly in OS X without any errors (if not, you may attempt to restart your computer after the change).

We would suggest the following alternatives for your Mac:
Free Mac Adobe Illustrator CC 2017 v21 Full Version with Paid Plugins
Get Free Latest SketchUp Pro 2017 – 2018 Full version for Mac
Download Sketch 48.1 Fully Activated for Mac


#2

Dear Digger,
Thanks for your info.

I´ve OS X El Capitan, downloaded the X11 and the dia installation file. I´m trying to following your steps but whenever I try to edit dia file in Dia.app/Contents/Resources/bin it gives me the info that the file is locked and cannot be edited.

Do you have any suggestion?

Thank you in advance,
Joao


#3

Thank you very much for the solution. It worked perfectly for me.

Cheers
Sandeep


#4

You are most welcome buddy :slight_smile:


#5

i have a issue with dia on osx.
Saved files generate a .dia file that when reopening is empty. The done drawing is not saved in the file somehow.
Does anybody encounter the same here?
Thanks, Regards
Novski


#6

Thank you so much :slight_smile:


#7

It worked. Thank you!


#8

Thanks for such a helpful tips!

Much appreciated :slight_smile:


#9

Muchas gracias por el truco. Funciona!!!


#10

Excelente !! Me funciono a la perfección. Gracias


#11

I was hoping that the version you get from “brew cask install dia” would Just Work™, but it didn’t… not even with the fix. (Running El Capitan 10.11.6.)

But the plain-vanilla downloaded from Sourceforge worked with the fix just fine. Thanks!


#12

Great, thank you very much…


#13

Thanks a lot it worked! using macOS Sierra 10.12.5 (16F2073)


#14

Thank you very much!


#15

Thank you! This fixed it for me.


#16

Thanks so much, Digger. Fixed it here for me on MacOS 10.13.1, also.


#17

Awecome! Thanks, Worked for me too :slight_smile:


#18

Worked for me. MacOS 10.13.4
Thanks!