API Changes - calling ba.getAllTradedVolume

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

API Changes - calling ba.getAllTradedVolume

Postby grimesy » Sun Mar 03, 2013 10:14 pm

Gary,

My robot was working fine until the BF API change from last Thursday.

Now, I cannot call "ba.getAllTradedVolume" to scrape the BF ladder.

I have re-installed both 66x85 and the 9c versions, but to no avail.

Pulling my hair out with this - my bots will now not run!

Can you please advise a potential solution ASAP?

I've tried your workaround on the "API Error" thread from over the weekend, without success.
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby grimesy » Sun Mar 03, 2013 10:35 pm

From the logs:-

03032013 21:03:11:809: System.Exception: Cannot create ActiveX component.
at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String Class)
at Betting_Assistant.ExcelOptions.populateWorkBooks(String openWBName) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\ExcelOptions.vb:line 691
03032013 21:03:11:810: System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.VisualBasic.CompilerServices.VBBinder.InvokeMember(String name, BindingFlags invokeAttr, Type objType, IReflect objIReflect, Object target, Object[] args, String[] namedParameters)
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at Betting_Assistant.ExcelOptions.populateWorkBooks(String openWBName) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\ExcelOptions.vb:line 700
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby grimesy » Sun Mar 03, 2013 10:36 pm

Thread Exception:

System.InvalidOperationException: FirstDisplayedScrollingRowIndex property cannot be set to an invisible row.
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Betting_Assistant.SelectionChart.SelectionCombo_SelectedIndexChanged(Object sender, EventArgs e)
at Betting_Assistant.SelectionCombo.set_SelectedIndex(Int32 value)
at Betting_Assistant.SelectionCombo.runnerSelected(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby grimesy » Sun Mar 03, 2013 11:08 pm

Further update:

My problem is basically a 'Runtime 429' issue relating to the COM automation errors.

http://support.microsoft.com/kb/828550

Any thoughts as to how I can use the link attached to resolve?

Thanks
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby grimesy » Mon Mar 04, 2013 1:06 am

Two hours later and it appears it is my firewall settings that have caused this issue.

No idea as to why they have changed since I last logged-in on Wednesday, bur remarkedably stupid of me to have not twigged beforehand.
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby N Counter » Mon Mar 04, 2013 10:23 am

This might be a daft idea but is it possible that a windows update could have affected the firewall settings?
N Counter
 
Posts: 235
Joined: Fri Apr 11, 2008 2:30 pm

Postby grimesy » Mon Mar 04, 2013 8:43 pm

Good shout - it has triggered something from last week.

I always use McAfee for my anti-virus protection.

I did however have an update pending from Window's Defender last week, so also ran that AFTER running my daily McAfee checks.

I didn't expect it to change the firewall settings given the daily check deems GRUSS to be no threat.

Anyone else experience anything similar?
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby alrodopial » Mon Mar 04, 2013 9:22 pm

A few days ago some things changed in my pc also, power option plan enabled, taskbar tumbnails preview etc.
I don't know why this happened.
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm


Return to Discussion

Who is online

Users browsing this forum: Bing [Bot] and 36 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.