Bug 691676 - Specto thinks it's offline with NetworkManager 0.9
Summary: Specto thinks it's offline with NetworkManager 0.9
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: specto
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Xavier Lamien
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 781452 (view as bug list)
Depends On: 716256
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 08:49 UTC by Theodore Lee
Modified: 2012-01-13 14:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-05 09:23:26 UTC
Type: ---


Attachments (Terms of Use)
Gets Specto to use the NM 0.9 state values (1.07 KB, patch)
2011-04-06 03:30 UTC, Theodore Lee
no flags Details | Diff

Description Theodore Lee 2011-03-29 08:49:37 UTC
Description of problem:
After the NM 0.9 update, Specto doesn't seem to know when there's an Internet connection available. As a result, network watches don't work.

Version-Release number of selected component (if applicable):
specto-0.3.1-3.fc15.noarch

How reproducible:
This problem is consistently reproducible on Fedora 15, after updating to NM 0.9

Steps to Reproduce:
1. Connect to the Internet.
2. Start Specto.
3. Add watches for a few web pages in Specto.
4. Click 'Refresh All'.
  
Actual results:
None of the watches refresh, and a message in Specto's status bar explains that networked watches won't work without an Internet connection.

Expected results:
All of Specto's watches refresh, picking up any changes in the watched web pages.

Additional info:
I'm running NetworkManager-0.8.997-4.git20110325.fc15.x86_64

Comment 1 Theodore Lee 2011-04-05 04:17:25 UTC
I think this is probably related to the new connection states in NM 0.9. Pidgin has a patch to handle them correctly[1], but after messing with spectlib/networkmanager.py I'm still not sure how to fix this.

[1] http://developer.pidgin.im/attachment/ticket/13505/nm09-pidgin.patch

Comment 2 Theodore Lee 2011-04-06 03:30:02 UTC
Created attachment 490123 [details]
Gets Specto to use the NM 0.9 state values

I think I've got a working patch for this bug, based on the NM 0.9 D-Bus interface info[1]. Specto only works with NM 0.9 with this patch applied however - I haven't figured out how to detect which version of NM is running yet.

I've also filed this bug upstream[2], with the same patch attached.

[1] http://projects.gnome.org/NetworkManager/developers/migrating-to-09/spec.html#org.freedesktop.NetworkManager
[2] http://code.google.com/p/specto/issues/detail?id=327

Comment 3 Theodore Lee 2011-11-04 11:10:31 UTC
Specto 0.4 has the complete fix for this bug.

Comment 4 Theodore Lee 2012-01-13 14:08:17 UTC
*** Bug 781452 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.