Traceback (most recent call last):


 "./spack/bin/spack", line 68, in <module>

sys.exit(spack.main.main())


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/main.py", line 762, in main

return _invoke_command(command, parser, args, unknown)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/main.py", line 490, in _invoke_command

return_val = command(parser, args)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/cmd/install.py", line 371, in install

install_specs(args, kwargs, zip(abstract_specs, specs))


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/cmd/install.py", line 213, in install_specs

builder.install()


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1534, in install

self._install_task(task)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1117, in _install_task

self._setup_install_dir(pkg)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1270, in _setup_install_dir

spack.store.layout.create_install_directory(pkg.spec)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/directory_layout.py", line 312, in create_install_directory

mkdirp(spec.prefix, mode=perms, group=group, default_perms='parents')


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 630, in mkdirp

raise e


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 623, in mkdirp

chgrp_if_not_world_writable(intermediate_path,


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 549, in chgrp_if_not_world_writable

chgrp(path, group)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 310, in chgrp

os.chown(path, -1, gid)
OSError: [Errno 22] Invalid argument: '/net/ifs/home/jdoe/spacktest/spack/opt/spack/linux-ubuntu18.04-sandybridge'

Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 476, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 225, in update

self.netatmo_data.update()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 240, in wrapper

result = method(*args, **kwargs)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 550, in update

self.station_data = self.station_data.__class__(self.auth)


 "/srv/homeassistant/lib/python3.7/site-packages/pyatmo/weather_station.py", line 24, in __init__

resp = self.authData.post_request(url=self.urlReq)


 "/srv/homeassistant/lib/python3.7/site-packages/pyatmo/auth.py", line 143, in post_request

resp = query(url, params, timeout, 3)


 "/srv/homeassistant/lib/python3.7/site-packages/pyatmo/auth.py", line 137, in query

self._oauth.token = self.refresh_tokens()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/netatmo/api.py", line 32, in refresh_tokens

self.session.async_ensure_token_valid(), self.hass.loop


 "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result

return self.__get_result()


 "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result

raise self._exception


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py", line 413, in async_ensure_token_valid

new_token = await self.implementation.async_refresh_token(self.token)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py", line 78, in async_refresh_token

new_token = await self._async_refresh_token(token)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/cloud/account_link.py", line 143, in _async_refresh_token

self.hass.data[DOMAIN], self.service, token["refresh_token"]


 "/srv/homeassistant/lib/python3.7/site-packages/hass_nabucasa/account_link.py", line 112, in async_fetch_access_token

resp.raise_for_status()


 "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 946, in raise_for_status

headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 504, message='Gateway Time-out', url='https://account-link.nabucasa.com/refresh_token/netatmo
