Back

Error in build

I got this error two times from the builder in different algos. I only have 74 lines, so how can i have an error on line 100?
I have tried the same code on different projects and on one project it works fine. Seems like a software bug in the builder?

 

Building Project ID: 1002771 Content Signature: a1ae861dfe704f18c6c14f64ae0b2e3b

Build Error: File: n/a Line:0 Column:0 - SyntaxError: Non-ASCII character '\xc3' in file ../cache/main.py on line 100, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Update Backtest








You got this error because there is Non-ASCII character in your own code

I would recommend you to check your code and remove Non-ASCII characters 

This website might be helpful

http://utils.paranoiaworks.org/diacriticsremover/

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Thanks! Had letters like "åäö" in my comments.

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed