Not able to import traceback or sys module

I am getting following error in the code 

 object of type 'numpy.float64' has no len()

I have no idea wwhich line this is referring to as i am not using len() anywhere explicitly.
To debug this i was planning to use traceback module but i get the error that this module is not part of the whitelist.
Why is that so ? And any work around which can help me point to the line where i am getting this error.

On Blueshift, you can import and use only the whitelisted packages. This is for security purposes. Neither traceback or sys is part of the whitelisted packages.



The error you got means that a numpy variable that you think is an array is actually a scalar. We have some issues on the platform for displaying error messages for quick backtest. I suggest you run a full backtest and you should be able to trace the error from the error logs. If not, please feel free to write to blueshift-support.