View Issue Details

IDProjectCategoryView StatusLast Update
0001863Slicer4Core: Building (CMake, Superbuild)public2012-08-21 09:47
Reportermillerjv Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0001863: To avoid _RegisterApplication / _CGSDefaultConnection error, create a template of launchd file for dashboard
Description

The error reported below started to occur on MacOSX 10.7. See http://slicer.cdash.org/testDetails.php?test=1318778&build=14215

Error:
"_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL."

The idea is to create a 'launchd' job of type Aqua.

Some info explaining how it could be done:
http://www.devdaily.com/mac-os-x/mac-osx-startup-crontab-launchd-jobs
http://www.devdaily.com/mac-os-x/launchd-examples-launchd-plist-file-examples-mac

Additional Information

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2012/008297.html

TagsNo tags attached.

Activities

jcfr

jcfr

2012-04-07 11:16

administrator   ~0003981

Just found an example that could be useful to inspire from. See https://github.com/Eyescale/CMake/blob/master/cdash.plist

jcfr

jcfr

2012-04-26 08:37

administrator   ~0004087

See http://www.slicer.org/slicerWiki/index.php/Documentation/4.1/Developers/Tutorials/DashboardSetup#Scheduling_on_Mac_OS_X

millerjv

millerjv

2012-05-09 06:51

developer   ~0004225

Updated documentation for how to setup a Launch Agent file for a nightly Slicer build.

Issue History

Date Modified Username Field Change
2012-04-06 06:25 jcfr New Issue
2012-04-06 06:25 jcfr Status new => assigned
2012-04-06 06:25 jcfr Assigned To => jcfr
2012-04-06 06:29 jcfr Description Updated
2012-04-06 07:33 jcfr Summary To avoid , create a template of launchd file for dashboard => To avoid _RegisterApplication / _CGSDefaultConnection error, create a template of launchd file for dashboard
2012-04-06 07:33 jcfr Additional Information Updated
2012-04-07 11:16 jcfr Note Added: 0003981
2012-04-26 08:37 jcfr Note Added: 0004087
2012-04-26 08:37 jcfr Status assigned => resolved
2012-04-26 08:37 jcfr Fixed in Version => Slicer 4.x AHM Summer 2012
2012-04-26 08:37 jcfr Resolution open => fixed
2012-04-26 08:38 jcfr Reporter jcfr => millerjv
2012-05-09 06:51 millerjv Note Added: 0004225
2012-05-09 06:51 millerjv Status resolved => closed
2012-08-21 09:47 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012