Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B8 export fails with more than a couple of files, crashes NT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    @NinjaTrader_ShawnB ... any news on this one? was the additional able to uncover anything new for you?

    Comment


      #17
      Hello RanchoDinero,

      Can you please provide the trace file pertaining to the "unable to write wrapper file" error message that appears in your most recent screen shot?
      Zachary G.NinjaTrader Customer Service

      Comment


        #18
        sadly that exception didn't end up in the trace.
        Attached Files

        Comment


          #19
          Hello RanchoDinero,

          Just to clarify, does this only occur when you are attempting to export an assembly with your script contained within it or does it also occur when you attempt to export only the default indicators/strategies included with NinjaTrader 8 as well?
          Zachary G.NinjaTrader Customer Service

          Comment


            #20
            exporting several system indicators works as expected. seems that uses a different code path? curious to know what's different when those are exported compared to exporting other code.

            Comment


              #21
              Hello RanchoDinero,

              I was unable to reproduce this on several custom created scripts on my end.

              Would it be possible to create a simple toy script that can replicate the behavior you are getting?
              Zachary G.NinjaTrader Customer Service

              Comment


                #22
                are you also including agile.net in your attempts to repro?

                Comment


                  #23
                  Astonishingly, and completely by accident, I found the cause. One of my files had a space character before the 'namespace' keyword. This is the cause of the crash.

                  You can repro the issue with this script, attached.

                  Notice that this one space also prevents NT from auto-generating the needed glue code for the indicator. Which is kind of nuts... this is perfectly valid code otherwise. At least the C# compiler thinks so.
                  Attached Files

                  Comment


                    #24
                    Hello RanchoDinero,

                    I am able to reproduce this behavior on my end with the sample script you have provided. Great find!

                    I will be submitting this as a bug report.

                    Please, let us know if we may be of further assistance.
                    Zachary G.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Unsuitable, Today, 07:26 PM
                    0 responses
                    1 view
                    0 likes
                    Last Post Unsuitable  
                    Started by jvanelli, Today, 06:36 PM
                    1 response
                    7 views
                    0 likes
                    Last Post jeronymite  
                    Started by twitch251, Today, 05:14 PM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_ShawnB  
                    Started by robforee2, Today, 05:07 PM
                    0 responses
                    4 views
                    0 likes
                    Last Post robforee2  
                    Started by blar58, Today, 03:16 PM
                    1 response
                    6 views
                    0 likes
                    Last Post NinjaTrader_Melissa  
                    Working...
                    X