Giter Club home page Giter Club logo

homebrew-golem's Introduction

homebrew-golem

Homebrew and Caskroom Tap for Golem.

Requirements

  • A public IP address or forwarded TCP ports: 40102, 40103 and 3282 (see installation notes).

  • Mac OS X 10.12 (Sierra) or later.

  • Homebrew - The missing package manager for Mac OS.

Installation

Type in terminal:

brew tap homebrew/cask
brew tap golemfactory/golem
brew install --cask golem

# docker-machine-driver-xhyve package needs root owner and a suid bit

sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Please keep in mind that Golem depends on many packages. Therefore, the installation varies on the computer. Some of the packages may already be installed on your computer and the others have to be linked. A typical example is the docker-machine package, which provides brew link docker-machine. After linking, you must restart Golem installation.

docker-machine-driver-xhyve package needs root owner and uid, therfore you will be asked for root password during installation.

Running Golem

Type golem into Spotlight or select golem from Applications.

Golem is still under development and is not signed with a valid signature. The first time you run Golem, your Mac OS X system will surely shout out that it cannot be opened because the software is from an undefined developer. To work around the problem please double click the application from Applications folder in Finder together with control key. Subsequently, click open.

Reinstalling

brew tap golemfactory/golem
brew reinstall golem
brew reinstall --cask golem

Upgrading

brew update && brew upgrade

Removing

brew uninstall --cask golem-mainnet-launcher
brew uninstall --cask golem
brew uninstall golem

Info and Versions

Print information about installed Golem (including dependencies) with:

brew info golem

List available versions with:

ls -l /usr/local/Cellar/golem

If you have other versions installed, you can switch with:

brew switch golem <version>

Troubleshooting

  • Use --verbose to get more info while installing.
  • Remove cached Homebrew files sudo rm -rd ~/Library/Caches/Homebrew/*
  • Run brew update && brew upgrade.
  • Fix what the brew doctor says.
  • Remove docker images sudo rm -rd ~/.docker/machine/machines/golem/*.
  • Remove LOCK file sudo rm ~/Library/Application\ Support/golem/default/LOCK.

homebrew-golem's People

Contributors

cryptobench avatar gborowik avatar jet86 avatar ktomala avatar maaktweluit avatar mdtanrikulu avatar mfranciszkiewicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-golem's Issues

failed to obtain an ip address

Ok, golem-homebrew seems to run but now I get:

I0331 08:54:36.726248 core/headerchain.go:342] imported 2048 headers in 990.014ms. #164032 [ee1015f8… / f96decca…]
I0331 08:54:38.461465 core/headerchain.go:342] imported 2048 headers in    1.530s. #166080 [8d4e9270… / 81b85ece…]
Machine didn't return an IP after 120 seconds, aborting
ERROR    [golem.docker.manager               ] DockerMachine: failed to start the VM: Command '['docker-machine', 'start', 'golem']' returned non-zero exit status 1
Error checking TLS connection: Host is not running
Traceback (most recent call last):
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 93, in <module>
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 63, in start
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 121, in start_app
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 69, in start_client
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/docker/manager.py", line 130, in check_environment
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/docker/manager.py", line 364, in _set_docker_machine_env
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/docker/manager.py", line 287, in command
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 219, in check_output
subprocess.CalledProcessError: Command '['docker-machine', 'env', '--shell', 'cmd', 'golem']' returned non-zero exit status 1
Failed to execute script golemapp

Incompatible Ethereum client

Installed via brew, and got this when trying to run golemapp

Traceback (most recent call last):
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 98, in <module>
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 68, in start
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 125, in start_app
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 70, in start_client
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/client.py", line 126, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/transactions/ethereum/ethereumtransactionsystem.py", line 30, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/ethereum/client.py", line 19, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/ethereum/node.py", line 75, in __init__
OSError: Incompatible Ethereum client 'geth' version: 1.4.12
Failed to execute script golemapp

golemapp command returns error

I'm getting this error when trying to run the golemapp on my computer. I tried to reinstalling, but that didn't seem to help. There seems to be a couple errors: The Failed to import scrypt, "Missing trie node" and the final no such file or directory.

golemapp

Failed to import scrypt. This is not a fatal error but does
mean that you cannot create or decrypt privkey jsons that use
scrypt

WARNING  [golem.appconfig                    ] Can't open file /Users/shail/Library/Application Support/golem/SimpleEnv/minilight.ini: [Errno 2] No such file or directory: '/Users/shail/Library/Application Support/golem/SimpleEnv/minilight.ini'
INFO     [golem.client                       ] Client "", datadir: /Users/shail/Library/Application Support/golem/default
WARN [04-30|14:34:43] No etherbase set and no accounts found as default
INFO [04-30|14:34:43] Starting peer-to-peer node               instance=Geth/v1.6.0-stable-facc47cb/darwin-amd64/go1.8.1
INFO [04-30|14:34:43] Allocated cache and file handles         database=/Users/shail/Library/Ethereum/testnet/geth/lightchaindata cache=128 handles=1024
INFO [04-30|14:34:43] Initialised chain configuration          config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Engine: ethash}"
INFO [04-30|14:34:43] Disk storage enabled for ethash caches   dir=/Users/shail/Library/Ethereum/testnet/geth/ethash count=3
INFO [04-30|14:34:43] Disk storage enabled for ethash DAGs     dir=/Users/shail/.ethash                              count=2
INFO [04-30|14:34:43] Loaded most recent local header          number=68736 hash=67a51e…9ae72a td=7106377167940
INFO [04-30|14:34:43] Starting P2P networking
WARN [04-30|14:34:43] Light client mode is an experimental feature
INFO [04-30|14:34:43] RLPx listener up                         self="enode://5bdcb93c38a06cc595c4d0dbbe4a4612c979aa810ab22088feb939de5cecf067a1b308c5c5ced6eec6d8ae9177c78a1289bf2db23c0fd23ab9eac5813badd74d@[::]:30303?discport=0"
ERROR[04-30|14:34:43] Failed to retrieve current release       err="Missing trie node 6fbee02105e78249479283d8e65459e651f34becad725e59a8810980247c63b3"
INFO [04-30|14:34:43] IPC endpoint opened: /Users/shail/Library/Ethereum/testnet/geth.ipc
INFO [04-30|14:34:43] Mapped network port                      proto=tcp extport=30303 intport=30303 interface=NAT-PMP(192.168.86.1)
WARNING  [golem.docker.manager               ] Docker: pulling image golemfactory/base:1.2
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.64.1:53: read udp 192.168.64.2:50963->192.168.64.1:53: read: connection refused
ERROR    [golem.docker.manager               ] Docker: error pulling images: Command '['docker', 'pull', 'golemfactory/base:1.2']' returned non-zero exit status 1
WARNING  [golem.docker.manager               ] Docker: building image golemfactory/base:1.2
INFO [04-30|14:34:44] Block synchronisation started
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /private/var/folders/94/j7280n6x01jg3j2vyzvmzzj00000gn/T/_MEIlCe8M0/apps/core/resources: no such file or directory
Traceback (most recent call last):
  File "/Users/golem/Desktop/golem/golemapp.py", line 105, in <module>
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/click/core.py", line 697, in main
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  File "/Users/golem/Desktop/golem/golemapp.py", line 70, in start
  File "/Users/golem/Desktop/golem/gui/startapp.py", line 134, in start_app
  File "/Users/golem/Desktop/golem/gui/startapp.py", line 73, in start_client
  File "/Users/golem/Desktop/golem/golem/docker/manager.py", line 138, in check_environment
  File "/Users/golem/Desktop/golem/golem/docker/manager.py", line 311, in build_images
  File "/Users/golem/Desktop/golem/golem/docker/manager.py", line 288, in command
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'golemfactory/base', '-f', 'core/resources/images/Dockerfile', '.']' returned non-zero exit status 1
Failed to execute script golemapp

Warning C++ standard

Warning: golemfactory/golem/golem dependency golemfactory/hyperg/hyperg was built with a different C++ standard
library (libstdc++ from clang). This may cause problems at runtime.

golem brew install is hanging

Attempting to install golem on a mac running mojave via homebrew.
When I run
brew cask install golem
The install hangs here ==> opam init --no-setup
Please point me in the good direction for resolving this issues

Thanks so much !

Can't get app installed related to docker-machine

Percept [21:34:44] /Users/Percept
➥ brew install golem
==> Installing golem from golemfactory/golem
Error: You must brew link docker docker-machine before golemfactory/golem/golem can be installed

Percept [21:36:00] /Users/Percept
➥ brew link docker docker-machine
Linking /usr/local/Cellar/docker/17.03.1...
Error: Could not symlink bin/docker
Target /usr/local/bin/docker
already exists. You may want to remove it:
rm '/usr/local/bin/docker'

To force the link and overwrite all conflicting files:
brew link --overwrite docker

To list all files that would be deleted:
brew link --overwrite --dry-run docker

Percept [21:39:35] /Users/Percept
➥ brew link --overwrite docker
Linking /usr/local/Cellar/docker/17.03.1... 4 symlinks created

Percept [21:41:53] /Users/Percept
➥ brew install golem
==> Installing golem from golemfactory/golem
Error: You must brew link docker-machine before golemfactory/golem/golem can be installed


wth is up with this github editor

starting golem app on os x 10.11.6

Hi,

starting the golemapp on os x 10.11.6 I get:

golemapp --verbose
Error loading Python lib '/var/folders/xb/n8k9dz4d2vnb3k9q5m7bv5_80000gn/T/_MEIYX4QS5/Python': dlopen(/var/folders/xb/n8k9dz4d2vnb3k9q5m7bv5_80000gn/T/_MEIYX4QS5/Python, 10): Symbol not found: _getentropy
  Referenced from: /var/folders/xb/n8k9dz4d2vnb3k9q5m7bv5_80000gn/T/_MEIYX4QS5/Python (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /var/folders/xb/n8k9dz4d2vnb3k9q5m7bv5_80000gn/T/_MEIYX4QS5/Python

any hints how to proceed?

Not connected to Golem Network. Check seed parameters.

OSX 10.12.2.

I have tried port forwarding of both 40102 and 8333 to my mac, as well as used known seeds from here.

on startup:

Failed to import scrypt. This is not a fatal error but does
mean that you cannot create or decrypt privkey jsons that use
scrypt

I0401 11:23:10.654700 cmd/utils/flags.go:613] WARNING: No etherbase set and no accounts found as default
I0401 11:23:10.654848 ethdb/database.go:83] Allotted 128MB cache and 1024 file handles to /Users/stu.feldt/Library/Ethereum/testnet/geth/lightchaindata
I0401 11:23:10.664883 ethdb/database.go:176] closed db:/Users/stu.feldt/Library/Ethereum/testnet/geth/lightchaindata
I0401 11:23:10.667965 node/node.go:176] instance: Geth/v1.5.9-stable-abc71f5f/darwin/go1.8
I0401 11:23:10.667999 ethdb/database.go:83] Allotted 128MB cache and 1024 file handles to /Users/stu.feldt/Library/Ethereum/testnet/geth/lightchaindata
I0401 11:23:10.695963 core/genesis.go:95] Genesis block already in chain. Writing canonical number
I0401 11:23:10.696034 eth/backend.go:276] Successfully wrote custom genesis block: 41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d
I0401 11:23:10.698043 light/lightchain.go:172] Last header: #668338 [42104933…] TD=492605733744021
I0401 11:23:10.699268 p2p/server.go:340] Starting Server
I0401 11:23:10.701925 les/backend.go:191] WARNING: light client mode is an experimental feature
I0401 11:23:10.701978 p2p/server.go:608] Listening on [::]:30303
I0401 11:23:10.703468 node/node.go:341] IPC endpoint opened: /Users/stu.feldt/Library/Ethereum/testnet/geth.ipc
I0401 11:23:10.726168 p2p/nat/nat.go:111] mapped network port tcp:30303 -> 30303 (ethereum p2p) using NAT-PMP(192.168.86.1)
ERROR    [golem.docker.config_manager        ] Couldn't read CPU affinity: 'Process' object has no attribute 'cpu_affinity'
I0401 11:23:11.127491 eth/downloader/downloader.go:326] Block synchronisation started
I0401 11:23:12.485892 core/headerchain.go:342] imported    2 headers in 804.632ms. #668340 [249c431c… / 0467f7e6…]
I0401 11:23:12.805500 ssdp.go:63] ssdp: got unexpected search target result "upnp:rootdevice"
I0401 11:23:12.805523 ssdp.go:63] ssdp: got unexpected search target result "uuid:2f402f80-da50-11e1-9b23-001788182a5b"
I0401 11:23:12.805531 ssdp.go:63] ssdp: got unexpected search target result "urn:schemas-upnp-org:device:basic:1"
I0401 11:23:12.805539 ssdp.go:63] ssdp: got unexpected search target result "upnp:rootdevice"
I0401 11:23:12.805547 ssdp.go:63] ssdp: got unexpected search target result "uuid:2f402f80-da50-11e1-9b23-001788182a5b"
I0401 11:23:12.805555 ssdp.go:63] ssdp: got unexpected search target result "urn:schemas-upnp-org:device:basic:1"
HyperG is ready

Failed to import scrypt. This is not a fatal error but does
mean that you cannot create or decrypt privkey jsons that use
scrypt

du: illegal option -- b
usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x] [-I mask] [file ...]

screen shot 2017-04-01 at 11 27 27 am

Rename "golem" cask

Currently, cask shares the name of the base homebrew formula, which causes linking issues during upgrade.

Willl not launch gui

When I run golemapp off the terminal, I sync up to the most recent block but no gui runs at all no matter what. I am getting an unusual error

WARNING [golem.appconfig ] Can't open file /Users/nicholasreid/Library/Application Support/golem/SimpleEnv/minilight.ini: [Errno 2] No such file or directory: '/Users/nicholasreid/Library/Application Support/golem/SimpleEnv/minilight.ini'

as well as this

ERROR[05-01|17:20:58] Failed to retrieve current release err="Missing trie node fa6b3078b3b80d481be946d873d54383b8fab6f77b1ae764a69c8a82d1b0241d"

and

Traceback (most recent call last):
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/twisted/internet/base.py", line 428, in fireEvent
    
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/twisted/internet/defer.py", line 321, in addCallback
    
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/twisted/internet/defer.py", line 310, in addCallbacks
    
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
    
--- <exception caught here> ---
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/twisted/internet/base.py", line 441, in _continueFiring
    
  File "/Users/golem/Desktop/golem/golem/rpc/router.py", line 64, in _start
    
  File "/Users/golem/Desktop/golem/golem/rpc/router.py", line 69, in _start_node
    
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/crossbar/controller/node.py", line 340, in maybe_generate_key
    
  File "/Users/golem/Desktop/golem/venv/lib/python2.7/site-packages/crossbar/controller/node.py", line 177, in _machine_id
    
exceptions.TypeError: list indices must be integers, not str```

Can anyone help me with this?

Now, what should I do? Can't write anything more. Apologies for my ignorance, new to industry.

Last login: Thu Jul 13 21:59:03 on ttys000
MBP-de-Leo:~ leochi$ /Users/leochi/Downloads/golem-0.7.1/golemcli ; exit;
required ciphers set(['aes-128-ctr']) not available in openssl library
use homebrew or macports to install newer openssl

brew install openssl / > sudo port install openssl
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Failure in brew cask install golem

Hi guys,

I've got dockermachine-driver-xhyve installed already and ran the chown separately but golem bottle still wants to run it and fails - I don't get prompt for password however. Anyone has this problem? I'm on macOS Sierra 10.12.6

sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Error: Failed executing: sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/formula.rb:1804:in `block in system'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1742:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1742:in `system'
/usr/local/Homebrew/Library/Taps/golemfactory/homebrew-golem/golem.rb:26:in `install'
/usr/local/Homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1093:in `block in brew'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1905:in `block in stage'
/usr/local/Homebrew/Library/Homebrew/resource.rb:97:in `block in unpack'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:14:in `block in mktemp'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `block in run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `chdir'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:13:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/resource.rb:93:in `unpack'
/usr/local/Homebrew/Library/Homebrew/resource.rb:85:in `stage'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1884:in `stage'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1088:in `brew'
/usr/local/Homebrew/Library/Homebrew/build.rb:114:in `block in install'
/usr/local/Homebrew/Library/Homebrew/utils.rb:554:in `with_env'
/usr/local/Homebrew/Library/Homebrew/build.rb:111:in `install'
/usr/local/Homebrew/Library/Homebrew/build.rb:188:in `<main>'

Can't open file minilight.ini

I'm running this on Sierra v10.12.3

When I try to run golemapp I get the following error:

:dev nunohora$ golemapp

Failed to import scrypt. This is not a fatal error but does
mean that you cannot create or decrypt privkey jsons that use
scrypt

WARNING  [golem.appconfig                    ] Can't open file /Users/nunohora/Library/Application Support/golem/SimpleEnv/minilight.ini: [Errno 2] No such file or directory: '/Users/nunohora/Library/Application Support/golem/SimpleEnv/minilight.ini'
Traceback (most recent call last):
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 98, in <module>
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 68, in start
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 125, in start_app
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 70, in start_client
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/client.py", line 126, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/transactions/ethereum/ethereumtransactionsystem.py", line 30, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/ethereum/client.py", line 19, in __init__
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/ethereum/node.py", line 73, in __init__
AttributeError: 'NoneType' object has no attribute 'group'
Failed to execute script golemapp

Installation: Error: Failed to download resource "hyperg"

Ethereum installed correctly, checked by running geth

Followed directions for golem install, and got

Error: Failed to download resource "hyperg"
Download failed: https://github.com/mfranciszkiewicz/golem-hyperdrive/releases/download/v0.2.0/hyperg_0.2.0_darwin-x64.tar.gz

How do I proceed?

sudo commands in installation throw error

Homebrew seemed to have trouble installing golem when setting xhyve permissions with sudo. Homebrew in general doesn't seem to like using sudo, and ome guides I've found online for xhyve and other software that use it provide instructions to set permissions for xhyve manually. I've reset my homebrew installation and permissions for my homebrew directory.

Anyone else had problems with this? Maybe it's worth removing the sudos from the installer and suggested in the README for the user to do separately.

brew cask install golem
==> Satisfying dependencies
==> Installing Formula dependencies: golem
==> Installing golemfactory/golem/golem
==> Downloading https://github.com/golemfactory/golem/releases/download/0.7.1/golem-macos-0.7.1.tar.gz
Already downloaded: /Users/aeftimia/Library/Caches/Homebrew/golem-0.7.1.tar.gz
==> echo docker-machine-driver-xhyve need root owner and uid
==> sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
Last 15 lines from /Users/aeftimia/Library/Logs/Homebrew/golem/02.docker-machine-driver-xhyve:
2017-08-08 21:03:10 -0400

sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Error: Failed executing: sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
Follow the instructions here:
https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/formula.rb:1804:in block in system' /usr/local/Homebrew/Library/Homebrew/formula.rb:1742:in open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1742:in system' /usr/local/Homebrew/Library/Taps/golemfactory/homebrew-golem/golem.rb:26:in install'
/usr/local/Homebrew/Library/Homebrew/build.rb:139:in block (2 levels) in install' /usr/local/Homebrew/Library/Homebrew/formula.rb:1093:in block in brew'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1905:in block in stage' /usr/local/Homebrew/Library/Homebrew/resource.rb:97:in block in unpack'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:14:in block in mktemp' /usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in block in run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in chdir' /usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:13:in mktemp' /usr/local/Homebrew/Library/Homebrew/resource.rb:93:in unpack'
/usr/local/Homebrew/Library/Homebrew/resource.rb:85:in stage' /usr/local/Homebrew/Library/Homebrew/formula.rb:1884:in stage'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1088:in brew' /usr/local/Homebrew/Library/Homebrew/build.rb:114:in block in install'
/usr/local/Homebrew/Library/Homebrew/utils.rb:554:in with_env' /usr/local/Homebrew/Library/Homebrew/build.rb:111:in install'
/usr/local/Homebrew/Library/Homebrew/build.rb:188:in `

'

Failed to import scrypt.

I am trying this on my latest Mac OS 10.12.4 and I get:

:>golemapp

Failed to import scrypt. This is not a fatal error but does
mean that you cannot create or decrypt privkey jsons that use
scrypt

WARNING  [golem.appconfig                    ] Can't open file /Users/zdavatz/Library/Application Support/golem/SimpleEnv/minilight.ini: [Errno 2] No such file or directory: '/Users/zdavatz/Library/Application Support/golem/SimpleEnv/minilight.ini'
I0331 08:49:34.628982 cmd/utils/flags.go:613] WARNING: No etherbase set and no accounts found as default
I0331 08:49:34.629202 ethdb/database.go:83] Allotted 128MB cache and 1024 file handles to /Users/zdavatz/Library/Ethereum/testnet/geth/lightchaindata
I0331 08:49:34.633693 ethdb/database.go:176] closed db:/Users/zdavatz/Library/Ethereum/testnet/geth/lightchaindata
I0331 08:49:34.637783 node/node.go:176] instance: Geth/v1.5.9-stable-a07539fb/darwin/go1.8
I0331 08:49:34.637826 ethdb/database.go:83] Allotted 128MB cache and 1024 file handles to /Users/zdavatz/Library/Ethereum/testnet/geth/lightchaindata
I0331 08:49:34.702233 eth/backend.go:276] Successfully wrote custom genesis block: 41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d
I0331 08:49:34.702729 light/lightchain.go:172] Last header: #0 [41941023…] TD=1048576
I0331 08:49:34.702940 light/lightchain.go:172] Last header: #0 [41941023…] TD=1048576
I0331 08:49:34.703866 p2p/server.go:340] Starting Server
I0331 08:49:34.708391 les/backend.go:191] WARNING: light client mode is an experimental feature
I0331 08:49:34.708737 p2p/server.go:608] Listening on [::]:30303
I0331 08:49:34.710607 node/node.go:341] IPC endpoint opened: /Users/zdavatz/Library/Ethereum/testnet/geth.ipc
I0331 08:49:34.718896 p2p/nat/nat.go:111] mapped network port tcp:30303 -> 30303 (ethereum p2p) using NAT-PMP(192.168.0.1)
ERROR    [golem.docker.config_manager        ] Couldn't read CPU affinity: 'Process' object has no attribute 'cpu_affinity'
ERROR    [golem.docker.manager               ]
                ***************************************************************
                Docker is not available, not building images.
                Golem will not be able to compute anything.
                Command 'docker info' returned [Errno 2] No such file or directory
                ***************************************************************

Traceback (most recent call last):
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 93, in <module>
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  File "/Users/hawk/work/workspaces/golem-project/golem/golemapp.py", line 63, in start
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 121, in start_app
  File "/Users/hawk/work/workspaces/golem-project/golem/gui/startapp.py", line 69, in start_client
  File "/Users/hawk/work/workspaces/golem-project/golem/golem/docker/manager.py", line 101, in check_environment
EnvironmentError
Failed to execute script golemapp

Fix brew untap command in ReadMe

There is currently the command:

"brew untap mfranciszkiewicz/ethereum/ethereum" in the Readme, This should be corrected to a more generic command

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.