snappy versions tracebacks on lack of network

Bug #1400618 reported by Martin Albisetti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Wishlist
Michael Vogt

Bug Description

ubuntu@localhost:~$ snappy versions
Traceback (most recent call last):
  File "/usr/bin/snappy", line 9, in <module>
    status = Main().__main__()
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 159, in __main__
    return callback(args)
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 263, in _do_versions
    ClickDataSource().versions(all))
  File "/usr/lib/python3/dist-packages/snappy/click.py", line 74, in versions
    all_updates_list = repo.get_upgradable()
  File "/usr/lib/python3/dist-packages/click/repository.py", line 183, in get_upgradable
    headers={"content-type": "application/json"})
  File "/usr/lib/python3/dist-packages/click/network.py", line 70, in http_request
    curl.perform()
pycurl.error: (6, 'Could not resolve host: myapps.developer.ubuntu.com')

Revision history for this message
Alexander Sack (asac) wrote :

mvo: another error case for our error handling on console thread for console experience

Changed in snappy-ubuntu:
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: snappy-xp-console
Martin Pitt (pitti)
information type: Embargoed → Public
Revision history for this message
Michael Vogt (mvo) wrote :

Current version behave better:

root@localhost:~# ifconfig eth0 down
root@localhost:~# snappy list -u
Get https://system-image.ubuntu.com//ubuntu-core/devel-proposed/generic_amd64/index.json: dial tcp: lookup system-image.ubuntu.com: no such host

Changed in snappy-ubuntu:
status: Confirmed → Fix Released
Michael Terry (mterry)
affects: snappy-ubuntu → snappy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.