Back

File extension is not valid.

Hi, I'm having trouble with this problem where every time I open a project on the bottom right it says "File extension is not valid." and I'm not sure if this is relating to the other problem but when I try pressing the build button, it says on Building... and never stops.

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.


Hi Manson,

I can't seem to reproduce this issue. Is it just opening an individual project that causes this error, or is it with every project on your account?

Best,
Derek Melchin

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.


Hi Manson, 

I was recently faced with the same issue. 

In my case, I wanted to change a file name and forgot the file extension by mistake. Afterwards I was not able to add the file extension to fix the error. The error message "file extension not valid" always came up. Also to continue with coding or to create new builds of my project was then no longer possible. 

The good news: I found a simple workaround with Skylight. Follow the steps below and it should work again then. 

  • sync your projects via skylight
  • close the respective project in the algo lab 
  • open the folder on your local machine and rename the file with the missing/wrong file extension. (There will be probably two versions, the broken one and last one with the correct file extension. Therefore it's better to use a new filename, just to be sure nothing will be overwritten.)
  • sync again
  • open your project in the web ide. Everything should work fine then. 

I hope this helped. Otherwise, feel free to contact us again.  

 

@Derek: Could you check that, please? I think it's a bug and not supposed to be like this. Thanks.   

0

Hi everyone,

Thank you for providing the steps to reproduce this bug, Arthur. I've reported this to our UX team to resolve. For now, an easy workaround is to:

  1. Copy the contents of the file
  2. Delete the file
  3. Create a new file with the old name and proper extension
  4. Paste the content in the new file

Best,
Derek Melchin

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.


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