NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 08-09-2008, 11:07 AM   #1
robhef
Junior Member
 
Join Date: Dec 2007
Location: USA, Ohio
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default During BAckup -get message non-compileable NScript

When I start to run a backup of all the NT files, I get a message saying the NinjaScript files are in a non-compileable state. Do I wish to continue?

I selected "No" because last time I ran a backup I selected "Yes", the next time I started NT I could not use of my strategies or indicators.

So I ended up copying the strategies & indicators from an External hard drive backup to the correct Bin folders to recover them & now the strategies & Indicators are accessible & work. However when I try to do a backup, again the message that the files are in a non-compileable state comes up so I chose "No" so I don't lose the strategies and indicators again.

When I asked NT custormer support how to get the files back they referred me to the link on how to import a strategy.

Any suggestions on how I can find out what is causing the non-compileable status and how to fix it, so I can use the backup function would be greatly appreciated.

Thanks, Rob.
robhef is offline  
Reply With Quote
Old 08-09-2008, 03:46 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Following is a standard reply but generally is a good walk through, let me know if you are unable to make progress.

http://www.ninjatrader-support.com/v...ead.php?t=4678
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-19-2008, 04:59 PM   #3
robhef
Junior Member
 
Join Date: Dec 2007
Location: USA, Ohio
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Ray,

Thanks for the speedy response. Using the link you sent, I found which of my strategies had the coding error & the backup works fine now.

Thanks again for a great product & support.

Rob
robhef is offline  
Reply With Quote
Old 12-16-2009, 08:15 AM   #4
bkout
Senior Member
 
Join Date: Dec 2008
Location: Austin, TXs
Posts: 112
Thanks: 10
Thanked 0 times in 0 posts
Default

I am unable to backup because my files are in a "non-compileable state." Following the procedure at the link I see that a name is already in use. I tried to delete the strategy that I think may be involved with the conflict but I get a message that it cannot be deleted most likely because other files are referring to it and they must be deleted first as per your step 10 "If another NinjaScript file references a file you wish to delete, open the file that references the file you wish to delete and "comment out" or delete the reference" -- but how do I find that file(s)? I don't know code so please be kind ;-)
bkout is offline  
Reply With Quote
Old 12-16-2009, 08:56 AM   #5
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

bkout,

When you open up your NinjaScript Editor and press F5 to compile it will give you a list of errors. Find the file name of the offending script and that is the file to delete. Now close NT and go to Documents\NinjaTrader 6.5\bin\Custom and go to either \Indicators or \Strategies. Find the script and delete that file manually. Now go back to NT and open the Editor and recompile again. You should now get a new list of errors with all the scripts that referenced the file you just deleted. Those need to all be addressed by either commenting out the reference or deleting those files as well.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-16-2009, 09:41 AM   #6
bkout
Senior Member
 
Join Date: Dec 2008
Location: Austin, TXs
Posts: 112
Thanks: 10
Thanked 0 times in 0 posts
Default

I figured out how to change and save the "public class" description of the strategy that was brought up by clicking on the error message. That seemed to remove the conflict and I was able to run through compile without an error and then to backup without deleting the strategy -- Thanks!
bkout is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GAIN as a backup? Burga1 Connecting 4 06-11-2008 11:41 AM
ATM Backup monpere Miscellaneous Support 5 05-08-2008 12:33 PM
Backup NT6.0 ashish Miscellaneous Support 1 03-11-2008 06:53 AM
Error on doing Backup RK_trader Historical NinjaTrader 6.5 Beta Threads 5 01-25-2008 04:56 AM
Exactly what files to backup? AJNIN Miscellaneous Support 3 01-24-2008 07:59 AM


All times are GMT -6. The time now is 02:32 PM.