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 01-03-2011, 11:08 PM   #1
JoshDance
Senior Member
 
Join Date: Dec 2010
Posts: 406
Thanks: 22
Thanked 23 times in 12 posts
Default Error importing NinjaScript

When I click "Import Ninjascript" the error immediately comes up:

"You have custom ninjascript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript archive file."

I didn't think I had any custom ns files?
JoshDance is offline  
Reply With Quote
Old 01-03-2011, 11:24 PM   #2
NinjaTrader_Chip
NinjaTrader Customer Service
 
NinjaTrader_Chip's Avatar
 
Join Date: Dec 2009
Location: Denver, CO
Posts: 1,422
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello

Thank you for your post.

Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.

1. Open NinjaTrader
2. From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
3. Select an indicator and double click on it.
4. A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
5. At the bottom of the window a new section will appear were you can find the error locations.

From there you have the option to remove the indicator or debug it.

More information regarding debugging can be found at the link below:
http://www.ninjatrader-support2.com/...ead.php?t=3418
NinjaTrader_Chip is offline  
Reply With Quote
Old 01-03-2011, 11:42 PM   #3
JoshDance
Senior Member
 
Join Date: Dec 2010
Posts: 406
Thanks: 22
Thanked 23 times in 12 posts
Default

The error is:

"\\.psf\Home\Documents\NinjaTrader 7\bin\Custom\NinjaTrader.Vendor.dll could not be found"

I'm on a mac and originally the install (well, program execution) failed because "My Documents" folder was linked to a networked location (.psf... above). So it's looking in the originally installed place, not the current "My Documents," which is on my local C:\... So how do I change where it's looking?
JoshDance is offline  
Reply With Quote
Old 01-03-2011, 11:58 PM   #4
NinjaTrader_Chip
NinjaTrader Customer Service
 
NinjaTrader_Chip's Avatar
 
Join Date: Dec 2009
Location: Denver, CO
Posts: 1,422
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello

Please send a note to support & include your Log & Trace files. Go to Help > Mail to Support > include files > click “Send”

If you are not able to send the files in this manner then you can find these in your My Documents folder in the folders:

1. NinjaTrader 7 > Trace > trace.YYYYMMDD.txt

2. NinjaTrader 7 > Log > log.YYYYMMDD.txt

Make sure to attach these text (.txt) files to your response/email support AT ninjatrader DOT com and reference this forum thread.

Thank you,
NinjaTrader_Chip 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
Error importing ninjascript code Picita General Programming 2 12-02-2010 05:58 AM
Importing NinjaScript howorb Indicator Development 6 08-11-2010 08:47 AM
error when back up and seems similar error when importing ninjascript .zip file MoreYummy Miscellaneous Support 6 06-22-2010 04:30 PM
Error importing Ninjascript on NT 6.5 shadowfax General Programming 1 06-13-2010 06:53 PM
Trouble importing Ninjascript from v6.5 cassb Version 7 Beta General Questions & Bug Reports 3 10-20-2009 11:45 AM


All times are GMT -6. The time now is 04:51 PM.