Problem: metadata.InternetConnectivity() is always returning 0 (for
Unknown), where: metadata is the pointer passed into Activate().

http://bazaar.launchpad.net/~unity-team/go-
unityscopes/v2/view/head:/metadata.go#L47

Don't know if this is a golang binding, c++ scope framework, unity8,
network stack, or local coding issue.

But the local code is simple:

func (tt *dbScope) Activate(result *scopes.Result, metadata
*scopes.ActionMetadata) (*scopes.ActivationResponse, error) {

         connStat := metadata.InternetConnectivity()

        log.Printf("== dropbox photos. Activate. Conn Status: %d\n",
connStat)

That ^ prints the following, even though network is up and the indicator
shows it as up:

2016/01/26 20:44:54 == dropbox photos. Activate. Conn Status: 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1502282

Title:
  "unknown" connectivity status problematic

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1502282/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to