You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original failure that caused this was a DNS resolution failure, but in attempting to turn that into a ServerError, theblues failed with this. Using something like str(exc) would be safest, but you could also do something with getattr(). I think some exception types use msg rather than message, as well.
AttributeError: 'ConnectionError' object has no attribute 'message'
File "conjureup/controllers/deploy/tui.py", line 34, in do_deploy
await asyncio.gather(*tasks)
File "conjureup/juju.py", line 622, in deploy_service
app_inst = await app.juju.client.deploy(**deploy_args)
File "juju/model.py", line 1081, in deploy
entity = await self.charmstore.entity(entity_url, channel=channel)
File "juju/model.py", line 1926, in coro
return await self.loop.run_in_executor(None, method)
File "concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "theblues/charmstore.py", line 136, in entity
return self._meta(entity_id, includes, channel=channel)
File "theblues/charmstore.py", line 107, in _meta
data = self._get(url)
File "theblues/charmstore.py", line 83, in _get
message=exc.message)
The text was updated successfully, but these errors were encountered:
AttributeError: 'ProxyError' object has no attribute 'message'
File "conjureup/controllers/deploy/gui.py", line 245, in _do_deploy
await juju.deploy_service(application, default_series, msg_cb=msg_cb)
File "conjureup/juju.py", line 622, in deploy_service
app_inst = await app.juju.client.deploy(**deploy_args)
File "juju/model.py", line 1081, in deploy
entity = await self.charmstore.entity(entity_url, channel=channel)
File "juju/model.py", line 1926, in coro
return await self.loop.run_in_executor(None, method)
File "concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "theblues/charmstore.py", line 136, in entity
return self._meta(entity_id, includes, channel=channel)
File "theblues/charmstore.py", line 107, in _meta
data = self._get(url)
File "theblues/charmstore.py", line 83, in _get
message=exc.message)
The original failure that caused this was a DNS resolution failure, but in attempting to turn that into a
ServerError
, theblues failed with this. Using something likestr(exc)
would be safest, but you could also do something withgetattr()
. I think some exception types usemsg
rather thanmessage
, as well.The text was updated successfully, but these errors were encountered: