After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738657 - Doesn't launch on OS X Yosemite
Doesn't launch on OS X Yosemite
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
0.97.x
Other Mac OS
: Normal critical
: ---
Assigned To: Dia maintainers
Dia maintainers
: 739663 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-10-17 03:52 UTC by br16
Modified: 2019-03-20 12:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch created off the latest master (847 bytes, patch)
2016-03-14 18:47 UTC, Drew Noel
none Details | Review

Description br16 2014-10-17 03:52:45 UTC
Upgraded from Mavericks to Yosemite and I have the current version of XQuartz. When I try to launch Dia, xterm will open as usual, but not Dia.
Comment 1 DiegoM 2014-10-21 14:34:46 UTC
If helps, I got these logs entries from Console when app is launched:

When X11 has not been launched
------------------------------------------------------------------------------------------------
10/21/14 09:22:22.676 defaults[6874]: 
The domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist
10/21/14 09:22:22.930 com.apple.xpc.launchd[1]: (Dia.70748[6631]) Service exited with abnormal code: 1
10/21/14 09:22:23.048 org.macosforge.xquartz.startx[6648]: /opt/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
------------------------------------------------------------------------------------------------

When X11 has been launched
------------------------------------------------------------------------------------------------
10/21/14 09:25:02.024 defaults[7836]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
10/21/14 09:25:02.034 defaults[7838]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
10/21/14 09:25:02.072 defaults[7847]: 
The domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist
10/21/14 09:25:02.133 com.apple.xpc.launchd[1]: (Dia.70748[7664]) Service exited with abnormal code: 1
------------------------------------------------------------------------------------------------

Relevant information:
XQuartz 2.7.7 (xorg-server 1.15.2)
OS X Yosemite 10.10 (14A389), clean installation
Processor: 2.3 GHz Intel Core i5
Memory: 8 GB 1600 MHz DDR3
Graphics: Intel HD Graphics 3000 512 MB

How to reproduce:
1.- Open Console, clean current view 
2.- Start Dia from Launchpad
3.- Wait a couple of seconds before logs appear on console

I tested Wireshark and Zenmap which use Quartz and they do not have this behaviour.
Comment 2 Ian Wright 2014-11-05 09:20:36 UTC
I have the same issue.

I have the latest X11 (2.7.7) and I installed the latest DIA (097.2-7) as either would not launch on installing Yosemite.

I click Dia in launchpad and the X11 starts as normal but Dia bounces a few times then goes away.

I tried the same on my Mavericks machine and exactly the same scenario.

Use dis all the time so a little stumped now.
Comment 3 Hans Breuer 2014-11-05 20:47:35 UTC
*** Bug 739663 has been marked as a duplicate of this bug. ***
Comment 4 Hans Breuer 2014-11-07 19:26:48 UTC
(In reply to comment #1)
> I tested Wireshark and Zenmap which use Quartz and they do not have this
> behaviour.

The Dia version at hand requires X11, so comparing it's behavior with GTK/Quartz applications is not that useful. Dia master is building with GTK/Quartz already, but that has it's own issues.

See also:
https://mail.gnome.org/archives/dia-list/2014-November/msg00029.html
Comment 5 Thomas Coleman 2014-11-10 00:49:37 UTC
I have the same issue. I upgraded from Mavericks to Yosemite on 8-nov-14.  

When I tried Dia on 9-nov - I click Dia in launchpad and the X11 starts as normal but Dia bounces a few times then goes away.

Dia was working 2 days ago.

I have installed (reinstalled) the latest X11 (2.7.7) and the latest DIA (097.2-7). I also tried an older X11 (2.7.6-2). 

On my wife's Mac (still Mavericks) everything works - X11 2.7.6 and Dia 0.97.2. 

I use (or had been using) Dia every day, so any solution would be very helpful. 

If it is any use, here is the output of Console when I try to start Dia (with X11 already running for another application):

11/9/14 7:42:40.049 PM defaults[1334]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
11/9/14 7:42:40.058 PM defaults[1336]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
11/9/14 7:42:40.113 PM com.apple.xpc.launchd[1]: (Dia.122152[1163]) Service exited with abnormal code: 1

I think the statements about "domain/default pair ..." are not important - I get similar starting up (successfully) in Mavericks on my wife's machine:

11/9/14 7:44:55.986 PM defaults[1534]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
11/9/14 7:44:55.996 PM defaults[1536]: 
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
11/9/14 7:44:56.702 PM defaults[1545]: 
The domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist
Comment 6 Ian Wright 2014-11-10 07:56:13 UTC
I have managed to use a work thru to get Dia up and running but would much prefer the bug to be fixed as this way is less usable.

In the console type

$ nohup Xephyr -ac -screen 2560x1536 :2 &

that will bring up a black screen (choose your own size but this works for me)

Then again in console

$ DISPLAY=:2 /Applications/Dia.app/Contents/Resources/bin/dia

Id should appear but you cannot increase the window size.  Everything else works fine.  I just put this all in a separate screen window on my iMac and leave it running.
Comment 7 Thomas Coleman 2014-11-11 15:55:40 UTC
Ian Wright's workaround works for me. (But I type the commands in terminal, not console?). Thank you.
Comment 8 Juana Paulina Águila Hernández 2014-12-09 15:23:29 UTC
Hello:

I will try to open DIA from terminal.
But, I would like that this bug can be repaired.
Comment 9 Hans Breuer 2015-01-30 21:16:44 UTC
The following link descibes another workaround:
http://navkirats.blogspot.de/2014/10/dia-diagram-mac-osx-yosemite-fix-i-use.html
Comment 10 Ian Wright 2015-02-02 10:04:29 UTC
That is great Hans - works perfectly.

Back to normal now ;o)
Comment 11 Juana Paulina Águila Hernández 2015-02-04 04:38:35 UTC
Thanks a lot!!
Comment 12 Drew Noel 2016-03-14 18:47:33 UTC
Created attachment 323906 [details] [review]
Patch created off the latest master
Comment 13 GNOME Infrastructure Team 2019-03-20 12:02:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/346.