Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The provided 'IDataProvider' instance is null #5

Closed
Martin-Molinero opened this issue Mar 6, 2023 · 0 comments · Fixed by #6
Closed

The provided 'IDataProvider' instance is null #5

Martin-Molinero opened this issue Mar 6, 2023 · 0 comments · Fixed by #6
Labels
bug Something isn't working

Comments

@Martin-Molinero
Copy link
Member

As soon as the data processing job starts we are getting

2023-03-06T18:05:25.1195165Z ERROR:: MapFile.SafeMapFileRowRead(): File: /Data/equity/usa/map_files/abh.csv System.ArgumentException: The provided 'IDataProvider' instance is null. Are you missing some initialization step?
2023-03-06T18:05:25.1196042Z ERROR::    at QuantConnect.Extensions.ReadLines(IDataProvider dataProvider, String file)+MoveNext()
2023-03-06T18:05:25.1196265Z ERROR::    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
2023-03-06T18:05:25.1196466Z ERROR::    at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
2023-03-06T18:05:25.1196664Z ERROR::    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
2023-03-06T18:05:25.1196915Z ERROR::    at QuantConnect.Data.Auxiliary.MapFile.SafeMapFileRowRead(String file, String market, SecurityType securityType, IDataProvider dataProvider)

We are probably missing to initialize the data provider correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant