[SOLVED] Closes with chart exceptions while editing code
Hi,
While I'm editing my own indicator file, AlgoStudio crashes after about 1-2 minutes, with the following exceptions. Sometimes it logs error 1, or 2.
It also made an encrypted log, but I did not change anything.
2017-02-26.enc <- why is it encrypted? It did not do that earlier.
AS crashes after I perform the following actions:
1. duplicate a code line by selecting and copy/pasting it
2. pressing tab
3. AS closes itself with no errors logged
It crashes/closes automatically at no specific time, while I'm editing code.
1
->26.02.2017 17:30:46.083 <typ>System</typ> <src>None</src> <act>AlgoStudio started...</act> <mes></mes> <rtr>0</rtr>->26.02.2017 17:31:50.728 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\R,USD\FX Route\1min\QUOTES\1467268140000.zip"</act> <mes></mes> <rtr>0</rtr>->26.02.2017 17:32:04.990 <typ>System</typ> <src>None</src> <act>AlgoStudio closed.</act> <mes></mes> <rtr>0</rtr>
2
->26.02.2017 17:33:54.297 <typ>System</typ> <src>None</src> <act>AlgoStudio started...</act> <mes></mes> <rtr>0</rtr>->26.02.2017 17:36:07.624 <typ>System</typ> <src>None</src> <act>AlgoStudio started...</act> <mes></mes> <rtr>0</rtr>->26.02.2017 17:36:12.784 <typ>Exception</typ> <src>None</src> <act>Try load chart on unknown time frame</act> <mes></mes> <rtr>0</rtr>
There is also a problem with updating the database:
and not loading in historic bars (happens with every symbol and timeframe):
No error is logged to the logfile.
Hello, BeardPower!
Thank's for your issue.
There is also a problem with updating the database:
I checked, but I have no problem with creating or upgrading database.
Please, can you send more details.
- Which version of PTMC do you use?
- Which broker (connection) do you use in the AlgoStudio?
AS crashes after I perform the following actions:
1. duplicate a code line by selecting and copy/pasting it
2. pressing tab
3. AS closes itself with no errors loggedIt crashes/closes automatically at no specific time, while I'm editing code.
- Please, send gif animations or video with this bug. We can't reproduce it.
First of all, sorry for not providing more info/videos regarding bugs. I sometimes forget about that.
Please, can you send more details.
I checked again, and I think it was all my fault!
AlgoStudio was using a "Default Database", which has no broker defined.
After adding Oanda v20 Demo it worked like a charm. I recognized, that the "Default" entry is also gone now (is this intended)?
The calendar icons (for date selection) can't be clicked as well.
- Which version of PTMC do you use?
PTMC: 64 Bit Beta (1.0.134)
Broker: Oanda v20 Demo
- Please, send gif animations or video with this bug. We can't reproduce it.
Will do, if I can reproduce the bug again. The issues are gone, now I added an Oanda v20 Demo connection in AlgoStudio.
I shortened the topic (as there are only a maximum of 60 characters allowed) and marked the thread as SOLVED for now.
Thank you very much!