ibm-functions / composer

Composer is a new programming model for composing cloud functions built on Apache OpenWhisk.
Apache License 2.0
134 stars 26 forks source link

Installation on Mac shows "failed to get a service for display 6" #25

Closed thomassuedbroecker closed 6 years ago

thomassuedbroecker commented 6 years ago

I try to install composer on my mac and I got this information:

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 6 
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 7 

Here the full information:

Downloading IBM-Cloud-Functions.dmg
[============================================>] 100.0% of 68.43 MB (1.29 MB/s)
Extracting... done

    Welcome to the Functional Programming Shell for the IBM Cloud
    To get started, try fsh help or fsh app preview @demos/hello.js

    Support: GitHub ibm.biz/composer-support Slack ibm.biz/composer-users

    We ask early adopters to help improve the Shell by providing anonymous
    diagnostic and usage information. If you disagree, please let us know,
    and remove the tool via npm uninstall -g @ibm-functions/shell

/usr/local/lib
└── @ibm-functions/shell@1.3.371 

Check the version of the IBM Functions Shell
You are currently on version 1.3.371
Checking for updates... /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 6 
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 7 
you are up to date!

I get also this information when I try to set the redis binding with:

fsh app init --url $db_connection_url

I also get this error when I start the composer:

fsh app preview @demos/hello.js
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 6 
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.3.7/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 7 
2017-12-08 18:19:20.462 IBM Cloud Functions Shell[11798:149912] *** WARNING: Textured window <AtomNSWindow: 0x7ff8004c44d0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

Machine configuration:

tardieu commented 6 years ago

@starpit ?

starpit commented 6 years ago

i'm pretty sure this is covered by https://github.com/ibm-functions/shell/issues/149: MacOS 10.13 issues due to chrome and electron. closing in favor of that issue. will cross-link the two.