SMRFoundation / NodeXLBasic

1 stars 1 forks source link

problem loading youtube data #203

Open SMRFoundation opened 6 years ago

SMRFoundation commented 6 years ago

Happened twice with same data once with limit of 1,000 and second time 100

Details:

[NullReferenceException]: Object reference not set to an instance of an object.

at Smrf.WpfGraphicsLib.WpfGraphicsUtil.GetScreenDpi(Visual visual) at Smrf.NodeXL.ExcelTemplate.GraphImageCompositor.Composite(Double compositeWidth, Double compositeHeight, String headerText, String footerText, Font headerFooterFont, IEnumerable1 legendControls) at Smrf.NodeXL.ExcelTemplate.TaskAutomator.SaveGraphImageFile(NodeXLControl oNodeXLControl, IEnumerable1 oLegendControls, String sWorkbookFilePath) at Smrf.NodeXL.ExcelTemplate.TaskAutomator.<>cDisplayClass3.b0(Object sender, GraphLaidOutEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e) at Smrf.AppLib.EventUtil.FireEvent[TEventArgs](Object sender, TEventArgs e, EventHandler1 eventHandler) at Smrf.NodeXL.ExcelTemplate.ThisWorkbook.ForwardEvent[TEventArgs](TEventArgs e, EventHandler`1 oEventHandler) OK

This work item was migrated from CodePlex

CodePlex work item ID: '25388' Vote count: '1'

SMRFoundation commented 6 years ago

[jwitte@4/14/2014] Still having the same issue pretty much every time I try to look at YouTube data.

SMRFoundation commented 6 years ago

[tcap479@4/14/2014] It looks like this problem is occurring when you are automating a workbook using NodeXL, Graph, Automate. If that is indeed the case, please try not automating the workbook. In other words, try this:

  1. Run NodeXL, Data, Import, From YouTube Video Network (or From YouTube User's Network).

  2. Show the graph using NodeXL, Graph, Show Graph (or Refresh Graph).

  3. Save an image of the graph by right-clicking the graph pane and selecting Save Image to File from the right-click menu.

Do these steps work?

-- Tony