NPR plugin fails to download info

Bug #523155 reported by Luke
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Robert Dyer

Bug Description

when docky is started prior to any network connection being established the weather and npr plugins show that they are fetching data. When the network is established the weather plugin tries again however the npr plugin remains in the unresolved state. This doesn't occur if the netwrok connection is established prior to starting docky

[Info 06:44:14.242] Docky version: bzr docky r1153 ppa
[Info 06:44:14.250] Kernel version: 2.6.31.19
[Info 06:44:14.251] CLR version: 2.0.50727.1433
[Warn 06:44:14.393] [GLib] g_set_prgname() called multiple times
[Debug 06:44:14.455] [SystemService] Using org.freedesktop.DeviceKit.Power for battery information
[Info 06:44:14.535] [DockServices] Dock services initialized.
[Info 06:44:14.631] [DockController] Setting theme: Classic
[Info 06:44:14.901] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 06:44:14.901] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 06:44:14.902] [PluginManager] Loaded "Weather".
[Info 06:44:14.911] [PluginManager] Loaded "Clock".
[Info 06:44:14.916] [PluginManager] Loaded "Network Manager".
[Info 06:44:14.962] [PluginManager] Loaded "Trash".
[Info 06:44:14.977] [PluginManager] Loaded "Battery Monitor".
[Debug 06:44:14.992] [BatteryMonitorProcItem] Hiding battery item (capacity=1) (max_capacity=28880) (OnBattery=False)
[Info 06:44:14.993] [PluginManager] Loaded "Bookmarks".
[Debug 06:44:15.000] [BookmarksItemProvider] Updating bookmarks.
[Warn 06:44:15.010] [BookmarksItemProvider] Bookmark path 'file:///home/lbloy/Documents/Courses/BCI/Homework' does not exist, please fix the bookmarks file
[Warn 06:44:15.010] [BookmarksItemProvider] Bookmark path 'file:///home/lbloy/Ubuntu%20One' does not exist, please fix the bookmarks file
[Info 06:44:15.018] [PluginManager] Loaded "Recent Documents".
[Info 06:44:15.032] [PluginManager] Loaded "NPR".
[Error 06:44:15.174] [SystemService] Error in RunOnThread: Error: NameResolutionFailure
[Error 06:44:15.175] [SystemService] Error in RunOnThread: Error: NameResolutionFailure
[Error 06:44:15.175] [SystemService] Error in RunOnThread: Error: NameResolutionFailure
[Debug 06:44:15.178] [SystemService] at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000]
  at System.Net.HttpWebRequest.GetResponse () [0x00000]
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000]
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000]
  at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri, LoadOptions options) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri) [0x00000]
  at NPR.NPR.APIReturn (System.String url, System.Collections.Specialized.NameValueCollection query) [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:95
  at NPR.NPR.StationXElement (Int32 id) [0x00006] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:114
  at NPR.Station+<Station>c__AnonStorey2.<>m__A () [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/Station.cs:71
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__B () [0x00000] in /build/buildd/docky-2.0~bzr1153/Docky.Services/Docky.Services/SystemService.cs:359
[Debug 06:44:15.178] [SystemService] at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000]
  at System.Net.HttpWebRequest.GetResponse () [0x00000]
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000]
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000]
  at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri, LoadOptions options) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri) [0x00000]
  at NPR.NPR.APIReturn (System.String url, System.Collections.Specialized.NameValueCollection query) [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:95
  at NPR.NPR.StationXElement (Int32 id) [0x00006] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:114
  at NPR.Station+<Station>c__AnonStorey2.<>m__A () [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/Station.cs:71
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__B () [0x00000] in /build/buildd/docky-2.0~bzr1153/Docky.Services/Docky.Services/SystemService.cs:359
[Debug 06:44:16.526] [SystemService] at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000]
  at System.Net.HttpWebRequest.GetResponse () [0x00000]
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000]
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000]
  at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000]
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri, LoadOptions options) [0x00000]
  at System.Xml.Linq.XElement.Load (System.String uri) [0x00000]
  at NPR.NPR.APIReturn (System.String url, System.Collections.Specialized.NameValueCollection query) [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:95
  at NPR.NPR.StationXElement (Int32 id) [0x00006] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/NPR.cs:114
  at NPR.Station+<Station>c__AnonStorey2.<>m__A () [0x00000] in /build/buildd/docky-2.0~bzr1153/StandardPlugins/NPR/src/Station.cs:71
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__B () [0x00000] in /build/buildd/docky-2.0~bzr1153/Docky.Services/Docky.Services/SystemService.cs:359
[Info 06:44:16.527] [DrawingService] Could not find 'gtg', using fallback of 'extension'.
[Info 06:44:43.263] [AbstractWeatherSource] Weather Underground: Reloading weather data
[Debug 06:44:43.280] [AbstractWeatherSource] Weather Underground: Fetching XML file 'http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=19128'
[Debug 06:44:54.611] [AbstractWeatherSource] Weather Underground: Fetching XML file 'http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=19128'
[Debug 06:44:54.965] [AbstractWeatherSource] Weather Underground: reload success

Revision history for this message
Chris S. (cszikszoy) wrote :

should be easy enough to fix.

Changed in docky:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Chris S. (cszikszoy)
Revision history for this message
Robert Dyer (psybers) wrote :

Fixed in rev 1385.

Changed in docky:
assignee: Chris S. (cszikszoy) → Robert Dyer (psybers)
status: Confirmed → Fix Committed
milestone: none → 2.0.4
Changed in docky:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted docky into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
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.